Movatterモバイル変換


[0]ホーム

URL:


CN115134327B - Message processing method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN115134327B
CN115134327BCN202210592821.3ACN202210592821ACN115134327BCN 115134327 BCN115134327 BCN 115134327BCN 202210592821 ACN202210592821 ACN 202210592821ACN 115134327 BCN115134327 BCN 115134327B
Authority
CN
China
Prior art keywords
rich media
media resource
target
publisher
message
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
CN202210592821.3A
Other languages
Chinese (zh)
Other versions
CN115134327A (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co LtdfiledCriticalBeijing Dajia Internet Information Technology Co Ltd
Priority to CN202210592821.3ApriorityCriticalpatent/CN115134327B/en
Publication of CN115134327ApublicationCriticalpatent/CN115134327A/en
Application grantedgrantedCritical
Publication of CN115134327BpublicationCriticalpatent/CN115134327B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The disclosure relates to a message processing method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring an instant message sent by a first client based on a target session; when the instant message is a sharing message aiming at the rich media resource, determining a publisher of the target rich media resource corresponding to the sharing message; sending a first notification message to the publisher; the first notification message indicates that the first client shared the target rich media resource in the target session. The method and the device realize interaction with the publishers of the rich media resources in the process of sharing the rich media resources based on the instant message session, so that the publishers can timely learn about the sharing condition of the rich media resources published by the publishers, and further the publishers can control the security of the rich media resources published by the publishers based on the sharing condition.

Description

Message processing method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a message processing method, a device, an electronic device and a storage medium.
Background
With the development of internet technology, IM (Instant messaging) has become one of the main ways of communication between users.
Currently, rich media resources can be shared in the form of message cards and the like in an IM-based session, for example, an online document can be shared in group chat to realize multi-person editing collaborative office. In the related art, interaction between the sharing process of the rich media resource and the publisher of the rich media resource cannot be realized, so that the publisher cannot learn the sharing condition of the rich media resource published by the publisher in time, and further cannot perform security control on the rich media resource published by the publisher based on the sharing condition.
Disclosure of Invention
The disclosure provides a message processing method, device and system, which at least solve the problem that interaction between a rich media resource sharing process and a publisher of the rich media resource cannot be realized in the related art. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a message processing method, including:
acquiring an instant message sent by a first client based on a target session;
when the instant message is a sharing message aiming at the rich media resource, determining a publisher of the target rich media resource corresponding to the sharing message;
Sending a first notification message to the publisher; the first notification message indicates that the first client shared the target rich media resource in the target session.
In an exemplary embodiment, the determining the publisher of the target rich media resource corresponding to the sharing message includes:
determining a target rich media resource identifier based on the rich media resource association information in the sharing message;
sending a publisher information acquisition request to a rich media resource server based on the target rich media resource identifier, so that the rich media resource server determines a publisher identifier of a corresponding target rich media resource based on the target rich media resource identifier;
and receiving the publisher identifier returned by the rich media resource server.
In an exemplary embodiment, the sending the first notification message to the publisher includes:
acquiring a first client identifier of the first client and a session identifier of the target session;
generating a first notification message based on the first client identifier, the session identifier and the target rich media resource identifier;
and sending the first notification message to the publisher.
In an exemplary embodiment, the method further comprises:
acquiring operation behavior information reported by a second client; the operation behavior information is generated based on a preset triggering operation for the sharing message in the target session, wherein the preset triggering operation is used for acquiring a target rich media resource corresponding to the sharing message;
determining the publisher of the target rich media resource based on the operation behavior information;
sending a second notification message to the publisher; the second notification message indicates that the second client has acquired the target rich media resource in the target session.
In an exemplary embodiment, the determining, based on the operational behavior information, the publisher of the target rich media resource includes:
determining a target rich media resource identifier corresponding to the operation behavior information;
sending a publisher information acquisition request to a rich media resource server based on the target rich media resource identifier, so that the rich media resource server determines a publisher identifier of a corresponding target rich media resource based on the target rich media resource identifier;
and receiving the publisher identifier returned by the rich media resource server.
In an exemplary embodiment, the sending the second notification message to the publisher includes:
acquiring a second client identifier of the second client, a session identifier of the target session and the target rich media resource identifier;
generating a second notification message based on a second client identifier, the session identifier of the target session, and the target rich media resource identifier;
and sending the second notification message to the publisher.
According to a second aspect of the embodiments of the present disclosure, there is provided a message processing method, including:
receiving a first notification message sent by an instant message server to a publisher of a target rich media resource; the publisher of the target rich media resource is that the instant message server obtains an instant message sent by a first client based on a target session, and when the instant message is a sharing message aiming at the rich media resource, the publisher of the target rich media resource corresponding to the sharing message is determined;
wherein the first notification message indicates that the first client shared the target rich media resource in the target session.
In an exemplary embodiment, the method further comprises:
Receiving a second notification message sent by the instant message server to the publisher of the target rich media resource; the issuing party of the target rich media resource is the issuing party of the target rich media resource, which is determined to correspond to the operation behavior information, wherein the operation behavior information is generated based on a preset triggering operation for the sharing message in the target session;
wherein the second notification message indicates that the second client has acquired the target rich media resource in the target session.
In an exemplary embodiment, the method further comprises:
responding to an authority setting instruction aiming at the target rich media resource, and acquiring authority information; the authority information indicates the authority of a target session object in the target session for the target rich media resource;
and setting the authority of the target rich media resource based on the authority information.
According to a third aspect of embodiments of the present disclosure, there is provided a message processing apparatus comprising:
an instant message obtaining unit configured to perform obtaining an instant message sent by the first client based on the target session;
A first publisher determining unit configured to determine, when the instant message is a sharing message for a rich media resource, a publisher of a target rich media resource corresponding to the sharing message;
a first message transmission unit configured to perform transmission of a first notification message to the publisher; the first notification message indicates that the first client shared the target rich media resource in the target session.
In an exemplary embodiment, the first publisher determining unit includes:
the first resource identification determining unit is configured to determine a target rich media resource identification based on rich media resource association information in the sharing message;
a first request sending unit configured to perform sending, based on the target rich media resource identifier, a publisher information acquisition request to a rich media resource server, so that the rich media resource server determines, based on the target rich media resource identifier, a publisher identifier of a corresponding target rich media resource;
and the first publisher identification receiving unit is configured to receive the publisher identification returned by the rich media resource server.
In an exemplary embodiment, the first message transmitting unit includes:
A first acquisition unit configured to perform acquisition of a first client identifier of the first client and a session identifier of the target session;
a first message generation unit configured to perform generation of a first notification message based on the first client identification, the session identification, and the target rich media resource identification;
a first message sending subunit configured to perform sending the first notification message to the publisher.
In an exemplary embodiment, the apparatus further comprises:
the second acquisition unit is configured to acquire the operation behavior information reported by the second client; the operation behavior information is generated based on a preset triggering operation for the sharing message in the target session, wherein the preset triggering operation is used for acquiring a target rich media resource corresponding to the sharing message;
a second publisher determining unit configured to perform determining a publisher of the target rich media resource based on the operation behavior information;
a second message transmitting unit configured to perform transmission of a second notification message to the publisher; the second notification message indicates that the second client has acquired the target rich media resource in the target session.
In an exemplary embodiment, the second publisher determining unit includes:
a second resource identifier determining unit configured to perform determining a target rich media resource identifier corresponding to the operation behavior information;
a second request sending unit configured to perform sending, based on the target rich media resource identifier, a publisher information acquisition request to a rich media resource server, so that the rich media resource server determines, based on the target rich media resource identifier, a publisher identifier of a corresponding target rich media resource;
and the second publisher identification receiving unit is configured to receive the publisher identification returned by the rich media resource server.
In an exemplary embodiment, the second message transmitting unit includes:
a third obtaining unit configured to perform obtaining a second client identifier of the second client, a session identifier of the target session, and the target rich media resource identifier;
a second message generating unit configured to perform generation of a second notification message based on a second client identification, a session identification of the target session, and the target rich media resource identification;
a second message sending subunit configured to perform sending the second notification message to the publisher.
According to a fourth aspect of embodiments of the present disclosure, there is provided a message processing apparatus comprising:
a first notification message receiving unit configured to perform receiving a first notification message sent by the instant message server to a publisher of the target rich media resource; the publisher of the target rich media resource is that the instant message server obtains an instant message sent by a first client based on a target session, and when the instant message is a sharing message aiming at the rich media resource, the publisher of the target rich media resource corresponding to the sharing message is determined;
wherein the first notification message indicates that the first client shared the target rich media resource in the target session.
In an exemplary embodiment, the apparatus further comprises:
a second notification message receiving unit configured to perform receiving a second notification message sent by the instant message server to the publisher of the target rich media resource; the issuing party of the target rich media resource is the issuing party of the target rich media resource, which is determined to correspond to the operation behavior information, wherein the operation behavior information is generated based on a preset triggering operation for the sharing message in the target session;
Wherein the second notification message indicates that the second client has acquired the target rich media resource in the target session.
In an exemplary embodiment, the apparatus further comprises:
a rights information acquisition unit configured to execute a rights setting instruction in response to the target rich media resource, to acquire rights information; the authority information indicates the authority of a target session object in the target session for the target rich media resource;
and a rights setting unit configured to perform rights setting on the target rich media resource based on the rights information.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the message processing method of the first aspect or the second aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the message processing method of the first aspect or the second aspect described above.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program/instruction which, when executed by a processor, implements the message processing method of the first or second aspect described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps that an instant message sent by a first client based on a target session is obtained, and when the instant message is a sharing message aiming at a rich media resource, a publisher of the target rich media resource corresponding to the sharing message is determined, and then a first notification message indicating that the first client shares the target rich media resource in the target session is sent to the publisher, so that interaction with the publisher of the rich media resource is realized in the process of sharing the rich media resource based on the instant message session, the publisher can learn the sharing condition of the rich media resource published by the publisher in time, and safety control of the publisher on the rich media resource published by the publisher based on the sharing condition is facilitated.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a schematic diagram of an application environment shown in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a message processing method according to an example embodiment;
FIG. 3 is a flow diagram illustrating another message processing method according to an example embodiment;
FIG. 4a is a flow diagram illustrating another message processing method according to an example embodiment;
FIG. 4b is a flow diagram illustrating another message processing method according to an example embodiment;
FIG. 5 is a block diagram of a message processing apparatus according to an exemplary embodiment;
FIG. 6 is a block diagram of another message processing apparatus according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating a server according to an exemplary embodiment;
fig. 8 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be further noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Referring to fig. 1, a schematic diagram of an application environment of a message processing method is shown, which may include a first client 110, a second client 120, an instant message server 130, a rich media resource server 140, and a publisher client 150, according to an exemplary embodiment.
The clients (110, 120, 150) may include smart phones, desktop computers, tablet computers, notebook computers, digital assistants, smart wearable devices, and other types of terminals, and may also include software running in the terminals, such as web pages provided by service providers to users, applications provided by the service providers to users, and so on.
The servers (130, 140) may be independent physical servers, may be server clusters or distributed systems formed by a plurality of physical servers, may be edge computing nodes, and may be cloud servers providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), and basic cloud computing services such as big data and artificial intelligence platforms.
The clients (110, 120, 150) and the servers (130, 140) may be connected via a wired network or a wireless network.
Specifically, the first client 110 and the second client 120 are session objects in a target session, and may interact based on sending instant messages in the target session. In the embodiment of the present disclosure, the first client 110 is a sender of an instant message in a target session, and the second client 120 is a receiver of the instant message in the target session, where the session type of the target session may be private chat or group chat.
The publisher client 150 is a client corresponding to the shared rich media resource, and the rich media resource published by the publisher client 150 and the related information of the rich media resource are stored in the rich media resource server 140. The rich media resource server 140 may store the published rich media resource in a key-value form, where the key is a rich media resource identifier, the rich media resource identifier may uniquely identify one rich media resource, the value includes related information of the rich media resource and the rich media resource, the related information of the rich media resource includes a publisher identifier that publishes the rich media resource, and the publisher identifier is used to uniquely identify a publisher of the rich media resource, and illustratively, the publisher identifier may be an account of the publisher.
In the embodiment of the present disclosure, the instant message server 130 may obtain an instant message sent by a first client based on a target session, and determine, when the instant message is a sharing message for a rich media resource, a publisher of the target rich media resource corresponding to the sharing message, and then send a first notification message to the publisher, where the first notification message indicates that the first client shares the target rich media resource in the target session, so that the publisher can learn about a sharing condition of the target rich media resource in time, interaction between a sharing process of the rich media resource and the publisher of the rich media resource is achieved, which is beneficial to improving security control of the shared rich media resource.
Rich media is an information dissemination method with animation, sound, video and interactivity, and includes streaming media, sound, flash (animation), java (object oriented programming language), javascript (an interpreted script language), dynamic webpage design, and other programming languages, and can be applied to various network services, such as website design, email, banner (Banner), button, pop-up advertisement, spot-in advertisement, and the like. Rich media assets in embodiments of the present disclosure refer to assets in the form of rich media, which may include, but are not limited to, documents, pictures, videos, music, comics, novels, books, games, news, etc., as those skilled in the art will appreciate, other types of rich media assets are equally suitable for use with the present disclosure and are within the scope of the present disclosure.
Fig. 2 is a flow chart illustrating a message processing method according to an exemplary embodiment, and as shown in fig. 2, taking an example that the message processing method is applied to the instant message server shown in fig. 1, the method includes the following steps:
in step S201, an instant message sent by the first client based on the target session is acquired.
The session type of the target session may be a private chat session based on IM or a group chat session.
In step S203, it is determined whether the instant message is a sharing message for a rich media resource.
Specifically, the instant message server may extract the message content of the instant message, and if the message content includes the link information or the card information corresponding to the rich media resource, determine that the instant message is a sharing message for the rich media resource, and at this time, step S205 may be executed; otherwise, if the instant message is not the sharing message for the rich media resource, ending the processing of the message.
In step S205, the publisher of the target rich media resource corresponding to the sharing message is determined.
In practical application, the published rich media resource and related information thereof are stored in the rich media resource server, so that the instant message server can be realized through interaction with the rich media resource server when determining the publisher of the target rich media resource corresponding to the sharing message, and the method specifically comprises the following steps:
the instant message server determines a target rich media resource identifier based on the rich media resource association information in the sharing message;
the instant message server sends a publisher information acquisition request to the rich media resource server based on the target rich media resource identifier, so that the rich media resource server determines a publisher identifier of a corresponding target rich media resource based on the target rich media resource identifier and returns the publisher identifier;
The instant message server receives the publisher identification returned by the rich media resource server.
The rich media resource association information may be rich media resource link information, and the target rich media resource identifier may be obtained by analyzing the rich media resource link information, where the target rich media resource identifier may uniquely identify a rich media resource, and exemplary, the target rich media resource identifier may be ID (Identity) information.
It will be appreciated that the rich media resource server may return other relevant information for the target rich media resource along with the publisher identification, which may include, for example, the name of the target rich media resource, the publication time, etc.
In step S207, a first notification message is sent to the publisher.
Wherein the first notification message indicates that the first client shared the target rich media resource in the target session.
In a specific implementation, the instant message server may acquire the first client identifier and the session identifier of the target session, generate a first notification message based on the first client identifier, the session identifier and the target rich media resource identifier, and send the first notification message to the publisher, so that the publisher may learn which user shares which rich media resource in which session based on the first client identifier, the session identifier and the target rich media resource identifier after receiving the first notification message. It can be appreciated that the first notification message may further include a sharing time, so that the publisher may learn a specific time when the target rich media resource is shared.
In practical applications, the instant messaging server may also generate a rich media resource sharing record, where the rich media resource sharing record may include a first client identifier, a session type (private chat or group chat), a generation time, an update time, and so on.
In the above embodiment, when the instant message is the sharing message for the rich media resource, the publisher of the target rich media resource corresponding to the sharing message is determined, and then the first notification message indicating that the first client shares the target rich media resource in the target session is sent to the publisher, so that the publisher of the target rich media resource timely learns which user shares the rich media resource published by himself in which session, interaction between the sharing process of the rich media resource and the publisher of the rich media resource is realized, so that the publisher can timely learn the sharing condition of the rich media resource published by the publisher, and further the publisher is beneficial to safety control of the rich media resource published by the publisher based on the sharing condition.
In an exemplary embodiment, as shown in fig. 3, a flow chart of another message processing method, the method may further include:
In step S209, operation behavior information reported by the second client is acquired.
The operation behavior information is generated based on a preset triggering operation for a sharing message in a target session, where the preset triggering operation is used for obtaining a target rich media resource corresponding to the sharing message, and for example, the preset triggering operation may be clicking, long-pressing, and other operations.
Specifically, when the second client serves as a receiving party of the sharing message and a preset trigger operation is performed on the sharing message in the target session, the second client may send corresponding operation behavior information to the instant message server, where the operation behavior information may include an operation time, a second client identifier, a session identifier of the target session, and a target rich media resource identifier in the operated sharing message.
In step S211, a publisher of the target rich media resource is determined based on the operation behavior information.
In a specific implementation, the instant message server may acquire, through interaction with the rich media resource server, the publisher of the target rich media resource corresponding to the currently operated sharing message, so the step S211 may include:
determining a target rich media resource identifier corresponding to the operation behavior information;
Sending a publisher information acquisition request to a rich media resource server based on the target rich media resource identifier, so that the rich media resource server determines a publisher identifier of a corresponding target rich media resource based on the target rich media resource identifier and returns the publisher identifier;
and receiving the publisher identification returned by the rich media resource server.
Specifically, the instant message server may extract the target rich media resource identifier from the operation behavior information, and then send a publisher information acquisition request to the rich media resource server, where the publisher information acquisition request carries the target rich media resource identifier, and the rich media resource server responds to the publisher information acquisition request to find related information of the target rich media resource corresponding to the target rich media resource identifier, where the related information includes a publisher identifier, for example, a publisher account number, and returns the publisher identifier to the instant message server, so that the instant message server may acquire the publisher identifier of the target rich media resource.
In step S213, a second notification message is sent to the publisher.
Wherein the second notification message indicates that the second client has acquired the target rich media resource in the target session.
In a specific implementation, the instant message server may extract the second client identifier in the operation behavior information and the session identifier of the target session, generate a second notification message based on the second client identifier, the session identifier and the target rich media resource identifier, and send the second notification message to the publisher, so that the publisher may learn which user obtains which rich media resource that the publisher publishes in which session based on the second client identifier, the session identifier and the target rich media resource identifier after receiving the second notification message. It will be appreciated that the second notification message may also include an operation time so that the publisher may learn the specific time at which the target rich media resource was obtained.
In practice, the instant messaging server may also generate a rich media asset acquired record that may include a second client identification, a session type (private chat or group chat), a generation time, an update time, and so on.
In the above embodiment, by acquiring the operation behavior information reported by the second client, determining the publisher of the target rich media resource corresponding to the operated sharing message based on the operation behavior information, and further sending a second notification message indicating that the second client acquires the target rich media resource in the target session to the publisher, so that the publisher of the target rich media resource timely learns which user acquired the rich media resource published by himself in which session, interaction between the rich media resource sharing process and the publisher of the rich media resource is enhanced, and integrity of the rich media resource flowing in the IM system is improved, so that the publisher can timely learn about sharing conditions of the rich media resource published by the publisher, and security control of the publisher on the rich media resource published by the publisher based on the sharing conditions is facilitated.
The following describes a message processing method according to an embodiment of the present disclosure with an issuer client as an execution body, which specifically may include:
receiving a first notification message sent by an instant message server to a publisher of a target rich media resource; the publisher of the target rich media resource is that the instant message server obtains an instant message sent by a first client based on a target session, and when the instant message is a sharing message aiming at the rich media resource, the publisher of the target rich media resource corresponding to the sharing message is determined;
wherein the first notification message indicates that the first client shared the target rich media resource in the target session.
The first notification message may include the first client identifier, the session identifier of the target session, and the target rich media resource identifier, and may include other information, such as a sharing time, a target rich media resource release time, and so on.
In an exemplary embodiment, the publisher client may also receive a second notification message sent by the instant message server to the publisher of the target rich media resource; the issuing party of the target rich media resource is the issuing party of the target rich media resource, which is determined to correspond to the operation behavior information, wherein the operation behavior information is generated based on a preset triggering operation for the sharing message in the target session;
Wherein the second notification message indicates that the second client has acquired the target rich media resource in the target session.
The second notification message may include, for example, a second client identification, a session identification of the target session, and a target rich media resource identification, but may also include other information such as an operation time, etc.
In an exemplary embodiment, the publisher client may further include the following steps after receiving the second notification message:
responding to an authority setting instruction aiming at a target rich media resource, and acquiring authority information; the authority information indicates the authority of a target session object in a target session for the target rich media resource;
and setting the authority of the target rich media resource based on the authority information.
The target session object may include the second client, so that the publisher may implement permission setting for the second client, and further perform flexible security control on the rich media resource published by the publisher.
For a better understanding of the message processing method according to the embodiment of the present disclosure, the following description will take an example in which the rich media resource is an online document, with reference to a transmission scenario shown in fig. 4a and a reception scenario shown in fig. 4 b.
As shown in the flowchart of another message processing method in fig. 4a, when the first client shares an online document link in the target IM session, the first client sends a corresponding instant message to the IM server; the IM server acquires the instant message, judges that the instant message contains online document information, extracts an online document identifier from the instant message, and sends a publisher information acquisition request to the online document server based on the online document identifier; the online document server responds to the publisher information acquisition request, determines publisher information (including publisher identifiers) of the corresponding online document based on the online document identifiers and returns; after the IM server obtains the publisher identifier, it sends a system push notification (i.e., a first notification message) to the publisher based on the publisher identifier to indicate which user shared which online document of your in which session.
As shown in the flowchart of another message processing method in fig. 4b, when the second client clicks the sharing message shared by the first client in the target session, the second client reports click behavior information to the IM server; the IM server acquires the click behavior information, extracts an online document identifier in the click behavior information, and sends an information acquisition request of a publisher to the online document server based on the online document identifier; the online document server responds to the publisher information acquisition request, determines publisher information (including publisher identifiers) of the corresponding online document based on the online document identifiers and returns; after the IM server obtains the publisher identifier, it sends a system push notification (i.e., a second notification message) to the publisher based on the publisher identifier to indicate which user browses which online document in which session.
Fig. 5 is a block diagram illustrating a message processing apparatus according to an exemplary embodiment. Referring to fig. 5, the message processing apparatus 500 includes:
an instant message obtaining unit 510 configured to perform obtaining an instant message sent by the first client based on the target session;
a first publisher determining unit 520 configured to determine, when the instant message is a sharing message for a rich media resource, a publisher of a target rich media resource corresponding to the sharing message;
a first message transmitting unit 530 configured to perform transmission of a first notification message to the publisher; the first notification message indicates that the first client shared the target rich media resource in the target session.
In an exemplary embodiment, the first publisher determining unit 520 includes:
the first resource identification determining unit is configured to determine a target rich media resource identification based on rich media resource association information in the sharing message;
a first request sending unit configured to perform sending, based on the target rich media resource identifier, a publisher information acquisition request to a rich media resource server, so that the rich media resource server determines, based on the target rich media resource identifier, a publisher identifier of a corresponding target rich media resource;
And the first publisher identification receiving unit is configured to receive the publisher identification returned by the rich media resource server.
In an exemplary embodiment, the first message transmitting unit 530 includes:
a first acquisition unit configured to perform acquisition of a first client identifier of the first client and a session identifier of the target session;
a first message generation unit configured to perform generation of a first notification message based on the first client identification, the session identification, and the target rich media resource identification;
a first message sending subunit configured to perform sending the first notification message to the publisher.
In an exemplary embodiment, the apparatus 500 further includes:
the second acquisition unit is configured to acquire the operation behavior information reported by the second client; the operation behavior information is generated based on a preset triggering operation for the sharing message in the target session, wherein the preset triggering operation is used for acquiring a target rich media resource corresponding to the sharing message;
a second publisher determining unit configured to perform determining a publisher of the target rich media resource based on the operation behavior information;
A second message transmitting unit configured to perform transmission of a second notification message to the publisher; the second notification message indicates that the second client has acquired the target rich media resource in the target session.
In an exemplary embodiment, the second publisher determining unit includes:
a second resource identifier determining unit configured to perform determining a target rich media resource identifier corresponding to the operation behavior information;
a second request sending unit configured to perform sending, based on the target rich media resource identifier, a publisher information acquisition request to a rich media resource server, so that the rich media resource server determines, based on the target rich media resource identifier, a publisher identifier of a corresponding target rich media resource;
and the second publisher identification receiving unit is configured to receive the publisher identification returned by the rich media resource server.
In an exemplary embodiment, the second message transmitting unit includes:
a third obtaining unit configured to perform obtaining a second client identifier of the second client, a session identifier of the target session, and the target rich media resource identifier;
A second message generating unit configured to perform generation of a second notification message based on a second client identification, a session identification of the target session, and the target rich media resource identification;
a second message sending subunit configured to perform sending the second notification message to the publisher.
Fig. 6 is a block diagram illustrating a message processing apparatus according to an exemplary embodiment. Referring to fig. 6, the message processing apparatus 600 includes:
a first notification message receiving unit 610 configured to perform receiving a first notification message sent by the instant message server to a publisher of the target rich media resource; the publisher of the target rich media resource is that the instant message server obtains an instant message sent by a first client based on a target session, and when the instant message is a sharing message aiming at the rich media resource, the publisher of the target rich media resource corresponding to the sharing message is determined;
wherein the first notification message indicates that the first client shared the target rich media resource in the target session.
In an exemplary embodiment, the apparatus 600 further includes:
a second notification message receiving unit 620 configured to perform receiving a second notification message sent by the instant message server to the publisher of the target rich media resource; the issuing party of the target rich media resource is the issuing party of the target rich media resource, which is determined to correspond to the operation behavior information, wherein the operation behavior information is generated based on a preset triggering operation for the sharing message in the target session;
Wherein the second notification message indicates that the second client has acquired the target rich media resource in the target session.
In an exemplary embodiment, the apparatus 600 further includes:
a rights information acquisition unit configured to execute a rights setting instruction in response to the target rich media resource, to acquire rights information; the authority information indicates the authority of a target session object in the target session for the target rich media resource;
and a rights setting unit configured to perform rights setting on the target rich media resource based on the rights information.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In one exemplary embodiment, there is also provided an electronic device including a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the message processing method provided in any of the above embodiments when executing instructions stored on the memory.
Fig. 7 is a block diagram of a server for message processing according to an exemplary embodiment, and as shown in fig. 7, the server 700 may vary considerably in configuration or performance, and may include one or more central processing units (Central Processing Units, CPU) 710 (the processor 710 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA or the like), a memory 730 for storing data, one or more storage mediums 720 (e.g., one or more mass storage devices) for storing applications 723 or data 722. Wherein memory 730 and storage medium 720 may be transitory or persistent. The program stored in the storage medium 720 may include one or more modules, each of which may include a series of instruction operations on the server. Still further, the central processor 710 may be configured to communicate with the storage medium 720 and execute a series of instruction operations in the storage medium 720 on the server 700. The server 700 may also include one or more power supplies 760, one or more wired or wireless network interfaces 750, one or more input/output interfaces 740, and/or one or more operating systems 721, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
Input-output interface 740 may be used to receive or transmit data via a network. The specific example of the network described above may include a wireless network provided by a communication provider of the server 700. In one example, the input-output interface 740 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the input/output interface 740 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
Fig. 8 is a block diagram illustrating a structure of a terminal for message processing, in particular, according to an exemplary embodiment: the terminal can include RF (Radio Frequency) circuitry 810, memory 820 including one or more computer-readable storage media, input unit 830, display unit 840, sensor 850, audio circuitry 860, wiFi (wireless fidelity ) module 870, processor 880 including one or more processing cores, and power supply 890. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 8 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
The RF circuit 810 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 880; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry 810 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier ), a duplexer, and the like. In addition, the RF circuitry 810 may also communicate with networks and other terminals via wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service ), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access ), LTE (Long Term Evolution, long term evolution), email, SMS (Short Messaging Service, short message service), and the like.
The memory 820 may be used to store software programs and modules, and the processor 880 performs various functional applications and data processing by executing the software programs and modules stored in the memory 820. The memory 820 may mainly include a storage program area that may store an operating system, application programs required for functions, and the like, and a storage data area; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 820 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 820 may also include a memory controller to provide access to the memory 820 by the processor 880 and the input unit 830.
The input unit 830 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 830 may include a touch-sensitive surface 831 as well as other input devices 832. The touch-sensitive surface 831, also referred to as a touch screen or touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch-sensitive surface 831 or thereabout by using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection device according to a predetermined program. Alternatively, touch-sensitive surface 831 can include both a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 880 and can receive commands from the processor 880 and execute them. In addition, the touch-sensitive surface 831 can be implemented using a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 831, the input unit 830 may also include other input devices 832. In particular, other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 840 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 840 may include a display panel 841, and optionally, the display panel 841 may be configured in the form of an LCD (Liquid Crystal Display ), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 831 can overlay display panel 841, and upon detection of a touch operation thereon or thereabout by touch-sensitive surface 831, is communicated to processor 880 for determining the type of touch event, whereupon processor 880 provides a corresponding visual output on display panel 841 based on the type of touch event. Wherein the touch-sensitive surface 831 and the display panel 841 may be implemented in two separate components for input and output functions, but in some embodiments the touch-sensitive surface 831 may be integrated with the display panel 841 to implement input and output functions.
The terminal may also include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 841 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 841 and/or the backlight when the terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the device is stationary, and the device can be used for applications of recognizing the gesture of a terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may be configured for the terminal are not described in detail herein.
Audio circuitry 860, speaker 861, microphone 862 may provide an audio interface between the user and the terminal. The audio circuit 860 may transmit the received electrical signal converted from audio data to the speaker 861, and the electrical signal is converted into a sound signal by the speaker 861 to be output; on the other hand, the microphone 862 converts the collected sound signals into electrical signals, which are received by the audio circuit 860 and converted into audio data, which are processed by the audio data output processor 880 and transmitted to, for example, another terminal via the RF circuit 810, or which are output to the memory 820 for further processing. Audio circuitry 860 may also include an ear bud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to a short-distance wireless transmission technology, and the terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 870, so that wireless broadband Internet access is provided for the user. Although fig. 8 shows a WiFi module 870, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope of not changing the essence of the invention.
The processor 880 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 820 and calling data stored in the memory 820, thereby performing overall monitoring of the terminal. Optionally, processor 880 may include one or more processing cores; preferably, the processor 880 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 880.
The terminal also includes a power supply 890 (e.g., a battery) for powering the various components, which may be logically connected to the processor 880 via a power management system, as well as performing functions such as managing charge, discharge, and power consumption via the power management system. Power supply 890 may also include one or more of any components of a dc or ac power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, etc.
Although not shown, the terminal may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs described above include message processing method instructions for executing the client side provided by the method embodiments described above.
In an exemplary embodiment, a computer readable storage medium is also provided, e.g. a memory, comprising instructions executable by a processor of a respective apparatus to perform the above method. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program/instruction which, when executed by a processor, implements the message processing method provided in any of the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

