CN116455851A - Message pushing method, electronic equipment and storage medium - Google Patents

Message pushing method, electronic equipment and storage medium Download PDF

Info

Publication number
CN116455851A
CN116455851A CN202310368829.6A CN202310368829A CN116455851A CN 116455851 A CN116455851 A CN 116455851A CN 202310368829 A CN202310368829 A CN 202310368829A CN 116455851 A CN116455851 A CN 116455851A
Authority
CN
China
Prior art keywords
instant messaging
identification information
account
user
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.)
Pending
Application number
CN202310368829.6A
Other languages
Chinese (zh)
Inventor
黄冠
陈劢
朱赞聪
欧阳文睿
郑东新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shifang Ronghai Technology Co ltd
Original Assignee
Shenzhen Shifang Ronghai 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 Shenzhen Shifang Ronghai Technology Co ltd filed Critical Shenzhen Shifang Ronghai Technology Co ltd
Priority to CN202310368829.6A priority Critical patent/CN116455851A/en
Publication of CN116455851A publication Critical patent/CN116455851A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages

Landscapes

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

Abstract

The embodiment of the invention discloses a message pushing method, electronic equipment and a storage medium. The method comprises the following steps: responding to a login operation instruction of a batch of users to generate user tokens corresponding to the instant messaging accounts; when a login success instruction of the instant messaging account is received, account identification information corresponding to the instant messaging account respectively is determined; monitoring a messaging event of a user under the identification information of each account; and sending the user token, the messaging event and the account identification information to a cloud server to acquire a corresponding message processing instruction. According to the embodiment of the invention, the plug-in login account is used for monitoring the messaging event of the user under each instant messaging account, the user token, the messaging event and the account identification information are sent to the cloud server, and the corresponding message processing instructions are automatically acquired, so that one client side can simultaneously operate a plurality of communication accounts, the messaging events of different users can automatically send different message processing instructions, the manpower and time consumption is reduced, and the message sending efficiency is improved.

Description

