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
CN115328595A CN202210922479.9A CN202210922479A CN115328595A CN 115328595 A CN115328595 A CN 115328595A CN 202210922479 A CN202210922479 A CN 202210922479A CN 115328595 A CN115328595 A CN 115328595A
Authority
CN
China
Prior art keywords
message card
message
template
area
interactive interface
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 Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN202210922479.9A priority Critical patent/CN115328595A/en
Publication of CN115328595A publication Critical patent/CN115328595A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Digital Computer Display Output (AREA)

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

Message card generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of instant messaging technologies, and in particular, to a method and an apparatus for generating a message card, an electronic device, and a storage medium.
Background
The message card integrates multiple content expression forms, and can realize the type of messages of complex business logic through interaction, so that the message card plays an important role in processing scenes such as approval, notification, audit and the like.
Because the message card is a message formed by combining a plurality of content expression forms, the process of generating the message card is complicated and complicated, and the error rate is high, so that the efficiency of generating the message card is low, and the cost of sending the message card is high.
Disclosure of Invention
In order to solve the technical problems that the process of generating the message card is complicated and complex and the error rate is high because the message card is a message formed by combining a plurality of content presentation forms, so that the efficiency of generating the message card is low and the cost of sending the message card is high, the embodiment of the invention provides a message card generating method, a message card generating device, electronic equipment and a storage medium. The specific technical scheme is as follows:
in a first aspect of an embodiment of the present invention, a method for generating a message card is provided first, where the method includes:
displaying a message card assembly in a first area of an 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 a 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 trigger operation for the message card assembly and/or the message card template.
In an optional embodiment, the displaying the message card assembly in a third area of the interactive interface in response to a preset operation for the message card assembly includes: responding to a preset operation aiming at the message card assembly, and determining an operation type to which the preset operation belongs; displaying the message card assembly at a corresponding position of a third area of the interactive interface according to the operation type;
and/or the presence of a gas in the gas,
the responding to the preset operation aiming at the message card template, and displaying the message card template in a third area of the interactive interface, wherein the steps comprise: responding to a preset operation aiming at the message card template, and determining an operation type to which the preset operation belongs; and displaying the message card template at a corresponding position of a third area of the interactive interface according to the operation type.
In an optional embodiment, the generating a message card in response to a trigger operation for the message card assembly and/or the message card template includes:
generating a message card in response to an editing operation and/or a building block building operation for the message card assembly;
and/or the presence of a gas in the atmosphere,
and generating the message card in response to the editing operation and/or the building block building operation aiming at the message card template.
In an optional embodiment, the method further comprises:
responding to a preview operation aiming at the message card on the interactive interface, and triggering a selection event of a target receiving object;
in response to the selection event determining a target receiving object, searching the message card component related to the target receiving object authority from the message card; displaying the message card component related to the target receiving object authority on the interactive interface;
and/or the presence of a gas in the gas,
in response to the selection event, determining a target receiving object, and searching the message card template related to the authority of the target receiving object from the message card; and displaying the message card template related to the target receiving object authority on the interactive interface.
In an optional embodiment, before triggering a selection event of a target receiving object in response to a preview operation for the message card on the interactive interface, the method further includes:
in response to a selection operation for an object, a different receiving object is determined, wherein, the different receiving objects are used for receiving different message card assemblies and/or message card templates in the message cards;
setting the authority of different receiving objects to the message card assembly in the message card in response to the authority setting operation for the message card assembly in the message card, and/or setting the authority of different receiving objects to the message card template in the message card in response to the authority setting operation for the message card template in the message card.
In an optional embodiment, the setting of the authority of the different receiving object to the message card assembly in the message card in response to the authority setting operation for the message card assembly in the message card and/or the setting of the authority of the different receiving object to the message card template in the message card in response to the authority setting operation for the message card template in the message card includes:
setting the visible right of different receiving objects to the message card assembly in the message card in response to a visible right setting operation for the message card assembly in the message card, and/or setting the visible right of different receiving objects to the message card template in the message card in response to a visible right setting operation for the message card template in the message card.
In an optional embodiment, the method further comprises:
in response to a selection operation for an object, determining a first receiving object for confirming an effect of the message card;
in response to a sending operation for the message card, sending the message card to the first receiving object;
under the condition that a confirmation message returned by the first receiving object is received, responding to the selection operation of the object, and determining a second receiving object;
and responding to the sending operation aiming at the message card, and sending the message card to the second receiving object.
In an optional embodiment, in a 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 for the message card includes:
changing the link icon from a display state to an editing state in response to a preset operation for the link icon in the interactive component;
under the condition that the link icon is in the editing state, responding to a link input operation, and adding a link corresponding to the link input operation in the link icon;
changing the link icon from the edit state to the display state in response to an operation of moving out of a third area with respect to a focus of a mouse;
in response to a sending operation for the message card, sending the message card to which a link is added to the first receiving object;
the sending the message card to the second receiving object in response to the sending operation for the message card includes:
and responding to the sending operation aiming at the message card, and sending the message card added with the link to the second receiving object.
In an optional embodiment, in a case where the message card includes a picture assembly, the transmitting the message card to the first receiving object in response to the transmission operation for the message card includes:
responding to a preset operation aiming at a picture icon in the picture assembly, and popping up a local picture dialog box;
in response to a selection operation for a local picture in the dialog box, populating the local picture to the picture assembly;
calling the intelligent drawing plug-in to beautify the local picture in response to a preset operation aiming at the intelligent drawing plug-in;
responding to a sending operation aiming at the message card, and sending the message card which fills the local picture and is beautified to the first receiving object;
the sending the message card to the second receiving object in response to the sending operation for the message card includes:
and responding to the sending operation aiming at the message card, and sending the message card which fills the local picture and is beautified to the second receiving object.
In an optional embodiment, the displaying a message card assembly in a first area of an interactive interface and displaying a message card template in a second area of the interactive interface includes:
determining a current service scene, and searching a first message card assembly and a first message card template of which the service conditions meet preset conditions in the service scene;
displaying the first message card component in a marking mode in a first area of the interactive interface, and displaying the rest second message card components in a non-marking mode;
and displaying the first message card template in a marking mode in a second area of the interactive interface, and displaying the rest second message card templates in a non-marking mode.
In an optional embodiment, the method further comprises:
determining the authority setting condition of the message card assembly and/or the message card template in the message card;
displaying the permission setting condition of the message card assembly in the first area, and/or displaying the permission setting condition of the message card template in the second area.
In an optional embodiment, the displaying a message card assembly in a first area of an interactive interface and displaying a message card template in a second area of the interactive interface includes:
determining a current service scene, and counting the use condition of the components of the message card assembly and the use condition of the templates of the message card in the service scene;
sorting the message card assemblies according to the assembly use conditions, and sorting the message card templates according to the template use conditions;
displaying the message card assemblies in a first area of an interactive interface according to the sequencing conditions of the message card assemblies;
and displaying the message card template in a second area of the interactive interface according to the sequencing condition of the message card template.
In an optional embodiment, the displaying a message card assembly in a first area of an interactive interface and displaying a message card template in a second area of the interactive interface includes:
acquiring an object portrait of a message card sending object or a message card receiving object, and sequencing a message card assembly and a message card template according to the object portrait;
displaying the message card assemblies in a first area of an interactive interface according to the sequencing condition of the message card assemblies, wherein the message card assemblies of the first N names are displayed in a marking mode, and N comprises a positive integer;
and displaying the message card templates in a second area of the interactive interface according to the sequencing condition of the message card templates, wherein the message card templates of the first M names are displayed in a marking mode, and M comprises a positive integer.
In an optional embodiment, the displaying a message card assembly in a first area of an interactive interface and displaying a message card template in a second area of the interactive interface includes:
determining a current service scene, and searching a first message card component and a first message card template which are related to the service scene;
displaying the first message card assembly in a marking mode and displaying the rest second message card assemblies in a non-marking mode in a first area of an interactive interface;
and displaying the first message card template in a marking mode in a second area of the interactive interface, and displaying the rest second message card templates in a non-marking mode.
In an optional embodiment, the displaying the message card assembly in a third area of the interactive interface in response to a preset operation for the message card assembly includes:
responding to preset operation aiming at the message card component, and counting the component stay time of a mouse focus on the message card component;
if the component staying time exceeds a preset threshold value, displaying the message card component in a third area of the interactive interface;
and/or the presence of a gas in the gas,
the responding to the preset operation aiming at the message card template, and displaying the message card template in a third area of the interactive interface, wherein the steps comprise:
responding to preset operation aiming at the message card template, and counting the template retention time of a mouse focus in the message card template;
and if the retention time of the template exceeds a preset threshold value, displaying the message card template in a third area of the interactive interface.
In an optional embodiment, the method further comprises:
if the component dwell time does not exceed a preset threshold, prohibiting the message card component from being displayed in a third area of the interactive interface;
and/or the presence of a gas in the gas,
and if the retention time of the template does not exceed a preset threshold, forbidding the message card template from being displayed in a third area of the interactive interface.
In a second aspect of the embodiments of the present invention, there is also provided a message card generating apparatus, including:
the first display module is used for displaying the message card assembly in a first area of the interactive interface and displaying the message card template in a second area of the interactive interface;
the second display module is used for 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 the presence of a gas in the gas,
the third display module is used for responding to preset operation aiming at the message card template and displaying the message card template in a third area of the interactive interface;
a message card generating module, configured to generate a message card in the third area in response to a triggering operation for the message card assembly and/or the message card template.
In an optional embodiment, the second display module is specifically configured to: in response to a preset operation for the message card assembly, determining an operation type to which the preset operation belongs; displaying the message card assembly at a corresponding position of a third area of the interactive interface according to the operation type;
and/or the presence of a gas in the gas,
the third display module is specifically configured to: responding to a preset operation aiming at the message card template, and determining an operation type to which the preset operation belongs; and displaying the message card template at a corresponding position of a third area of the interactive interface according to the operation type.
In an optional embodiment, the message card generating module is specifically configured to:
generating a message card in response to an editing operation and/or a building block construction operation for the message card assembly;
and/or the presence of a gas in the gas,
and generating the message card in response to the editing operation and/or the building block building operation aiming at the message card template.
In an optional embodiment, the apparatus further comprises:
the message card previewing module is used for responding to the previewing operation aiming at the message card on the interactive interface and triggering a selection event of a target receiving object; in response to the selection event determining a target receiving object, searching the message card component related to the target receiving object authority from the message card; displaying the message card component related to the target receiving object authority on the interactive interface; and/or, in response to the selection event, determining a target receiving object, and searching the message card template related to the target receiving object authority from the message card; and displaying the message card template related to the target receiving object authority on the interactive interface.
In an optional embodiment, the apparatus further comprises:
an object determination module, configured to determine different receiving objects in response to a selection operation for an object, where the different receiving objects are used to receive different message card assemblies and/or message card templates in the message card;
and the authority setting module is used for setting the authority of different receiving objects on the message card assembly in the message card in response to the authority setting operation on the message card assembly in the message card and/or setting the authority of different receiving objects on the message card template in the message card in response to the authority setting operation on the message card template in the message card.
In an optional embodiment, the permission setting module is specifically configured to:
setting the visible right of different receiving objects to the message card assembly in the message card in response to a visible right setting operation for the message card assembly in the message card, and/or setting the visible right of different receiving objects to the message card template in the message card in response to a visible right setting operation for the message card template in the message card.
In an optional embodiment, the apparatus further comprises:
a first received object determination module configured to determine, in response to a selection operation for an object, a first received object for confirming an effect of the message card;
a message card first sending module, configured to send, in response to a sending operation for the message card, the message card to the first receiving object;
a second received object determining module, configured to determine a second received object in response to a selection operation for an object when receiving a confirmation message returned by the first received object;
a second message card sending module, configured to send the message card to the second receiving object in response to a sending operation for the message card.
In an optional embodiment, in a case that the message card includes an interactive component, the message card first sending module is specifically configured to:
changing the link icon from a display state to an editing state in response to a preset operation for the link icon in the interactive component;
under the condition that the link icon is in the editing state, responding to a link input operation, and adding a link corresponding to the link input operation in the link icon;
changing the link icon from the edit state to the display state in response to an operation of moving out of a third area with respect to a focus of a mouse;
in response to a sending operation for the message card, sending the message card to which a link is added to the first receiving object;
the message card second sending module is specifically configured to:
and responding to the sending operation aiming at the message card, and sending the message card added with the link to the second receiving object.
In an optional embodiment, in a case where the message card includes a picture assembly, the message card first sending module is specifically configured to:
responding to preset operation aiming at a picture icon in the picture assembly, and popping up a local picture dialog box;
in response to a selection operation for a local picture in the dialog box, populating the local picture to the picture assembly;
calling the intelligent drawing plug-in to beautify the local picture in response to a preset operation aiming at the intelligent drawing plug-in;
responding to a sending operation aiming at the message card, and sending the message card which fills the local picture and is beautified to the first receiving object;
the message card second sending module is specifically configured to:
and responding to the sending operation aiming at the message card, and sending the message card which fills the local picture and is beautified to the second receiving object.
In an optional implementation manner, the first display module is specifically configured to:
determining a current service scene, and searching a first message card assembly and a first message card template of which the service conditions meet preset conditions in the service scene;
displaying the first message card component in a marking mode in a first area of the interactive interface, and displaying the rest second message card components in a non-marking mode;
and displaying the first message card template in a marking mode in a second area of the interactive interface, and displaying the rest second message card templates in a non-marking mode.
In an alternative embodiment, the apparatus further comprises:
the permission setting condition display module is used for determining the permission setting condition of the message card assembly and/or the message card template in the message card; displaying the permission setting condition of the message card assembly in the first area, and/or displaying the permission setting condition of the message card template in the second area.
In an optional implementation manner, the first display module is specifically configured to:
determining a current service scene, and counting the use condition of the components of the message card assembly and the use condition of the templates of the message card in the service scene;
sorting the message card assemblies according to the assembly use conditions, and sorting the message card templates according to the template use conditions;
displaying the message card assemblies in a first area of an interactive interface according to the sequencing conditions of the message card assemblies;
and displaying the message card template in a second area of the interactive interface according to the sequencing condition of the message card template.
In an optional embodiment, the first display module is specifically configured to:
acquiring an object portrait of a message card sending object or a message card receiving object, and sequencing a message card assembly and a message card template according to the object portrait;
displaying the message card assemblies in a first area of an interactive interface according to the sequencing condition of the message card assemblies, wherein the message card assemblies of the first N names are displayed in a marking mode, and N comprises a positive integer;
and displaying the message card templates in a second area of the interactive interface according to the sequencing condition of the message card templates, wherein the message card templates of the first M names are displayed in a marking mode, and M comprises a positive integer.
In an optional implementation manner, the first display module is specifically configured to:
determining a current service scene, and searching a first message card component and a first message card template which are related to the service scene;
displaying the first message card component in a marking mode in a first area of the interactive interface, and displaying the rest second message card components in a non-marking mode;
and displaying the first message card template in a marking mode in a second area of the interactive interface, and displaying the rest second message card templates in a non-marking mode.
In an optional embodiment, the second display module is specifically configured to:
responding to preset operation aiming at the message card component, and counting component stay time of a mouse focus on the message card component;
if the component dwell time exceeds a preset threshold, displaying the message card component in a third area of the interactive interface;
and/or the presence of a gas in the gas,
the third display module is specifically configured to:
responding to preset operation aiming at the message card template, and counting the template retention time of a mouse focus in the message card template;
and if the retention time of the template exceeds a preset threshold value, displaying the message card template in a third area of the interactive interface.
In an optional embodiment, the second display module is further configured to:
if the component dwell time does not exceed a preset threshold, prohibiting the message card component from being displayed in a third area of the interactive interface;
and/or the presence of a gas in the gas,
the third display module is further configured to:
and if the retention time of the template does not exceed a preset threshold, forbidding to display the message card template in a third area of the interactive interface.
In a third aspect of the embodiments of the present invention, there is further provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor configured to implement the message card generating method according to any one of the first aspect described above when executing a program stored in the memory.
In a fourth aspect of the embodiments of the present invention, there is further provided a storage medium, in which instructions are stored, and when the storage medium is run on a computer, the storage medium causes the computer to execute the message card generating method according to any one of the first aspect.
In a 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, cause the computer to perform any of the message card generating methods described above.
According to the technical scheme provided by the embodiment of the invention, the message card assembly is displayed in the first area of the interactive interface, the message card template is displayed in the second area of the interactive interface, the message card assembly is displayed in the third area of the interactive interface in response to the preset operation aiming at the message card assembly, and/or the message card template is displayed in the third area of the interactive interface in response to the preset operation aiming at the message card template, and the message card is generated in the third area in response to the triggering operation aiming at 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.
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 embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic implementation flow diagram of a message card generation method shown in an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating the distribution of the component area, the template area, and the editing area in an interactive interface according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating the distribution of the component area, the template area and the editing area in another interactive interface according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an interactive interface displaying a single column of text in an edit area in an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a group advertisement card displayed in an editing area in an interactive interface according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating an editing area in an interactive interface editing a single-column text according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating that an editing area edits a group advertisement card in an interactive interface according to an embodiment of the present invention;
fig. 8 is a schematic flow chart illustrating another implementation of a message card generation method according to an embodiment of the present invention;
fig. 9 is a schematic flow chart illustrating an implementation of a display mode adjustment method according to an embodiment of the present invention;
fig. 10 is a schematic flow chart illustrating another implementation of a display mode adjustment method according to an embodiment of the present invention;
fig. 11 is a schematic flow chart illustrating another implementation of a display mode adjustment method according to an embodiment of the present invention;
fig. 12 is a schematic flow chart illustrating another implementation of a display mode adjustment method according to an embodiment of the present invention;
fig. 13 is a schematic flow chart illustrating an implementation of a message card previewing method according to an embodiment of the present invention;
FIG. 14 is a diagram illustrating a display of permission settings in an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a message card generating apparatus according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of an electronic device shown in the embodiment of the present invention.
Detailed Description
In order to make the objects, 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 with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
As shown in fig. 1, an implementation flow diagram of a message card generating method provided in an embodiment of the present invention is shown, where the method is applied to an electronic device, and specifically includes the following steps:
s101, displaying a message card assembly in a first area of an interactive interface, and displaying a message card template in a second area of the interactive interface.
In the embodiment of the invention, a platform for building a building block type message card is provided, wherein a message card assembly is displayed in a first area of an interactive interface of the platform, wherein the message card assembly has a plurality of content presentation styles, including but not limited to single-column text, double-column text, pictures and texts, carousel pictures, videos, parting lines, buttons and the like, and can be used for building message cards with different styles. The first region may also be referred to herein as a component region.
In addition, a message card template is displayed in the second area of the interactive interface, and the message card template can be applied to various business scenes, 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 may also be referred to herein as the template region.
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 areas may be different, as shown in fig. 2, and certainly, the interactive interface areas occupied by the two areas may be the same, where the switching between the component area and the template area may be implemented through corresponding menus, as shown in fig. 3, which is not limited in this embodiment of the present invention.
S102, responding to preset operation aiming at the message card assembly, and displaying the message card assembly in a third area of the interactive interface.
In the embodiment of the present invention, for the message card assembly displayed in the first area of the interactive interface, the user may perform corresponding preset operation, such as click operation or drag operation, on the message card, so that the message card assembly may be displayed in the third area of the interactive interface in response to the preset operation of the user on the message card assembly. Here, the third area may also be referred to as an editing area.
For example, for a message card assembly displayed in the interactive interface assembly area: the single-column text ("this is a piece of text") can be correspondingly clicked by the user, so that the single-column text ("this is a piece of text") can be displayed in the editing area in response to the clicking operation of the user on the single-column text ("this is a piece of text"), as shown in fig. 4.
S103, 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 embodiment of the present invention, for the message card template displayed in the second area of the interactive interface, the user may perform corresponding preset operation, such as a click operation or a drag operation, on the message card template, so that the message card template may be displayed in the third area of the interactive interface in response to the preset operation of the user on the message card template.
For example, for a message card template displayed in a template area in an interactive interface: the group advertisement card ("@ owner") may be clicked by the user in response to the group advertisement card ("@ owner") being clicked by the user, and the group advertisement card ("@ owner") may be displayed in the editing area in response to the clicking operation performed by the user in response to the group advertisement card ("@ owner"), as shown in fig. 5.
It should be noted that, the relationship between the above steps S102 and S103 is and/or is a relationship, which means that for the message card assembly 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 may perform corresponding preset operations only on the message card assembly, or the user may perform corresponding preset operations only on the message card template, or perform corresponding preset operations on both the message card assembly and the message card template, which may be determined according to actual requirements, and is not limited in this embodiment of the present invention.
And S104, in the third area, responding to the triggering operation aiming at the message card assembly and/or the message card template, and generating a message card.
In the embodiment of the present invention, for a message card assembly and/or a message card template displayed in a third area of an interactive interface, a user may perform a corresponding trigger operation on the message card assembly and/or the message card template in the third area of the interactive interface, so that a message card may be generated in response to the trigger operation on the message card assembly and/or the message card template by the user, and the trigger operation is performed in the third area. The generation here includes, but is not limited to, editing the contents of the message card assembly and/or the message card template, and entering the information desired by the user.
The triggering operation generally comprises an editing operation and/or a building block building operation (namely a building block building mode without code display, which means no code display, and corresponding building operation can be performed on the message card assembly and/or the message card template as building blocks), so that for the message card assembly displayed in the third area of the interactive interface, a user can perform corresponding editing operation and/or building block building operation on the message card assembly in the third area of the interactive interface, so that a message card can be generated in response to the editing operation and/or building block building operation of the user on the message card assembly, and/or for the message card template displayed in the third area of the interactive interface, the user can perform corresponding editing operation and/or building block building operation on the message card template in the third area of the interactive interface, so that a message card can be generated in response to the editing operation and/or building block building operation of the user on the message card template.
For example, for a message card component displayed in an edit area in an interactive interface: a single column of text ("this is a piece of text") for which a user may perform an editing operation in an interactive interface editing area to change the content in the single column of text ("this is a piece of text"), for example, to change the content to "the monday starts at 2 pm" so that a message card may be generated in response to the user's editing operation on the single column of text ("this is a piece of text"), as shown in fig. 6.
For another example, for a message card template displayed in an edit area in an interactive interface: a group announcement card ("@ owner"), the user may perform an editing operation on the group announcement card ("@ owner") in the interactive interface editing area, so as to change the content in the group announcement card ("@ owner"), for example, the change content is "@ owner", and the meeting starts at 2.
For another example, for a message card component displayed in an edit section of an interactive interface: the message card assembly comprises a title, a picture, a single-column text and buttons, and a user can correspondingly build the message card assembly in a building block mode in an interactive interface editing area, so that the message card can be generated in response to the building operation of the user on the message card assembly.
For another example, for a message card component displayed in an edit section of an interactive interface: button, message card template: the to-do card can be correspondingly built by the user in the interactive interface editing area in a building block mode for the button and the to-do card, for example, the button is built below the to-do card, so that the message card can be generated in response to the building operation of the user for the button and the to-do card.
For another example, for a message card component displayed in an edit section of an interactive interface: button, message card template: the user can perform corresponding building operation on the buttons and the cards to be handled in the interactive interface editing area in a building block mode, and perform corresponding editing operation on the cards to be handled to change the contents in the cards to be handled, for example, building the buttons below the cards to be handled, and changing the contents in the cards to be "please send respective identity card copies", so that the message card can be generated in response to the building operation of the user on the buttons and the cards to be handled, and the editing operation on the cards to be handled.
Furthermore, it should be noted that the above editing for the message card assembly is only an example, and the editing content for the message card includes, but is not limited to, the following: title, single-column text, double-column text, graphics and text, carousel pictures, video, parting line, button, wherein the text in different components: the method supports two grammars of playing and markdown, supports addition of @ people, changes of colors, bolding, italics, deletion of lines and other grammars, can perform typesetting layout (left alignment, right alignment, self-adaptation, centering and the like), and divides lines: solid and dashed lines are supported, button: different button states are supported, and the buttons can be configured with links: links can be configured for each component, links can also be configured for the whole card, and different links are configured for different clients (pc, android and iOS).
Through the above description of the technical solution provided by the embodiment of the present invention, a message card assembly is displayed in a first area of an interactive interface, a message card template is displayed in a second area of the interactive interface, and in response to a preset operation for the message card assembly, the message card assembly is displayed in a third area of the interactive interface, and/or in response to a preset operation for the message card template, the message card template is displayed in the third area of the interactive interface, in response to a trigger operation for the message card assembly and/or the message card template, a message card is generated, and the trigger operation is executed in the third area.
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.
In addition, in the embodiment of the present invention, for the message card assembly and the message card template, if the user performs different operations with respect to the message card assembly and the message card template, they are displayed at different positions in the third area, which means that the display positions of the message card assembly and the message card template in the third area are different due to different operations performed by the user with respect to the message card assembly and the message card template, so that the user can conveniently generate the message card subsequently.
Therefore, in step S102, in response to the preset operation for the message-card assembly, the operation type to which the preset operation belongs may be determined, and the message-card assembly may be displayed at a corresponding position in the third area of the interactive interface according to the operation type.
For example, a message card assembly is displayed in a first area of the interactive interface, and a user can perform corresponding click operation on the message card assembly, so that an a operation type to which the click operation belongs is determined in response to the click operation of the user on the message card assembly, and the message card assembly is displayed at the lowest part of an editing area of the interactive interface according to the a operation type, which means that the user clicks the message card assembly in the assembly area, and the message card assembly is displayed at the lowest part of the editing area.
For another example, a message card assembly is displayed in a first area of the interactive interface, and a user can perform corresponding dragging operation on the message card assembly, so that a B operation type to which the dragging operation belongs can be determined in response to the dragging operation of the user on the message card assembly, and the message card assembly is displayed at a mouse focus position of an editing area of the interactive interface according to the B operation type, which means that the user drags the message card assembly in the assembly area, and the message card assembly is displayed at the mouse focus position of the editing area along with the dragging operation of the user.
In the step S103, in response to the preset operation for the message card template, the operation type to which the preset operation belongs is determined, and the message card template is displayed at the corresponding position in the third area of the interactive interface according to the operation type.
For example, a message card template is displayed in a first area of the interactive interface, and a user can perform corresponding click operation on the message card template, so that an a operation type to which the click operation belongs is determined in response to the click operation of the user on the message card template, and the message card template is displayed at the lowest part of an editing area of the interactive interface according to the a operation type, which means that the user clicks the message card template in a component area, and the message card template is displayed at the lowest part of the editing area.
For another example, a message card template is displayed in a first area of an interactive interface, and a user can perform corresponding dragging operation on the message card template, so that a B operation type to which the dragging operation belongs can be determined in response to the dragging operation of the user on the message card template, and the message card template is displayed at a mouse focus position of an editing area of the interactive interface according to the B operation type, which means that the user drags the message card template in a component area, and the message card template is displayed at the mouse focus position of the editing area along with the dragging operation of the user.
In addition, in the embodiment of the present invention, after the message card is generated, the first receiving object may be selected as the message card itself, so that the message card is sent to the message card itself, and after the preview effect is not problematic, the second receiving object is selected as the user who actually needs the message card, so that the message card is sent to the user who actually needs the message card, and finally, the user who actually needs the message card can see the message card on the message page of the client.
Specifically, as shown in fig. 8, an implementation flow diagram of another message card generation method provided in the embodiment of the present invention is shown, where the method is applied to an electronic device, and specifically includes the following steps:
s801, displaying a message card assembly in a first area of an interactive interface, and displaying a message card template in a second area of the interactive interface.
In the embodiment of the present invention, this step is similar to the step S101, and the details of the embodiment of the present invention are not repeated herein.
S802, responding to preset operation aiming at the message card assembly, and displaying the message card assembly in a third area of the interactive interface.
In the embodiment of the present invention, this step is similar to the step S102, and details of the embodiment of the present invention are not repeated herein.
S803, 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 embodiment of the present invention, this step is similar to the step S103, and the details of the embodiment of the present invention are not repeated herein.
S804, in the third area, in response to a trigger operation for the message card assembly and/or the message card template, generating a message card.
In the embodiment of the present invention, this step is similar to the step S104, and the details of the embodiment of the present invention are not repeated herein.
S805, in response to the selection operation for the object, determining a first receiving object, which is used for confirming an effect of the message card.
In this embodiment of the present invention, a user may select a first receiving object for receiving a message card, where the first receiving object may be itself or a default object, which is not limited in this embodiment of the present invention.
Based on this, a first reception object for confirming an effect of the message card may be determined in response to a selection operation for the object. The object here may be generally understood as a user, which is not limited in the embodiment of the present invention.
S806, responding to the sending operation of the message card, and sending the message card to the first receiving object.
In the embodiment of the invention, the user can perform 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, and thus the first receiving object can preview the effect of the message card at the client.
S807, in the case of receiving the confirmation message returned by the first receiving object, determining a second receiving object in response to the selection operation for the object.
In the embodiment of the present invention, for the first receiving object, the preview effect of the message card may be confirmed, and in a case where there is no problem in confirmation, a confirmation message may be returned, so that in a case where the confirmation message returned by the first receiving object is received, the second receiving object is determined in response to the selection operation for the object.
S808, responding to the sending operation aiming at the message card, and sending the message card to the second receiving object.
In the embodiment of the present invention, the user may perform a corresponding sending operation on the message card, so that the message card may be sent to the second receiving object in response to the sending operation on the message card, and thus the second receiving object may preview an effect of the message card at the client, where the second receiving object may be understood as an object actually needing 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 for the object, and the message card may be sent to the second receiving object in response to the sending operation for the message card. Therefore, the message card does not need to be sent to the first receiving object for confirmation, but the message card is directly sent to the second receiving object, namely, the object actually needing the message card.
In addition, for the message card, card interaction can be added to the message card in the embodiment of the invention. Specifically, in the case that the message card includes an interactive component, a link icon is displayed beside the interactive component (similar to other message card components, a corresponding icon is displayed beside the interactive component), and the user can perform a corresponding preset operation (e.g., a click operation) on the link icon in the interactive component, so that the link icon is changed from the display state to the edit state in response to the preset operation of the user on the link icon in the interactive component.
In the case where the link icon is in the edit state, the user can input a corresponding link, thereby adding a link corresponding to the link input operation in the link icon in response to the link input operation. Then, the user can move the focus of the mouse out of the third area to view the overall effect, and the corresponding link icon is changed from the editing state to the display state, so that the link icon can be changed from the editing state to the display state in response to the operation of moving the focus of the mouse out of the third area.
Then the user can perform corresponding sending operation on the message card, so that the message card with the added link can be sent to the first receiving object in response to the sending operation on the message card, subsequently, in the case of receiving a confirmation message returned by the first receiving object, the second receiving object is determined in response to the selection operation on the object, and the message card with the added link is sent to the second receiving object in response to the sending operation on the message card.
In addition, for the message card, the embodiment of the invention can beautify the picture by using intelligent drawing for the message card. Specifically, in the case that the message card includes a picture assembly, a picture icon is displayed beside the picture assembly, and the user may perform a corresponding preset operation (e.g., a click operation) on the picture icon in the picture assembly, so that the local picture dialog box pops up in response to the preset operation of the user on the picture icon in the picture assembly.
The user can select a corresponding local picture in the local picture dialog box, so that the local picture is filled in the picture component in response to the selection operation of the user on the local picture in the local picture dialog box, and for the intelligent drawing plug-in, the user can call the intelligent drawing plug-in to beautify the local picture, so that the intelligent drawing plug-in can be called to beautify the local picture filled in the picture component in response to the preset operation on the intelligent drawing plug-in.
Then, the user can perform corresponding sending operation on the message card, so that the message card filled with the local picture and subjected to beautification can be sent to the first receiving object in response to the sending operation on the message card, the second receiving object is determined in response to the selection operation on the object under the condition that the confirmation message returned by the first receiving object is received, and the message card filled with the local picture and subjected to beautification is sent to the second receiving object in response to the sending operation on the message card.
In addition, in the embodiment of the present invention, due to different service scenarios, the corresponding message cards are different, and the message card assemblies and/or message card templates used by the corresponding message cards are also slightly different. Because the user can conveniently search the corresponding message card assembly and/or message card template to quickly build the message card suitable for the current service scene, in the step S101, the display modes of the message card assembly and the message card template can be adjusted based on the service scene.
Specifically, as shown in fig. 9, an implementation flow diagram of a display mode adjustment method provided in an embodiment of the present invention is shown, where the method is applied to an electronic device, and specifically includes the following steps:
s901, determining a current service scene, and searching a first message card assembly and a first message card template in the service scene, wherein the service conditions of the first message card assembly and the first message card template meet preset conditions.
S902, displaying the first message card component in a marking mode in a first area of the interactive interface, and displaying the rest second message card components in a non-marking mode.
And S903, displaying the first message card template in a marking mode and displaying the rest second message card templates in a non-marking mode in a second area of the interactive interface.
In the embodiment of the invention, the current service scene is determined, the first message card component and the first message card template of which the use condition meets the preset condition in the current service scene are searched, the first message card component is displayed in a marking mode in the first area of the interactive interface, the rest second message card components are displayed in a non-marking mode, the first message card template is displayed in a marking mode in the second area of the interactive interface, and the rest second message card templates are displayed in a non-marking mode.
It should be noted that, for the use condition, the use frequency or the use frequency may be understood as the use frequency or the use frequency is greater than the threshold, and the use frequency is correspondingly satisfied with the preset condition, and the embodiment of the present invention does not limit this. In addition, the marking mode can be a lighting mode, for example, the marking mode can be a marking use condition, and the message card assembly and the message card template are displayed in a distinguishing mode in such a way, so that a user can be helped to find the message card assembly and the message card template which are used by the user more conveniently.
For example, assuming that the current service scenario is a voting scenario, a first message card component and a first message card template which are used more than a threshold number in the voting scenario may be searched, the first message card component is displayed in an illuminated manner in a component area of the interactive interface, the remaining second message card components are displayed in a normal manner, the first message card template is displayed in an illuminated manner in a template area of the interactive interface, and the remaining second message card templates are displayed in a normal display manner.
In addition, in order to facilitate the user to search for a corresponding message card assembly and/or a message card template, so as to quickly build a message card suitable for the current service scenario, in step S101, the display order of the message card assembly and the message card template may be adjusted based on the assembly usage of the message card assembly and the template usage of the message card template in the service scenario.
Specifically, as shown in fig. 10, an implementation flow diagram of another display mode adjustment method provided in the embodiment of the present invention is shown, where the method is applied to an electronic device, and specifically includes the following steps:
s1001, determining a current service scene, and counting the use condition of the components of the message card assembly and the use condition of the template of the message card in the service scene.
S1002, sorting the message card assemblies according to the assembly use conditions, and sorting the message card templates according to the template use conditions.
And S1003, displaying the message card assemblies in the first area of the interactive interface according to the sequencing condition of the message card assemblies.
And S1004, displaying the message card template in a second area of the interactive interface according to the sequencing condition of the message card template.
In the embodiment of the invention, the current service scene is determined, the use condition of the components of the message card assembly and the use condition of the template of the message card in the service scene are counted, the message card assemblies are sequenced according to the use condition of the components, the message card templates are sequenced according to the use condition of the template, the message card assembly is displayed in the first area of the interactive interface according to the sequencing condition of the message card assembly, and the message card template is displayed in the second area of the interactive interface according to the sequencing condition of the message card template.
For example, assuming that the current service scene is a schedule scene, the number of times of using components of a message card assembly and the number of times of using templates of a message card template in the schedule scene may be counted, the message card assemblies are sorted according to the number of times of using the components, the message card templates are sorted according to the number of times of using the templates, and the message card assemblies are displayed in a component area of the interactive interface according to the sorting condition of the message card assemblies, which means that the more the number of times of using the message card assemblies is, the more the display sequence of the component area is, and the more the display sequence of the message card templates is, the more the display sequence of the template area is, in the template area, the more the display sequence of the message card templates is.
In addition, different objects have different favorite message card assemblies and message card templates, for example, some objects like to build message cards through a single column of text, while other objects like to build message cards through a single column of text + button, so that the display sequence of the message card assemblies or the message card templates can be adjusted based on the object images of the sending objects or the receiving objects of the message cards, and the objects can conveniently find the favorite message card assemblies and the message card templates to build the message cards.
Specifically, as shown in fig. 11, an implementation flow diagram of another display mode adjustment method provided in the embodiment of the present invention is shown, where the method is applied to an electronic device, and specifically includes the following steps:
s1101, acquiring an object image of a message card sending object or a message card receiving object, and sequencing the message card assembly and the message card template according to the object image.
And S1102, displaying the message card assemblies according to the sorting condition of the message card assemblies in a first area of an interactive interface, wherein the top N message card assemblies are displayed in a marking mode.
And S1103, displaying the message card templates in the second area of the interactive interface according to the sorting condition of the message card templates, wherein the top M message card templates are displayed in a marking mode.
In the embodiment of the invention, the object portrait of the message card sending object or the message card receiving object can be obtained, the message card assemblies and the message card templates are sequenced according to the object portrait, the message card assemblies are displayed in a first area of the interactive interface according to the sequencing condition of the message card assemblies, the message card assemblies of the first N numbers are displayed in a marking mode, the message card templates are displayed in a second area of the interactive interface according to the sequencing condition of the message card templates, and the message card templates of the first M numbers are displayed in a marking mode. N, M are all positive integers, which are not limited in this embodiment of the present invention.
It should be noted that, for an object portrait, the message card assembly and the message card template used by the object to previously build a message card may be understood, and also the preference degree of the object to the message card assembly and the message card template may be understood, where the preference degree may be obtained statistically according to the number of times the user uses the message card assembly and the message card template, and of course, the preference of the object, such as a drawing, may also be understood as a corresponding preference of the object, and the display sequence of the message card assembly and the message card template related to the picture may be adjusted forward, which is not limited in this embodiment of the present invention.
For example, a user figure of a message card receiving user is obtained, where the user figure can be understood as a message card assembly and a message card template used by the user to previously build the message card, so that the message card assembly and the message card template can be sorted according to the user figure, in a assembly area of an interactive interface, according to the sorting condition of the message card assembly, the message card assembly is displayed, the first N message card assemblies are displayed in a marking mode, which means that the message card assembly used by the user to previously build the message card is lighted, in a template area of the interactive interface, according to the sorting condition of the message card template, the message card template is displayed, and the first M message card templates are displayed in a marking mode, which means that the message card template used by the user to previously build the message card is lighted.
In addition, the associated message card assembly and the message card template are different for different service scenes, for example, for a voting scene, the message card assembly associated with the voting scene has a button, a single column of text, etc., for a schedule scene, the message card assembly associated with the schedule scene has a double column of text, etc. Therefore, the display sequence of the message card assembly and the message card template is adjusted based on the message card assembly and the message card template related to the service scene, and a user can conveniently search the message card assembly and the message card template to build a message card.
Specifically, as shown in fig. 12, an implementation flow diagram of another display mode adjustment method provided in the embodiment of the present invention is shown, where the method is applied to an electronic device, and specifically includes the following steps:
s1201, determining the current service scene, and searching a first message card assembly and a first message card template related to the service scene.
S1202, displaying the first message card component in a marking mode in a first area of the interactive interface, and displaying the remaining second message card component in a non-marking mode.
S1203, displaying the first message card template in a marking mode in a second area of the interactive interface, and displaying the remaining second message card templates in a non-marking mode.
In the embodiment of the invention, the current service scene is determined, a first message card assembly and a first message card template related to the service scene are searched, the first message card assembly is displayed in a marking mode in a first area of an interactive interface, the rest second message card assemblies are displayed in a non-marking mode, the first message card template is displayed in a marking mode in a second area of the interactive interface, and the rest second message card templates are displayed in a non-marking mode.
For example, assuming that the current service scene is a voting scene, a first message card component such as a single-column text and a button related to the voting scene and a first message card template such as a voting card can be searched, so that the first message card component such as the single-column text and the button related to the voting scene is displayed in a component area of the interactive interface in an illuminated manner, the remaining second message card components are displayed in a normal display manner, the first message card template such as the voting card related to the voting scene is displayed in a template area of the interactive interface in an illuminated manner, and the remaining second message card templates are displayed in a normal display manner.
In addition, in the embodiment of the present invention, when the user operates the message card assembly and the message card template, there is a possibility of misoperation, for example, when the user moves the mouse, the user does not carefully and smoothly click the message card assembly, which is a button, and the message card assembly is displayed in the editing area, so that the user may erroneously trigger and also need to delete the message card assembly, which is a button. Based on this, in order to prevent false triggering, in the above steps S102 and S103, the staying time of the mouse focus in the message card assembly and the message card template may be counted to determine whether to display the message card assembly and the message card template in the third area.
Specifically, in response to a preset operation for the message card assembly, counting the assembly stay time of the focus of the mouse on the message card assembly, if the assembly stay time exceeds a preset threshold, displaying the message card assembly in the third area of the interactive interface, and if the assembly stay time does not exceed the preset threshold, prohibiting the message card assembly from being displayed in the third area of the interactive interface.
For example, in response to a clicking operation on a message card assembly, the stay time of a component of a mouse focus on the message card assembly is counted, if the stay time of the component exceeds 50ms, it is indicated that a user intentionally uses the message card assembly, at this time, the message card assembly can be displayed in an edit area of the interactive interface, and if the stay time of the component does not exceed 50ms, the user does not carelessly and manually click the message card assembly in the process of moving the mouse, at this time, the message card assembly can be prohibited from being displayed in the edit area of the interactive interface.
And responding to the preset operation aiming at the message card template, counting the template stay time of the mouse focus in the message card template, if the template stay time exceeds a preset threshold value, displaying the message card template in a third area of the interactive interface, and if the template stay time does not exceed the preset threshold value, forbidding to display the message card template in the third area of the interactive interface.
For example, in response to a clicking operation on the message card template, the template retention time of the focus of the mouse on the message card template is counted, if the template retention time exceeds 50ms, it is indicated that the user intentionally uses the message card template, at this time, the message card template may be displayed in the editing area of the interactive interface, if the template retention time does not exceed 50ms, the user may not carefully and smoothly click the message card template during moving the mouse, and at this time, the message card template may be prohibited from being displayed in the editing area of the interactive interface.
In addition, in the embodiment of the present invention, in the process of generating the message card, or after the message card is generated, different authorities of the receiving object to the message card assembly and/or the message card template in the message card may be set, so that different receiving objects receive different message card assemblies and/or message card templates in the message card, thereby achieving the purpose of receiving different contents of the message card by different receiving objects, and reducing the generation times of the message card, improving the generation efficiency of the message card, and correspondingly improving the sending efficiency of the message card.
For example, 2 different message card assemblies a and B are used at the same position on a message card template of a message card, the authority of a receiving object a for the message card assemblies a is set, and the authority of a receiving object B for the message card assemblies B is set, so that when the message card is sent out, the receiving object a can see the message card carrying the message card assemblies a, and the receiving object B can see the message card carrying the message card B.
Based on the above, different receiving objects are determined in response to the selection operation for the object, wherein the different receiving objects are used for receiving different message card assemblies and/or message card templates in the message cards, the authority of the different receiving objects on the message card assemblies in the message cards is set in response to the authority setting operation for the message card assemblies in the message cards, and/or the authority of the different receiving objects on the message card templates in the message cards is set in response to the authority setting operation for the message card templates in the message cards.
The authority setting here may generally be setting of the visible authority, that is, setting of the visible authority of different receiving objects to the message card assembly in the message card in response to the visible authority setting operation for the message card assembly in the message card, and/or setting of the visible authority of different receiving objects to the message card template in the message card in response to the visible authority setting operation for the message card template in the message card.
For example, 2 different message card assemblies a and B are used in the same position on a message card template of a message card, a receiving object a and a receiving object B are determined in response to a selection operation for an object, and a visible right of the receiving object a is set in response to a visible right setting operation for the message card assembly a in the message card, which means that the message card assembly a is set to be visible only for the receiving object a, and a visible right of the receiving object B is set in response to a visible right setting operation for the message card assembly B in the message card, which means that the message card assembly B is set to be visible only for the receiving object B, so that when the message card is sent out, the receiving object a can only see the message card carrying the message card assembly a, and the receiving object B can only see the message card carrying the message card B.
In addition, after the permission setting is carried out, before the message card is sent out, the message card can be previewed, so that whether different receiving objects can receive different message card assemblies and/or message card templates in the message card or not can be confirmed. Based on this, as shown in fig. 13, an implementation flow diagram of a message card preview method provided in an embodiment of the present invention is shown, where the method is applied to an electronic device, and specifically may include:
and S1301, responding to the preview operation aiming at the message card on the interactive interface, and triggering a selection event of a target receiving object.
S1302, in response to the selection event, determining a target receiving object, and searching the message card component related to the target receiving object authority from the message card.
S1303, displaying the message card component related to the target receiving object authority on the interactive interface.
S1304, and/or in response to the selection event, determining a target receiving object, and searching the message card template related to the authority of the target receiving object from the message card.
S1305, displaying the message card template related to the target receiving object authority on the interactive interface.
In the embodiment of the invention, a selection event of a target receiving object is triggered in response to a preview operation aiming at a message card on an interactive interface; in response to the selection event, determining a target receiving object, and searching a message card component related to the authority of the target receiving object from the message cards; displaying a message card component related to the target receiving object authority on an interactive interface; and/or, in response to the selection event, determining a target receiving object, and searching a message card template related to the authority of the target receiving object from the message card; and displaying a message card template related to the target receiving object authority on the interactive interface.
For example, a corresponding preview button may be set on the interactive interface, and a preview operation may be triggered when the user clicks the preview button, so that a selection event of a target receiving object is triggered on the interactive interface in response to the preview operation for a message card, a receiving object a is determined in response to the selection event, a message card assembly a related to the authority of the receiving object a is searched from the message card, and the message card assembly a related to the authority of the receiving object a is shown on the interactive interface, which means that the message card carrying the message card assembly a is shown, so that after confirming that the message card is sent out, the receiving object a can only see the message card carrying the message card assembly a. Then, in response to the selection event determining the receiving object B, searching the message card assembly B related to the authority of the receiving object B from the message cards, and displaying the message card assembly B related to the authority of the receiving object B on the interactive interface, namely displaying the message card carrying the message card assembly B, so as to confirm that the receiving object a can only see the message card carrying the message card assembly B after the message card is sent out.
In addition, in the process of setting the authority, or after the authority is set, the authority setting condition of the message card assembly can be displayed in the first area, and/or the authority setting condition of the message card template can be displayed in the second area, so that a producer of the message card can observe the message card assembly and/or the message card template to set corresponding authority for the receiving object. Based on the information, determining the authority setting condition of the information card assembly and/or the information card template in the information card; and displaying the authority setting condition of the message card assembly in the first area, and/or displaying the authority setting condition of the message card template in the second area.
For example, 2 different message card assemblies a and B are used at the same position on the message card template 1 of the message card, the visible rights of the receiving object a to the message card template 1 and the message card assemblies a are set, and the visible rights of the receiving object B to the message card template 1 and the message card assemblies B are set, so that the setting conditions of the rights of the message card assemblies and the message card template 1 in the message card can be determined, the setting conditions of the rights of the message card assemblies a and the message card assemblies B can be displayed in the assembly area, specifically, the identifier of the receiving object a can be marked and displayed on the upper left of the message card assembly a, the identifier of the receiving object B can be marked and displayed on the upper left of the message card assembly B, the setting conditions of the rights of the message card template 1 can be displayed in the template area, specifically, the identifiers of the receiving object a and the receiving object B can be marked and displayed on the upper left of the message card template 1, as shown in fig. 14.
It should be noted that, the display manner of the permission setting condition of the message card assembly includes, but is not limited to, displaying the receiving object identifier having the permission of the message card assembly on the upper left side, the upper right side, the lower left side, and the like of the message card assembly in the first area, and this is not limited by the embodiment of the present invention.
In addition, different message card types and styles are usually required in chat software, different service scenes are met, the message card types and the styles are too many, and the pressure of the server is too high.
In addition, the embodiment of the invention supports the message card to be implanted into the IM (instant messaging) capability of the collaboration middle station, and the collaboration middle station is an independent middle station service and is used for realizing the IM capability. The message card capability is implanted into the collaboration middle desk, so that an instant messaging scene can be better served.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a message card generating apparatus, as shown in fig. 15, where the apparatus may include: a first display module 1510, a second display module 1520, a third display module 1530, and a message card generating module 1540.
A first display module 1510, configured to display a message card assembly in a first area of an interactive interface, and display a message card template in a second area of the interactive interface;
a second display module 1520, configured to display the message-card assembly in a third area of the interactive interface in response to a preset operation for the message-card assembly;
and/or the presence of a gas in the atmosphere,
the third display module 1530 is configured to display the message card template in a third area of the interactive interface in response to a preset operation for the message card template;
a message card generating module 1540, configured to generate a message card in response to a trigger operation for the message card assembly and/or the message card template in the third area.
An embodiment of the present invention further provides an electronic device, as shown in fig. 16, which includes a processor 161, a communication interface 162, a memory 163, and a communication bus 164, where the processor 161, the communication interface 162, and the memory 163 complete mutual communication through the communication bus 164,
a memory 163 for storing a computer program;
the processor 161 is configured to implement the following steps when executing the program stored in the memory 163:
displaying a message card assembly in a first area of an 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 trigger operation for the message card assembly and/or the message card template.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present invention, a storage medium is further provided, where instructions are stored, and when the storage medium runs on a computer, the storage medium causes the computer to execute the message card generating method in any one of the above embodiments.
In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the message card generating method of any one of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, 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 loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a storage medium or transmitted from one storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (13)