CN202210592821.3A2022-05-272022-05-27Message processing method and device, electronic equipment and storage mediumActiveCN115134327B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210592821.3ACN115134327B (en)2022-05-272022-05-27Message processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210592821.3ACN115134327B (en)2022-05-272022-05-27Message processing method and device, electronic equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN115134327A CN115134327A (en)2022-09-30
CN115134327Btrue CN115134327B (en)2023-09-19

Family

ID=83377119

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210592821.3AActiveCN115134327B (en)2022-05-272022-05-27Message processing method and device, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN115134327B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2017124932A1 (en)*2016-01-212017-07-27腾讯科技(深圳)有限公司Resource sharing method and terminal
CN107958389A (en)*2017-11-242018-04-24恩平市枫王电器科技有限公司A kind of information issue and retransmission method
CN108833266A (en)*2018-07-042018-11-16奇酷互联网络科技(深圳)有限公司Dynamic shares management method, management equipment, storage medium and the terminal of message
CN109829064A (en)*2019-01-312019-05-31腾讯科技(深圳)有限公司Media resource shares and playing method and device, storage medium and electronic device
CN114168220A (en)*2021-12-022022-03-11中国建设银行股份有限公司Data processing and interaction method, device, equipment and storage medium of application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2017124932A1 (en)*2016-01-212017-07-27腾讯科技(深圳)有限公司Resource sharing method and terminal
CN107958389A (en)*2017-11-242018-04-24恩平市枫王电器科技有限公司A kind of information issue and retransmission method
CN108833266A (en)*2018-07-042018-11-16奇酷互联网络科技(深圳)有限公司Dynamic shares management method, management equipment, storage medium and the terminal of message
CN109829064A (en)*2019-01-312019-05-31腾讯科技(深圳)有限公司Media resource shares and playing method and device, storage medium and electronic device
CN114168220A (en)*2021-12-022022-03-11中国建设银行股份有限公司Data processing and interaction method, device, equipment and storage medium of application program

