CN114338575B - Method and device for generating group announcement information - Google Patents
Method and device for generating group announcement information Download PDFInfo
- Publication number
- CN114338575B CN114338575B CN202111633479.9A CN202111633479A CN114338575B CN 114338575 B CN114338575 B CN 114338575B CN 202111633479 A CN202111633479 A CN 202111633479A CN 114338575 B CN114338575 B CN 114338575B
- Authority
- CN
- China
- Prior art keywords
- group
- target
- target user
- message
- advertisement information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000004044 response Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000694 effects Effects 0.000 claims description 8
- 230000010354 integration Effects 0.000 claims description 7
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 230000000875 corresponding effect Effects 0.000 description 62
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000012549 training Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 239000000835 fiber Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a method and a device for generating group advertisement information. One embodiment of the method comprises the following steps: obtaining chat messages corresponding to target users; determining a target message from the chat message according to the received selection operation; and generating group announcement information of a target group corresponding to the target user according to the target message. The method for generating the group advertisement information of the target group corresponding to the target user based on the chat message of the target user can flexibly generate the group advertisement information, and enriches the generation mode of the group advertisement information.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for generating group advertisement information.
Background
Currently, groups in communication applications typically provide group advertisement functionality. A group advertisement is an advertisement description for issuing a notice, announcing regulations, which allows all members in the group to see so as to know the latest things in the group. In the existing communication application, a group administrator generally adopts a text editing mode to generate group announcement information, and the generation mode is single, so that the problem that the user requirements cannot be met exists.
Disclosure of Invention
The embodiment of the application provides a method and a device for generating group advertisement information.
In a first aspect, an embodiment of the present application provides a method for generating group advertisement information, including: obtaining chat messages corresponding to target users; determining a target message from the chat message according to the received selection operation; and generating group announcement information of a target group corresponding to the target user according to the target message.
In a second aspect, an embodiment of the present application provides an apparatus for generating group advertisement information, including: the acquisition unit is configured to acquire chat messages corresponding to the target users; a determining unit configured to determine a target message from the chat messages according to the received selection operation; and the generation unit is configured to generate group announcement information of a target group corresponding to the target user according to the target message.
In a third aspect, embodiments of the present application provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements a method as described in any of the implementations of the first aspect.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first aspect.
The method and the device for generating the group advertisement information provided by the embodiment of the application are used for acquiring the chat message corresponding to the target user; determining a target message from the chat message according to the received selection operation; according to the target message, the group advertisement information of the target group corresponding to the target user is generated, so that the method for generating the group advertisement information of the target group corresponding to the target user based on the chat message of the target user is provided, the group advertisement information can be flexibly generated, and the generation mode of the group advertisement information is enriched.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings, in which:
FIG. 1 is an exemplary system architecture diagram in which an embodiment of the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a method for generating group advertisement information according to the present application;
fig. 3 is a schematic diagram of an application scenario of a method for generating group advertisement information according to the present embodiment;
fig. 4 is a flow chart of yet another embodiment of a method for generating group advertisement information according to the present application;
fig. 5 is a block diagram of one embodiment of an apparatus for generating group advertisement information according to the present application;
FIG. 6 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present application.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary architecture 100 to which the methods and apparatus for generating group advertisement information of the present application may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The communication connection between the terminal devices 101, 102, 103 constitutes a topology network, the network 104 being the medium for providing the communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. The terminal devices 101, 102, 103 may be hardware devices or software supporting network connections for data interaction and data processing. When the terminal device 101, 102, 103 is hardware, it may be various electronic devices supporting network connection, information acquisition, interaction, display, processing, etc., including but not limited to smartphones, tablet computers, electronic book readers, laptop and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
The server 105 may be a server providing various services, for example, a background processing server generating group advertisement information of a target group corresponding to a target user from chat messages of the target user in the terminal devices 101, 102, 103. As an example, the server 105 may be a cloud server.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., software or software modules for providing distributed services), or as a single software or software module. The present invention is not particularly limited herein.
It should be further noted that, the method for generating group advertisement information provided by the embodiments of the present application may be performed by a server, or may be performed by a terminal device, or may be performed by the server and the terminal device in cooperation with each other. Accordingly, each part (for example, each unit) included in the apparatus for generating the group advertisement information may be provided in the server, may be provided in the terminal device, or may be provided in the server and the terminal device, respectively.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. When the electronic device on which the method for generating group advertisement information operates does not need to perform data transmission with other electronic devices, the system architecture may include only the electronic device (e.g., a server or a terminal device) on which the method for generating group advertisement information operates.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for generating group advertisement information is shown, comprising the steps of:
step 201, obtaining a chat message corresponding to a target user.
In this embodiment, the executing body (for example, the terminal device or the server in fig. 1) of the method for generating the group advertisement information may acquire the chat message corresponding to the target user from a remote location or from a local location through a wired network connection manner or a wireless network connection manner.
As an example, the chat message is a chat message in an instant messaging application. The executing body can acquire the chat message in the chat interface through the instant messaging application.
Wherein the chat message may be any chat message in a chat interface associated with the target user. Taking the information form as an example, the chat message can be a chat message in the forms of text, voice, pictures and the like; taking the information sending time as an example, the chat message can be a historical message or a current message. The chat interface related to the target user may be a personal chat interface corresponding to the target user or a chat interface in a group to which the target user belongs.
Step 202, determining a target message from the chat messages according to the received selection operation.
In this embodiment, the executing body may determine the target message from the chat message according to the received selection operation.
As an example, the target user may determine at least one tab message from the chat messages based on a click, touch, or the like selection operation. The selected target information may be any one or more of the chat messages. Taking the information form as an example, the target message can be a chat message in the forms of text, voice, pictures and the like; taking the information sending time as an example, the target message may be historical information and current information.
In some cases, when the chat message is a chat message in a group, the selection operation may be a selection operation performed by a group administrator, a group owner, or a user having management authority of the group, or may be a selection operation performed by a general group member of the group. Whether a group administrator, a group owner or a common group member can select chat messages which speak by themselves or by others from the chat messages as target messages.
In order to further improve flexibility of selecting the target message, the executing body may receive selecting operations of the target user in different chat interfaces, and determine the target message from the chat messages. Specifically, the executing body may set a corresponding message set for the selection operation. For each chat interface where the target user makes a selection operation, the executing body can add the target message selected by the target user on the chat interface into a message set, so that the target message is finally determined through the message set.
As an example, the target user sends out a selection operation on the personal chat interface a and the group chat interface B, and selects the message a in the personal chat interface a and the message B in the group chat interface B, so that the message a and the message B are added into the message set. In order to facilitate the target user to review the message set, the executing body may display the messages in the message set in a display manner such as split screen, floating window, etc., so as to facilitate editing operations such as deletion, sorting, etc. of the user.
Step 203, generating group advertisement information of the target group corresponding to the target user according to the target message.
In this embodiment, the execution body may generate the group advertisement information of the target group corresponding to the target user according to the target message. The target group corresponding to the target user may be, for example, a group in which the target user acts as a group owner or a group administrator.
As an example, when the target message is one, the execution subject may directly use the target message as the group advertisement information of the target group corresponding to the target user.
As yet another example, when the target message is a plurality of pieces, the execution subject may use information obtained by the editing operation such as sorting and modification of the plurality of pieces of information by the target user as group advertisement information of the target group corresponding to the target user.
It should be noted that the group targeted by the selection operation and the group to which the group announcement information is to be issued may be the same or different groups.
Specifically, the target user may select a target message from chat messages corresponding to an associated group (the group in which the target user is a group administrator or a general group member); further, group advertisement information of the target group having the management authority is generated from the target message.
As an example, the target user a selects a target message from chat messages corresponding to the group a having the group management authority, and generates group advertisement information, which may be group advertisement information of the group a or group advertisement information of the groups b and c having the group management authority of the target user a.
As yet another example, the target user B selects a target message from the chat messages corresponding to the group d, which is a general group member, and generates group advertisement information, which may be group advertisement information of the group e, which the target user B has the management authority.
In some implementations, the execution body may set different publishing rights for the group advertisement information generated by the group administrator selecting the target message and the group advertisement information generated by the common group member selecting the target message. As an example, for the group administrator to select the group advertisement information generated by the target message, the publishing authority may be multi-group publishing or cross-group publishing. For group announcement information generated by selecting target information by common group members, the issuing authority of the group announcement information can not allow multi-group issuing and cross-group issuing.
With continued reference to fig. 3, fig. 3 is a schematic diagram 300 of an application scenario of the method for generating group advertisement information according to the present embodiment. In the application scenario of fig. 3, first, a server 301 obtains a chat message corresponding to a target user 304 in a chat interface 303 of an instant messaging application in a terminal device 302. Then, based on the received pick operation, a target message 305 is determined from the chat message. Finally, according to the target message 305, group advertisement information 306 of the target group corresponding to the target user 304 is generated.
According to the method provided by the embodiment of the application, chat messages corresponding to the target users are obtained; determining a target message from the chat message according to the received selection operation; according to the target message, the group advertisement information of the target group corresponding to the target user is generated, so that the method for generating the group advertisement information of the target group corresponding to the target user based on the chat message of the target user is provided, the group advertisement information can be flexibly generated, and the generation mode of the group advertisement information is enriched.
In some optional implementations of this embodiment, the executing body may execute the step 201 as follows: and acquiring the chat messages in the personal chat interface corresponding to the target user and/or acquiring the chat messages in the group chat interface corresponding to the target user.
The personal chat interface corresponding to the target user is a personal chat interface for the target user to participate in communication, and the group chat interface corresponding to the target user is a chat interface in the group added by the target user.
The group to which the chat message belongs may be a different group from the target group corresponding to the group advertisement information generated from the target message in the chat message.
In some optional implementations of this embodiment, in a case where a plurality of target messages are determined from the chat messages according to the selection operation, the execution body may execute the step 203 as follows: and integrating a plurality of target messages to generate group announcement information of a target group corresponding to the target user.
As an example, the executing body may integrate a plurality of target messages through a message integration model to obtain group advertisement information of a target group corresponding to the target user. The message integration model is used for representing the corresponding relation between the plurality of target messages and the group announcement information.
The message integration model may be trained based on a language model. Specifically, first, the execution subject acquires a training sample set. The training samples in the training sample set comprise a plurality of sample split sentences and integrated sentences. The integrated sentences are complete sentences with clear logic and smooth expression, which are obtained by integrating a plurality of sample split sentences. Then, using machine learning algorithm, taking multiple sample split sentences in training sample as input of language model, taking integrated sentences corresponding to the multiple input sample split sentences as expected output, training to obtain message integration model.
In some optional implementations of this embodiment, the executing body may generate the group advertisement information of the target group corresponding to the target user by executing the following operations to integrate the plurality of target messages: firstly, integrating a plurality of target messages to obtain integrated information; and then, according to the received editing operation, the integrated information is adjusted, and the group announcement information of the target group corresponding to the target user is generated.
As an example, first, the execution body may integrate a plurality of target messages through a message integration model to obtain integrated information; and then, according to editing operations such as modification, deletion, addition and the like of the target user, the integrated information is adjusted to obtain the group announcement information of the target group corresponding to the target user.
In some optional implementations of this embodiment, the target user is a common group member in the target group, where the common group member characterizes a group member that the target user does not have administrative rights to the target group, such as a group owner, a group administrator, and the like. In such a case, the execution subject may generate the group advertisement information of the target group corresponding to the target user by performing the following operations: in response to determining that the target group allows the target user, which is a member of the general group, to publish the group advertisement information, the group advertisement information of the target group is generated.
As an example, when a group owner, a group administrator, or the like in the target group has a right to manage the target group and a common group member is set to have a right to issue group advertisement information of the target group, the group advertisement information of the target group may be generated according to the target message selected by the target user.
In some optional implementations of this embodiment, the executing entity may generate the group advertisement information of the target group by performing the following operations: and generating the group advertisement information of the target group in response to determining that the number of times the target user publishes the group advertisement information in the target group does not exceed a preset number of times threshold.
In this implementation manner, for the case where the common group member issues the group advertisement information, the execution body sets a preset frequency threshold corresponding to the target user, so as to limit the frequency of the common group member issuing the group advertisement information. The preset frequency threshold may be specifically set according to practical situations, and is not limited herein.
In order to further improve the flexibility of setting the preset frequency threshold, the execution body may receive a frequency threshold setting instruction of a group administrator or a group owner of the target group, and set the preset frequency threshold corresponding to the target user.
In the implementation manner, the limit on the number of times of issuing the group announcement information by the common group member is increased based on the preset number of times threshold, and the controllability of issuing the group announcement information by the common group member is improved.
In some optional implementations of this embodiment, the executing entity may generate the group advertisement information of the target group by performing the following operations: in response to determining that the target user is not a forbidden ordinary group member of the target group, group advertisement information for the target group is generated.
In a group chat scenario, there are situations where a group administrator or group owner prohibits certain common group members from speaking in the group. It will be appreciated that the adverse effects of misissuing group advertisement information are more severe than misissuing in a group. Therefore, in this implementation, in the case where the general group member issues the group advertisement information, it is necessary to determine whether the target user is a prohibited general group member in the target group. When the target user is forbidden, the target user is forbidden to issue group notices in the target group; when the target user is not forbidden, the target user is allowed to issue group announcements in the target group.
In this embodiment, the forbidden common group members in the group are forbidden to issue group advertisement information, so that the forbidden common users are prevented from issuing improper group advertisement information, and the regularity of the group advertisement information is ensured.
In some optional implementations of this embodiment, the executing entity may determine whether the target group allows the target user, which is a member of the normal group, to issue the target group of the group advertisement information by executing the following operations: and determining a target group which allows the target user serving as a common group member to release group announcement information in the group according to the activity of the target user in the group corresponding to the target user.
As an example, the execution body is provided with an activity threshold, and when the activity of the common group member in the group is higher than the activity threshold, the group is determined as a group allowing the common group member to issue the announcement information; otherwise, the group is determined as a group in which the general group member is not allowed to issue the announcement information.
In order to further increase the liveness of the target user in the group, the number of times the target user can issue a group advertisement in the target group is positively correlated with the liveness in the case that the liveness is higher than the liveness threshold.
In the implementation manner, a method for determining the target group which allows the target user serving as the common group member to issue the announcement information is provided, so that the practicability of the determination manner is improved.
In some optional implementations of this embodiment, the foregoing execution body may further perform the following operations: and responding to the determination that the target user is a common group member in the target group, and issuing and reminding group announcement information to other group members in the target group according to a preset reminding mode.
The preset reminding mode can be distinguished from the reminding mode corresponding to the group announcement information issued by the group administrator or the group owner.
As an example, the level of the reminding mode corresponding to the group announcement information published by the group administrator or the group owner is higher than the level of the preset reminding mode corresponding to the group announcement information published by the common group member. For example, for a group administrator or a group owner to issue group announcement information, the reminding mode may be a strong reminder, for example, the reminder information is displayed through a popup window and the reminder information is required to be determined by the group members; for the common group members to issue group announcement information, the reminding mode can be weak reminding.
In the implementation mode, the reminding mode of the group announcement information issued by the common group members is limited, and the distinguishing property of the reminding mode is improved.
In some optional implementations of this embodiment, the foregoing execution body may further perform the following operations: and deleting the group announcement information according to the deletion operation of the group announcement information issued by the group administrator of the target group to the target user.
In the implementation manner, the group administrator or the group owner of the group has the deleting authority to the group announcement information issued by the common group member, so that the controllability of the group announcement information issued by the common group member is further improved.
In some optional implementations of this embodiment, the foregoing execution body may further perform the following operations: and counting the consulting conditions of other group members in the target group after the group announcement information is published for the group announcement information.
As an example, after the group advertisement information is issued for a preset period of time, the information of the group members who have not yet referred to the group advertisement information is counted. Further, for the user who refers to the group advertisement information in time, the execution body may limit the operation of issuing the group advertisement. For example, for a user who refers to group advertisement information in time, the number of times of the advertisement information distribution in the case of being a member of a general group is reduced.
With continued reference to fig. 4, there is shown a schematic flow chart 400 of one embodiment of a method for generating group advertisement information according to the present application, including the steps of:
step 401, determining a target group in which the target user as a common group member is allowed to issue group advertisement information according to the activity of the target user in the group corresponding to the target user.
Step 402, obtaining a chat message corresponding to the target user.
Step 403, determining a plurality of target messages from the chat messages according to the received selection operation.
In step 404, in response to determining that the number of times of the target user publishing the group advertisement information in the target group does not exceed the preset number of times threshold, integrating a plurality of target messages, and generating the group advertisement information of the target group corresponding to the target user.
In step 405, in response to determining that the target user is a common group member in the target group, the group advertisement information is issued and reminded to other group members in the target group according to a preset reminding mode.
As can be seen from this embodiment, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for generating group advertisement information in this embodiment specifically illustrates the generation process of group advertisement information under the common group member of the target group member as the target group, and further improves the practicality of the generation mode corresponding to the group advertisement information.
With continued reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present application provides an embodiment of an apparatus for generating group advertisement information, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the apparatus for generating group advertisement information includes: an obtaining unit 501 configured to obtain a chat message corresponding to a target user; a determining unit 502 configured to determine a target message from the chat messages according to the received selection operation; the generating unit 503 is configured to generate group advertisement information of a target group corresponding to the target user according to the target message.
In some optional implementations of the present embodiment, the determining unit 502 is further configured to determine a plurality of target messages from the chat messages according to the selecting operation; and a generating unit 503, further configured to: and integrating a plurality of target messages to generate group announcement information of a target group corresponding to the target user.
In some optional implementations of the present embodiment, the generating unit 503 is further configured to: integrating a plurality of target messages to obtain integrated information; and adjusting the integrated information according to the received editing operation to generate group announcement information of a target group corresponding to the target user.
In some optional implementations of the present embodiment, the obtaining unit 501 is further configured to: and acquiring the chat messages in the personal chat interface corresponding to the target user and/or acquiring the chat messages in the group chat interface corresponding to the target user.
In some optional implementations of this embodiment, the target user is a common group member in the target group; and a generating unit 503, further configured to: in response to determining that the target group allows the target user, which is a member of the general group, to publish the group advertisement information, the group advertisement information of the target group is generated.
In some optional implementations of the present embodiment, the generating unit 503 is further configured to: and generating the group advertisement information of the target group in response to determining that the number of times the target user publishes the group advertisement information in the target group does not exceed a preset number of times threshold.
In some optional implementations of the present embodiment, the generating unit 503 is further configured to: in response to determining that the target user is not a forbidden ordinary group member of the target group, group advertisement information for the target group is generated.
In some optional implementations of this embodiment, the apparatus further includes: and the target group determining unit is configured to determine a target group which allows the target user serving as a common group member to issue group announcement information in the group according to the activity of the target user in the group corresponding to the target user.
In some optional implementations of this embodiment, the apparatus further includes: and the issuing reminding unit (not shown in the figure) is configured to issue and remind the group announcement information to other group members in the target group according to a preset reminding mode in response to determining that the target user is a common group member in the target group.
In some optional implementations of this embodiment, the apparatus further includes: a deletion unit (not shown in the figure) configured to delete the group advertisement information in accordance with a deletion operation of the group advertisement information issued by the target user by the group administrator of the target group.
In some optional implementations of this embodiment, the apparatus further includes: a statistics unit (not shown in the figure) configured to count the consulting situation of other group members in the target group after the group announcement information is published, for the group announcement information.
In this embodiment, an acquisition unit in the apparatus for generating group advertisement information acquires a chat message corresponding to a target user; the determining unit determines a target message from the chat messages according to the received selection operation; the generating unit generates the group advertisement information of the target group corresponding to the target user according to the target message, thereby providing a device for generating the group advertisement information of the target group corresponding to the target user based on the chat message of the target user, being capable of flexibly generating the group advertisement information and enriching the generating mode of the group advertisement information.
Referring now to FIG. 6, there is illustrated a schematic diagram of a computer system 600 suitable for use in implementing the apparatus of embodiments of the present application (e.g., apparatus 101, 102, 103, 105 illustrated in FIG. 1). The apparatus shown in fig. 6 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments herein.
As shown in fig. 6, the computer system 600 includes a processor (e.g., CPU, central processing unit) 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the system 600 are also stored. The processor 601, the ROM602, and the RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the method of the present application are performed when the computer program is executed by the processor 601.
It should be noted that the computer readable medium of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having 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. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the client computer, partly on the client computer, as a stand-alone software package, partly on the client computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the client computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware. The described units may also be provided in a processor, for example, described as: a processor includes an acquisition unit, a determination unit, and a generation unit. The names of these units do not limit the unit itself in some cases, and for example, the generation unit may also be described as "a unit that generates group advertisement information of a target group corresponding to a target user from a target message".
As another aspect, the present application also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the computer device to: obtaining chat messages corresponding to target users; determining a target message from the chat message according to the received selection operation; and generating group announcement information of a target group corresponding to the target user according to the target message.
The foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the invention referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or equivalents thereof is possible without departing from the spirit of the invention. Such as the above-described features and technical features having similar functions (but not limited to) disclosed in the present application are replaced with each other.
Claims (13)
1. A method for generating group advertisement information, comprising:
obtaining chat messages corresponding to target users;
determining a target message from the chat messages according to the received selection operation, including: adding the target message determined from the chat messages in different chat interfaces into a message set according to the received selection operation in the different chat interfaces;
generating group announcement information of a target group corresponding to the target user according to the target message, wherein the group announcement information comprises:
and integrating a plurality of target messages in the message set through a pre-trained message integration model to generate group announcement information of a target group corresponding to the target user, wherein the message integration model is used for representing the corresponding relation between the plurality of target messages and the group announcement information.
2. The method of claim 1, wherein the determining a target message from the chat message based on the received pick operation comprises:
determining a plurality of target messages from the chat messages according to the selection operation; and
generating group announcement information of a target group corresponding to the target user according to the target message, wherein the group announcement information comprises:
and integrating the plurality of target messages to generate group announcement information of a target group corresponding to the target user.
3. The method of claim 2, wherein the integrating the plurality of target messages to generate the group advertisement information of the target group corresponding to the target user includes:
integrating the plurality of target messages to obtain integrated information;
and adjusting the integrated information according to the received editing operation, and generating group announcement information of a target group corresponding to the target user.
4. The method of claim 1, wherein the obtaining the chat message corresponding to the target user includes:
and acquiring the chat messages in the personal chat interface corresponding to the target user and/or acquiring the chat messages in the group chat interface corresponding to the target user.
5. The method of any of claims 1-4, wherein the target user is a common group member in the target group; and
the generating the group advertisement information of the target group corresponding to the target user includes:
in response to determining that the target group allows the target user, which is a member of a general group, to publish the group advertisement information, group advertisement information of the target group is generated.
6. The method of claim 5, wherein the generating group advertisement information for the target group comprises:
and generating the group advertisement information of the target group in response to determining that the number of times the target user publishes the group advertisement information in the target group does not exceed a preset number of times threshold.
7. The method of claim 5, wherein the generating group advertisement information for the target group comprises:
in response to determining that the target user is not a forbidden ordinary group member of the target group, group advertisement information for the target group is generated.
8. The method of claim 5, further comprising:
and determining a target group which allows the target user serving as a common group member to release group announcement information in the group according to the activity of the target user in the group corresponding to the target user.
9. The method of claim 1, further comprising:
and responding to the determination that the target user is a common group member in the target group, and issuing and reminding the group announcement information to other group members in the target group according to a preset reminding mode.
10. The method of claim 9, further comprising:
and deleting the group announcement information according to the deletion operation of the group announcement information issued by the group administrator of the target group to the target user.
11. The method of claim 1, further comprising:
and counting the consulting conditions of other group members in the target group after the group announcement information is published for the group announcement information.
12. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-11.
13. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111633479.9A CN114338575B (en) | 2021-12-29 | 2021-12-29 | Method and device for generating group announcement information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111633479.9A CN114338575B (en) | 2021-12-29 | 2021-12-29 | Method and device for generating group announcement information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114338575A CN114338575A (en) | 2022-04-12 |
CN114338575B true CN114338575B (en) | 2024-02-09 |
Family
ID=81014695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111633479.9A Active CN114338575B (en) | 2021-12-29 | 2021-12-29 | Method and device for generating group announcement information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114338575B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105162689A (en) * | 2015-08-19 | 2015-12-16 | 阿里巴巴集团控股有限公司 | Group announcement showing method and device of instant messaging application |
CN113014472A (en) * | 2021-01-27 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Information processing method and device based on group alliance and computer equipment |
CN113132122A (en) * | 2021-04-16 | 2021-07-16 | 网易(杭州)网络有限公司 | Group information processing method and device, storage medium and electronic equipment |
-
2021
- 2021-12-29 CN CN202111633479.9A patent/CN114338575B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105162689A (en) * | 2015-08-19 | 2015-12-16 | 阿里巴巴集团控股有限公司 | Group announcement showing method and device of instant messaging application |
CN113014472A (en) * | 2021-01-27 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Information processing method and device based on group alliance and computer equipment |
CN113132122A (en) * | 2021-04-16 | 2021-07-16 | 网易(杭州)网络有限公司 | Group information processing method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114338575A (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109460513B (en) | Method and apparatus for generating click rate prediction model | |
CN110351572B (en) | Method, device and equipment for updating live broadcast room information and storage medium | |
CN108243086B (en) | Message processing method and system | |
US9460047B2 (en) | Estimating the time until a reply email will be received using a recipient behavior model | |
US10244061B2 (en) | Updating time-related information in post to make it more relevant for the requester on subsequent retrieval of post | |
US9935912B2 (en) | Ad hoc message sharing between email and social networks | |
US20110314387A1 (en) | Intelligent filtering for render status determination in a screen sharing system | |
US9922034B2 (en) | Displaying at least one categorized message based on a percentage | |
CN108965098B (en) | Message pushing method, device, medium and electronic equipment based on online live broadcast | |
CN107948437B (en) | Screen-off display method and device | |
CN110569057A (en) | gray scale distribution method and device, electronic equipment and computer readable medium | |
CN112214706A (en) | Information publishing method and device, electronic equipment and storage medium | |
CN108768823B (en) | Method and equipment for processing message and displaying message | |
CN108764866B (en) | Method and equipment for allocating resources and drawing resources | |
CN113556279B (en) | Message sending method, device, equipment and storage medium | |
CN111294662B (en) | Barrage generation method, device, equipment and storage medium | |
CN114338575B (en) | Method and device for generating group announcement information | |
CN112887803B (en) | Session processing method, device, storage medium and electronic equipment | |
US20190206385A1 (en) | Vocal representation of communication messages | |
CN110881056A (en) | Method and device for pushing information | |
CN111010449B (en) | Image information output method, system, device, medium, and electronic apparatus | |
US9917807B2 (en) | Intelligently sharing messages across groups | |
CN111131354B (en) | Method and apparatus for generating information | |
US9563879B2 (en) | Providing accurate recipient lists by correlating tagged keywords to recipient lists | |
CN112346615A (en) | Information processing method and device |
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 |