[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115061765B - Message card ejection method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN115061765B
CN115061765B CN202210700377.2A CN202210700377A CN115061765B CN 115061765 B CN115061765 B CN 115061765B CN 202210700377 A CN202210700377 A CN 202210700377A CN 115061765 B CN115061765 B CN 115061765B
Authority
CN
China
Prior art keywords
card
message card
message
information
layout
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210700377.2A
Other languages
Chinese (zh)
Other versions
CN115061765A (en
Inventor
翟永青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xizang Hanling Technology Co ltd
Original Assignee
Xizang Hanling Technology 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 Xizang Hanling Technology Co ltd filed Critical Xizang Hanling Technology Co ltd
Priority to CN202210700377.2A priority Critical patent/CN115061765B/en
Publication of CN115061765A publication Critical patent/CN115061765A/en
Application granted granted Critical
Publication of CN115061765B publication Critical patent/CN115061765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of development, and discloses a message card ejection method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring AI intelligent information generated by a user side, constructing an information layout of the AI intelligent information, and configuring a message card of the AI intelligent information according to the information layout; identifying the association information between cards in the message card, and constructing a merging style of the message card according to the association information; carrying out pattern combination on the cards in the message card according to the combination pattern to obtain a combined message card, and configuring a pop-up interface of the combined message card at the user side; and responding to the card ejection event of the user side, and ejecting the combined message card through the ejection interface. The invention can improve the efficiency of message card ejection.

Description

Message card ejection method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of development, and in particular, to a method and apparatus for ejecting a message card, an electronic device, and a computer readable storage medium.
Background
The message card ejection means that the AI intelligent agent responds to the reply request of the user during chat, so that the message card is ejected in a popup window mode.
At present, when a specific message card component is required to be developed for a specific user, it often takes time to redevelop another message card component after developing one message card component, and the developed old message card component cannot be reasonably utilized; when a plurality of different user terminals exist, new message card components are difficult to pop up at the different user terminals due to the inconsistency of new and old versions among the plurality of user terminals; since the messages contained in the plurality of message cards have some similar content, the individual message cards cannot be fused and ejected to reduce redundancy of information. Thus, message card ejection is inefficient.
Disclosure of Invention
The invention provides a message card ejection method, a message card ejection device, an electronic device and a computer readable storage medium, and mainly aims to improve the efficiency of message card ejection.
In order to achieve the above object, the present invention provides a method for ejecting a message card, including:
Acquiring AI intelligent information generated by a user side, constructing an information layout of the AI intelligent information, and configuring a message card of the AI intelligent information according to the information layout;
identifying the association information between cards in the message card, and constructing a merging style of the message card according to the association information;
carrying out pattern combination on the cards in the message card according to the combination pattern to obtain a combined message card, and configuring a pop-up interface of the combined message card at the user side;
And responding to the card ejection event of the user side, and ejecting the combined message card through the ejection interface.
Optionally, the constructing the information layout of the AI intelligent information includes:
analyzing layout requirements of the AI intelligent information;
Inquiring a layout algorithm corresponding to the layout requirement;
and constructing the information layout of the AI intelligent information by using the layout algorithm.
Optionally, the configuring the message card of the AI intelligent information according to the information layout includes:
Identifying card types and card layouts of the AI intelligent information according to the information layout;
Inquiring the card components of the AI intelligent information from a pre-constructed card component library according to the card types;
and according to the card layout, carrying out message card configuration on the AI intelligent information by utilizing the card assembly to obtain the message card of the AI intelligent information.
Optionally, the step of performing style combination on the cards in the message card according to the combination style to obtain a combined message card includes:
Calculating the phase difference degree of card messages in the message card according to the merging patterns;
when the phase difference degree is smaller than a preset threshold value, carrying out de-duplication treatment on the cards in the message card to obtain de-duplication cards;
And merging the duplicate removal cards by using a preset merging function to obtain the merged message card.
Optionally, the calculating the phase difference degree of the messages of the cards in the message cards includes:
The degree of phase difference is calculated using the following formula:
Wherein, W represents the phase difference degree of two messages corresponding to two message cards, q 1j and q 2j represent two messages corresponding to two message cards, n represents the number of messages in the card, and j represents the j-th message in the message card.
Optionally, the configuring the ejecting interface of the combined message card at the user side includes:
acquiring the message category of the combined message card, and identifying the pop-up address corresponding to the combined message card;
Constructing an interface address and an interface method of the combined message card according to the message category and the pop-up address;
And executing the ejection interface configuration of the combined message card at the user side according to the interface address and the interface method to obtain the ejection interface.
Optionally, the ejecting the combined message card through the ejection interface includes:
converting the combined message card into JSON format data;
Transmitting the JSON format data to the user terminal through the pop-up interface;
Decrypting the JSON format data in the user terminal to obtain decrypted JSON format data;
and popping the decrypted JSON format data through the AI intelligent window corresponding to the combined message card.
In order to solve the above-mentioned problems, the present invention also provides a message card ejection apparatus, the apparatus comprising:
the message card configuration module is used for acquiring the AI intelligent information generated by the user side, constructing the information layout of the AI intelligent information, and configuring the message card of the AI intelligent information according to the information layout;
The message card comprises a message card, a combination pattern construction module and a message card identification module, wherein the message card comprises a message card and a combination pattern;
The pop-up interface configuration module is used for carrying out style combination on the cards in the message cards according to the combination styles to obtain combined message cards, and configuring the pop-up interface of the combined message cards at the user side;
And the message card ejecting module is used for responding to the card ejecting event of the user side and ejecting the combined message card through the ejecting interface.
In order to solve the above-mentioned problems, the present invention also provides an electronic apparatus including:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor, the computer program is executed by the at least one processor to implement the message card ejection method described above.
In order to solve the above-mentioned problems, the present invention also provides a computer-readable storage medium having stored therein at least one computer program that is executed by a processor in an electronic device to implement the above-mentioned message card ejection method.
It can be seen that, according to the embodiment of the invention, by acquiring the AI intelligent information generated by the user side, the diversity of the AI intelligent information is considered, the card skin bearing the content of the AI intelligent information is ensured to be developed later, and the interest of monotonic AI intelligent information is increased by utilizing the card skin. Wherein the information layout literally means determining the drawing position of each element, further, the embodiment of the invention configures the message card of the AI intelligent information according to the information layout, so as to be used for developing a fine-granularity message card for each piece of AI intelligent information with less content, ensuring that the subsequent fine-granularity message card can be combined, reducing the problem that a large card can only bear one content can be developed, further, the embodiment of the invention recognizes the associated information among the cards in the message card, so as to be used for the subsequent information among the different fine-granularity message cards, and connects the fine-granularity cards together, so as to reduce redundant information, further, the embodiment of the invention constructs a combining pattern of the message card according to the associated information, so as to be used for embodying the association condition among the cards in the message card through pattern design, ensuring that the language among the cards in the message card is consistent and a rule is clear, further, the embodiment of the invention further discloses a user interface is used for popping up a plurality of redundant message cards in the message card according to the combining pattern, so as to be used for the user interface is further realized at the user interface, the user interface is further realized by the user interface is further, the user interface is further realized by the user interface is popped up the user interface is further realized, the user interface is further realized by the user interface is popped up the user interface according to the user interface, and sending the message and the message card carrying the message to the user, and further, the embodiment of the invention ejects the combined message card through the ejection interface so as to be used for sending the combined message card to the user through the interface. Therefore, the message card ejection method, the device, the electronic equipment and the computer readable storage medium provided by the embodiment of the invention can improve the efficiency of message card ejection.
Drawings
FIG. 1 is a flow chart of a message card ejecting method according to an embodiment of the invention;
FIG. 2 is a schematic block diagram of a message card eject apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device for implementing a message card ejection method according to an embodiment of the present invention;
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a message card ejecting method. The execution body of the message card ejection method includes, but is not limited to, at least one of a server, a terminal, and the like, which can be configured to execute the method provided by the embodiment of the invention. In other words, the message card eject method may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Referring to fig. 1, a flow chart of a message card ejecting method according to an embodiment of the invention is shown. In the embodiment of the invention, the message card ejecting method comprises the following steps S1-S4:
S1, acquiring AI intelligent information generated by a user side, constructing an information layout of the AI intelligent information, and configuring a message card of the AI intelligent information according to the information layout.
According to the embodiment of the invention, the AI intelligent information generated by the user side is acquired so as to consider the diversity of the AI intelligent information, ensure the follow-up development of the card skin bearing the content of the AI intelligent information, and increase the interest of monotonic AI intelligent information by using the card skin.
The user side refers to program software corresponding to the server and providing local service for the user, and the program software comprises a common user side, an enterprise side and the like, and also refers to a program containing information for replying the user. The AI intelligent information refers to information issued by using an artificial intelligence technology.
Further, the embodiment of the invention is used for designing layout conditions for different information in advance according to the diversity of the AI intelligent information by constructing the information layout of the AI intelligent information. The information layout means determining the drawing position of each element in a literal sense.
In an embodiment of the present invention, the constructing the information layout of the AI intelligent information includes: analyzing layout requirements of the AI intelligent information; inquiring a layout algorithm corresponding to the layout requirement; and constructing the information layout of the AI intelligent information by using the layout algorithm.
Illustratively, when the layout requirement is to generate a tree node-connected information layout, the information layout of the AI intelligent information may be constructed using a rhein golde-timford layout algorithm; when the layout requirement is that the network type and social type graph data are visually displayed, the information layout of the AI intelligent information can be constructed by utilizing a position Verlet integration algorithm layout algorithm.
Further, according to the embodiment of the invention, the message cards of the AI intelligent information are configured according to the information layout, so that the fine-granularity message cards are developed for the AI intelligent information with less contents, the subsequent combination of the fine-granularity message cards is ensured, and the problem that a large card can only bear one content is reduced.
The message card is a card for carrying messages sent by the AI intelligent robot, and has different applications under different scenes, for example, under an online shopping scene, the message card can be used for carrying invoice information applied by a buyer, and the buyer can fill in billing information in the message card.
In an embodiment of the present invention, the message card for configuring the AI intelligent information according to the information layout includes: identifying card types and card layouts of the AI intelligent information according to the information layout; inquiring the card components of the AI intelligent information from a pre-constructed card component library according to the card types; and according to the card layout, carrying out message card configuration on the AI intelligent information by utilizing the card assembly to obtain the message card of the AI intelligent information.
The card type comprises types of introduction of identity information of a salesman, introduction of information of financial products and the like, and the card component library is similar to a database in principle and is used for storing component resources.
Alternatively, the message card configuration of the AI intelligent information by using the card component may implement message card configuration by storybook, and Storybook is an open source tool that can construct UI components, document and test, including practice, vue and Angular, in an organized and efficient manner.
S2, identifying the association information between the cards in the message card, and constructing a merging style of the message card according to the association information.
According to the embodiment of the invention, the information of the association between the cards in the message card is identified for the subsequent connection of the information between the message cards with different granularity, so that the redundant information can be reduced.
The related information refers to information that the related information is related to and affects each other, for example, one message card display content includes a "name and a performance", and the other message card display content includes a "name and a working time", and the related information of the two message cards is the "name".
In an embodiment of the present invention, the identifying the association information between cards in the message card is implemented by querying whether there is duplicate information between the cards.
Further, the embodiment of the invention constructs the merging style of the message cards according to the association information, so that the association condition among the cards in the message cards is embodied through style design, and the consistency and the clearness of the languages among the cards in the message cards are ensured.
The merging style refers to a set of modification parameters saved by names and used for modifying the modification object, and the modification parameters comprise fonts, font sizes, frame shading, alignment modes, indents, side lines and the like.
In an embodiment of the present invention, the method for constructing the merging style of the message card according to the association information is similar to the principle of constructing the information layout of the AI intelligent information, and is not further described herein.
And S3, carrying out pattern combination on the cards in the message card according to the combination pattern to obtain a combined message card, and configuring a pop-up interface of the combined message card at the user side.
According to the embodiment of the invention, the cards in the message cards are subjected to pattern combination according to the combination patterns, so that a plurality of redundant message cards are combined into the duplicate-removed message card, and the redundancy of information is reduced.
In an embodiment of the present invention, the step of performing style combination on the cards in the message card according to the combination style to obtain a combined message card includes: calculating the phase difference degree of card messages in the message card according to the merging patterns; when the phase difference degree is smaller than a preset threshold value, carrying out de-duplication treatment on the cards in the message card to obtain de-duplication cards; and merging the duplicate removal cards by using a preset merging function to obtain the merged message card.
The preset threshold may be set to 0.5, or may be specifically set according to actual situations. The preset combining function is mergeOptions combining functions.
Further, in yet another embodiment of the present invention, the degree of phase difference of messages of cards in the message card is calculated using the following formula:
Wherein, W represents the phase difference degree of two messages corresponding to two message cards, q 1j and q 2j represent two messages corresponding to two message cards, n represents the number of messages in the card, and j represents the j-th message in the message card.
In still another embodiment of the present invention, the duplication removing process is performed on the cards in the message card by deleting the duplicate information, so as to obtain a duplication removing card.
Further, the embodiment of the invention ensures that the developed message card is transmitted to the user interface later by configuring the pop-up interface of the combined message card at the user end so as to connect the service end for developing the message card with the user end by utilizing the pop-up interface.
The pop-up interface refers to a channel for interaction between the server and the user, and includes a requested URL address, a request mode, and the like.
In an embodiment of the present invention, the configuring the ejection interface of the combined message card at the user side includes: acquiring the message category of the combined message card, and identifying the pop-up address corresponding to the combined message card; constructing an interface address and an interface method of the combined message card according to the message category and the pop-up address; and executing the ejection interface configuration of the combined message card at the user side according to the interface address and the interface method to obtain the ejection interface.
The interface address and the interface method comprise a resource type, a host domain name for storing resources, a resource file name and the like, and the script language can be js script language.
When the information category of the combined message card is the information of introducing financial products, the method identifies that the pop-up address of the combined message card is popped up after the message A, writes the resource address where the combined message card is located and the parameters of the combined message card at the pop-up address, and obtains the interface address.
And S4, responding to the card ejection event of the user side, and ejecting the combined message card through the ejection interface.
The embodiment of the invention responds to the card ejection event of the user side so as to timely meet the data request of the user side and send the message and the message card carrying the message to the user. The card ejection event refers to a request of a user to acquire a message card carrying the AI intelligent reply.
According to the embodiment of the invention, the combined message card is ejected through the ejection interface, so that the combined message card is sent to a user through the interface.
In an embodiment of the present invention, the ejecting the combined message card through the ejection interface includes: converting the combined message card into JSON format data; transmitting the JSON format data to the user terminal through the pop-up interface; decrypting the JSON format data in the user terminal to obtain decrypted JSON format data; and popping the decrypted JSON format data through the AI intelligent window corresponding to the combined message card.
The JSON format data refers to data in a lightweight data exchange format and is used for encryption processing.
Illustratively, the encryption processing before data transmission can be realized by converting the merged message card into JSON format data through a Java tool; converting the JSON format data into a resource address URL, and receiving the resource address URL through the pop-up interface to obtain the JSON format data; the AI intelligent window is a message sending end of the AI intelligent agent and is realized through an artificial intelligent technology.
It can be seen that, according to the embodiment of the invention, by acquiring the AI intelligent information generated by the user side, the diversity of the AI intelligent information is considered, the card skin bearing the content of the AI intelligent information is ensured to be developed later, and the interest of monotonic AI intelligent information is increased by utilizing the card skin. Wherein the information layout literally means determining the drawing position of each element, further, the embodiment of the invention configures the message card of the AI intelligent information according to the information layout, so as to be used for developing a fine-granularity message card for each piece of AI intelligent information with less content, ensuring that the subsequent fine-granularity message card can be combined, reducing the problem that a large card can only bear one content can be developed, further, the embodiment of the invention recognizes the associated information among the cards in the message card, so as to be used for the subsequent information among the different fine-granularity message cards, and connects the fine-granularity cards together, so as to reduce redundant information, further, the embodiment of the invention constructs a combining pattern of the message card according to the associated information, so as to be used for embodying the association condition among the cards in the message card through pattern design, ensuring that the language among the cards in the message card is consistent and a rule is clear, further, the embodiment of the invention further discloses a user interface is used for popping up a plurality of redundant message cards in the message card according to the combining pattern, so as to be used for the user interface is further realized at the user interface, the user interface is further realized by the user interface is further, the user interface is further realized by the user interface is popped up the user interface is further realized, the user interface is further realized by the user interface is popped up the user interface according to the user interface, and sending the message and the message card carrying the message to the user, and further, the embodiment of the invention ejects the combined message card through the ejection interface so as to be used for sending the combined message card to the user through the interface. Therefore, the message card ejection method provided by the embodiment of the invention can improve the efficiency of message card ejection.
As shown in fig. 2, a functional block diagram of the message card ejection device of the present invention.
The message card eject apparatus 100 of the present invention may be installed in an electronic device. The message card ejecting apparatus may include a message card configuration module 101, a merge style construction module 102, an ejection interface configuration module 103, and a message card ejection module 104, depending on the functions implemented. The module according to the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the present embodiment, the functions concerning the respective modules/units are as follows:
The message card configuration module 101 is configured to obtain AI intelligent information generated by a user, construct an information layout of the AI intelligent information, and configure a message card of the AI intelligent information according to the information layout;
the merging style construction module 102 is configured to identify association information between cards in the message card, and construct a merging style of the message card according to the association information;
The pop-up interface configuration module 103 is configured to perform style combination on the cards in the message card according to the combination style, to obtain a combined message card, and configure a pop-up interface of the combined message card at the user side;
The message card ejecting module 104 is configured to respond to a card ejecting event of the user side, and eject the combined message card through the ejecting interface.
In detail, the modules in the message card ejecting apparatus 100 in the embodiment of the present invention use the same technical means as the message card ejecting method described in fig. 1 and can produce the same technical effects, and are not described herein.
As shown in fig. 3, a schematic structural diagram of an electronic device 1 implementing a message card ejection method according to the present invention is shown.
The electronic device 1 may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program, such as a message card ejection program, stored in the memory 11 and executable on the processor 10.
The processor 10 may be formed by an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be formed by a plurality of integrated circuits packaged with the same function or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device 1, connects respective components of the entire electronic device 1 using various interfaces and lines, executes or executes programs or modules (e.g., a message card eject program or the like) stored in the memory 11, and invokes data stored in the memory 11 to perform various functions of the electronic device 1 and process data.
The memory 11 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may in other embodiments also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only for storing application software installed in the electronic device 1 and various types of data, such as codes of a message card ejection program, etc., but also for temporarily storing data that has been output or is to be output.
The communication bus 12 may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
The communication interface 13 is used for communication between the electronic device 1 and other devices, including a network interface and an employee interface. Optionally, the network interface may comprise a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the electronic device 1 and other electronic devices 1. The employee interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), or alternatively a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device 1 and for displaying a visual staff interface.
Fig. 3 shows only an electronic device 1 with components, it being understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or may combine certain components, or may be arranged in different components.
For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for supplying power to each component, and preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management, and the like are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
It should be understood that the embodiments described are for illustrative purposes only and are not limited in scope by this configuration.
The message card ejection program stored in the memory 11 in the electronic device 1 is a combination of a plurality of computer programs, which when run in the processor 10, can implement:
Acquiring AI intelligent information generated by a user side, constructing an information layout of the AI intelligent information, and configuring a message card of the AI intelligent information according to the information layout;
identifying the association information between cards in the message card, and constructing a merging style of the message card according to the association information;
carrying out pattern combination on the cards in the message card according to the combination pattern to obtain a combined message card, and configuring a pop-up interface of the combined message card at the user side;
And responding to the card ejection event of the user side, and ejecting the combined message card through the ejection interface.
In particular, the specific implementation method of the processor 10 on the computer program may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
Further, the integrated modules/units of the electronic device 1 may be stored in a non-volatile computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. The computer readable storage medium may be volatile or nonvolatile. For example, the computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The present invention also provides a computer readable storage medium storing a computer program which, when executed by a processor of an electronic device 1, may implement:
Acquiring AI intelligent information generated by a user side, constructing an information layout of the AI intelligent information, and configuring a message card of the AI intelligent information according to the information layout;
identifying the association information between cards in the message card, and constructing a merging style of the message card according to the association information;
carrying out pattern combination on the cards in the message card according to the combination pattern to obtain a combined message card, and configuring a pop-up interface of the combined message card at the user side;
And responding to the card ejection event of the user side, and ejecting the combined message card through the ejection interface.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The embodiment of the invention can acquire and process the related data based on the artificial intelligence technology. Wherein artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) is the theory, method, technique, and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend, and expand human intelligence, sense the environment, acquire knowledge, and use knowledge to obtain optimal results.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (8)

1. A method of message card ejection, the method comprising:
Acquiring AI intelligent information generated by a user side, constructing an information layout of the AI intelligent information, and configuring a message card of the AI intelligent information according to the information layout; the construction of the information layout of the AI intelligent information comprises the following steps: analyzing layout requirements of the AI intelligent information; inquiring a layout algorithm corresponding to the layout requirement; constructing an information layout of the AI intelligent information by using the layout algorithm; when the layout requirement is to generate a tree node-connected information layout, constructing the information layout of the AI intelligent information by utilizing a Rhin Goldd-timford layout algorithm; when the layout requirement is that the network type and social type graph data are visually displayed, constructing the information layout of the AI intelligent information by using a position Verlet integration algorithm layout algorithm; the message card for configuring the AI intelligent information according to the information layout comprises the following components: identifying card types and card layouts of the AI intelligent information according to the information layout; inquiring the card components of the AI intelligent information from a pre-constructed card component library according to the card types; according to the card layout, carrying out message card configuration on the AI intelligent information by utilizing the card assembly to obtain a message card of the AI intelligent information;
identifying the association information between cards in the message card, and constructing a merging style of the message card according to the association information;
carrying out pattern combination on the cards in the message card according to the combination pattern to obtain a combined message card, and configuring a pop-up interface of the combined message card at the user side;
And responding to the card ejection event of the user side, and ejecting the combined message card through the ejection interface.
2. The message card ejecting method according to claim 1, wherein the step of style-combining the cards in the message card according to the combination style to obtain a combined message card includes:
Calculating the phase difference degree of card messages in the message card according to the merging patterns;
when the phase difference degree is smaller than a preset threshold value, carrying out de-duplication treatment on the cards in the message card to obtain de-duplication cards;
And merging the duplicate removal cards by using a preset merging function to obtain the merged message card.
3. The message card ejection method of claim 2, wherein the calculating the degree of phase difference of messages of cards in the message card includes:
calculating the phase difference degree of messages of the cards in the message cards by using the following formula:
Wherein, W represents the phase difference degree of two messages corresponding to two message cards, q 1j and q 2j represent two messages corresponding to two message cards, n represents the number of messages in the card, and j represents the j-th message in the message card.
4. The message card ejection method according to claim 1, wherein the configuring the ejection interface of the combined message card at the user side includes:
acquiring the message category of the combined message card, and identifying the pop-up address corresponding to the combined message card;
Constructing an interface address and an interface method of the combined message card according to the message category and the pop-up address;
And executing the ejection interface configuration of the combined message card at the user side according to the interface address and the interface method to obtain the ejection interface.
5. The message card ejection method as in claim 1, wherein ejecting the combined message card through the ejection interface comprises:
converting the combined message card into JSON format data;
Transmitting the JSON format data to the user terminal through the pop-up interface;
Decrypting the JSON format data in the user terminal to obtain decrypted JSON format data;
and popping the decrypted JSON format data through the AI intelligent window corresponding to the combined message card.
6. A message card ejection apparatus, the apparatus comprising:
The message card configuration module is used for acquiring the AI intelligent information generated by the user side, constructing the information layout of the AI intelligent information, and configuring the message card of the AI intelligent information according to the information layout; the construction of the information layout of the AI intelligent information comprises the following steps: analyzing layout requirements of the AI intelligent information; inquiring a layout algorithm corresponding to the layout requirement; constructing an information layout of the AI intelligent information by using the layout algorithm; when the layout requirement is to generate a tree node-connected information layout, constructing the information layout of the AI intelligent information by utilizing a Rhin Goldd-timford layout algorithm; when the layout requirement is that the network type and social type graph data are visually displayed, constructing the information layout of the AI intelligent information by using a position Verlet integration algorithm layout algorithm; the message card for configuring the AI intelligent information according to the information layout comprises the following components: identifying card types and card layouts of the AI intelligent information according to the information layout; inquiring the card components of the AI intelligent information from a pre-constructed card component library according to the card types; according to the card layout, carrying out message card configuration on the AI intelligent information by utilizing the card assembly to obtain a message card of the AI intelligent information;
The message card comprises a message card, a combination pattern construction module and a message card identification module, wherein the message card comprises a message card and a combination pattern;
The pop-up interface configuration module is used for carrying out style combination on the cards in the message cards according to the combination styles to obtain combined message cards, and configuring the pop-up interface of the combined message cards at the user side;
And the message card ejecting module is used for responding to the card ejecting event of the user side and ejecting the combined message card through the ejecting interface.
7. An electronic device, the electronic device comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the message card ejection method of any one of claims 1 to 5.
8. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the message card ejection method according to any one of claims 1 to 5.
CN202210700377.2A 2022-06-20 2022-06-20 Message card ejection method and device, electronic equipment and storage medium Active CN115061765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210700377.2A CN115061765B (en) 2022-06-20 2022-06-20 Message card ejection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210700377.2A CN115061765B (en) 2022-06-20 2022-06-20 Message card ejection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115061765A CN115061765A (en) 2022-09-16
CN115061765B true CN115061765B (en) 2024-09-06

Family

ID=83202204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210700377.2A Active CN115061765B (en) 2022-06-20 2022-06-20 Message card ejection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115061765B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108933729A (en) * 2018-06-12 2018-12-04 王静玺 A kind of method and system for realizing interacting message
CN112769679A (en) * 2021-01-14 2021-05-07 钉钉控股(开曼)有限公司 Message display method and device

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10207940A (en) * 1997-01-17 1998-08-07 Hitachi Ltd Network shopping device and network shopping method
US7992091B2 (en) * 2006-03-30 2011-08-02 At&T Intellectual Property I, L.P. Message-oriented divergence and convergence of message documents
JP5535083B2 (en) * 2008-01-15 2014-07-02 フュージョン カンパニー Message management system, apparatus and / or method
CN104077557B (en) * 2013-11-21 2016-04-27 腾讯科技(深圳)有限公司 A kind of method and apparatus obtaining card image
CN103957318B (en) * 2014-04-28 2016-10-05 广州三星通信技术研究有限公司 The equipment of session content between management and contact person and method in the terminal
CN107861671A (en) * 2017-12-19 2018-03-30 深圳市富途网络科技有限公司 A kind of method of card form displaying stock right-hand column information
CN108989185A (en) * 2018-07-06 2018-12-11 北京三快在线科技有限公司 Message treatment method, device, electronic equipment and computer-readable medium
CN109062709A (en) * 2018-07-12 2018-12-21 维沃移动通信有限公司 A kind of processing method and mobile terminal of notification message
CN112825048B (en) * 2019-11-20 2023-09-05 腾讯科技(深圳)有限公司 Message reminding method and device, electronic equipment and storage medium
CN113689171A (en) * 2020-05-18 2021-11-23 华为技术有限公司 Method and device for fusing family schedules
CN111666014B (en) * 2020-07-06 2024-02-02 腾讯科技(深圳)有限公司 Message pushing method, device, equipment and computer readable storage medium
CN112350923B (en) * 2020-10-29 2022-05-13 腾讯科技(深圳)有限公司 Session message display method and device, computer equipment and storage medium
CN112242948B (en) * 2020-11-10 2021-12-14 腾讯科技(深圳)有限公司 Group session processing method and device, computer equipment and storage medium
CN112559222B (en) * 2020-12-23 2024-08-27 百果园技术(新加坡)有限公司 Message display method, device, computer equipment and storage medium
CN112737927B (en) * 2021-01-05 2023-03-24 北京字跳网络技术有限公司 Information display method and device and electronic equipment
CN113159067A (en) * 2021-04-13 2021-07-23 北京工商大学 Fine-grained image identification method and device based on multi-grained local feature soft association aggregation
CN113507406B (en) * 2021-06-22 2022-06-10 荣耀终端有限公司 Message management method and related equipment
CN113887941B (en) * 2021-09-30 2024-06-07 平安银行股份有限公司 Business process generation method, device, electronic equipment and medium
CN114500423B (en) * 2022-01-27 2024-04-02 中国农业银行股份有限公司 Message processing method, device, equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108933729A (en) * 2018-06-12 2018-12-04 王静玺 A kind of method and system for realizing interacting message
CN112769679A (en) * 2021-01-14 2021-05-07 钉钉控股(开曼)有限公司 Message display method and device

Also Published As

Publication number Publication date
CN115061765A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN113342472A (en) Micro-service cluster creating method and device, electronic equipment and readable storage medium
CN113688923A (en) Intelligent order abnormity detection method and device, electronic equipment and storage medium
CN113704614A (en) Page generation method, device, equipment and medium based on user portrait
CN110795697A (en) Logic expression obtaining method and device, storage medium and electronic device
CN114491047A (en) Multi-label text classification method and device, electronic equipment and storage medium
CN114239504A (en) Form configuration method, device, equipment, readable storage medium and program product
CN115202639A (en) Code generation method, device, equipment and storage medium based on custom module
CN115129753A (en) Data blood relationship analysis method and device, electronic equipment and storage medium
CN115061765B (en) Message card ejection method and device, electronic equipment and storage medium
CN113296785A (en) Document generation method, system, device and readable storage medium
CN113626605B (en) Information classification method, device, electronic equipment and readable storage medium
CN115174555A (en) File transmission method and device, electronic equipment and storage medium
CN113221888B (en) License plate number management system test method and device, electronic equipment and storage medium
CN116542221A (en) PDF file analysis preview method, device, equipment and storage medium
CN109241417A (en) User's awakening method and device calculate equipment and storage medium
CN115562662A (en) Application page creating method and device, computer equipment and storage medium
CN113822215A (en) Equipment operation guide file generation method and device, electronic equipment and storage medium
CN114139509B (en) Report processing method, device, equipment and medium
CN113657076B (en) Page operation record table generation method and device, electronic equipment and storage medium
CN114936780B (en) Activity resource prediction method and device, electronic equipment and readable storage medium
CN113778447B (en) Service compatibility method and device of front-end system, electronic equipment and storage medium
CN114003661B (en) Offline data entry method and device, electronic equipment and storage medium
CN114218894A (en) Data conversion method and device, electronic equipment and storage medium
CN116610465A (en) Event notification-based message sending method and device, electronic equipment and medium
CN117350658A (en) Function circulation method, device, equipment and storage medium based on flow template

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240806

Address after: No. 407, Jindi Square, Liuwu New District, Lhasa, Xizang Autonomous Region, 850000

Applicant after: Xizang Hanling Technology Co.,Ltd.

Country or region after: China

Address before: 15 / F, 1333 Lujiazui Ring Road, Pudong New Area pilot Free Trade Zone, Shanghai, 200120

Applicant before: Weikun (Shanghai) Technology Service Co.,Ltd.

Country or region before: China

GR01 Patent grant
GR01 Patent grant