1. A message card generation method, the method comprising:
displaying a message card assembly in a first area of an 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 trigger operation for the message card assembly and/or the message card template.
2. The method of claim 1, wherein the displaying the message-card assembly in a third area of the interactive interface in response to a preset operation for the message-card assembly comprises: responding to a preset operation aiming at the message card assembly, and determining an operation type to which the preset operation belongs; displaying the message card assembly at a corresponding position of a third area of the interactive interface according to the operation type;
and/or the presence of a gas in the gas,
the responding to the preset operation aiming at the message card template, and displaying the message card template in a third area of the interactive interface, wherein the steps comprise: responding to a preset operation aiming at the message card template, and determining an operation type to which the preset operation belongs; and displaying the message card template at a corresponding position of a third area of the interactive interface according to the operation type.
3. The method of claim 1, wherein generating a message card in response to a triggering operation for the message card assembly and/or the message card template comprises:
generating a message card in response to an editing operation and/or a building block construction operation for the message card assembly;
and/or the presence of a gas in the gas,
and generating the message card in response to the editing operation and/or the building block building operation aiming at the message card template.
4. The method of claim 1, further comprising:
responding to a preview operation aiming at the message card on the interactive interface, and triggering a selection event of a target receiving object;
in response to the selection event determining a target receiving object, searching the message card component related to the target receiving object authority from the message card; displaying the message card component related to the target receiving object authority on the interactive interface;
and/or the presence of a gas in the gas,
in response to the selection event, determining a target receiving object, and searching the message card template related to the authority of the target receiving object from the message card; and displaying the message card template related to the target receiving object authority on the interactive interface.
5. The method of claim 4, further comprising, prior to triggering a selection event of a target recipient object on the interactive interface in response to a preview operation for the message card:
in response to a selection operation for an object, determining different receiving objects, wherein different receiving objects are used for receiving different message card assemblies and/or message card templates in the message cards;
setting the authority of different receiving objects to the message card assembly in the message card in response to the authority setting operation for the message card assembly in the message card, and/or setting the authority of different receiving objects to the message card template in the message card in response to the authority setting operation for the message card template in the message card.
6. The method according to claim 5, wherein the setting of the authority of the different receiving object to the message card assembly in the message card in response to the authority setting operation for the message card assembly in the message card, and/or the setting of the authority of the different receiving object to the message card template in the message card in response to the authority setting operation for the message card template in the message card, comprises:
setting a visible right of the different receiving object to the message card assembly in the message card in response to a visible right setting operation for the message card assembly in the message card, and/or setting a visible right of the different receiving object to the message card template in the message card in response to a visible right setting operation for the message card template in the message card.
7. The method of claim 1, wherein displaying a message card assembly in a first area of an interactive interface and a message card template in a second area of the interactive interface comprises:
determining a current service scene, and searching a first message card assembly and a first message card template of which the service conditions meet preset conditions in the service scene;
displaying the first message card component in a marking mode in a first area of the interactive interface, and displaying the rest second message card components in a non-marking mode;
and displaying the first message card template in a marking mode in a second area of the interactive interface, and displaying the rest second message card templates in a non-marking mode.
8. The method of claim 5 or 6, further comprising:
determining the authority setting condition of the message card assembly and/or the message card template in the message card;
displaying the permission setting condition of the message card assembly in the first area, and/or displaying the permission setting condition of the message card template in the second area.
9. The method of claim 1, wherein displaying a message card assembly in a first area of an interactive interface and a message card template in a second area of the interactive interface comprises:
acquiring an object portrait of a message card sending object or a message card receiving object, and sequencing a message card assembly and a message card template according to the object portrait;
displaying the message card assemblies in a first area of an interactive interface according to the sequencing condition of the message card assemblies, wherein the message card assemblies of the first N names are displayed in a marking mode, and N comprises a positive integer;
and displaying the message card templates in a second area of the interactive interface according to the sequencing condition of the message card templates, wherein the message card templates of the first M names are displayed in a marking mode, and M comprises a positive integer.
10. The method of claim 1, wherein displaying a message card assembly in a first area of an interactive interface and a message card template in a second area of the interactive interface comprises:
determining a current service scene, and searching a first message card component and a first message card template which are related to the service scene;
displaying the first message card assembly in a marking mode and displaying the rest second message card assemblies in a non-marking mode in a first area of an interactive interface;
and displaying the first message card template in a marking mode in a second area of the interactive interface, and displaying the rest second message card templates in a non-marking mode.
11. An apparatus for generating a message card, the apparatus comprising:
the first display module is used for displaying the message card assembly in a first area of the interactive interface and displaying the message card template in a second area of the interactive interface;
the second display module is used for 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 the presence of a gas in the atmosphere,
the third display module is used for responding to preset operation aiming at the message card template and displaying the message card template in a third area of the interactive interface;
a message card generating module, configured to generate a message card in the third area in response to a triggering operation for the message card assembly and/or the message card template.
12. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 10 when executing a program stored in the memory.
13. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-10.
CN202210922479.9A 2022-08-02 2022-08-02 Message card generation method and device, electronic equipment and storage medium Pending CN115328595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210922479.9A CN115328595A (en) 2022-08-02 2022-08-02 Message card generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210922479.9A CN115328595A (en) 2022-08-02 2022-08-02 Message card generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115328595A true CN115328595A (en) 2022-11-11