Also Published As

Publication numberPublication date
CN115134327A (en)2022-09-30

Similar Documents

PublicationPublication DateTitle
US20220232287A1 (en)Method and device for acquiring virtual resource and storage medium
JP6557741B2 (en) Picture combining method, terminal, and picture combining system
CN107204964B (en)Authority management method, device and system
CN105630846B (en)Head portrait updating method and device
CN106936699A (en)A kind of information sharing method, device and system
CN108809805B (en)Information interaction method and system and public account client
CN106293738B (en)Expression image updating method and device
CN109145182B (en)Data acquisition method and device, computer equipment and system
CN104518945A (en)Method, device, and system for sending and receiving social network information
CN108205568A (en)Method and device based on label selection data
CN107104930A (en)It is a kind of that the methods, devices and systems for checking authority are set
CN107193453A (en)Contact person's mask method and device
CN105227598A (en)A kind of resource sharing method, device and system stored based on cloud
CN103607377A (en)Method, device and system for information sharing
CN105094872B (en)A kind of method and apparatus showing web application
CN115134327B (en)Message processing method and device, electronic equipment and storage medium
CN113094577B (en)Information display method, related equipment and storage medium
CN112799857A (en)Application access method and device
CN115118636B (en)Method and device for determining network jitter state, electronic equipment and storage medium
CN107346347B (en)Webpage table display method and device
CN117149010A (en)Multimedia resource switching method and device, electronic equipment and storage medium
CN107798008B (en)Content pushing system, method and device
CN117407610A (en)Page preloading method and device, electronic equipment and storage medium
CN113542206B (en)Image processing method, device and computer readable storage medium
CN116935852A (en)Speech recognition method, device, computer readable storage medium and computer equipment

Legal Events

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

[8]ページ先頭

©2009-2025 Movatter.jp