Message pushing method, electronic equipment and storage medium
Technical Field
The present invention relates to the field of big data technologies, and in particular, to a message pushing method, an electronic device, and a storage medium.
Background
With the popularity of WeChat public signals, weChat enterprise signals are also receiving increasing attention. The Tencel corporation further upgrades on the basis of the WeChat enterprise signals, enterprise WeChat with similar WeChat functions is provided, the enterprise WeChat provides APIs for address book synchronization, application management, message pushing and the like, and an administrator can use the APIs to access more personalized office applications for the enterprise.
However, when a worker uses an enterprise WeChat to communicate with a client, the worker can only log in one enterprise WeChat account number by using one computer, can only manage the client of one enterprise WeChat account number, cannot operate a plurality of enterprise WeChat at the same time by one computer, and manually sends marketing messages to the client through chat content when replying to client messages, so that the efficiency is low, and a great amount of time is wasted on meaningless actions.
Disclosure of Invention
In view of this, the present invention provides a message pushing method, device, electronic equipment and storage medium, which can enable a PC end to operate multiple time communication accounts simultaneously, so as to automatically send corresponding message processing instructions to message receiving and sending events generated by different users under the multiple time communication accounts, reduce manpower and time consumption, and improve the efficiency of message sending.
According to an aspect of the present invention, an embodiment of the present invention provides a message pushing method, applied to a client plug-in, the method including:
responding to login operation instructions of batch users, and generating user tokens corresponding to at least two instant messaging accounts;
when a login success instruction of the at least two instant messaging accounts is received, account identification information corresponding to the at least two instant messaging accounts respectively is determined;
monitoring the message receiving and transmitting event of the user under the account identification information;
and sending the user token, the messaging event and the account identification information to a cloud server to acquire a message processing instruction of the cloud server based on the user token, the messaging event and the account identification information.
According to another aspect of the present invention, an embodiment of the present invention further provides a message pushing method, applied to a cloud server, where the method includes:
receiving a target file sent by a plug-in a client, and analyzing the target file to obtain user tokens of at least two instant messaging accounts, instant messaging account identification information and a message receiving and sending event of each user under the instant messaging account identification information;
Searching a callback interface address corresponding to a pre-configured service server according to the user token and the instant messaging account identification information;
and transmitting the message receiving and transmitting event of each instant messaging account identification information to the service server through the callback interface address, so that the service server sends corresponding message processing instructions to a target user in real time or at fixed time according to the message type corresponding to the message receiving and transmitting event.
According to another aspect of the present invention, an embodiment of the present invention further provides a message pushing device, where the device is applied to a client plug-in, and the device includes:
the generation module is used for responding to login operation instructions of batch users and generating user tokens corresponding to at least two instant messaging accounts;
the determining module is used for determining account identification information corresponding to the at least two instant messaging accounts respectively when receiving a login success instruction of the at least two instant messaging accounts;
the event monitoring module is used for monitoring the messaging events of the user under the account identification information;
and the pushing module is used for sending the user token, the messaging event and the account identification information to a cloud server so as to acquire a message processing instruction of the cloud server based on the user token, the messaging event and the account identification information.
According to another aspect of the present invention, an embodiment of the present invention further provides a message pushing device, where the device is applied to a cloud server, and the device includes:
the analysis module is used for receiving a target file sent by the plug-in the client, and analyzing the target file to obtain user tokens of at least two instant messaging accounts, instant messaging account identification information and message receiving and sending events of each user under the instant messaging account identification information;
the searching module is used for searching callback interface addresses corresponding to a pre-configured service server according to the user token and the instant messaging account identification information;
and the processing instruction acquisition module is used for transmitting the message receiving and sending event of the instant messaging account identification information to the service server through the callback interface address so that the service server sends corresponding message processing instructions to a target user in real time or at fixed time according to the message type corresponding to the message receiving and sending event.
According to another aspect of the present invention, an embodiment of the present invention further provides an electronic device, where the terminal device includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the message pushing method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, an embodiment of the present invention further provides a computer readable storage medium, where computer instructions are stored, where the computer instructions are configured to cause a processor to implement a message pushing method according to any of the embodiments of the present invention.
According to the embodiment of the invention, at least two instant messaging accounts can be logged in through the client plug-in, the messaging event of the user under each instant messaging account is monitored, the user token, the messaging event and the account identification information are sent to the cloud server, and the message processing instruction corresponding to the messaging event is automatically acquired, so that one PC (personal computer) end can simultaneously operate a plurality of time communication accounts, the corresponding message processing instruction is automatically sent to the messaging event generated by different users under the plurality of time communication accounts, the consumption of manpower and time is reduced, and the efficiency of message sending is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a message pushing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another message pushing method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another message pushing method according to an embodiment of the present invention;
fig. 4 is a schematic system structure diagram of a message pushing method according to an embodiment of the present invention;
FIG. 5 is a block diagram illustrating a message pushing device according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating a message pushing device according to an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the term "object" and the like in the description of the present invention and the claims and the above drawings 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 invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In an embodiment, fig. 1 is a flowchart of a message pushing method according to an embodiment of the present invention, where the embodiment is applicable to a situation when pushing a messaging event of a user under at least two instant messaging accounts. The method may be performed by a message pushing device, which may be implemented in hardware and/or software, which may be configured in an electronic device.
As shown in fig. 1, the message pushing method applies a client plug-in, and the client plug-in is pre-installed on a client, where the client includes but is not limited to an instant messaging client, an exemplary enterprise WeChat client, a WeChat client, and the like, and the specific steps of the message pushing method in this embodiment include:
s110, responding to login operation instructions of batch users, and generating user tokens corresponding to at least two instant messaging accounts.
Wherein, the login operation instruction refers to one or more related operation instructions of the user login client plug-in. The instant messaging account number may be understood as an application account number that may be used for instant messaging with a user, and may include, but is not limited to, enterprise WeChat, QQ, and other instant messaging applications. The user TOKEN may also be called as user TOKEN, which refers to the user TOKEN corresponding to all instant messaging accounts under the client plug-in when logging in the client plug-in, that is, the user TOKEN corresponding to all instant messaging accounts under one plug-in is the same.
In this embodiment, a client plug-in of a client instant account developed by a developer may be installed on each client, the client plug-in supports logging in at least two instant communication accounts on a computer, the client plug-in may log in by using a login account and a password of the client plug-in, after the client plug-in is successfully logged in, a user token identifying that the client plug-in logs in may be generated, the user tokens corresponding to all instant accounts under the client plug-in are the same, the user tokens may distinguish the client plug-ins to which the instant account belongs, and it should be noted that the user token may be carried and sent to a cloud service when the client plug-in communicates with the cloud server. The staff can click a login button for logging in the client plug-in, namely a login interface of the instant messaging account installed on the client can be aroused, and an enterprise WeChat login interface is exemplified.
S120, when a login success instruction of at least two instant messaging accounts is received, account identification information corresponding to the at least two instant messaging accounts respectively is determined.
The account identification information may be understood as account identification information corresponding to the instant messaging account, and the account identification information may be in a character string form or an integer form, which is not limited herein.
In this embodiment, each instant messaging account corresponds to a unique account identification information, and the account identification information may correspond to a plurality of users, which may be understood that each instant messaging account corresponds to a unique identification information for identifying the instant messaging account, each instant messaging account corresponds to a plurality of users, and each user under the instant messaging account corresponds to the same account identification information.
In this embodiment, when a login success instruction of at least two instant messaging accounts is received, enterprise identifiers and account identifiers respectively corresponding to the instant messaging accounts can be generated through a related encryption technology to generate account identifier information respectively corresponding to the instant messaging accounts; in some embodiments, the corresponding account identification information may be determined by acquiring the enterprise information and the related registration record when the enterprise registers the instant messaging account, and determining the corresponding account identification information according to the enterprise related information and the registration record.
S130, monitoring a messaging event of the user under the identification information of each account.
The messaging event may be understood as a messaging event of each user corresponding to each instant messaging account, and of course, the messaging event may include a messaging event received by a user and a messaging event sent by the user.
In this embodiment, since a plurality of instant messaging accounts are logged in through the client plug-in, each instant messaging account corresponds to corresponding account identification information, and correspondingly, for each user under each instant messaging account, corresponding user identification information is also corresponding to each user, where the user identification information is unique identification information of the user, which user is a messaging event can be determined through the user identification information, and the user identification information can be determined through personal information of the user and a user behavior log to determine the identification information of the user, or can be determined through other manners, and the embodiment is not limited herein.
In this embodiment, the client plug-in may capture packets of messaging events of each user corresponding to at least two instant messaging accounts respectively in a preset capture packet manner, and use capture packet information obtained by capturing packets as a result of monitoring messaging events of the user under the identification information of each account; in some embodiments, the client plug-in may also send a monitoring request to each user corresponding to each account identifier, and monitor a corresponding messaging event at each user location according to the monitoring request. It should be noted that, the messaging event in this embodiment may include different message types, and the message types corresponding to the messaging event may include, but are not limited to, a user consultation message type, a user group pulling type, a user active friend adding type, a group advertisement type, a setting remark, a setting tag, and the like.
And S140, transmitting the user token, the messaging event and the account identification information to the cloud server to acquire a message processing instruction of the cloud server based on the user token, the messaging event and the account identification information.
Where message processing instructions may be understood as message processing instructions corresponding to each user messaging event. In this embodiment, the message processing instruction at least includes: the method comprises the steps of identifying information of instant messaging accounts, identifying information corresponding to target users under the instant messaging accounts and processing modes of the target users, wherein the processing modes at least comprise: sending welcome, sending marketing information, setting notes, and setting tags.
In this embodiment, the client plug-in may package and send the user token, the messaging event and the account identification information to the cloud server, the cloud server receives the package file sent by the client plug-in the client, analyzes the package file to obtain the corresponding user token, the messaging event and the account identification information, searches a pre-stored callback interface address of the service server in the cloud server according to the user token and the account identification information, sends the analyzed package file to the service server through the callback interface address, the service server receives the package file sent by the cloud server, stores the package file in the database, can tag the user according to the message type corresponding to the messaging event in the package file, sends a message processing instruction corresponding to the messaging event, searches the corresponding login client plug-in the cloud server according to the unique account identification information of the instant messaging account, and sends the message processing instruction to the client plug-in, so that the client plug-in controls instant messaging to send the message to the target user.
According to the technical scheme, at least two instant messaging accounts can be logged in through the client plug-in, messaging events of users under the instant messaging accounts are monitored, user tokens, the messaging events and account identification information are sent to the cloud server, and message processing instructions corresponding to the messaging events are automatically acquired, so that one PC (personal computer) end can simultaneously operate a plurality of time communication accounts, corresponding message processing instructions can be automatically sent to the messaging events generated by different users under the time communication accounts, consumption of manpower and time is reduced, and message sending efficiency is improved.
In an embodiment, the method further comprises:
and receiving a message processing instruction forwarded by the cloud server, and searching a target user under a corresponding instant messaging account according to the message processing instruction to process the message.
In this embodiment, when receiving the message processing instruction forwarded by the cloud server, the client plug-in may further search the target user under the corresponding instant messaging account according to the message processing instruction to perform message processing. In some embodiments, the message processing instructions include at least: the method comprises the steps of identifying information of instant messaging accounts, identifying information corresponding to target users under the instant messaging accounts and processing modes of the target users, wherein the processing modes at least comprise: sending welcome, sending marketing information, setting notes, and setting tags. Specifically, by way of example, a message of a friend adding type forwarded by a cloud server is received, and a client plug-in unit can directly find a message of a welcome message sent to a user under a corresponding enterprise WeChat through identification information of each enterprise WeChat account and identification information of the user.
In an embodiment, fig. 2 is a flowchart of another message pushing method according to an embodiment of the present invention, where account identification information corresponding to at least two instant messaging accounts is determined based on the above embodiments; monitoring a messaging event of a user under the identification information of each account; the user token, the messaging event and the account identification information are sent to the cloud server for further refinement.
As shown in fig. 2, the message pushing method in this embodiment is applied to a client plug-in, and specifically may include the following steps:
s210, responding to login operation instructions of batch users, and generating user tokens corresponding to at least two instant messaging accounts.
S220, when a login success instruction of at least two instant messaging accounts is received, enterprise identifiers and account identifiers corresponding to the instant messaging accounts are obtained, and the enterprise identifiers and the account identifiers are formed into identification parameter information.
The enterprise identifier may be understood as a unique identifier within the enterprise, by using a unique coded (Identity document, ID) number that is custom to the enterprise. The account ID may be understood as an account ID of the enterprise corresponding to the instant messaging account.
In this embodiment, a worker logs in a plurality of instant messaging accounts through a code scanning mode, a mobile phone number verification mode, an account password login mode and the like, when a client plug-in receives a login success instruction of at least two instant messaging accounts, an enterprise identifier and an account identifier corresponding to each instant messaging account respectively can be obtained, the enterprise identifier and the account identifier form identification parameter information corresponding to each instant messaging account respectively, and the identification parameter information is generated into unique account identification information corresponding to each instant messaging account respectively through a corresponding encryption mode.
S230, generating account identification information corresponding to each instant messaging account respectively according to the identification parameter information by the MD5 encryption technology.
The MD5 encryption technique refers to an information summarization algorithm, which can generate a 128-bit (16-byte) hash value, and can be used to ensure that the information transmission is completely consistent.
In this embodiment, the identification parameter information corresponding to each instant messaging account may be generated by using an MD5 encryption technology to generate account identification information corresponding to each instant messaging account. Each instant messaging account corresponds to unique account identification information, and the account identification information is reported to the cloud server and stored.
S240, capturing packets of the messaging events of each user corresponding to the at least two instant messaging accounts according to a preset capturing packet mode so as to obtain corresponding capturing packet information.
The preset packet capturing mode refers to a preset packet capturing tool, so that the packet capturing tool is used for capturing information, and the fact that the captured data packet is analyzed can be understood that useful information can be obtained. Exemplary, the preset packet grabbing manner may include, but is not limited to, a packet grabbing tool such as a wire, a switch, an http watch, an ipol, and the like.
In this embodiment, the packet capturing may be performed on the messaging event of each user corresponding to the at least two instant messaging accounts according to a packet capturing tool such as a wire, a switch, an http watch, an ipool, etc., so as to obtain corresponding packet capturing information; in some embodiments, the packet capturing information at least includes a list formed by identification information of an instant messaging account, user identification information of a corresponding user under each instant messaging account, and a messaging event of each user.
S250, taking the packet grabbing information as a result file of monitoring.
In this embodiment, the identification information of the instant messaging account, the user identification information of the corresponding user under each instant messaging account, and the messaging event of each user may be formed into corresponding list information, so as to be used as a result file of packet capturing and monitoring.
S260, searching the messaging events corresponding to the account identification information.
In this embodiment, the traversing searching or searching for the message event received by the user and the message event sent out by the user corresponding to each user under each account identification information may be performed according to a certain order, so as to classify the message event received by the user and the message event sent out by the user.
S270, classifying the messaging events according to the message types to obtain classification results.
In this embodiment, the message event received by the user of each user and the message event sent out may be classified according to the message type of the message sending and receiving event, so as to obtain a classification result. In this embodiment, the message types include at least: consultation message type, group pulling type, active friend adding type, group sending notice type, remark setting and label setting. For example, after receiving notification of adding friends, the adding friends' information needs to be stored in a database, and through the messaging event, welcome information is sent to the corresponding target user through a callback interface.
S280, forming a target file by the classification result under the corresponding account identification information and the user token, and sending the target file to the cloud server to acquire a message processing instruction of the cloud server based on the user token, the message receiving and sending event and the account identification information.
The target file refers to a file to be sent to the cloud server, and the target file corresponds to a classification result and a user token under the account identification information.
In this embodiment, the client plug-in unit forms a target file from the classification result under the corresponding account identification information and the user token, and sends the target file to the cloud server, the cloud server receives the target file sent by the client plug-in unit, analyzes the target file to obtain user tokens of at least two instant messaging accounts, the instant messaging account identification information and the messaging event of each user under each instant messaging account identification information, searches a callback interface address corresponding to a pre-configured service server according to the user tokens and the instant messaging account identification information, sends the messaging event of each instant messaging account identification information to the service server through the callback interface address, after receiving the messaging event of each instant messaging account identification information sent by the cloud server, stores the messaging event in the database, sends corresponding message processing instructions to the target user in real time or at fixed time according to the message type corresponding to the messaging event, finds the corresponding client plug-in unit through the corresponding instant messaging account identification information, and controls the client plug-in unit to automatically send messages to the target user. It should be noted that, the message processing instruction includes identification information of the instant messaging account, identification information of the user and a corresponding processing mode, where the processing mode at least includes: sending welcome, sending marketing information, setting notes, and setting tags. In addition, the service server can be used for extracting the message receiving and transmitting event stored in the database at regular time, labeling the target user according to the message receiving and transmitting event and adding corresponding remark information, so that batch remark and label setting for the client can be realized
According to the technical scheme, when a login success instruction of at least two instant messaging accounts is received, enterprise identifications and account identifications corresponding to the instant messaging accounts respectively are obtained, the enterprise identifications and the account identifications are formed into identification parameter information, the account identification information corresponding to the instant messaging accounts respectively is generated according to the MD5 encryption technology, the message receiving and sending events of each user corresponding to the at least two instant messaging accounts respectively are wrapped according to a preset wrapping mode, so that corresponding wrapping information is obtained, the message receiving and sending events corresponding to the account identification information respectively are searched, the message receiving and sending events are classified according to message types to obtain classification results, the classification results corresponding to the account identification information and user tokens form target files, the target files are sent to a cloud server, so that the process of a salesperson is simplified based on message processing instructions of user tokens, message receiving and sending events and identification information, the efficiency is improved, meanwhile, the fact that one PC end simultaneously operates a plurality of time-consuming communication can be further achieved, and the message receiving and sending corresponding message receiving and sending events generated by different users under the time-consuming operation accounts are achieved.
In an embodiment, fig. 3 is a flowchart of another message pushing method according to an embodiment of the present invention, where the embodiment is applicable to a situation when pushing a messaging event of a user under at least two instant messaging accounts. The method may be performed by a message pushing device, which may be implemented in hardware and/or software, which may be configured in an electronic device.
As shown in fig. 3, the message pushing method, which uses a cloud server, specifically includes the following steps:
s310, receiving a target file sent by a plug-in a client, and analyzing the target file to obtain user tokens of at least two instant messaging accounts, instant messaging account identification information and a message receiving and sending event of each user under the instant messaging account identification information.
S320, searching a callback interface address corresponding to the pre-configured service server according to the user token and the instant messaging account identification information.
S330, the message receiving and sending event of each instant messaging account identification information is transmitted to the service server through the callback interface address, so that the service server sends corresponding message processing instructions to the target user in real time or at fixed time according to the message type corresponding to the message receiving and sending event.
In an embodiment, in order to better understand a message pushing method, fig. 4 is a schematic diagram of a system structure of a message pushing method according to an embodiment of the present invention, in this embodiment, a relationship among a pc plug-in installed at a client, a cloud server and a service server is further described, and in this embodiment, an instant messaging account is taken as an enterprise WeChat account as an example. The PC plug-in the embodiment is the client plug-in the embodiment, one PC plug-in is developed, and one PC is supported to log in a plurality of enterprise WeChat accounts.
In the embodiment, a PC (personal computer) end is provided with a PC plug-in and an enterprise WeChat client, and after the PC plug-in is successfully logged in, an enterprise WeChat login interface arranged on a computer can be aroused to log in at least two enterprise WeChat accounts; receiving login success information of at least two enterprise WeChat accounts, generating corresponding enterprise WeChat account identification information according to MD5 encryption technology and ID information of each enterprise WeChat account, monitoring a message event generated under each WeChat account identification information, and sending enterprise WeChat account identification information corresponding to each enterprise WeChat account and a message event forming file to a cloud server; in this embodiment, after monitoring a message event, a PC plug-in unit transmits the monitored message event to a middle server according to a type after classifying, the middle server analyzes the transmitted message event to obtain an enterprise WeChat account corresponding to the message event and a PC plug-in login user TOKEN corresponding to the enterprise WeChat account, and stores the enterprise WeChat account, and then the PC plug-in login user TOKEN can search a callback address of a corresponding service server preset in the middle server according to the PC plug-in login user TOKEN, send the message event to the service server through the callback address, receive the message receiving and sending event of each enterprise WeChat account identification information sent by a cloud server, store the message receiving event in a database, find a corresponding PC plug-in unit according to the identification information of each enterprise WeChat account, transmit a processing instruction to a PC plug-in unit pre-installed in a client, so that the PC plug-in unit controls the enterprise WeChat account to automatically send a message to a target user, and send a corresponding message processing instruction to the target user in real time or at a fixed time according to a message type corresponding to the message receiving and sending event.
In an embodiment, fig. 5 is a block diagram of a message pushing device according to an embodiment of the present invention, where the device is suitable for a situation when a user sends a message event under at least two instant messaging accounts, and the device may be implemented by hardware/software. The message pushing method can be configured in the electronic equipment to realize the message pushing method in the embodiment of the invention. As shown in fig. 5, the apparatus is applied to a client plug-in, and the apparatus includes: a generation module 510, a determination module 520, an event listening module 530, and a push module 540.
The generating module 510 is configured to generate user tokens corresponding to at least two instant messaging accounts in response to a login operation instruction of a batch of users;
the determining module 520 is configured to determine account identification information corresponding to the at least two instant messaging accounts respectively when receiving a login success instruction of the at least two instant messaging accounts;
an event monitoring module 530, configured to monitor a messaging event of a user under each account identification information;
the pushing module 540 is configured to send the user token, the messaging event, and the account identification information to a cloud server, so as to obtain a message processing instruction of the cloud server based on the user token, the messaging event, and the account identification information.
According to the embodiment of the invention, the event monitoring module can log in at least two instant messaging accounts through the client plug-in, monitor the messaging event of the user under each instant messaging account, and the pushing module sends the user token, the messaging event and the account identification information to the cloud server and automatically acquires the message processing instruction corresponding to the messaging event, so that one PC (personal computer) end can simultaneously operate a plurality of time communication accounts, and automatically send the corresponding message processing instruction to the messaging event generated by the user under the plurality of time communication accounts, different users can send different message processing instructions, the efficiency of message sending is improved, and the consumption of manpower and time is reduced.
In one embodiment, the determining module 520 includes:
the acquisition unit is used for acquiring enterprise identifications and account identifications corresponding to the instant messaging accounts respectively, and forming identification parameter information by the enterprise identifications and the account identifications;
the identification generation unit is used for generating account identification information corresponding to each instant messaging account respectively according to each identification parameter information by using the MD5 encryption technology, wherein each instant messaging account corresponds to one unique account identification information.
In one embodiment, the event listening module 530 includes:
the packet capturing unit is used for capturing packets of the messaging events of each user corresponding to the at least two instant messaging accounts respectively according to a preset packet capturing mode so as to obtain corresponding packet capturing information;
and the file determining unit is used for taking the packet capturing information as a result file of monitoring.
In an embodiment, the packet capturing information at least includes identification information of an instant messaging account, user identification information of a corresponding user under each instant messaging account, and a list formed by messaging events of each user.
In one embodiment, the pushing module 540 includes:
the searching unit is used for searching the messaging events corresponding to the account identification information respectively;
the classifying unit is configured to classify the messaging event according to a message type to obtain a classification result, where the message type at least includes: consultation message type, group pulling type, active friend adding type, group sending bulletin type, remark setting and label setting;
and the sending unit is used for forming a target file by the classification result and the user token under the corresponding account identification information and sending the target file to the cloud server.
In an embodiment, the apparatus further comprises:
and receiving the message processing instruction forwarded by the cloud server, and searching a target user under a corresponding instant messaging account according to the message processing instruction to process the message.
In one embodiment, the message processing instruction at least includes: the method comprises the steps of identifying information of the instant messaging account, identifying information corresponding to a target user under each instant messaging account and processing modes of the target user, wherein the processing modes at least comprise: sending welcome, sending marketing information, setting notes, and setting tags.
In an embodiment, fig. 6 is a block diagram of a message pushing device according to an embodiment of the present invention, where the device is suitable for a situation when a user sends and receives message events under at least two instant messaging accounts, and the device may be implemented by hardware/software. The message pushing method can be configured in the electronic equipment to realize the message pushing method in the embodiment of the invention. As shown in fig. 6, the apparatus is applied to a cloud server, and the apparatus includes: parsing module 610, searching module 620, processing instruction acquisition module 630.
The parsing module 610 is configured to receive a target file sent by a plug-in a client, and parse the target file to obtain user tokens of at least two instant messaging accounts, instant messaging account identification information, and a messaging event of each user under each instant messaging account identification information;
A searching module 620, configured to search a callback interface address corresponding to a pre-configured service server according to the user token and the instant messaging account identification information;
the processing instruction obtaining module 630 is configured to transmit a message receiving and sending event of each instant messaging account identifier information to the service server through the callback interface address, so that the service server sends a corresponding message processing instruction to a target user in real time or at a fixed time according to a message type corresponding to the message receiving and sending event.
In an embodiment, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Terminal devices may also represent various forms of mobile devices such as personal digital assistants, cellular telephones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the terminal device 10 can also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the terminal device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the message pushing method.
In some embodiments, the message pushing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the terminal device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the message pushing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the message pushing method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable message pushing device such that the computer programs, when executed by the processor, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a terminal device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the terminal device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A message pushing method, applied to a client plug-in, the method comprising:
responding to login operation instructions of batch users, and generating user tokens corresponding to at least two instant messaging accounts;
when a login success instruction of the at least two instant messaging accounts is received, account identification information corresponding to the at least two instant messaging accounts respectively is determined;
monitoring the message receiving and transmitting event of the user under the account identification information;
And sending the user token, the messaging event and the account identification information to a cloud server to acquire a message processing instruction of the cloud server based on the user token, the messaging event and the account identification information.
2. The method according to claim 1, wherein the determining account identification information corresponding to the at least two instant messaging accounts respectively includes:
acquiring enterprise identifications and account identifications corresponding to the instant messaging accounts respectively, and forming identification parameter information by the enterprise identifications and the account identifications;
and generating account identification information corresponding to each instant messaging account respectively according to the identification parameter information by using an MD5 encryption technology, wherein each instant messaging account corresponds to unique account identification information.
3. The method according to claim 1, wherein monitoring the messaging event of each user under each account identification information comprises:
the message receiving and sending events of each user corresponding to the at least two instant messaging accounts are subjected to packet capturing according to a preset packet capturing mode, so that corresponding packet capturing information is obtained;
And taking the packet capturing information as a monitored result file.
4. The method of claim 3, wherein the packet capturing information at least includes a list composed of identification information of an instant messaging account, user identification information of a corresponding user under each instant messaging account, and messaging events of each user.
5. The method of claim 1, wherein the sending the user token, the messaging event, and the account identification information to a cloud server comprises:
searching for messaging events corresponding to the account identification information respectively;
classifying the messaging events according to message types to obtain classification results, wherein the message types at least comprise: consultation message type, group pulling type, active friend adding type, group sending bulletin type, remark setting and label setting;
and forming a target file by the classification result and the user token under the corresponding account identification information, and sending the target file to the cloud server.
6. The method according to claim 1, characterized in that the method further comprises:
and receiving the message processing instruction forwarded by the cloud server, and searching a target user under a corresponding instant messaging account according to the message processing instruction to process the message.
7. The method according to claim 1, wherein the message processing instruction at least includes: the method comprises the steps of identifying information of the instant messaging account, identifying information corresponding to a target user under each instant messaging account and processing modes of the target user, wherein the processing modes at least comprise: sending welcome, sending marketing information, setting notes, and setting tags.
8. A message pushing method, which is applied to a cloud server, the method comprising:
receiving a target file sent by a client plug-in, and analyzing the target file to obtain user tokens of at least two instant messaging accounts, instant messaging account identification information and a message receiving and sending event of each user under the instant messaging account identification information;
searching a callback interface address corresponding to a pre-configured service server according to the user token and the instant messaging account identification information;
and transmitting the message receiving and transmitting event of each instant messaging account identification information to the service server through the callback interface address, so that the service server sends corresponding message processing instructions to a target user in real time or at fixed time according to the message type corresponding to the message receiving and transmitting event.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the message pushing method of any of claims 1-7 or 8.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the message pushing method of any of claims 1-7 or 8 when executed.
CN202310368829.6A 2023-04-03 2023-04-03 Message pushing method, electronic equipment and storage medium Pending CN116455851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310368829.6A CN116455851A (en) 2023-04-03 2023-04-03 Message pushing method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310368829.6A CN116455851A (en) 2023-04-03 2023-04-03 Message pushing method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116455851A true CN116455851A (en) 2023-07-18

Family

ID=87125022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310368829.6A Pending CN116455851A (en) 2023-04-03 2023-04-03 Message pushing method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116455851A (en)

Similar Documents

Publication Publication Date Title
US20140297727A1 (en) Method, system, server and client device for message sychronizing
CN111400378A (en) Real-time log display method and device based on ElasticSearch, computer equipment and medium
US11244153B2 (en) Method and apparatus for processing information
CN111885007B (en) Information tracing method, device, system and storage medium
CN109753424B (en) AB test method and device
US11005797B2 (en) Method, system and server for removing alerts
WO2016037489A1 (en) Method, device and system for monitoring rcs spam messages
CN114390452B (en) Message sending method and related equipment
CN116455851A (en) Message pushing method, electronic equipment and storage medium
CN115883187A (en) Method, device, equipment and medium for identifying abnormal information in network traffic data
CN113656731A (en) Advertisement page processing method and device, electronic equipment and storage medium
CN113780318B (en) Method, device, server and medium for generating prompt information
CN113536031A (en) Video searching method and device, electronic equipment and storage medium
CN112580762A (en) Dynamic two-dimensional code and identification method and identification device thereof
CN111385136B (en) Method and device for determining user communication identifier
CN113726872B (en) Method, device, equipment and medium for filtering promotion information
CN116938999B (en) GRPC-based multiparty information transmission and state synchronization method, system and medium
US11849006B2 (en) Method for reporting asynchronous data, electronic device and storage medium
CN114760256B (en) Data processing method, device, equipment and storage medium
CN113472631B (en) Reminding information processing method and device, electronic equipment and storage medium
CN113079188B (en) Client identification processing method, device, terminal, server, system and medium
CN117998038A (en) Method and device for managing network video recorder, electronic equipment and storage medium
CN116501968A (en) Method, device, electronic equipment and medium for subscribing internet of things data
CN115550926A (en) Electronic evidence obtaining method, system, device, equipment and storage medium
CN115426143A (en) Method, device, equipment and storage medium for identifying abnormal identity

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