CN110636106B - Information pushing method and device, computer equipment and storage medium - Google Patents

Information pushing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110636106B
CN110636106B CN201910753911.4A CN201910753911A CN110636106B CN 110636106 B CN110636106 B CN 110636106B CN 201910753911 A CN201910753911 A CN 201910753911A CN 110636106 B CN110636106 B CN 110636106B
Authority
CN
China
Prior art keywords
information
identification code
product
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.)
Active
Application number
CN201910753911.4A
Other languages
Chinese (zh)
Other versions
CN110636106A (en
Inventor
吴昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910753911.4A priority Critical patent/CN110636106B/en
Publication of CN110636106A publication Critical patent/CN110636106A/en
Application granted granted Critical
Publication of CN110636106B publication Critical patent/CN110636106B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The present application relates to the field of business process optimization, and in particular, to an information pushing method and apparatus, a computer device, and a storage medium. The method comprises the following steps: receiving a session message sent by a user side; the session message carries a user identifier; extracting a product identification from the received session message; acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code; and inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, and pushing the push message to a user side for display. By adopting the method, the aim of inquiring the information related to the user can be fulfilled while consulting the problem, and the user corresponding to the user side does not need to check the information related to the user through other ways, so that the effectiveness of the robot customer service is improved.

Description

Information pushing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to an information pushing method and apparatus, a computer device, and a storage medium.
Background
With the rapid development of internet technology and the improvement of service awareness of people, network customer service has become popular in various industries.
At present, a robot customer service session belongs to a pre-programmed mode, generally, a problem input by a user is identified through a robot customer service end, contents matched with the problem input by the user are inquired from a pre-established database, and the contents obtained through matching are sent to a user end to respond. However, when a user consults a problem with the robot service end, the robot service end only performs simple problem solution and cannot perform related information query, such as business information query, that is, the robot service end cannot directly push information related to the user to a user end, which causes the effectiveness of the robot service to be reduced.
Disclosure of Invention
In view of the above, it is necessary to provide an information push method, an information push apparatus, a computer device, and a storage medium, which can improve the effectiveness of a robot customer service.
An information pushing method, the method comprising:
receiving a session message sent by a user side; the session message carries a user identifier;
extracting a product identification from the received conversation message;
acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code;
and querying a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, and pushing the push message to the user side for display.
In one embodiment, said extracting the product identification from the received conversation message comprises:
performing word segmentation processing on the received conversation message to obtain a plurality of conversation sub-messages;
matching the conversation sub-message with a known product identifier;
and if the conversation sub-message is matched with the known product identification, identifying the known product identification as the product identification extracted from the received conversation message.
In one embodiment, after querying a pre-established database according to the generated information identification code, the method further comprises:
if the pre-established database does not have the service information corresponding to the information identification code, importing the information identification code into a preset data calling request template to generate a plurality of data calling requests;
sending each data calling request to a corresponding information system;
obtaining information returned by each information system according to the data calling request;
and identifying the acquired information as information corresponding to the information identification code, and storing the acquired information into the pre-established database according to the information identification code.
In one embodiment, the generating a push message according to the information includes:
acquiring the information type of the information;
classifying the information according to the information type to obtain a plurality of pieces of information;
and loading the obtained pieces of information into a preset message template respectively to generate corresponding push messages.
In one embodiment, before receiving the session message sent by the user side, the method further includes:
receiving a session request sent by a user side;
acquiring the number of the user terminals with the established session service, and if the number is less than a preset number, keeping the user terminals in an idle state; and establishing a session service with the user terminal according to the session request so as to receive a session message sent by the user terminal.
In one embodiment, before querying a pre-established database according to the generated information identification code, the method further comprises:
inquiring prestored historical product application information according to the generated information identification code to obtain historical product application information corresponding to the information identification code;
extracting basic application information from the obtained historical product application information;
acquiring a product application information template corresponding to the product identification;
determining an information identifier of the basic application information, and determining a position label of the basic application information in the product application information template according to the information identifier of the basic application information;
according to the position label, the basic application information is imported to a corresponding import position in the product application information template to obtain product application information corresponding to the information identification code;
the generating a push message according to the information includes:
and generating a push message according to the information and the product application information.
An information push apparatus, the apparatus comprising:
the message receiving module is used for receiving the session message sent by the user side; the session message carries a user identifier;
the product identification extraction module is used for extracting product identifications from the received conversation messages;
the information identification code generation module is used for acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code;
and the message pushing module is used for inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a pushing message according to the information, and pushing the pushing message to the user side for displaying.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a session message sent by a user side; the session message carries a user identifier;
extracting a product identification from the received conversation message;
acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code;
and inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, and pushing the push message to the user side for display.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving a session message sent by a user side; the session message carries a user identifier;
extracting a product identification from the received conversation message;
acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code;
and inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, and pushing the push message to the user side for display.
According to the information pushing method, the information pushing device, the computer equipment and the storage medium, the information identification code is generated based on the session message sent by the user side, the information corresponding to the generated information identification code is automatically pushed to the user side through the message pushing mode, the user corresponding to the user side does not need to check the information related to the user through other ways, the purpose of inquiring the information related to the user is achieved while consulting the problem, and the effectiveness of the robot customer service is further improved.
Drawings
Fig. 1 is a diagram illustrating an application scenario of an information push method according to an embodiment;
FIG. 2 is a flowchart illustrating an information pushing method according to an embodiment;
fig. 3 is a flowchart illustrating an information pushing method in another embodiment;
FIG. 4 is a block diagram of an information pushing apparatus according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The information pushing method provided by the application can be applied to the application environment shown in fig. 1. The user terminal 110 and the robot service terminal 120 communicate with each other through a network. The user terminal 110 is installed with an instant conversation tool through which the user can inquire information related to the user terminal, such as service information. The user terminal 110 obtains a session message in response to an input operation of the user on the session interface displayed by the instant session tool, and sends the obtained session message to the robot customer service terminal 120. The robot customer service end 120 analyzes the received conversation message to obtain a user identifier and a product identifier; (ii) a Acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code; querying a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, pushing the push message to the user terminal 110, and displaying the information corresponding to the information identification code through the user terminal 110. The user end 110 may be, but not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the robot service end 120 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, an information pushing method is provided, which is described by taking the method as an example applied to the robot customer service end in fig. 1, and includes the following steps:
step S201, receiving a session message sent by a user terminal; the session message carries a user identifier.
In this step, the session message refers to a problem related to a specific product that a user corresponding to the user side consults with the robot customer service side, and may be a text message or a voice message; the related questions about a specific product may be loan product questions, insurance product questions, fund product questions, etc., and the content may be specific to a particular user terminal. For example, on the loan client, the question that the client consults with the robot client is related to the loan product, e.g., what is the highest application amount of the auto loan? What data is required for the application of the automobile loan, etc. In addition, the user identifier is used to identify identity information of a user corresponding to the user side, such as a user name, user account information, and the like; the user account information may be a mobile phone number, a mailbox account, a user-defined account, or the like.
In a specific implementation, the user side is provided with an instant session tool, and the user can query information related to the user side, such as service information, through the instant session tool. For example, a user inputs a question for consultation with a robot customer service side based on a session input entry in a session interface displayed by an instant session tool, and clicks a send button; the user side responds to the input operation of the user on the session interface displayed by the instant session tool to obtain the problem that the user consults the robot customer service side; and generating a session message according to the problem, and sending the generated session message to the robot customer service end. The robot customer service end identifies the user identification carried by the received conversation message to determine which user sends the conversation message, so that the information related to the user can be conveniently pushed to the corresponding user end in the follow-up process.
Step S202, extracting the product identifier from the received session message.
In this step, the product identification is used to identify a specific product, such as a loan product, an insurance product, a fund product, a bond product, and the like, that the user consults with the robot customer service terminal. The product identifier may be a product name or a product number.
For example, the robot client performs word segmentation Processing on the received conversation message based on NLP (Natural Language Processing) technology to obtain a plurality of conversation sub-messages; respectively matching the obtained plurality of session sub-messages with known product identifiers to obtain matching results; and obtaining the matching relation between each conversation sub-message and the known product identification based on the matching result, determining the known product identification successfully matched with the conversation sub-message from the obtained matching relation, and identifying the known product identification as the product identification extracted from the received conversation message.
Step S203, acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code.
In this step, the user identification code is used to identify an identification code corresponding to the user identification, such as a unique number corresponding to the user name, user account information, and the like; the product identifier is used for identifying an identification code corresponding to the product identifier, such as a product number; the information identification code comprises a user identification code and a product identification code, wherein the user identification corresponding to the user identification code is used for identifying the identity information of the user, and the product identification corresponding to the product identification code is used for identifying a product consulted by the user to the robot customer service end; it can be understood that the information identification code indicates which user wants to consult the robot customer service terminal for information about which products.
In specific implementation, the robot server acquires an identification code corresponding to a user identifier, such as user account information, as a user identification code; acquiring an identification code corresponding to a product identifier, such as a product number, as a product identification code; combining the user identification code and the product identification code according to the sequence that the user identification code is in front of the product identification code and the product identification code is behind the product identification code to generate an information identification code; for example, if the user identification code is 46267686112 and the product identification code is 11, the combined information identification code is 46267686112_11. The robot server can also combine the product identification code and the user identification code according to the sequence that the product identification code is in front of the user identification code, so as to generate the information identification code. Therefore, the user identification code and the product identification code are combined to generate the corresponding information identification code, and the information corresponding to the information identification code is conveniently acquired by inquiring a pre-established database in the follow-up process.
It should be noted that the robot client may also combine the user identification code and the product identification code in other manners, which is not described herein any more.
And step S204, inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, and pushing the push message to a user side for display.
In this step, the information refers to service information, and specifically refers to information related to product services consumed by the user, such as the current loan bill query information, repayment record information, debt query information, and the like.
Before querying a pre-established database according to the generated information identification code, the robot customer service end collects service information related to the user from a plurality of related information systems (such as service systems) in advance based on big data, and stores the collected service information into the pre-established database in a classified manner according to the corresponding information identification code. For example, the robot customer service end generates a plurality of data calling requests according to the information identification code, and sends each generated data calling request to a corresponding service system; acquiring service information returned by each service system according to the data calling request; packaging the service information belonging to the same information identification code to generate a corresponding data packet; and storing the generated data packets into a pre-established database according to the information identification codes in a classified manner. The subsequent robot customer service end can conveniently inquire a pre-established database according to the generated information identification code to acquire the service information corresponding to the generated information identification code.
In the specific implementation, the robot customer service end extracts a plurality of known information identification codes from a pre-established database, matches the generated information identification codes with the known information identification codes, and if the generated information identification codes are matched with the known information identification codes, acquires information corresponding to the known information identification codes from the pre-established database; identifying information corresponding to the known information identification code as information corresponding to the generated information identification code; and generating a push message according to the information, and pushing the push message to a user side corresponding to the user identifier. A user side separately displays a plurality of pieces of information through a session interface; the user can click relevant information to check based on own requirements, for example, click arrearage record information, and can directly check the principal, interest fee, remaining payment plan and other information of the remaining total arrearage; the user corresponding to the user side does not need to check the information related to the user through other ways, and therefore the effectiveness of the robot customer service is improved.
In the information pushing method, the information identification code is generated based on the session message sent by the user side, and the information corresponding to the generated information identification code is automatically pushed to the user side through the message pushing mode, so that the user corresponding to the user side does not need to check the information related to the user by other ways, the purpose of inquiring the information related to the user is realized while consulting the problem, and the effectiveness of the robot customer service is further improved.
It should be noted that the information pushing method is applicable to the robot customer service chat system on the session interface, and is also applicable to the robot customer service voice system on the voice session, and the principles thereof are the same, and are not described herein again in detail.
In one embodiment, the step S202 of extracting the product identifier from the received session message includes: performing word segmentation processing on the received conversation message to obtain a plurality of conversation sub-messages; matching the conversation sub-message with the known product identification; if the conversation sub-message matches the known product identification, the known product identification is identified as the product identification extracted from the received conversation message.
For example, the robot customer service end performs word segmentation processing on the received conversation message based on the NLP technology to obtain a plurality of conversation sub-messages; and respectively matching each conversation sub-message with the known product identification, and if the conversation sub-message is successfully matched with the known product identification, identifying the successfully matched known product identification as the product identification extracted from the received conversation message. For example, the robot customer service end divides the conversation message "how much the highest application amount of the automobile loan" is into three conversation sub-messages of "automobile loan", "highest application amount" and "how much", matches the three conversation sub-messages with known product identifiers respectively, and recognizes the known product identifier successfully matched with the conversation sub-message "automobile loan" as the product identifier extracted from the received conversation message. In the embodiment, the conversation message is subjected to word segmentation processing to extract the corresponding product identifier from the conversation message, so that the product which the user wants to consult can be effectively determined.
Further, assuming that there are multiple session messages sent by the user side, in order to accurately determine the product that the user most wants to consult, the robot server side may extract the product identifier with the highest frequency of occurrence from the multiple received session messages.
In another embodiment, the step S202 of extracting the product identifier from the received session message further includes: respectively carrying out word segmentation processing on the received multiple conversation messages to obtain multiple conversation sub-messages corresponding to the conversation messages; respectively matching a plurality of conversation sub-messages corresponding to the same conversation message with known product identifiers, and if the conversation sub-messages are matched with the known product identifiers, identifying the known product identifiers as the product identifiers extracted from the conversation message, thereby extracting corresponding product identifiers from a plurality of received conversation messages; classifying the repeated product identifications into the same product identification; counting the occurrence frequency of each product identification to obtain the occurrence frequency of each product identification; and screening out the product identification with the maximum frequency of occurrence from the product identifications to serve as the product identification with the maximum frequency of occurrence extracted from the received multiple session messages. For example, the user may refer to "car loan" multiple times in the session, indicating that the product of most interest to the user is a car loan product. In this embodiment, by analyzing the received plurality of session messages, the product most concerned by the user can be effectively determined.
In addition, in the process of obtaining the information corresponding to the information identification code by querying the pre-established database, if the pre-established database does not have the service information related to the information identification code, it indicates that the database does not update data in time, or the user may be a new user, the information corresponding to the information identification code needs to be obtained from the related service system through the robot customer service end.
In an embodiment, after querying the pre-established database according to the generated information identification code, the step S204 further includes: if the pre-established database does not have information corresponding to the information identification code, importing the information identification code into a preset data calling request template to generate a plurality of data calling requests; sending each data calling request to a corresponding information system; obtaining information returned by each information system according to the data calling request; and identifying the acquired information as information corresponding to the information identification code, and storing the acquired information into a pre-established database according to the information identification code.
The preset data call request template is a pre-edited request instruction template, and the data call request can be generated by importing the information identification code into the preset data call request template without independently and repeatedly compiling the data call request, so that the service efficiency of the robot client is improved. In addition, the information system refers to a business system, and each business system stores information corresponding to a plurality of information identification codes.
For example, after it is determined that the pre-established database does not have information corresponding to the information identification code, the robot customer service end obtains a preset data call request template, introduces the information identification code into the preset data call request template, generates a plurality of data call requests, and sends the generated data call requests to corresponding service systems. And the service system inquires a database corresponding to the service system based on the data calling request, acquires information corresponding to the information identification code from the database, and returns the acquired information to the robot customer service end. And the robot customer service end unifies the information returned by each service system as the information corresponding to the information identification code, and simultaneously stores the acquired information into a pre-established database according to the information identification code.
In this embodiment, the robot customer service end acquires the information corresponding to the information identification code from the related service system again, so that the defect that the information related to the information identification code cannot be acquired if the information related to the information identification code is not found in a pre-established database can be avoided; meanwhile, the acquired information is stored into a pre-established database according to the information identification code, so that the aim of updating the database in time is fulfilled.
Furthermore, in order to facilitate the user to check the information, the obtained information can be classified by the robot customer service end. In an embodiment, the step S204 generates a push message according to the information, and includes: acquiring the information type of the information; classifying the information according to the information type to obtain a plurality of pieces of information; and loading the obtained pieces of information into a preset message template respectively to generate corresponding push messages.
In the specific implementation, the robot customer service end analyzes the obtained information to obtain an analysis result; determining the information type of the obtained service information based on the analysis result, such as a arrearage reminding information type, a repayment record information type and the like; classifying information belonging to the same information type together to classify the obtained information according to the information type, so as to obtain a plurality of pieces of information corresponding to the information type, such as arrearage reminding information, repayment record information and the like; and arranging the obtained pieces of information to obtain the arranged pieces of information, loading the arranged pieces of information to corresponding information positions in a preset message template respectively to generate corresponding push messages, and pushing the generated push messages to a user side corresponding to the user identification. The user side separately displays a plurality of pieces of information through the session interface, so that the user can conveniently and quickly check related information; for example, the user clicks the repayment record information, and can directly check the specific information such as whether the repayment of the user is successful, the transaction time, the deduction account and the like; the user does not need to check the information related to the user through other ways, the aim of inquiring the information related to the user is achieved while the user consults the problem, and the effectiveness of the robot customer service is further improved.
In an embodiment, before receiving the session message sent by the user side, the step S201 further includes: receiving a session request sent by a user side; acquiring the number of user terminals with established session service, and if the number is less than a preset number, keeping the user terminals in an idle state; and establishing a session service with the user terminal according to the session request so as to receive a session message sent by the user terminal.
For example, when detecting that a user enters a session interface, the user side triggers generation of a session request for establishing session connection, and sends the generated session request to the robot customer service side. The robot customer service side acquires the number of the customer terminals with the established session service according to the session request sent by the customer terminals, and if the number is smaller than the preset number, the number of the customer terminals with the established session service is in the number range of the customer terminals with the session service allowed to be established by the robot customer service side, so that the robot customer service side can establish the session service with other customer terminals, namely the robot customer terminal is in an idle state; establishing a session service with a user side according to the session request so as to receive a session message sent by the user side; if the number of the user sides with the established session service is larger than or equal to the preset number, the number of the user sides with the established session service is more than the number range of the user sides with the session service allowed to be established by the robot customer service side, the robot customer service side can not establish the session service with other user sides any more, namely the robot customer service side is in a working state, reminding information for refusing the establishment of the session service with the user sides is generated, the generated reminding information is sent to the corresponding user sides to remind the user that the session connection is failed to be established, and a session request is sent later. By the embodiment, the session service between the robot customer service end and the user end can be effectively established, the subsequent accurate receiving of the session message sent by the user end is facilitated, and the problem that the working performance of the robot customer service end is influenced by the fact that the user end repeatedly sends the session request to the robot customer service end is avoided.
In an embodiment, before querying the pre-established database according to the generated information identification code, the step S204 further includes: inquiring prestored historical product application information according to the generated information identification code to obtain historical product application information corresponding to the user label; extracting basic application information from the obtained historical product application information; acquiring a product application information template corresponding to the product identification; determining an information identifier of the basic application information, and determining a position label of the basic application information in the product application information template according to the information identifier of the basic application information; and importing the basic application information into a corresponding import position in the product application information template according to the position label to obtain the product application information corresponding to the information identification code.
In this embodiment, the product refers to a virtual product provided by a financial institution such as a bank to a user, such as a loan product, an insurance product, a fund product, a bond product, and the like; the historical product application information refers to historical product service application record information of the user, such as automobile loan service application record information, house loan service application record information and the like; the basic application information refers to personal basic information filled when a user applies for product service, and comprises a name, an identification card number, a mobile phone number, an address, a birth date, working conditions and the like. The product application information template refers to a product service application form; the information identifier is used for identifying a position label of the basic application information in the product application information template, and can be an information attribute of the basic application information; for example, the basic application information is identification number information, the information attribute corresponding to the identification number information is the identification number, and the position corresponding to the position label of the identification number information in the product application information template is the position for marking and filling the identification number.
According to the embodiment, the subsequent robot customer service end can conveniently push the obtained product application information to the user end, the product application information is displayed through the session interface of the user end, the user can carry out corresponding product service application only by filling part of information and clicking confirmation based on the product application information, the product service application is not required to be carried out on a corresponding service system specially, the product service application flow is simplified, and the effectiveness of the robot customer service is further improved.
In an embodiment, the step S204 generates a push message according to the information, and includes: and generating a push message according to the information and the product application information. For example, the robot customer service end loads the obtained information and the product application information into a preset message template, generates a corresponding generated push message, and pushes the push message to a corresponding user end. The user side respectively displays the information and the product application information through the session interface, and the user can click the relevant information to check according to the user's needs, so that the aim of inquiring the information relevant to the user or applying for the relevant product business is fulfilled while the problem is consulted, and the effectiveness of the robot customer service is further improved.
In an embodiment, as shown in fig. 3, another information pushing method is provided, which specifically includes the following steps:
step S301, receiving a session request sent by a user side; acquiring the number of the user terminals with the established session service, and if the number is smaller than a preset number, keeping the user terminals in an idle state; and establishing a session service with the user terminal according to the session request so as to receive a session message sent by the user terminal.
Step S302, receiving a session message sent by a user terminal; the session message carries a user identifier.
Step S303, extracting a product identifier from the received session message.
Step S304, acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code.
Step S305, inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, and pushing the push message to a user side for display.
In the information pushing method, if the robot customer service end is in an idle state, session service with the user end is established according to the session request so as to receive session information sent by the user end; the method and the device have the advantages that the information identification code is generated based on the session message sent by the user side, the information corresponding to the generated information identification code is automatically pushed to the user side in the form of the push message, the user corresponding to the user side does not need to check the information related to the user through other ways, the purpose of inquiring the information related to the user is achieved while consulting problems are solved, and the effectiveness of the robot customer service is further improved.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided an information pushing apparatus including: a message receiving module 410, a product identification extracting module 420, an information identification code generating module 430 and a message pushing module 440, wherein:
a message receiving module 410, configured to receive a session message sent by a user end; the session message carries a user identifier.
A product identification extraction module 420 for extracting a product identification from the received session message.
The information identification code generating module 430 is configured to acquire a user identification code corresponding to the user identifier and a product identification code corresponding to the product identifier, and combine the user identification code and the product identification code according to a preset sequence to generate an information identification code.
The message pushing module 440 is configured to query a pre-established database according to the generated information identifier, obtain information corresponding to the information identifier, generate a push message according to the information, and push the push message to the user side for display.
In one embodiment, the product identifier extraction module is further configured to perform word segmentation on the received conversation message to obtain a plurality of conversation sub-messages; matching the conversation sub-message with the known product identification; if the conversation sub-message matches the known product identification, the known product identification is identified as the product identification extracted from the received conversation message.
In one embodiment, the information pushing device further includes an information obtaining module, configured to, after the information pushing module queries a pre-established database according to the generated information identification code, if the pre-established database does not have information corresponding to the information identification code, import the information identification code into a preset data call request template, and generate a plurality of data call requests; sending each data calling request to a corresponding information system; obtaining information returned by each information system according to the data calling request; and identifying the acquired information as information corresponding to the information identification code, and storing the acquired information into a pre-established database according to the information identification code.
In one embodiment, the information pushing module is further configured to obtain an information type of the information; classifying the information according to the information type to obtain a plurality of pieces of information; and loading the obtained pieces of information into a preset message template respectively to generate corresponding push messages.
In one embodiment, the pushing device for the service information further includes a service establishing module, configured to receive a session request sent by a user side; acquiring the number of the user terminals with the established session service, and if the number is smaller than a preset number, keeping the user terminals in an idle state; and establishing a session service with the user terminal according to the session request so as to receive a session message sent by the user terminal.
In one embodiment, the information pushing device further comprises a product application information acquisition module, which is used for inquiring prestored historical product application information according to the generated information identification code before the information pushing module inquires a pre-established database according to the generated information identification code to obtain historical product application information corresponding to the information identification code; extracting basic application information from the obtained historical product application information; acquiring a product application information template corresponding to the product identification; determining an information identifier of the basic application information, and determining a position label of the basic application information in the product application information template according to the information identifier of the basic application information; and importing the basic application information into a corresponding import position in the product application information template according to the position label to obtain the product application information corresponding to the information identification code.
In one embodiment, the information push module is further configured to generate a push message according to the information and the product application information.
In each embodiment, the information pushing device generates the information identification code based on the session message sent by the user side, and automatically pushes the information corresponding to the generated information identification code to the user side through a message pushing mode, so that the user corresponding to the user side does not need to check the information related to the user by other ways, the purpose of inquiring the information related to the user is achieved while consulting the problem, and the effectiveness of the robot customer service is further improved.
For specific limitations of the information pushing apparatus, reference may be made to the above limitations of the information pushing method, which is not described herein again. All or part of the modules in the information pushing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing information corresponding to the information identification code. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an information push method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program:
receiving a session message sent by a user side; the session message carries a user identifier;
extracting a product identification from the received conversation message;
acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code;
and inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, and pushing the push message to a user side for display.
In one embodiment, the processor when executing the computer program further performs the steps of: performing word segmentation processing on the received conversation message to obtain a plurality of conversation sub-messages; matching the conversation sub-message with the known product identification; if the conversation sub-message matches the known product identification, the known product identification is identified as the product identification extracted from the received conversation message.
In one embodiment, the processor, when executing the computer program, further performs the steps of: after querying a pre-established database according to the generated information identification code, if the pre-established database does not have information corresponding to the information identification code, importing the information identification code into a preset data call request template to generate a plurality of data call requests; sending each data calling request to a corresponding information system; obtaining information returned by each information system according to the data calling request; and identifying the acquired information as information corresponding to the information identification code, and storing the acquired information into a pre-established database according to the information identification code.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the information type of the information; classifying the information according to the information type to obtain a plurality of pieces of information; and loading the obtained pieces of information into a preset message template respectively to generate corresponding push messages.
In one embodiment, the processor when executing the computer program further performs the steps of: before receiving a session message sent by a user side, receiving a session request sent by the user side; acquiring the number of the user terminals with the established session service, and if the number is smaller than a preset number, keeping the user terminals in an idle state; and establishing a session service with the user terminal according to the session request so as to receive a session message sent by the user terminal.
In one embodiment, the processor when executing the computer program further performs the steps of: before querying a pre-established database according to the generated information identification code, querying pre-stored historical product application information according to the generated information identification code to obtain historical product application information corresponding to the information identification code; extracting basic application information from the obtained historical product application information; acquiring a product application information template corresponding to the product identification; determining an information identifier of the basic application information, and determining a position label of the basic application information in a product application information template according to the information identifier of the basic application information; and importing the basic application information into a corresponding import position in the product application information template according to the position label to obtain the product application information corresponding to the information identification code.
In one embodiment, the processor when executing the computer program further performs the steps of: and generating a push message according to the information and the product application information.
In the embodiments, the computer device queries the information related to the user by using the computer program running on the processor while consulting the problem, and the user corresponding to the user side does not need to check the information related to the user side by other ways, so that the effectiveness of the robot customer service is further improved.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a session message sent by a user side; the session message carries a user identifier;
extracting a product identification from the received session message;
acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code;
and querying a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information, and pushing the push message to a user side for display.
In one embodiment, the computer program when executed by the processor further performs the steps of: performing word segmentation processing on the received conversation message to obtain a plurality of conversation sub-messages; matching the conversation sub-message with the known product identification; if the conversation sub-message matches the known product identification, the known product identification is identified as the product identification extracted from the received conversation message.
In one embodiment, the computer program when executed by the processor further performs the steps of: after querying a pre-established database according to the generated information identification code, if the pre-established database does not have information corresponding to the information identification code, importing the information identification code into a preset data call request template to generate a plurality of data call requests; sending each data calling request to a corresponding information system; obtaining information returned by each information system according to the data calling request; and identifying the acquired information as information corresponding to the information identification code, and storing the acquired information into a pre-established database according to the information identification code.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the information type of the information; classifying the obtained information according to the information type to obtain a plurality of pieces of information; and loading the obtained pieces of information into a preset message template respectively to generate corresponding push messages.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving a session request sent by a user side before receiving a session message sent by the user side; acquiring the number of the user terminals with the established session service, and if the number is smaller than a preset number, keeping the user terminals in an idle state; and establishing a session service with the user terminal according to the session request so as to receive a session message sent by the user terminal.
In one embodiment, the computer program when executed by the processor further performs the steps of: before querying a pre-established database according to the generated information identification code, querying pre-stored historical product application information according to the generated information identification code to obtain historical product application information corresponding to the information identification code; extracting basic application information from the obtained historical product application information; acquiring a product application information template corresponding to the product identification; determining an information identifier of the basic application information, and determining a position label of the basic application information in the product application information template according to the information identifier of the basic application information; and importing the basic application information into a corresponding import position in the product application information template according to the position label to obtain the product application information corresponding to the information identification code.
In one embodiment, the computer program when executed by the processor further performs the steps of: and generating a push message according to the information and the product application information.
In the embodiments, the computer-readable storage medium stores the computer program, so that the purpose of inquiring the information related to the user is achieved while consulting the problem, the user corresponding to the user side does not need to check the information related to the user through other ways, and the effectiveness of the robot customer service is further improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An information pushing method, the method comprising:
receiving a session message sent by a user side; the session message carries a user identifier;
extracting a product identification from the received conversation message;
acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code;
inquiring prestored historical product application information according to the generated information identification code to obtain historical product application information corresponding to the information identification code;
extracting basic application information from the obtained historical product application information;
acquiring a product application information template corresponding to the product identification;
determining an information identifier of the basic application information, and determining a position label of the basic application information in the product application information template according to the information identifier of the basic application information;
according to the position label, the basic application information is imported to a corresponding import position in the product application information template to obtain product application information corresponding to the information identification code;
and inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a push message according to the information and the product application information, and pushing the push message to the user side for displaying.
2. The method of claim 1, wherein the extracting the product identifier from the received conversation message comprises:
performing word segmentation processing on the received conversation message to obtain a plurality of conversation sub-messages;
matching the conversation sub-message with a known product identifier;
and if the conversation sub-message is matched with the known product identification, identifying the known product identification as the product identification extracted from the received conversation message.
3. The method of claim 1, further comprising, after querying a pre-established database based on the generated information identification code:
if the pre-established database does not have information corresponding to the information identification code, importing the information identification code into a preset data calling request template to generate a plurality of data calling requests;
sending each data calling request to a corresponding information system;
obtaining information returned by each information system according to the data call request;
and identifying the acquired information as information corresponding to the information identification code, and storing the acquired information into the pre-established database according to the information identification code.
4. The method of claim 1, wherein generating a push message based on the information and the product application information comprises:
acquiring the information type of the information;
classifying the information according to the information type to obtain a plurality of pieces of information;
and loading the obtained pieces of information into a preset message template respectively to generate corresponding push messages.
5. The method according to any one of claims 1 to 4, further comprising, before receiving the session message sent by the user side:
receiving a session request sent by a user side;
acquiring the number of the user terminals with the established session service, and if the number is less than a preset number, keeping the user terminals in an idle state;
and establishing session service with the user side according to the session request so as to receive the session message sent by the user side.
6. An information pushing apparatus, characterized in that the apparatus comprises:
the message receiving module is used for receiving the session message sent by the user side; the session message carries a user identifier;
the product identification extraction module is used for extracting product identifications from the received conversation messages;
the information identification code generation module is used for acquiring a user identification code corresponding to the user identification and a product identification code corresponding to the product identification, and combining the user identification code and the product identification code according to a preset sequence to generate an information identification code;
the product application information acquisition module is used for inquiring prestored historical product application information according to the generated information identification code to obtain historical product application information corresponding to the information identification code; extracting basic application information from the obtained historical product application information; acquiring a product application information template corresponding to the product identification; determining an information identifier of the basic application information, and determining a position label of the basic application information in the product application information template according to the information identifier of the basic application information; according to the position label, the basic application information is imported to a corresponding import position in the product application information template to obtain product application information corresponding to the information identification code;
and the message pushing module is used for inquiring a pre-established database according to the generated information identification code to obtain information corresponding to the information identification code, generating a pushing message according to the information and the product application information, and pushing the pushing message to the user side for displaying.
7. The apparatus according to claim 6, wherein the product identifier extracting module is further configured to perform word segmentation on the received conversation message to obtain a plurality of conversation sub-messages; matching the conversation sub-message with a known product identifier; and if the conversation sub-message is matched with the known product identification, identifying the known product identification as the product identification extracted from the received conversation message.
8. The apparatus according to claim 6, wherein the apparatus further comprises a service establishing module, configured to receive a session request sent by a user end; acquiring the number of the user terminals with the established session service, and if the number is less than a preset number, keeping the user terminals in an idle state; and establishing session service with the user side according to the session request so as to receive the session message sent by the user side.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of the method according to any of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201910753911.4A 2019-08-15 2019-08-15 Information pushing method and device, computer equipment and storage medium Active CN110636106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910753911.4A CN110636106B (en) 2019-08-15 2019-08-15 Information pushing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910753911.4A CN110636106B (en) 2019-08-15 2019-08-15 Information pushing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110636106A CN110636106A (en) 2019-12-31
CN110636106B true CN110636106B (en) 2023-04-07

Family

ID=68970046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910753911.4A Active CN110636106B (en) 2019-08-15 2019-08-15 Information pushing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110636106B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111556096B (en) * 2020-04-01 2023-02-28 深圳壹账通智能科技有限公司 Information pushing method, device, medium and electronic equipment
CN111506774A (en) * 2020-04-20 2020-08-07 深圳市海派森科技有限公司 Video information acquisition method and device, electronic equipment and readable storage medium
CN112579754A (en) * 2020-12-18 2021-03-30 深圳云之家网络有限公司 Intelligent robot conversation interaction method and device, and computer equipment
CN113379487A (en) * 2021-06-01 2021-09-10 北京京东拓先科技有限公司 Data sharing method, device and storage medium
CN113824763B (en) * 2021-08-10 2024-03-01 武汉联影医疗科技有限公司 Message pushing method, device, computer equipment and storage medium
CN114629867A (en) * 2022-03-22 2022-06-14 康键信息技术(深圳)有限公司 On-line inquiry instant communication system and message processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880666A (en) * 2012-09-05 2013-01-16 王昕昱 Business data processing method and feedback data recording method, as well as device and system for realizing same
CN106874471A (en) * 2017-02-16 2017-06-20 北京百度网讯科技有限公司 Information-pushing method and device
CN108629605A (en) * 2017-03-15 2018-10-09 北京京东尚科信息技术有限公司 Real-time questionnaire method for pushing based on online customer service
CN109842611A (en) * 2018-12-14 2019-06-04 平安科技(深圳)有限公司 Auth method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880666A (en) * 2012-09-05 2013-01-16 王昕昱 Business data processing method and feedback data recording method, as well as device and system for realizing same
CN106874471A (en) * 2017-02-16 2017-06-20 北京百度网讯科技有限公司 Information-pushing method and device
CN108629605A (en) * 2017-03-15 2018-10-09 北京京东尚科信息技术有限公司 Real-time questionnaire method for pushing based on online customer service
CN109842611A (en) * 2018-12-14 2019-06-04 平安科技(深圳)有限公司 Auth method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110636106A (en) 2019-12-31

Similar Documents

Publication Publication Date Title
CN110636106B (en) Information pushing method and device, computer equipment and storage medium
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN110782240B (en) Business data processing method and device, computer equipment and storage medium
CN110232565B (en) Resource clearing method, device, computer equipment and storage medium
CN109214676B (en) Business order processing method, device, server and storage medium
US20190147111A1 (en) Chatbot-based cloud management system and method for operating the same
CN109087208B (en) Pre-loan data processing method, pre-loan data processing device, computer equipment and storage medium
CN108334625B (en) User information processing method and device, computer equipment and storage medium
CN104579909B (en) Method and equipment for classifying user information and acquiring user grouping information
US10963888B2 (en) Payment complaint method, device, server and readable storage medium
CN108287823B (en) Message data processing method and device, computer equipment and storage medium
CN109361628B (en) Message assembling method and device, computer equipment and storage medium
CN110908778A (en) Task deployment method, system and storage medium
CN109118291B (en) User authentication method and device in advertisement task popularization and computer equipment
CN111191100A (en) Government affair information processing method and device and computer readable storage medium
CN111324802A (en) Data auditing method and device based on identity recognition and computer equipment
CN110275703B (en) Method and device for assigning key value to data, computer equipment and storage medium
CN113888299A (en) Wind control decision method and device, computer equipment and storage medium
CN113938408A (en) Data traffic testing method and device, server and storage medium
CN107911331B (en) Data verification method and server
CN111241249A (en) Man-machine conversation method, device, computer equipment and storage medium
CN115578170A (en) Financial batch certificate making method, device, equipment and storage medium
WO2021169110A1 (en) Transportation route generation method, apparatus, computer device, and storage medium
CN114428723A (en) Test system, system test method, related device and storage medium
CN113556430A (en) Outbound system and outbound method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant