CN115801715A - Message automatic sending method, device, medium and equipment based on instant messaging - Google Patents

Message automatic sending method, device, medium and equipment based on instant messaging Download PDF

Info

Publication number
CN115801715A
CN115801715A CN202211376648.XA CN202211376648A CN115801715A CN 115801715 A CN115801715 A CN 115801715A CN 202211376648 A CN202211376648 A CN 202211376648A CN 115801715 A CN115801715 A CN 115801715A
Authority
CN
China
Prior art keywords
preset
message
target
target user
user
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
CN202211376648.XA
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211376648.XA priority Critical patent/CN115801715A/en
Publication of CN115801715A publication Critical patent/CN115801715A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides an automatic message sending method, device, medium and equipment based on instant messaging, wherein the method comprises the following steps: acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types; acquiring a target preset message template with highest relevance degree with all user information corresponding to a target user based on different types of user information corresponding to the target user; selecting key information corresponding to a preset word slot in a target preset message template from user information, and filling the key information into the target preset message template to obtain a message to be sent; and sending the message to be sent to a client corresponding to the target user. By utilizing the method and the device, the favorite and the requirement of the target user are determined by collecting the latest image data of the target user and analyzing and summarizing the latest image data, and the appropriate message is pushed and sent to the target user in a targeted manner. So that different types of users can receive reasonable push messages.

Description

Message automatic sending method, device, medium and equipment based on instant messaging
Technical Field
The present application relates to the field of electronic communications technologies, and in particular, to a method, an apparatus, a medium, and a device for automatically sending a message based on instant messaging.
Background
In the instant messaging era, product information or greetings are common guest-touching modes of current chat tools, and in order to maintain or expand business cooperation, a business worker usually pushes the product information or greetings to newly added users or old users regularly. For example, when a customer adds a financial manager or adds a customer to the financial manager, product information or greetings are automatically triggered, and the product information or greetings are usually set by the financial manager in the background of the chat tool and are automatically sent under specific conditions after being uniformly configured in the background, but according to a common setting mode, the situation that the customer experience is poor is often caused, for example, a private customer is encountered, and if the customer is treated by a common customer, the lottery activity is sent to cause the customer to feel dislike and even complain.
Disclosure of Invention
The embodiment of the application provides an automatic message sending method, device, medium and equipment based on instant messaging, the method, device, medium and equipment based on instant messaging are used for automatically sending messages based on instant messaging, the favorite and the demand of a target user are determined by collecting the latest image data of the target user and analyzing and summarizing the image data, and the appropriate messages are sent to the target user in a targeted mode according to the favorite and the demand of the target user. The method and the device enable different types of users to receive reasonable push messages, and avoid the situation that the experience of the users is influenced because all the users receive the same push messages in the chat tool.
An aspect of an embodiment of the present application provides an automatic message sending method based on instant messaging, where the automatic message sending based on instant messaging includes:
acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types;
acquiring a target preset message template with highest relevance degree with all user information corresponding to the target user based on different types of user information corresponding to the target user;
selecting key information corresponding to a preset word slot in the target preset message template from the user information, and filling the key information into the target preset message template to obtain a message to be sent;
and when a preset trigger condition is met, sending the message to be sent to a client corresponding to the target user.
In the automatic message sending based on instant messaging according to the embodiment of the present application, the obtaining a target preset message template with highest relevance to all user information corresponding to the target user based on different types of user information corresponding to the target user includes:
judging whether preset keywords exist in all the user information based on different types of user information corresponding to the target user to obtain a judgment result;
and if the judgment result shows that the preset keyword exists, determining a target preset message template matched with the preset keyword from a database.
In the automatic sending of the instant messaging based message according to the embodiment of the present application, after the determination result is obtained, the method further includes:
and if the judgment result is that the preset keyword does not exist, selecting a general message template from a database as the target preset message template.
In the automatic sending of the message based on the instant messaging according to the embodiment of the present application, after the determination result is obtained, the method further includes:
and if the judgment result shows that a plurality of preset keywords exist, selecting at least one target keyword with a higher priority from the preset keywords according to a preset priority sorting rule, wherein the at least one target keyword is used for determining the target preset message template from a database.
In the automatic message sending based on instant messaging according to the embodiment of the present application, sending the message to be sent to the client corresponding to the target user when the preset trigger condition is met includes:
and if the preset trigger condition is configured to be triggered at regular time, sending the message to be sent to a corresponding client of the target user when the current time reaches a preset time.
In the automatic message sending based on instant messaging according to the embodiment of the present application, sending the message to be sent to the client corresponding to the target user when the preset trigger condition is met includes:
if the preset trigger condition is configured to contact a friend for the first time, when the target user is added as an instant messaging friend, adding a preset field for the message to be sent, and sending the message to the corresponding client of the target user.
In the automatic message sending based on instant messaging according to the embodiment of the present application, the method further includes:
and sending the message to be sent to a client corresponding to the target user in a preset display form, wherein the preset display form comprises one or more of characters, pictures and small programs.
Correspondingly, another aspect of the embodiments of the present application further provides an automatic message sending device based on instant messaging, where the automatic message sending device based on instant messaging includes:
the classification module is used for acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types;
the acquisition module is used for acquiring a target preset message template with highest relevance to all user information corresponding to the target user based on different types of user information corresponding to the target user;
the construction module is used for selecting key information corresponding to a preset word slot in the target preset message template from the user information and filling the key information into the target preset message template to obtain a message to be sent;
and the sending module is used for sending the message to be sent to the client corresponding to the target user when a preset trigger condition is met.
Accordingly, another aspect of the embodiments of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform automatic instant messaging based message sending as described above.
Correspondingly, another aspect of the embodiments of the present application further provides a terminal device, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions to perform automatic instant messaging based message sending as described above.
The embodiment of the application provides an instant messaging-based automatic message sending method, a device, a medium and equipment, wherein the method obtains current portrait data of a target user in real time, and carries out classification processing according to the current portrait data to obtain user information corresponding to different types; acquiring a target preset message template with highest relevance degree with all user information corresponding to the target user based on different types of user information corresponding to the target user; selecting key information corresponding to a preset word slot in the target preset message template from the user information, and filling the key information into the target preset message template to obtain a message to be sent; and when a preset trigger condition is met, sending the message to be sent to a client corresponding to the target user. By using the instant messaging-based automatic message sending method provided by the embodiment of the application, the favorite and the demand of the target user are determined by collecting the latest image data of the target user and analyzing and summarizing the latest image data, and the appropriate message is sent to the target user in a targeted manner according to the favorite and the demand of the target user. The method and the device enable different types of users to receive reasonable push messages, and avoid the situation that the experience of the users is influenced because all the users receive the same push messages in the chat tool.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart illustrating an automatic message sending method based on instant messaging according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of an automatic message sending apparatus based on instant messaging according to an embodiment of the present disclosure.
Fig. 3 is another schematic structural diagram of an automatic instant messaging-based message sending apparatus according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
It should be noted that the following is a brief introduction to the background of the present solution:
the scheme is mainly developed around the technical problem of 'how to avoid the condition that the contents of the push messages received by all users are the same, and the actual conditions of different clients are not distinguished, so that the experience of the users is influenced'. It can be understood that in the instant messaging era, product information or greetings are a common way of touching objects of current chat tools, and in order to maintain or expand business cooperation, a salesperson usually pushes product information or greetings to newly added users or old users at regular intervals. For example, when a customer adds a financial manager or adds a customer to the financial manager, product information or greetings are automatically triggered, and the product information or greetings are usually set by the financial manager in the background of the chat tool and are automatically sent under specific conditions after being uniformly configured in the background, but according to a common setting mode, the situation that the customer experience is poor is often caused, for example, a private customer is encountered, and if the customer is treated by a common customer, the lottery activity is sent to cause the customer to feel dislike and even complain.
In order to solve the above technical problem, an embodiment of the present application provides an automatic message sending method based on instant messaging. By utilizing the automatic message sending based on instant messaging provided by the embodiment of the application, the favorite and the requirement of the target user are determined by collecting the latest image data of the target user and analyzing and summarizing the image data, and the appropriate message is sent to the target user in a targeted manner according to the favorite and the requirement of the target user. The method and the device enable different types of users to receive reasonable push messages, and avoid the situation that the experience of the users is influenced because all the users receive the same push messages in the chat tool.
Referring to fig. 1, fig. 1 is a schematic flowchart of an instant messaging based automatic message sending method according to an embodiment of the present disclosure. The message based on instant messaging is automatically sent and applied to terminal equipment. Optionally, the terminal device is a terminal or a server. Optionally, the server is an independent physical server, or a server cluster or distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), big data and artificial intelligence platform. Optionally, the terminal is a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart voice interaction device, a smart home appliance, a vehicle-mounted terminal, and the like, but is not limited thereto.
In an embodiment, the method may comprise the steps of:
step 101, acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types.
The method comprises the steps of obtaining current portrait data of a target user through a business handling way, uploading the current portrait data to a big data platform, and carrying out classification processing according to the current portrait data to obtain user information corresponding to different types. The user information includes channel information, birthday data, tag data, browsing data, interaction information, hobbies and interests, etc., which are not limited herein. The liking and the demand of the target user can be quickly identified according to the acquired user information, and the historical portrait data of the user can be updated according to the current portrait data acquired in real time, so that the basis of the system for pushing the message is selected based on the latest portrait data of the target user.
And 102, acquiring a target preset message template with highest relevance to all user information corresponding to the target user based on different types of user information corresponding to the target user.
In this embodiment, based on different types of user information corresponding to a target user, whether a preset keyword exists is judged from all user information, and a judgment result is obtained; the preset keywords refer to keywords capable of reflecting user preferences or needs, such as "birthday is the current day" and "browsing a product more than N times".
And if the judgment result is that the preset keywords exist, determining a target preset message template matched with the preset keywords from the database.
And if the judgment result is that the preset keyword does not exist, selecting the universal message template from the database as a target preset message template. Wherein a generic message template refers to a generic template that is not specifically targeted to any customer, such as "you good, i am a customer manager of xx corporation, happy to serve you".
In some embodiments, if the determination result indicates that a plurality of preset keywords exist, at least one target keyword with a top priority is selected from the plurality of preset keywords according to a preset priority ranking rule, and the at least one target keyword is used for determining a target preset message template from the database. Ensuring that the target preset message template is uniquely determined.
103, selecting key information corresponding to a preset word slot in the target preset message template from the user information, and filling the key information into the target preset message template to obtain a message to be sent.
After the target preset message template corresponding to the target user is determined, key information which can represent the user identity in the user information can jump into a preset word slot of the target preset message template, and a message to be sent is obtained. In some embodiments, the message to be sent may be sent to a client corresponding to the target user in a preset display form, where the preset display form includes one or more of a text, a picture, and an applet.
And 104, sending the message to be sent to a client corresponding to the target user when a preset trigger condition is met.
If the preset trigger condition is configured to be triggered at regular time, the message to be sent is sent to the corresponding client of the target user when the current time reaches the preset time, and the automatic triggering message pushing operation is realized. It should be noted that, in this example, the target client generally refers to a non-first-contact friend, and only needs to select a corresponding target preset template to construct a message to be sent according to the preference and requirement of the target user. For example, if the user information is "browse a certain product more than N times", the detailed information (purchase plan or introduction information) related to the product is pushed to the target user.
If the preset trigger condition is configured to contact the friend for the first time, when the target user is added as the instant messaging friend, adding a preset field to the message to be sent, and then sending the message to the corresponding client of the target user. Since in this embodiment the target user refers to contacting friends for the first time, for politeness, a preset field needs to be added, for example, "you are, i am a customer manager of xx company, happy to serve you", and then a question is introduced.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, the instant messaging based automatic message sending method provided in the embodiment of the present application obtains the current portrait data of the target user in real time, and performs classification processing according to the current portrait data to obtain user information corresponding to different types; acquiring a target preset message template with highest correlation degree with all user information corresponding to the target user based on different types of user information corresponding to the target user; selecting key information corresponding to a preset word slot in the target preset message template from the user information, and filling the key information into the target preset message template to obtain a message to be sent; and when a preset trigger condition is met, sending the message to be sent to a client corresponding to the target user. By using the instant messaging-based automatic message sending method provided by the embodiment of the application, the favorite and the demand of the target user are determined by collecting the latest image data of the target user and analyzing and summarizing the latest image data, and the appropriate message is sent to the target user in a targeted manner according to the favorite and the demand of the target user. The method and the device enable different types of users to receive reasonable push messages, and avoid the situation that the experience of the users is influenced because all the users receive the same push messages in the chat tool.
The embodiment of the application also provides an automatic message sending device based on instant messaging, and the automatic message sending device based on instant messaging can be integrated in terminal equipment.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an automatic message sending device based on instant messaging according to an embodiment of the present disclosure. The instant messenger-based message automatic transmission apparatus 30 may include:
the classification module 31 is used for acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types;
an obtaining module 32, configured to obtain, based on different types of user information corresponding to the target user, a target preset message template with a highest correlation degree with all user information corresponding to the target user;
the construction module 33 is configured to select key information corresponding to a preset word slot in the target preset message template from the user information, and fill the key information into the target preset message template to obtain a message to be sent;
and the sending module 34 is configured to send the message to be sent to the client corresponding to the target user when a preset trigger condition is met.
In some embodiments, the obtaining module 32 is configured to determine whether a preset keyword exists in all the user information based on different types of user information corresponding to the target user, and obtain a determination result; and if the judgment result shows that the preset keywords exist, determining a target preset message template matched with the preset keywords from a database.
In some embodiments, the apparatus further includes a first determining module, configured to select a common message template from a database as the target preset message template if the determining result indicates that the preset keyword does not exist.
In some embodiments, the apparatus further includes a second determining module, configured to select, according to a preset priority ranking rule, at least one target keyword with a top priority from the preset keywords if the determining result indicates that a plurality of preset keywords exist, where the at least one target keyword is used to determine the target preset message template from a database.
In some embodiments, the sending module 34 is configured to send the message to be sent to the corresponding client of the target user when the current time reaches a preset time if the preset trigger condition is configured as a timing trigger.
In some embodiments, the sending module 34 is configured to, if the preset trigger condition is configured to contact a friend for the first time, add a preset field to the message to be sent and send the message to a corresponding client of the target user when the target user is added as an instant messaging friend.
In some embodiments, the apparatus further includes a display module, configured to send the message to be sent to a client corresponding to the target user in a preset display form, where the preset display form includes one or more of a text, a picture, and an applet.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the automatic message sending device 30 based on instant messaging provided in the embodiment of the present application, the classification module 31 is configured to obtain current portrait data of a target user in real time, and perform classification processing according to the current portrait data to obtain user information corresponding to different types; the obtaining module 32 is configured to obtain, based on different types of user information corresponding to the target user, a target preset message template with the highest correlation degree with all user information corresponding to the target user; the construction module 33 is configured to select key information corresponding to a preset word slot in the target preset message template from the user information, and fill the key information into the target preset message template to obtain a message to be sent; the sending module 34 is configured to send the message to be sent to the client corresponding to the target user when a preset trigger condition is met.
Referring to fig. 3, fig. 3 is another schematic structural diagram of an automatic instant messaging based message sending apparatus according to an embodiment of the present application, in which an automatic instant messaging based message sending apparatus 30 includes a memory 120, one or more processors 180, and one or more applications, where the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a classification module 31, an acquisition module 32, a construction module 33, and a transmission module 34. For example, the structures and connection relationships of the above components may be as follows:
the memory 120 may be used to store applications and data. The memory 120 stores applications containing executable code. The application programs may constitute various functional modules. The processor 180 executes various functional applications and data processing by running the application programs stored in the memory 120. Further, the memory 120 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 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the device and processes data by running or executing an application program stored in the memory 120 and calling data stored in the memory 120, thereby monitoring the entire device. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the application programs stored in the memory 120, thereby implementing various functions:
the classification instruction is used for acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types;
an obtaining instruction, configured to obtain, based on different types of user information corresponding to the target user, a target preset message template with the highest correlation degree with all user information corresponding to the target user;
a construction instruction, configured to select key information corresponding to a preset word slot in the target preset message template from the user information, and fill the key information into the target preset message template to obtain a message to be sent;
and sending an instruction, which is used for sending the message to be sent to a client corresponding to the target user when a preset trigger condition is met.
In some embodiments, the obtaining instruction is configured to determine whether a preset keyword exists in all the user information based on different types of user information corresponding to the target user, so as to obtain a determination result; and if the judgment result shows that the preset keywords exist, determining a target preset message template matched with the preset keywords from a database.
In some embodiments, the program further includes a first judgment instruction, configured to select a common message template from a database as the target preset message template if the judgment result indicates that the preset keyword does not exist.
In some embodiments, the program further includes a second determination instruction, configured to, if the determination result indicates that a plurality of preset keywords exist, select, according to a preset priority ranking rule, at least one target keyword with a top priority from the plurality of preset keywords, where the at least one target keyword is used to determine the target preset message template from a database.
In some embodiments, the sending instruction is configured to send the message to be sent to a corresponding client of the target user when a current time reaches a preset time if the preset trigger condition is configured as a timing trigger.
In some embodiments, the sending instruction is configured to, if the preset trigger condition is configured to contact a friend for the first time, add a preset field to the message to be sent and send the message to a corresponding client of the target user when the target user is added as an instant messaging friend.
In some embodiments, the program further includes a display instruction, configured to send the message to be sent to a client corresponding to the target user in a preset display form, where the preset display form includes one or more of a text, a picture, and an applet.
The embodiment of the application further provides the terminal equipment. The terminal equipment can be a server, a smart phone, a computer, a tablet computer and other equipment.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application, where the terminal device may be used to implement automatic instant messaging based message sending provided in the foregoing embodiment. The terminal device 1200 may be a smart phone or a tablet computer.
As shown in fig. 4, the terminal device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown in the figure), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown in the figure), and a power supply 190. Those skilled in the art will appreciate that the terminal device 1200 configuration shown in fig. 4 does not constitute a limitation of terminal device 1200, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be configured to store a software program and a module, such as a program instruction/module corresponding to an instant messaging-based message automatic transmission in the foregoing embodiment, and the processor 180 executes various functional applications and data processing by operating the software program and the module stored in the memory 120, and may automatically select a vibration alert mode to update data according to a current scene where the terminal device is located, so as to ensure that a scene such as a conference is not disturbed, ensure that a user can perceive an incoming call, and improve intelligence of the terminal device. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the terminal device 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch-sensitive display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using any suitable object or attachment such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch-sensitive surface 131 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects a touch direction 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, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphic user interfaces of the terminal apparatus 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 4, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal device 1200 may also include at least one sensor 150, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal device 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the terminal device 1200, detailed descriptions thereof are omitted.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal device 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 1200.
The terminal device 1200, through the transmission module 170 (e.g., wi-Fi module), may assist the user in e-mail, web browsing, streaming media access, etc., which provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the terminal device 1200, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal device 1200, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal device 1200 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Terminal device 1200 also includes a power supply 190 for powering the various components, which in some embodiments may be logically coupled to processor 180 via a power management system to manage power discharge and power consumption via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit 140 of the terminal device 1200 is a touch screen display, and the terminal device 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120 and configured to be executed by the one or more processors 180, and the one or more programs include instructions for:
the classification instruction is used for acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types;
an obtaining instruction, configured to obtain, based on different types of user information corresponding to the target user, a target preset message template with the highest correlation degree with all user information corresponding to the target user;
a construction instruction, configured to select key information corresponding to a preset word slot in the target preset message template from the user information, and fill the key information into the target preset message template to obtain a message to be sent;
and sending an instruction, configured to send the message to be sent to a client corresponding to the target user when a preset trigger condition is met.
In some embodiments, the obtaining instruction is configured to determine whether a preset keyword exists in all the user information based on different types of user information corresponding to the target user, so as to obtain a determination result; and if the judgment result shows that the preset keyword exists, determining a target preset message template matched with the preset keyword from a database.
In some embodiments, the program further includes a first judgment instruction, configured to select a common message template from a database as the target preset message template if the judgment result indicates that the preset keyword does not exist.
In some embodiments, the program further includes a second determination instruction, configured to, if the determination result indicates that a plurality of preset keywords exist, select, according to a preset priority ranking rule, at least one target keyword with a top priority from the plurality of preset keywords, where the at least one target keyword is used to determine the target preset message template from a database.
In some embodiments, the sending instruction is configured to send the message to be sent to a corresponding client of the target user when a current time reaches a preset time if the preset trigger condition is configured as a timing trigger.
In some embodiments, the sending instruction is configured to, if the preset trigger condition is configured to contact a friend for the first time, add a preset field to the message to be sent and send the message to a corresponding client of the target user when the target user is added as an instant messaging friend.
In some embodiments, the program further includes a display instruction, configured to send the message to be sent to a client corresponding to the target user in a preset display form, where the preset display form includes one or more of a text, a picture, and an applet.
The embodiment of the application also provides the terminal equipment. The terminal equipment can be equipment such as a smart phone and a computer.
As can be seen from the above, an embodiment of the present application provides a terminal device 1200, where the terminal device 1200 executes the following steps:
acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types;
acquiring a target preset message template with highest correlation degree with all user information corresponding to the target user based on different types of user information corresponding to the target user;
selecting key information corresponding to a preset word slot in the target preset message template from the user information, and filling the key information into the target preset message template to obtain a message to be sent;
and when a preset trigger condition is met, sending the message to be sent to a client corresponding to the target user.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the automatic message sending method based on instant messaging according to any of the embodiments.
It should be noted that, for the instant messaging based automatic message sending method described in this application, it can be understood by a person skilled in the art that all or part of the process for implementing the instant messaging based automatic message sending method according to the embodiment of this application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of a terminal device, and executed by at least one processor in the terminal device, and during the execution process, the process may include the process according to the embodiment of the instant messaging based automatic message sending method. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the automatic message sending device based on instant messaging in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The method, apparatus, medium, and device for automatically sending messages based on instant messaging according to the embodiments of the present application are described in detail above. The principle and the embodiment of the present application are explained by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An instant messaging-based message automatic sending method is characterized by comprising the following steps:
acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types;
acquiring a target preset message template with highest relevance degree with all user information corresponding to the target user based on different types of user information corresponding to the target user;
selecting key information corresponding to a preset word slot in the target preset message template from the user information, and filling the key information into the target preset message template to obtain a message to be sent;
and when a preset trigger condition is met, sending the message to be sent to a client corresponding to the target user.
2. The method for automatically sending messages according to claim 1, wherein the obtaining a target preset message template with highest correlation degree with all user information corresponding to the target user based on different types of user information corresponding to the target user comprises:
judging whether preset keywords exist in all the user information based on different types of user information corresponding to the target user to obtain a judgment result;
and if the judgment result shows that the preset keywords exist, determining a target preset message template matched with the preset keywords from a database.
3. The method for automatically sending messages according to claim 2, characterized in that after said obtaining the judgment result, the method further comprises:
and if the judgment result shows that the preset keyword does not exist, selecting a general message template from a database as the target preset message template.
4. The method for automatically sending messages according to claim 2, characterized in that after said obtaining the judgment result, the method further comprises:
and if the judgment result shows that a plurality of preset keywords exist, selecting at least one target keyword with a higher priority from the preset keywords according to a preset priority sorting rule, wherein the at least one target keyword is used for determining the target preset message template from a database.
5. The method for automatically sending a message according to claim 1, wherein the sending the message to be sent to the client corresponding to the target user when the preset trigger condition is met includes:
and if the preset trigger condition is configured to be triggered at regular time, sending the message to be sent to a corresponding client of the target user when the current time reaches a preset time.
6. The method for automatically sending a message according to claim 1, wherein the sending the message to be sent to the client corresponding to the target user when the preset trigger condition is met includes:
if the preset trigger condition is configured to contact a friend for the first time, when the target user is added as an instant messaging friend, adding a preset field to the message to be sent and sending the message to the corresponding client of the target user.
7. The message automatic transmission method according to claim 1, characterized in that the method further comprises:
and sending the message to be sent to a client corresponding to the target user in a preset display form, wherein the preset display form comprises one or more of characters, pictures and small programs.
8. An automatic message sending device based on instant messaging, characterized in that, the automatic message sending device based on instant messaging comprises:
the classification module is used for acquiring current portrait data of a target user in real time, and performing classification processing according to the current portrait data to obtain user information corresponding to different types;
the acquisition module is used for acquiring a target preset message template with highest relevance to all user information corresponding to the target user based on different types of user information corresponding to the target user;
the construction module is used for selecting key information corresponding to a preset word slot in the target preset message template from the user information and filling the key information into the target preset message template to obtain a message to be sent;
and the sending module is used for sending the message to be sent to the client corresponding to the target user when a preset trigger condition is met.
9. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform automatic instant messaging based messaging according to any of claims 1 to 7.
10. A terminal device comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading the instructions to perform the automatic instant messaging based message sending of any one of claims 1 to 7.
CN202211376648.XA 2022-11-04 2022-11-04 Message automatic sending method, device, medium and equipment based on instant messaging Pending CN115801715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211376648.XA CN115801715A (en) 2022-11-04 2022-11-04 Message automatic sending method, device, medium and equipment based on instant messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211376648.XA CN115801715A (en) 2022-11-04 2022-11-04 Message automatic sending method, device, medium and equipment based on instant messaging

Publications (1)

Publication Number Publication Date
CN115801715A true CN115801715A (en) 2023-03-14

Family

ID=85435584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211376648.XA Pending CN115801715A (en) 2022-11-04 2022-11-04 Message automatic sending method, device, medium and equipment based on instant messaging

Country Status (1)

Country Link
CN (1) CN115801715A (en)

Similar Documents

Publication Publication Date Title
CN111143005B (en) Application sharing method, electronic equipment and computer readable storage medium
CN108039963B (en) Container configuration method and device and storage medium
CN107391768B (en) Webpage data processing method, device and equipment and computer readable storage medium
US20170318061A1 (en) Method, device, and system for managing information recommendation
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN105630846B (en) Head portrait updating method and device
WO2018006841A1 (en) Qr code information transmission method, device and apparatus
CN106293738B (en) Expression image updating method and device
CN109495638B (en) Information display method and terminal
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
CN105227598B (en) Resource sharing method, device and system based on cloud storage
CN104660769B (en) A kind of methods, devices and systems for adding associated person information
JP6915074B2 (en) Message notification method and terminal
CN112749074A (en) Test case recommendation method and device
CN105631059B (en) Data processing method, data processing device and data processing system
CN111274463B (en) Information display method, device and storage medium based on IM contact person grouping setting
CN111142998B (en) Background application sharing method and electronic equipment
CN115828845A (en) Multimedia data viewing method, device, medium and equipment
CN110888572A (en) Message display method and terminal equipment
CN115801717A (en) Welcome language selection method, device, medium and equipment for chat tool
CN113268179B (en) Session message processing method, device, equipment and storage medium
CN115589432A (en) Message push management method, device, medium and equipment
CN106209601B (en) State update message pushing method and device
CN107798008B (en) Content pushing system, method and device
CN115065609A (en) B-end SaaS system hybrid deployment method and system

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