Family

ID=83920717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210922479.9A Pending CN115328595A (en) 2022-08-02 2022-08-02 Message card generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115328595A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116166242A (en) * 2023-03-22 2023-05-26 广州嘉为科技有限公司 Canvas-based measurement card implementation method, device and storage medium

Cited By (2)

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

Similar Documents

Publication Publication Date Title
CN112632942B (en) Document processing method, device, equipment and medium
CN109005283B (en) Method, device, terminal and storage medium for displaying notification message
CN103577042A (en) Method and device for providing a message function
JP2014146380A (en) Chat service providing method and device
CN111726456B (en) Data processing method and related device
CN113300938B (en) Message sending method and device and electronic equipment
CN113177190A (en) Document content sharing method and electronic equipment
CN111367447A (en) Information display method and device, electronic equipment and computer readable storage medium
CN115328595A (en) Message card generation method and device, electronic equipment and storage medium
CN113672839A (en) Document processing method, electronic device and readable medium
US20160029104A1 (en) System and Method For Presenting During A Programming Event An Invitation To Follow Content On A Social Media Site
US11665119B2 (en) Information replying method, apparatus, electronic device, computer storage medium, and product
CN111831937B (en) Data processing method and device and computer storage medium
CN115270734A (en) Message processing method, device, equipment and medium based on session
CN112199553A (en) Information resource processing method, device, equipment and storage medium
CN111625740A (en) Image display method, image display device and electronic equipment
KR102567051B1 (en) Operating method of terminal and terminal
US20230019394A1 (en) Comtool Communication System
WO2023045650A1 (en) Message display method and apparatus, computer device, storage medium, and program product
WO2024087533A1 (en) Expression image sharing method and apparatus, computer device, and storage medium
WO2023134255A1 (en) Information insertion method and apparatus, device, medium, and computer program product
CN114915838B (en) Video acquisition method, video sharing method, device, equipment and medium
US12003469B2 (en) Personalized messaging service system, personalized messaging service method, and user terminal provided with the personalized messaging service
WO2023216730A1 (en) Privacy protection method and apparatus for social network, electronic device, computer readable storage medium, and computer program product
US20240135416A1 (en) Product review method, apparatus and client terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination