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

CN114900379B - Message notification method and device, electronic equipment and storage medium - Google Patents

Message notification method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114900379B
CN114900379B CN202210470287.9A CN202210470287A CN114900379B CN 114900379 B CN114900379 B CN 114900379B CN 202210470287 A CN202210470287 A CN 202210470287A CN 114900379 B CN114900379 B CN 114900379B
Authority
CN
China
Prior art keywords
message
card
notification
information
group chat
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
CN202210470287.9A
Other languages
Chinese (zh)
Other versions
CN114900379A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210470287.9A priority Critical patent/CN114900379B/en
Publication of CN114900379A publication Critical patent/CN114900379A/en
Application granted granted Critical
Publication of CN114900379B publication Critical patent/CN114900379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a message notification method, a message notification device, electronic equipment and a storage medium, relates to the technical field of Internet, and particularly relates to the technical field of artificial intelligence. The specific implementation scheme is as follows: receiving a notification message sent by a third party service, and acquiring a card template matched with the notification message; generating a message card based on the card template and the notification message; and pushing the message card to the target group chat so that the user can process the message card in the target group chat. The processing of the notification message by the user can be simplified, and the processing efficiency is improved.

Description

Message notification method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to the field of artificial intelligence technologies.
Background
Various types of DevOps platforms can open service numbers in instant messaging software, and DevOps is a combination word of Development and Operations, and is a generic term for processes, methods and systems. The service number of each DevOps platform can push the notification message to the user in the instant messaging software, and then the user can open the service number of each DevOps platform to view and process the notification message.
Disclosure of Invention
The disclosure provides a message notification method, a message notification device, electronic equipment and a storage medium.
According to a first aspect of the present disclosure, a message notification method is provided, which is applied to a group chat robot server, and the method includes:
receiving a notification message sent by a third party service;
obtaining a card template matched with the notification message;
generating a message card based on the card template and the notification message;
pushing the message card to a target group chat so that a user can process the message card in the target group chat.
According to a second aspect of the present disclosure, there is provided a message notification apparatus applied to a group chat robot server, the apparatus including:
the receiving module is used for receiving the notification message sent by the third party service;
the acquisition module is used for acquiring a card template matched with the notification message;
the generation module is used for generating a message card based on the card template and the notification message;
and the pushing module is used for pushing the message card to the target group chat so that the user can process the message card in the target group chat.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect described above.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of the first aspect described above.
According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of the first aspect described above.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow chart of a message notification method provided by an embodiment of the present disclosure;
FIG. 2 is a flow chart of another message notification method provided by an embodiment of the present disclosure;
FIG. 3 is an exemplary schematic diagram of a message card provided by an embodiment of the present disclosure;
FIG. 4 is an exemplary schematic diagram of a message card provided by an embodiment of the present disclosure;
FIG. 5 is an exemplary schematic diagram of a message card provided by an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a message notification apparatus according to an embodiment of the present disclosure;
fig. 7 is a block diagram of an electronic device of a method of message notification of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the related art, after receiving a notification message pushed by a service number of a DevOps platform, a user in instant messaging software needs to open the DevOps platform, and then can process the notification message. If the user receives the notification messages pushed by the service numbers of the plurality of DevOps platforms, the user needs to open each DevOps platform respectively to process the messages pushed by the service numbers of each DevOps platform, that is, the user needs to switch and open the plurality of DevOps platforms, the operation is complicated, and the efficiency of processing the notification messages is low.
In order to solve the above-mentioned problems, an embodiment of the present disclosure provides a message notification method, which is applied to a group chat robot server, as shown in fig. 1, and includes:
s101, receiving a notification message sent by a third party service.
The third party service may be a DevOps platform service, for example, a code testing platform, a code review platform, a code hosting platform, an online deployment platform, and the like.
The notification message sent by the third party service may be a code review message, a code in message, a code out message, an online release message, etc.
S102, acquiring a card template matched with the notification message.
S103, generating a message card based on the card template and the notification message.
The message card includes information carried by the notification message, and may specifically include information carried by the notification message and required to be displayed to the user.
And S104, pushing the message card to the target group chat so that the user can process the message card in the target group chat.
The group chat robot can support various third party services opened by the group chat robot. In addition, there may be a plurality of group chat that open the same third party service.
In the embodiment of the disclosure, after receiving the notification message sent by the third party service, the group chat robot server can push the message card to the target group chat with the third party service opened.
In one implementation, the notification message carries a group chat identity number (Identity Document, ID) of the target group chat, and the group chat robot server can push the message card to the target group chat corresponding to the group chat ID.
In another implementation manner, the group chat robot server pre-stores a corresponding relation between the group chat ID and the opened third party service, and the group chat robot can search the group chat ID of the opened third party service based on the corresponding relation, so as to push a card message to the group chat corresponding to the searched group chat ID.
By adopting the method, the group chat robot server can receive the notification message sent by the third party service, then acquire the card template matched with the notification message, generate the message card based on the card template and the notification message, and further push the message card to the target group chat. Therefore, the user can directly check and process the message card in the target group chat, if a plurality of third party services send notification messages, the user can also directly check and process the message card corresponding to each notification message in the target group chat without respectively manually opening each third party service, the process of processing the notification messages by the user can be simplified, and the processing efficiency is improved.
In the embodiment of the disclosure, the group chat robot server can pre-store a plurality of card templates, and each card template has a unique card identifier. The notification message sent by the third party service carries the specified card identifier, and further, the step S102 of obtaining the card template matched with the notification message may be implemented as follows:
based on the pre-stored card identifications of each card template, acquiring the card template corresponding to the designated card identification.
Or, the correspondence between the type of the notification message and the card template may be stored in advance, so as to obtain the card template matching the type of the notification message based on the correspondence.
For example, the code review message and the code in message correspond to the card template 1, the code test message, the code out message and the online release message correspond to the card template 2, and if it is determined that the received notification message is the code review message, it may be determined that the card template corresponding to the notification message is the card template 1.
By adopting the method, the card template matched with the card mark carried by the notification message is obtained, so that the message card generated based on the card template and the information carried by the notification message are matched, and further, the user can conveniently and rapidly check the information notified by the third party service through the message card displayed in the group chat.
In one embodiment of the disclosure, S103, generating a message card based on the card template and the notification message specifically includes:
and acquiring notification information included in the notification message, wherein the notification information is information matched with the item to be filled in the card template, filling the notification information in the card template, and generating the message card.
The notification information may specifically be information to be displayed to the user, which is carried in the notification message.
Optionally, the group chat robot server may obtain notification information to be filled from the notification message based on the filling rule corresponding to the card template, and fill the notification information into the corresponding position of the card template, so as to generate the message card.
For example, if the card template includes a code base address field, the group chat robot acquires the code base address from the notification message, and fills the acquired code base address into the code base address field.
In one embodiment, in the case that the card template includes a jump component, the group chat robot server may link a uniform resource locator (Uniform Resource Locator, URL) included in the notification information to the jump component, and fill information except the URL in the notification information into an item to be filled in the card template, so as to generate the message card.
The URL may be a URL of a third party service that sends the notification message, or may be a URL of another third party service.
For example, the jump component is a "view details" button, if the notification message is an online release message released by the online deployment platform, the notification message may carry a URL of the online deployment platform, the group chat robot server links the URL of the online deployment platform to the "view details" button, and then if the user clicks the "view details" button in the message card, the jump may be to a page of the online deployment platform.
For another example, the notification message is a code review message sent by the code hosting platform, where the notification message may carry a URL of the code review platform, and after the group chat robot server connects the URL of the code review platform to the jump component, if the user clicks the jump component, the group chat robot server may jump to the code review platform to review the code.
It can be appreciated that if the card template does not include the jump component, the URL may not be carried in the notification message accordingly, in which case the group chat robot may directly fill the notification information into the item to be filled in the card template, thereby generating the message card.
By adopting the method, the notification information in the notification message can be clearly and intuitively displayed in the target group chat, so that the user can check the notification message more conveniently and efficiently. And by linking the URL for the jump component, the user can jump to the interface corresponding to the URL from the group chat interface by triggering the jump component without manually opening a third party service, so that the user can conveniently and rapidly process the notification message, and the processing efficiency is improved.
In the embodiment of the disclosure, a confirmation type component and a denial type component may be included in the message card, the confirmation type component may be a component for indicating a confirmation meaning, and a button may be included in the message card, for example, the button may be "yes" or "pass" or the like. The repudiation component may be a component for indicating a negative meaning, and in the message card may be a button, such as "no" or the like.
On the basis that the message card comprises a confirmation type component and a denial type component, as shown in fig. 2, after S104 the message card is pushed to the target group chat, the method further comprises:
s105, receiving user operation information sent by the instant messaging client, wherein the user operation information comprises a user identifier and a component type triggered by a user in a message card.
After the instant messaging client identifies the confirmation type component or the denial type component in the message card clicked by the user, the component type clicked by the user and the identification of the user can be used as user operation information to be sent to the group chat robot server.
For example, if the message card displays the on-line issue approval information, and the pass button and the fail button, if the user determines that the approval passes, the pass button may be clicked, and then the operation information of the user is sent to the group chat robot server.
In the embodiment of the present disclosure, the user operation information further includes service related information, where the service related information is related information of a service to which the notification message carried by the notification message belongs, for example, if the notification message is an online release approval notification message, the service related information may include an ID of an online ticket, a module name of an online operation, and an initiator of the online operation.
After the group chat robot server generates the message card, the message card is pushed to the target group chat, and meanwhile, service related information can be sent to the instant messaging client where the target group chat is located, so that the instant messaging client caches the service related information. Furthermore, when the instant communication client side obtains the user operation information, the service related information can be added to the user operation information and sent to the group chat robot server side. Therefore, the group chat robot server can further send the user operation information to the third party service, so that the third party service can accurately determine the service related information aimed at by the user operation information.
S106, user operation information is sent to the third party service.
The group chat robot may send the user operation information to the third party service, and the third party service may determine a result of processing the notification message by the user based on the user operation information.
Taking the online release approval information as an example, if the third party service determines that the component type triggered by the user is a confirmation type component according to the received user operation information, the user approval is determined to pass, otherwise, the user approval is determined to not pass. And the third party service can process the service based on service information included in the user operation information, for example, if it is determined that the user approval passes, the online release operation can be performed based on the ID of the online ticket.
Optionally, after receiving the user operation information, the third party service may obtain, from the configuration parameters input by the user when opening the third party service, a user identifier with an online issue approval authority, so as to determine whether the user identifier carried by the user operation information has the approval authority, if so, further determine a processing result of the notification message according to the user operation information, otherwise, ignore the user operation information.
By adopting the method, the message card comprises the confirmation type component and the denial type component, and the user can directly process the message card through the components, which is equivalent to processing the notification message from the third party service through the message card, without manually opening the third party service, and under the condition of more notification messages, the user can process the notification message of each third party service platform in group chat without switching among a plurality of third party service platforms, thereby being convenient for the cooperative processing of group members. The user can process the notification message more conveniently, and the processing efficiency can be improved.
The message notification method provided by the embodiment of the present disclosure is described below with reference to specific examples.
For example, if the notification message is a code review message or a code merge message, the code-hosting platform may store the code review message in a message queue after the code-hosting platform submits the code or after the code merge. The group chat robot server can monitor the code review message in the message queue, and after the code review message is monitored, the card message can be generated based on the code review message.
By way of example, the code review message includes the name of the person submitting the code review message, the code library path to which the code belongs, the code branch, the reviewer, and the URL of the code review platform. The generated code review message is shown in fig. 3, and the card message includes: personnel A submitted a review, the code library path is: baidu/jinyumanw/II, panel: person B and person C.
And, the card message also includes a jump component, such as a "view details" button in fig. 3, where the "view details" button is linked with the URL of the code review platform, and after clicking the "view details" button, the user jumps to the interface of the code review platform, so that the user can review the code on the interface of the code review platform.
For another example, the notification message may also be a request for a test or a request for a grant, and accordingly, the third party platform is a test platform. When an engineer initiates a message to be tested or a message to be approved, a message card sent by the group chat robot in the group chat is shown in fig. 4, and as an example, the message card may include: you have new check-out to confirm, and also include view details buttons and pass and no buttons.
The URL of the test platform is linked to the view detail button, if the user wants to view the detailed information of the submitted test, the view detail button can be clicked, the detailed information of the submitted test can be further checked, if the user determines that the test request or the permission request can be passed, the pass button can be clicked, and then the group chat robot server side sends the operation information of the user to the test platform, and the test platform can pass the test request based on the operation information of the user. Therefore, a user does not need to process the test request and the admission request on the test platform, the test request and the admission request can be directly processed in group chat, the operation steps can be reduced, and the efficiency is improved.
For another example, the notification message may also issue an approval request for the online, and accordingly, the third party service may be an online deployment platform. When an engineer initiates an online operation, the online deployment platform can send an online release approval request to the group chat server. The group chat robot may generate a message card based on the online published approval request.
The message card can comprise card general information, and the card general information can comprise a card ID, a card title, card content, a jump component, a confirmation type component and a denial type component.
The card ID is used to uniquely identify a message card in which the card title and card content can be displayed.
For example, as shown in fig. 5, the card is entitled "on-line release approval", the card content includes a brief introduction of the on-line release, for example, the card content includes "appspace-core on-line release operation, the change involves XXX, please confirm whether or not it passes. "
The jump component in fig. 5 is a "view details" button, which is already linked to the URL of the online deployment platform, and if the user needs to view the details published online at this time, the user can click on the "view details" button, and jump to the online deployment platform for viewing.
The confirmation type component and the denial type component in fig. 5 are a "pass" button and a "fail button", respectively, and if the user determines that the user can pass the approval, the "pass" button can be clicked, so that the group chat robot server side sends the user operation information to the online deployment platform, and the online deployment platform can perform online operation.
In addition, after receiving the online release approval request, the group chat robot may further acquire service related information of the current online operation from the online release approval request, where the service related information includes, for example, an ID of the current online ticket, a module name of the current online operation, and an initiator of the current online operation. The group chat robot server can send the service related information to the instant messaging client where the group chat is located, and the instant messaging client can buffer the service related information.
Furthermore, when the user clicks the pass or fail button in the message card, the instant messaging client can add the service related information into the user operation information, and send the user operation information to the group chat robot server, and then the group chat robot server sends the user operation information to the online deployment platform. The online deployment platform can determine the ID of the online list operated by the user at this time based on the service related information, and pass or terminate the online according to the user operation information. And the online result can be notified to the initiator of the online operation.
By adopting the embodiment of the disclosure, the notification messages of the DevOps platforms can be converged into the group chat, such as the code review message, the test message and the online release approval request message, can be pushed into one group chat by the group chat robot server, so that the group members can quickly know the progress of the work task of the DevOps platforms, and can quickly and conveniently process various notification messages in the group chat without frequently opening the platforms, thereby reducing unnecessary operations and improving the processing efficiency.
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a message notification device, which is applied to the group chat robot server, as shown in fig. 6, and the device includes:
a receiving module 601, configured to receive a notification message sent by a third party service;
an obtaining module 602, configured to obtain a card template that matches the notification message;
a generating module 603, configured to generate a message card based on the card template and the notification message;
and the pushing module 604 is configured to push the message card to the target group chat, so that the user processes the message card in the target group chat.
Optionally, the generating module 603 is specifically configured to:
acquiring notification information included in the notification message, wherein the notification information is information matched with a to-be-filled item in the card template;
and filling the notification information into the card template to generate the message card.
Optionally, a jump component is included in the card template;
the generating module 603 is specifically configured to link the URL included in the notification information to the skip component, and fill the content information except the URL in the notification information into the item to be filled in the card template, so as to generate the message card.
Optionally, the message card comprises a confirmation type component and a denial type component; the apparatus further comprises: a transmitting module;
the receiving module 601 is configured to receive user operation information sent by an instant messaging client, where the user operation information includes a user identifier and a component type triggered by a user in a message card;
and the sending module is used for sending the user operation information to the third-party service.
Optionally, the user operation information further includes service related information, where the service related information is related information of a service to which the notification message carried by the notification message belongs;
and the sending module is also used for sending the service related information to the instant messaging client where the target group chat is located so that the instant messaging client caches the service related information.
Optionally, the notification message carries a specified card identifier;
the obtaining module 602 is specifically configured to obtain, based on the card identifier of each pre-stored card template, a card template corresponding to the specified card identifier.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
Note that, the head model in this embodiment is not a head model for a specific user, and cannot reflect personal information of a specific user.
It should be noted that, the two-dimensional face image in this embodiment is derived from the public data set.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the respective methods and processes described above, such as a message notification method. For example, in some embodiments, the message notification method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the message notification method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the message notification method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed aspects are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (12)

1. A message notification method applied to a group chat robot server, the method comprising:
receiving a notification message sent by a third party service, wherein the third party service is a DevOps platform service, the DevOps platform service comprises at least one of a code test platform, a code review platform, a code hosting platform and an online deployment platform, and the notification message comprises at least one of a code review message, a code in-message, a code test message, a code out-message and an online release message;
obtaining a card template matched with the notification message;
generating a message card based on the card template and the notification message, wherein the message card comprises a confirmation type component and a denial type component;
pushing the message card to a target group chat so that a user can process the message card in the target group chat;
after the pushing the message card to the target group chat, the method further comprises:
receiving user operation information sent by an instant messaging client, wherein the user operation information comprises a user identifier and a component type triggered by a user in the message card;
and sending the user operation information to the third party service.
2. The method of claim 1, wherein the generating a message card based on the card template and the notification message comprises:
acquiring notification information included in the notification message, wherein the notification information is information matched with a to-be-filled item in the card template;
and filling the notification information into the card template to generate the message card.
3. The method of claim 2, wherein the card template includes a jump component therein; the step of filling the notification information into the card template to generate the message card comprises the following steps:
and linking a Uniform Resource Locator (URL) included in the notification information to the jump component, and filling content information except the URL in the notification information into items to be filled in the card template to generate the message card.
4. The method of claim 1, wherein the user operation information further includes service related information, where the service related information is related information of a service to which the notification message carried by the notification message belongs;
after the generating a message card based on the card template and the notification message, the method further comprises:
and sending the service related information to the instant messaging client where the target group chat is located, so that the instant messaging client caches the service related information.
5. The method of claim 1, wherein the notification message carries a specified card identification; the obtaining the card template matched with the notification message comprises the following steps:
and acquiring the card template corresponding to the specified card identifier based on the pre-stored card identifier of each card template.
6. A message notification apparatus applied to a group chat robot server, the apparatus comprising:
the system comprises a receiving module, a receiving module and a processing module, wherein the receiving module is used for receiving a notification message sent by a third party service, the third party service is a DevOps platform service, the DevOps platform service comprises at least one of a code evaluation platform, a code review platform, a code hosting platform and an online deployment platform, and the notification message comprises at least one of a code review message, a code combination message, a code evaluation message, a code grant message and an online release message;
the acquisition module is used for acquiring a card template matched with the notification message;
the generation module is used for generating a message card based on the card template and the notification message, wherein the message card comprises a confirmation type component and a denial type component;
the pushing module is used for pushing the message card to a target group chat so that a user can process the message card in the target group chat;
the apparatus further comprises a sending module:
the receiving module is further configured to receive user operation information sent by the instant messaging client after the pushing module pushes the message card to the target group chat, where the user operation information includes a user identifier and a component type triggered by a user in the message card;
and the sending module is used for sending the user operation information to the third party service.
7. The apparatus of claim 6, wherein the generating module is specifically configured to:
acquiring notification information included in the notification message, wherein the notification information is information matched with a to-be-filled item in the card template;
and filling the notification information into the card template to generate the message card.
8. The apparatus of claim 7, wherein the card template includes a jump component therein;
the generation module is specifically configured to link a URL included in the notification information to the skip component, and fill content information except the URL in the notification information into a to-be-filled item in the card template, so as to generate the message card.
9. The apparatus of claim 6, the user operation information further includes service related information, the service related information being related information of a service to which the notification message carried by the notification message belongs;
the sending module is further configured to send the service related information to an instant messaging client where the target group chat is located, so that the instant messaging client caches the service related information.
10. The apparatus of claim 6, wherein the notification message carries a specified card identification;
the acquisition module is specifically configured to acquire a card template corresponding to the specified card identifier based on the pre-stored card identifier of each card template.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202210470287.9A 2022-04-28 2022-04-28 Message notification method and device, electronic equipment and storage medium Active CN114900379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210470287.9A CN114900379B (en) 2022-04-28 2022-04-28 Message notification method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210470287.9A CN114900379B (en) 2022-04-28 2022-04-28 Message notification method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114900379A CN114900379A (en) 2022-08-12
CN114900379B true CN114900379B (en) 2024-02-06

Family

ID=82720663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210470287.9A Active CN114900379B (en) 2022-04-28 2022-04-28 Message notification method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114900379B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115580590A (en) * 2022-09-30 2023-01-06 北京百度网讯科技有限公司 Message processing method, device, equipment and medium
CN117992258B (en) * 2024-04-07 2024-07-16 北京异乡旅行网络科技有限公司 IM card message circulation method, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639566A (en) * 2018-12-14 2019-04-16 杭州安司源科技有限公司 A kind of open instant messaging chat robots system
WO2019205555A1 (en) * 2018-04-23 2019-10-31 天津字节跳动科技有限公司 Method and apparatus for pushing message
CN111858232A (en) * 2020-06-03 2020-10-30 华人运通(江苏)技术有限公司 Information interaction system and method based on DevOps platform
CN112270531A (en) * 2020-10-30 2021-01-26 重庆紫光华山智安科技有限公司 Item notification method, item notification device, server, and storage medium
CN113885757A (en) * 2021-10-22 2022-01-04 北京字跳网络技术有限公司 Message processing method, device, equipment and storage medium
CN114125047A (en) * 2021-11-10 2022-03-01 携程商旅信息服务(上海)有限公司 Message pushing method, system, equipment and storage medium based on third-party system
WO2022073354A1 (en) * 2020-10-10 2022-04-14 百度(中国)有限公司 Service auditing notification method, gateway, electronic device, and readable medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019205555A1 (en) * 2018-04-23 2019-10-31 天津字节跳动科技有限公司 Method and apparatus for pushing message
CN109639566A (en) * 2018-12-14 2019-04-16 杭州安司源科技有限公司 A kind of open instant messaging chat robots system
CN111858232A (en) * 2020-06-03 2020-10-30 华人运通(江苏)技术有限公司 Information interaction system and method based on DevOps platform
WO2022073354A1 (en) * 2020-10-10 2022-04-14 百度(中国)有限公司 Service auditing notification method, gateway, electronic device, and readable medium
CN112270531A (en) * 2020-10-30 2021-01-26 重庆紫光华山智安科技有限公司 Item notification method, item notification device, server, and storage medium
CN113885757A (en) * 2021-10-22 2022-01-04 北京字跳网络技术有限公司 Message processing method, device, equipment and storage medium
CN114125047A (en) * 2021-11-10 2022-03-01 携程商旅信息服务(上海)有限公司 Message pushing method, system, equipment and storage medium based on third-party system

Also Published As

Publication number Publication date
CN114900379A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN114900379B (en) Message notification method and device, electronic equipment and storage medium
CN114205274B (en) Network equipment testing method and device
CN111444080A (en) Continuous testing method and device
CN110659206A (en) Simulation architecture establishing method, device, medium and electronic equipment based on microservice
US12118992B2 (en) Voice interaction method and apparatus, device and computer storage medium
WO2022100075A1 (en) Method and apparatus for performance test, electronic device and computer-readable medium
CN113821433A (en) Method, device, equipment, medium and product for testing cloud mobile phone application program
CN114389969B (en) Method and device for testing client, electronic equipment and storage medium
CN114997329A (en) Method, apparatus, device, medium and product for generating a model
CN111555894B (en) Data processing method, device, equipment and storage medium
CN109951380B (en) Method, electronic device, and computer-readable medium for finding conversation messages
CN108848122B (en) Method and equipment for pushing information and showing information
CN117520195A (en) Method, apparatus, device, storage medium and program product for testing interface
CN112925623B (en) Task processing method, device, electronic equipment and medium
CN114706610A (en) Business flow chart generation method, device, equipment and storage medium
CN113434432A (en) Performance test method, device, equipment and medium for recommendation platform
CN114610511B (en) Input verification method and device, electronic equipment and storage medium
CN116629810B (en) Operation recommendation method, device, equipment and medium based on building office system
CN115840604B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN113344550B (en) Flow processing method, device, equipment and storage medium
CN117580004B (en) Service processing method, device and system based on 5G message
CN113836291B (en) Data processing method, device, equipment and storage medium
CN111131354A (en) Method and apparatus for generating information
CN113713378B (en) Content generation method and device
EP4071690A2 (en) Method and apparatus for task information management, device and storage medium

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
GR01 Patent grant
GR01 Patent grant