CN115460555A - 5G message response processing method and device - Google Patents

5G message response processing method and device Download PDF

Info

Publication number
CN115460555A
CN115460555A CN202211063550.9A CN202211063550A CN115460555A CN 115460555 A CN115460555 A CN 115460555A CN 202211063550 A CN202211063550 A CN 202211063550A CN 115460555 A CN115460555 A CN 115460555A
Authority
CN
China
Prior art keywords
messages
response
message
keywords
keyword
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
CN202211063550.9A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211063550.9A priority Critical patent/CN115460555A/en
Publication of CN115460555A publication Critical patent/CN115460555A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • 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
    • 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/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals

Abstract

The specification relates to the field of communication response, and provides a 5G message response processing method and a device, wherein the method comprises the following steps: receiving batch 5G messages; filtering the 5G messages containing the fixed service keywords from the 5G messages in the batch, and extracting the fixed service keywords; filtering the 5G messages containing the active service keywords from the rest 5G messages, and extracting the active service keywords; matching response materials for each fixed service keyword from a first response material database, and matching response materials for each active service keyword from a second response material database; generating a corresponding response message according to the response material of each fixed service keyword, and generating a corresponding response message according to the response material of each active service keyword; and providing the generated response message to the 5G message interaction port. By utilizing the embodiments of the specification, the database pressure during the uplink of a large number of 5G messages can be relieved, and the generation efficiency of the response messages of the 5G messages is improved.

Description

5G message response processing method and device
Technical Field
The present disclosure relates to the field of communication response, and in particular, to a method and an apparatus for processing a 5G message response.
Background
RCS (Rich media Communication) is a Communication method proposed by the global system for mobile Communication association. The 5G message is based on RCS and can provide service functions such as rich media message and intelligent interaction. At present, for the uplink 5G message, the 5G message platform mainly queries a corresponding response dialog from the database according to a keyword in the 5G message, and then invokes the sending module to issue a corresponding response message. In general, the scheme can realize quick interactive response of the 5G messages, however, when a large number of 5G messages are uplink, the database generates huge pressure due to parallel processing of the large number of 5G messages, and the 5G message platform is slow in response. Therefore, a 5G message response processing scheme capable of filtering and splitting messages is needed to solve the problems of high database pressure and slow response of response messages when a large number of 5G messages are uplinked.
Disclosure of Invention
In view of the large database pressure and slow reply of reply messages when a large number of 5G messages are upstream, the present solution is proposed to overcome or at least partially solve the above problems.
In one aspect, some embodiments of the present description are directed to a method for processing a 5G message reply, the method including:
receiving batch 5G messages;
filtering out 5G messages containing fixed service keywords from the 5G messages in batch, and extracting the fixed service keywords in the 5G messages;
filtering the 5G messages containing the active service keywords from the rest 5G messages of the batch of 5G messages, and extracting the active service keywords from the 5G messages;
matching response materials for each fixed service keyword from a first response material database, and matching response materials for each active service keyword from a second response material database;
generating a response message corresponding to the 5G message according to the response material of each fixed service keyword, and generating a response message corresponding to the 5G message according to the response material of each movable service keyword;
and providing the generated response message to the 5G message interaction port.
Preferably, the matching of response materials for each of the fixed service keywords from the first response material database includes:
filtering out traditional fixed service keywords from a first keyword set, wherein the first keyword set is all fixed service keywords extracted from the batch of 5G messages;
for each traditional fixed service keyword, determining whether a response material of the traditional fixed service keyword exists in a target cache;
and when the response material of the traditional fixed service key word does not exist in the target cache, matching the response material for the traditional fixed service key word from the first response material database.
Preferably, the matching of response materials for each of the fixed service keywords from the first response material database includes:
and matching response materials for each fixed service keyword in a second keyword set from a first response material database, wherein the second keyword set is the fixed service keywords except the traditional fixed service keywords in the first keyword set.
Preferably, after filtering the 5G messages containing the active service keywords from the rest 5G messages in the batch of 5G messages, the method further comprises:
and filtering the 5G messages which do not contain the service keywords in the 5G messages in the batch.
Preferably, the filtering out the 5G messages containing the fixed service keywords from the batch of 5G messages and extracting the fixed service keywords therein includes:
and identifying an extraction model through a preset bloom filter, identifying 5G messages containing fixed service keywords in the 5G messages in batch, and extracting the fixed service keywords in the 5G messages, wherein the fixed service keywords are associated with the corresponding 5G messages.
Preferably, the filtering out the 5G messages containing the active service keywords from the remaining 5G messages of the batch of 5G messages and extracting the active service keywords therein includes:
and identifying 5G messages containing the active service keywords in the 5G messages without the fixed service keywords through a preset character string matching algorithm, and extracting the active service keywords in the 5G messages, wherein the active service keywords are associated with the corresponding 5G messages.
Preferably, the generating a response message corresponding to the 5G message according to the response material of each of the fixed service keywords and generating a response message corresponding to the 5G message according to the response material of each of the active service keywords includes:
and generating a response message corresponding to the 5G message according to response materials of each fixed business keyword through a preset intelligent response system, and generating a response message corresponding to the 5G message according to response materials of each active business keyword.
In another aspect, some embodiments of the present description further provide a 5G message reply processing apparatus, the apparatus including:
the receiving module is used for receiving batch 5G messages;
fixed service keyword extraction module: the 5G message processing module is used for filtering the 5G messages containing the fixed service keywords from the batch of 5G messages and extracting the fixed service keywords from the 5G messages;
an active service keyword extraction module: the 5G message processing module is used for filtering out the 5G messages containing the active service keywords from the rest 5G messages in the batch of 5G messages and extracting the active service keywords from the 5G messages;
the response material matching module: for matching an answer material for each said fixed service keyword from a first answer material database and for matching an answer material for each said active service keyword from a second answer material database;
the response message generation module: the response information generating module is used for generating a response message corresponding to the 5G message according to the response material of each fixed business keyword and generating a response message corresponding to the 5G message according to the response material of each movable business keyword;
and the transmission module is used for providing the generated response message to the 5G message interaction port.
In another aspect, some embodiments of the present description also provide a computer device comprising a memory, a processor, and a computer program stored on the memory, the computer program, when executed by the processor, executing the instructions of the above method.
In another aspect, some embodiments of the present specification also provide a computer storage medium having a computer program stored thereon, the computer program, when executed by a processor of a computer device, executing the instructions of the above-described method.
In another aspect, some embodiments of the present description also provide a computer program product comprising a computer program which, when executed by a processor of a computer device, performs the instructions of the above-described method.
One or more technical solutions provided by some embodiments of the present specification have at least the following technical effects:
the embodiment of the specification can automatically extract keywords according to the service categories from a large number of ascending 5G messages, match response materials for each service keyword from the corresponding response material database to generate corresponding response messages, and automatically filter the 5G messages without the service keywords in the 5G messages, so that the pressure of the database when a large number of 5G messages are ascending is relieved, and the response message generation efficiency of the 5G messages is improved.
The foregoing description is only an overview of some embodiments of the present disclosure, and in order to make the technical solutions of some embodiments of the present disclosure more clearly understood, the embodiments may be implemented in accordance with the contents of the present disclosure, and in order to make the foregoing and other objects, features, and advantages of some embodiments of the present disclosure more clearly understood, specific embodiments of some embodiments of the present disclosure are described below.
Drawings
In order to more clearly illustrate some embodiments of the present specification or technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and other drawings can be obtained by those skilled in the art without inventive labor. In the drawings:
FIG. 1 is a schematic diagram of a 5G message reply processing system in some embodiments of the present description;
FIG. 2 illustrates a flow diagram of a 5G message reply processing method in some embodiments of the present description;
FIG. 3 is a diagram illustrating mapping function collision point locations in a bloom filter in some embodiments of the present description;
FIG. 4 is a diagram illustrating a process for matching strings based on the Sunday algorithm in some embodiments of the present specification;
FIG. 5 is a flow chart illustrating the matching of response materials from a first database of response materials for each of the fixed business keywords in a 5G message response processing method in some embodiments of the present description;
FIG. 6 illustrates a flow diagram of a 5G message reply processing method in some embodiments of the present description;
FIG. 7 is a block diagram showing the structure of an apparatus in some embodiments of the present description;
FIG. 8 is a block diagram showing the structure of a computer device in some embodiments of the present description.
[ description of reference ]
10. 5G message response processing system;
11. a user terminal;
12. a server;
71. a receiving module;
72. a fixed service keyword extraction module;
73. an active service keyword extraction module;
74. a response material matching module;
75. a response message generation module;
76. a transmission module;
802. a computer device;
804. a processor;
806. a memory;
808. a drive mechanism;
810. an input/output interface;
812. an input device;
814. an output device;
816. a presentation device;
818. a graphical user interface;
820. a network interface;
822. a communication link;
824. a communication bus.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in some embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on some of the embodiments in the present description, shall fall within the scope of protection of the present description.
It should be noted that the terms "first," "second," and the like in the description and claims herein and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments herein described are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
When a large number of 5G messages go upwards, the database generates huge pressure due to the parallel processing of the large number of 5G messages, and the reply speed of the 5G message platform is low. In view of the large database pressure and the reduced reply message efficiency when a large number of 5G messages are uplinked, the present solution is proposed to overcome the above problems or at least partially solve the above problems.
Referring to fig. 1, some embodiments of the present description provide a 5G message reply processing system, the 5G message reply processing system 10 may include: a user terminal 11 and a server 12. The user terminal 11 can send 5G messages to the server 12, the server 12 can receive 5G messages in batches, process the 5G messages in batches to obtain corresponding response messages, the server 12 sends the corresponding response messages to the user terminal 11, and through the 5G message response processing system, the 5G messages can be filtered and distributed, database pressure is reduced, and response message reply efficiency is improved. Alternatively, the processors on server 12 may be nodes of a cloud computing system (not shown), or each processor may be a separate cloud computing system, comprising multiple computers interconnected by a network and operating as a distributed processing system.
In addition, it should be noted that fig. 1 is only an application environment provided by the present disclosure, and in an actual application, other application scenarios may also be included, and this specification is not limited.
Referring to fig. 2, some embodiments of the present specification provide a 5G message reply processing method, which may be applied to the server side described above, and the present specification provides the method operation steps as described in the embodiments or flowcharts, but may include more or less operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of sequences, and does not represent a unique order of performance. When an actual system or apparatus product executes, it can execute sequentially or in parallel according to the method shown in the embodiment or the figures. Specifically, as shown in fig. 2, the method may include:
s100: receiving batch 5G messages;
s200: filtering out 5G messages containing fixed service keywords from the 5G messages in batch, and extracting the fixed service keywords in the 5G messages;
s300: filtering out 5G messages containing active service keywords from the rest 5G messages in the batch of 5G messages, and extracting the active service keywords;
s400: matching response materials for each fixed service keyword from a first response material database, and matching response materials for each active service keyword from a second response material database;
s500: generating a response message corresponding to the 5G message according to the response material of each fixed service keyword, and generating a response message corresponding to the 5G message according to the response material of each movable service keyword;
s600: and providing the generated response message to the 5G message interaction port.
The embodiment of the specification can automatically extract keywords according to the service categories from a large number of ascending 5G messages, match response materials for each service keyword from the corresponding response material database to generate corresponding response messages, and automatically filter the 5G messages without the service keywords in the 5G messages, so that the pressure of the database when a large number of 5G messages are ascending is relieved, and the response message generation efficiency of the 5G messages is improved.
In some embodiments, the input batch of 5G messages comes from a 5G smart terminal, and the input 5G messages may be 5G text messages and/or 5G voice messages; for 5G voice messages, a voice recognition model based on deep learning pre-training can be called to recognize the 5G voice messages, corresponding 5G text messages are obtained, and therefore the 5G messages in batches are all converted into the 5G text messages, and the subsequent keyword extraction and classification process is facilitated.
In some embodiments, the filtering out the 5G messages containing the fixed service keywords from the batch of 5G messages and extracting the fixed service keywords therein may include: and identifying and extracting a model through a preset bloom filter, identifying 5G messages containing fixed service keywords in the 5G messages in batches, and extracting the fixed service keywords in the 5G messages, wherein the fixed service keywords are associated with the corresponding 5G messages.
In some embodiments, the fixed service keywords refer to keywords corresponding to a non-periodically updated always-running fixed service, the fixed service keywords are queried frequently and frequently, and the flow distribution filtering effect of the extracted fixed service keywords is obvious because the processing time of the fixed service keywords with high query frequency is longer than that of other keywords with low query frequency, and the fixed service keywords with high query frequency are preferentially processed, and compared with delayed processing, the preferential processing helps to reduce the total query time of all the service keywords.
Specifically, the bloom filter is composed of a binary array having all initial values of 0 and a plurality of mapping functions, and is mainly used for determining whether or not certain data exists. Compared with other data structures, bloom filters have great advantages in terms of space and time: the storage space, the insertion time and the query time of the bloom filter are constants, in addition, the mapping functions have no relation with each other, so that the parallel implementation by hardware is convenient, in addition, the bloom filter does not need to store elements, and the bloom filter has the advantages in certain occasions with strict confidentiality requirements.
When the bloom filter is in the initial state, all bits of the bit array with the length of m are set to 0, as shown in table 1:
TABLE 1 bloom Filter initial State schematic Table
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 2 3 4 5 6 7 8 9 10 11 12 m-1
When an element X is added to the set, it is mapped to K points in the bitmap by K mapping functions, setting them to 1. When a target element X is queried, only searching whether K points corresponding to the bit array with the length of m are all 1, and if the K points are not all 1, the target element X does not exist; if all of the K points are 1, then the target query element is likely to exist.
The likely reason for this is that the mapping function is a hash function, and collisions between hash functions will cause multiple added elements to place the same point position 1 in the bit array, which is also the root cause of the bloom filter false positive rate.
The collision between hash functions also causes an element deletion obstacle of the bloom filter, because each point in the bit array of the bloom filter is not occupied by one element alone, and it is highly likely that a plurality of elements share one point, as shown in fig. 3, fun1, fun2, and Fun3 are different mapping functions, objA, and objB are two different elements, the bit array has m bits in total, and objA, and objB each use Fun1, fun2, and Fun3 to set the corresponding point position 1 in the bit array, and if the element objA is deleted directly, other elements, such as the 3 rd point corresponding to objB, will be affected.
The calculation formula of the misjudgment rate is as follows:
Figure BDA0003827307900000081
wherein k is the number of mapping functions, m is the number of bits in the bit array, n is the number of insertion elements, and λ is the false positive rate.
In view of the characteristics of the bloom filter, a bloom filter filtering model is preset for 5G messages containing fixed service keywords in the batch of 5G messages, so that the 5G messages containing the fixed service keywords are filtered, and the fixed service keywords are extracted.
It should be noted that when the bloom filter filtering model is preset, the misjudgment rate needs to be controlled within a reasonable range, the misjudgment rate is required to be increased as much as possible on the premise of meeting the normal operation of the system, according to a misjudgment rate formula, when an element is newly added, n is increased, since k and m are determined at the moment, the misjudgment rate lambda is increased, when an element is newly added, the element cannot be kept unchanged, and only can be kept within a specified interval.
For example: when k =1 and m =1000, if the misjudgment rate λ is set to [0.005,0.01], according to a misjudgment rate formula, n should be set between 5 and 10, when n is increased to be more than 10, the misjudgment rate λ exceeds a specified interval, and for a fixed service keyword, the condition of regular updating does not exist, so that only a proper number of mapping functions, a proper number of inserted elements and the like need to be selected when a bloom filter is preset, so that the misjudgment rate λ meets the requirement; for a service keyword which is updated regularly, for example, an active service keyword, the bloom filter needs to be reset regularly, and a large manpower loss is generated, so in some embodiments of the present specification, the active service keyword is extracted without the bloom filter, and meanwhile, the misjudgment rate λ can be maintained in a reasonable interval, so that the bloom filter has both time and space factors, and the filtering performance is improved.
In some embodiments, the filtering out the 5G messages containing the active service keywords from the remaining 5G messages of the batch of 5G messages and extracting the active service keywords therein may include:
and identifying 5G messages containing active service keywords in the 5G messages without the fixed service keywords through a preset character string matching algorithm, and extracting the active service keywords in the 5G messages, wherein the active service keywords are associated with the corresponding 5G messages.
Specifically, when the string matching algorithm processes chinese word segmentation, an incorrect string matching result may be extracted due to cross ambiguity, for example: the string matching target is "researcher" and the string matching algorithm extracts "researcher" mechanically from "the origin of the research life", but this is obviously not the matching result we want. And because the activity business key words have the characteristic of timeliness, and because the ambiguity generation possibility is low for specific activities, the problem of Chinese word segmentation cross ambiguity resolution does not need to be considered, and the purpose of matching and extracting the activity business key words can be realized by using a large-data-volume character string fast matching algorithm, namely Sunday algorithm.
The Sunday algorithm is a linear character string pattern matching algorithm, and the core idea is as follows: in the matching process, when the mode strings are found to be unmatched, the algorithm skips as many characters as possible to carry out the next matching, and the next character of the last character participating in the matching in the text strings is focused when the matching fails, so that the matching efficiency is improved.
For example: referring to fig. 4, the pattern string "hello" is a character string used for matching, and the text string "csfuichqskkohello" is a character string to be matched, and is indicated by a left-oblique line when it is determined that characters are not identical at the time of matching, and by a ruled line when characters are matched. After one matching is finished, if the character does not appear in the pattern string, skipping is directly carried out, and the calculation formula of the moving digit is as follows:
d=p+1
where d is the number of shift bits and p is the length of the pattern string.
Otherwise, the calculation formula of the shift digit is as follows:
d=r+1
where d is the number of shift bits and r is the distance from the rightmost position of the character in the pattern string to the tail.
Specifically, the pattern string "hello" is first matched with the first 5 bits of the text string "csfuichqsskgohello" in the order from left to right, when matching is performed, if it is determined that the first character is inconsistent, the first 5 bits of the text string are directly skipped, the first 6 bits of the text string "c" are directly matched, whether the first 5 bits of the text string appears in the pattern string is confirmed, it is obvious that "c" does not appear in "hello", and therefore the following 5-bit string "hqskg" is continuously matched, which is only the same as the first "h" character in "hello", and is still unmatched, and the next 5-bit string "o" is directly skipped to for matching, which is the same as the last character of "hello", but at this time, the corresponding character string in the text string is "hqskg", which is not matched with "and therefore the following 5-bit string" hello "is continuously matched, which is consistent with the pattern string" heo ", and a matching process is completed, and the pattern string in the text string is successfully identified.
In some embodiments, the active service keyword refers to a keyword corresponding to an active service that is periodically updated along with the holding of an activity, and through a preset Sunday algorithm, a 5G message that does not include a fixed service keyword and includes the active service keyword can be identified, and the active service keyword therein is extracted, where the active service keyword is associated with the corresponding 5G message.
Referring to fig. 5, in some embodiments, said matching answer material for each said fixed service keyword from the first answer material database may comprise:
s210: filtering out traditional fixed service keywords from a first keyword set, wherein the first keyword set is all the fixed service keywords extracted from the batch of 5G messages;
s220: for each traditional fixed service keyword, determining whether a response material of the traditional fixed service keyword exists in a target cache;
s230: and when the response material of the traditional fixed service key word does not exist in the target cache, matching the response material for the traditional fixed service key word from the first response material database.
In some embodiments, said matching answer material for each said fixed service keyword from the first answer material database may further comprise:
s310: and matching response materials for each fixed service keyword in a second keyword set from a first response material database, wherein the second keyword set is the fixed service keywords except the traditional fixed service keywords in the first keyword set.
Specifically, for example, for a fixed banking business, the fixed banking business can be divided into traditional business and complex business according to business complexity and dependence on network points, and the traditional business, including general loan, simple foreign exchange transaction, trade financing and the like, is mainly supported by a large number of branch networks and business volumes; complex businesses, such as derivative products, structural financing, leasing, introduction of strategic investors, procurement and marketing, are not very dependent on a branch network, and are business fields with high technical content and high profit, so that fixed business keywords can be divided into traditional business keywords or complex business keywords.
In some embodiments, a bloom filter capable of extracting a traditional service keyword is preset, so that a fixed service keyword is classified into the traditional service keyword or a complex service keyword, the bloom filter needs to select a proper number of mapping functions, a proper number of insertion elements and the like, and the misjudgment rate λ is within a reasonable interval, so that the bloom filter is ensured to have time and space factors, and the filtering performance of the bloom filter is improved.
The generation of the 5G response message needs corresponding response materials, including but not limited to audio and video, pictures, texts and the like, the response materials can be divided into text information and rich media information, different service keywords correspond to different response materials, the first response material database comprises a text information database and a rich media information material database, and the reason for dividing the first response material database into the text information database and the rich media information material database is that the text information and the rich media information are in different file formats, the rich media information occupies a large space, if the corresponding response materials are not divided, the connection with the corresponding rich media information and the corresponding text information needs to be simultaneously maintained, computing resources are occupied, adverse effects are generated on the generation speed of the response message, and similarly, the corresponding response materials in other response material databases or caches are respectively stored according to the text information database and the rich media information material database.
In some embodiments, in order to further increase the matching speed of the response material, first, the corresponding text information and rich media information are called in the target cache, and when the text information and rich media information corresponding to the conventional fixed service keyword do not exist in the target cache, then the response material is matched for the conventional fixed service keyword from the first response material database, that is, the text information corresponding to the conventional fixed service keyword is matched from the text information database, and the rich media information corresponding to the conventional fixed service keyword is matched from the rich media information material database.
In some embodiments, in order to further increase the matching speed of the response materials, the order of the text information and the rich media information in the target cache is updated regularly according to the occurrence frequency of the traditional business keywords from high to low.
Referring to fig. 6, a 5G message reply processing method is shown in some embodiments and may include:
s610: receiving batch 5G messages;
s620: filtering out 5G messages containing fixed service keywords from the 5G messages in batch, and extracting the fixed service keywords in the 5G messages;
s630: filtering out 5G messages containing active service keywords from the rest 5G messages in the batch of 5G messages, and extracting the active service keywords;
and S640: filtering 5G messages containing no service keywords in the batch of 5G messages
S650: matching response materials for each fixed service keyword from a first response material database, and matching response materials for each active service keyword from a second response material database;
s660: generating a response message corresponding to the 5G message according to the response material of each fixed service keyword, and generating a response message corresponding to the 5G message according to the response material of each movable service keyword;
s670: and providing the generated response message to the 5G message interaction port.
The difference between the fig. 6 and the 5G message reply processing method shown in fig. 1 is that after filtering out the 5G messages containing active service keywords from the remaining 5G messages in the batch of 5G messages, the method further includes filtering out the 5G messages in the batch of 5G messages that do not contain service keywords.
Specifically, after two preset bloom filters with different filtering and extracting functions sequentially filter messages of 5G messages in batches and extract corresponding service keywords, the remaining 5G messages are 5G messages not containing the service keywords and are determined as spam messages, and after the spam messages are filtered, the number of 5G messages needing to be analyzed and processed is reduced, so that part of pressure of a database is relieved.
In some embodiments, the generating a response message corresponding to a 5G message according to the response material of each of the fixed service keywords and generating a response message corresponding to a 5G message according to the response material of each of the active service keywords includes:
s710: and generating a response message corresponding to the 5G message according to response materials of each fixed service keyword through a preset intelligent response system, and generating a response message corresponding to the 5G message according to response materials of each movable service keyword.
Specifically, the preset intelligent response system is used for generating corresponding 5G message response messages according to different service keywords and corresponding response materials, the preset intelligent response system can start to make the 5G messages by combining the response materials after receiving the service keywords, the preset intelligent response system mainly comprises a selection template, message editing and data statistics, the selection template refers to that the response message templates corresponding to the different service keywords are different, corresponding templates need to be matched in a preset template library, and the template is set in advance according to contents needing to be expressed by the service keywords and comprises a common text dynamic template, a picture message dynamic template, an audio message dynamic template, a video message dynamic template, a single card message dynamic template, a multi-card message dynamic template and the like; after the template matching is completed, according to the selected template, combining the response material to start message editing to generate a response message, and then sending the response message to the corresponding user through a 5G channel.
For example, a corresponding 5G message is generated according to a single-card message dynamic template in combination with a corresponding response material according to a fixed service keyword, and file information in rich media information in the response material used for generating the single-card message may be a picture, video, audio, or the like. Firstly, using a fixed service keyword as a 5G message name; optionally, if the message needs to carry files such as pictures, videos, and audios, the step of embedding the corresponding file into the corresponding card may be performed: generating a single card message usually needs to carry a picture, a video, an audio or the like, embedding a corresponding picture, a video, an audio or a file in a response material into a card, wherein the width and the height of the card can be adjusted when a template is preset; alternatively, if the message requires a header, this step may be performed: setting a content title below the card, wherein whether the single card message has the title is determined when the template is preset; optionally, if the message requires content introduction, the step may be performed: setting the content below the card, and determining whether the single card message has content introduction when the template is preset; alternatively, if the message requires a button, the steps may be performed: one or more buttons below the card are set, the action types triggered after clicking the buttons can be link opening, call making, position displaying, position requesting, schedule creating, payment, application id, application keys and the like, whether the single card message comprises the buttons, the number of the buttons and the position distribution of the buttons is determined when the template is preset, and the single card message can be generated through the steps.
In some embodiments, if the mobile phone of the user does not support the 5G message, the intelligent response system receives the fallen back 5G message, stores and counts the message, converts the message into a common text message, and sends the common text message to the user.
Corresponding to the above 5G message response processing method, some embodiments of the present specification further provide a 5G message response processing apparatus, which may be configured in the above server, and as shown in fig. 7, in some embodiments, the 5G message response processing apparatus may include:
a receiving module 71, configured to receive batch 5G messages;
a fixed service keyword extraction module 72, configured to filter out 5G messages that include fixed service keywords from the batch of 5G messages, and extract the fixed service keywords therein;
an active service keyword extraction module 73, configured to filter out a 5G message including an active service keyword from remaining 5G messages of the batch of 5G messages, and extract the active service keyword therein;
a response material matching module 74, configured to match response materials for each of the fixed service keywords from the first response material database, and match response materials for each of the active service keywords from the second response material database;
a response message generating module 75, configured to generate a response message corresponding to the 5G message according to the response material of each fixed service keyword, and generate a response message corresponding to the 5G message according to the response material of each active service keyword;
and a transmission module 76 for providing the generated response message to the 5G message interaction port.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more pieces of software and/or hardware in the practice of this description.
It should be noted that, in the embodiments of the present specification, the user information (including, but not limited to, user device information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to are information and data that are authorized by the user and are sufficiently authorized by the parties.
Embodiments of the present description also provide a computer device. As shown in fig. 8, in some embodiments of the present description, the computer device 802 may include one or more processors 804, such as one or more Central Processing Units (CPUs) or Graphics Processors (GPUs), each of which may implement one or more hardware threads. The computer device 802 may also include any memory 806 for storing any kind of information such as code, settings, data, etc., and in one embodiment, a computer program stored on the memory 806 and executable on the processor 804 may execute the instructions of the cross-border remittance data processing method based on teletext recognition described in any of the embodiments above when the computer program is executed by the processor 804. For example, and without limitation, memory 806 may include any one or more of the following in combination: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent fixed or removable components of computer device 802. In one case, when the processor 804 executes the associated instructions, which are stored in any memory or combination of memories, the computer device 802 can perform any of the operations of the associated instructions. The computer device 802 also includes one or more drive mechanisms 808, such as a hard disk drive mechanism, an optical disk drive mechanism, etc., for interacting with any memory.
Computer device 802 may also include input/output interface 810 (I/O) for receiving various inputs (via input device 812) and for providing various outputs (via output device 814). One particular output mechanism may include a presentation device 816 and an associated graphical user interface 818 (GUI). In other embodiments, input/output interface 810 (I/O), input device 812, and output device 814 may also be excluded, as just one computer device in a network. Computer device 802 may also include one or more network interfaces 820 for exchanging data with other devices via one or more communication links 822. One or more communication buses 824 couple the above-described components together.
Communication link 822 may be implemented in any manner, such as over a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 822 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), computer-readable storage media and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processor to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processor, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processor to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processor to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computer device includes one or more processors (CPUs), input/output interfaces, a network interface, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computer device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processors that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
It should also be understood that, in the embodiment of the present specification, the term "and/or" is only one kind of association relation describing an associated object, and means that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. A5G message response processing method is characterized by comprising the following steps:
receiving batch 5G messages;
filtering the 5G messages containing the fixed service keywords from the batch of 5G messages, and extracting the fixed service keywords from the 5G messages;
filtering the 5G messages containing the active service keywords from the rest 5G messages of the batch of 5G messages, and extracting the active service keywords from the 5G messages;
matching response materials for each fixed service keyword from a first response material database, and matching response materials for each active service keyword from a second response material database;
generating a response message corresponding to the 5G message according to the response material of each fixed service keyword, and generating a response message corresponding to the 5G message according to the response material of each movable service keyword;
and providing the generated response message to the 5G message interaction port.
2. The 5G message reply processing method of claim 1, wherein said matching reply materials from the first reply materials database for each of said fixed service keywords comprises:
filtering out traditional fixed service keywords from a first keyword set, wherein the first keyword set is all fixed service keywords extracted from the batch of 5G messages;
for each traditional fixed service keyword, determining whether a response material of the traditional fixed service keyword exists in a target cache;
and when the response material of the traditional fixed service key word does not exist in the target cache, matching the response material for the traditional fixed service key word from the first response material database.
3. The 5G message reply processing method of claim 2, wherein said matching reply materials from the first reply materials database for each of said fixed service keywords further comprises:
and matching response materials for each fixed service keyword in a second keyword set from a first response material database, wherein the second keyword set is the fixed service keywords except the traditional fixed service keywords in the first keyword set.
4. The 5G message reply processing method of claim 1, further comprising, after filtering out the 5G messages containing active service keywords from the remaining 5G messages of the bulk 5G message:
and filtering the 5G messages which do not contain the service keywords in the 5G messages in the batch.
5. The 5G message reply processing method of claim 1, wherein the 5G messages containing fixed service keywords are filtered from the batch of 5G messages and the fixed service keywords are extracted, comprising,
and identifying an extraction model through a preset bloom filter, identifying 5G messages containing fixed service keywords in the 5G messages in batch, and extracting the fixed service keywords in the 5G messages, wherein the fixed service keywords are associated with the corresponding 5G messages.
6. The 5G message reply processing method of claim 1, wherein the filtering out the 5G messages containing the active service keywords from the rest 5G messages of the batch of 5G messages and extracting the active service keywords therein comprises:
and identifying 5G messages containing the active service keywords in the 5G messages without the fixed service keywords through a preset character string matching algorithm, and extracting the active service keywords in the 5G messages, wherein the active service keywords are associated with the corresponding 5G messages.
7. The 5G message response processing method according to claim 1, wherein the generating a response message corresponding to a 5G message according to the response material of each of the fixed service keywords and generating a response message corresponding to a 5G message according to the response material of each of the active service keywords comprises:
and generating a response message corresponding to the 5G message according to response materials of each fixed service keyword through a preset intelligent response system, and generating a response message corresponding to the 5G message according to response materials of each movable service keyword.
8. A 5G message reply processing apparatus, the apparatus comprising:
the receiving module is used for receiving batch 5G messages;
the fixed service keyword extraction module is used for filtering the 5G messages containing the fixed service keywords from the batch of 5G messages and extracting the fixed service keywords from the 5G messages;
the activity service keyword extraction module is used for filtering the 5G messages containing the activity service keywords from the rest 5G messages of the batch of 5G messages and extracting the activity service keywords;
the response material matching module is used for matching response materials for each fixed service keyword from a first response material database and matching response materials for each active service keyword from a second response material database;
a response message generating module, configured to generate a response message corresponding to the 5G message according to the response material of each fixed service keyword, and generate a response message corresponding to the 5G message according to the response material of each active service keyword;
and the transmission module is used for providing the generated response message to the 5G message interaction port.
9. A computer arrangement comprising a memory, a processor, and a computer program stored on the memory, characterized in that the computer program, when executed by the processor, executes the instructions of the method according to any one of claims 1-7.
10. A computer storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor of a computer device, executes instructions of a method according to any one of claims 1-7.
11. A computer program product, characterized in that it comprises a computer program which, when being executed by a processor, executes instructions for a method according to any one of claims 1 to 7.
CN202211063550.9A 2022-09-01 2022-09-01 5G message response processing method and device Pending CN115460555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211063550.9A CN115460555A (en) 2022-09-01 2022-09-01 5G message response processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211063550.9A CN115460555A (en) 2022-09-01 2022-09-01 5G message response processing method and device

Publications (1)

Publication Number Publication Date
CN115460555A true CN115460555A (en) 2022-12-09

Family

ID=84301982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211063550.9A Pending CN115460555A (en) 2022-09-01 2022-09-01 5G message response processing method and device

Country Status (1)

Country Link
CN (1) CN115460555A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798032A (en) * 2017-02-17 2018-03-13 平安科技(深圳)有限公司 Response message treating method and apparatus in self-assisted voice session
JP2018081444A (en) * 2016-11-15 2018-05-24 ソフトバンク株式会社 User support system, user support program, and user support method
CN111026855A (en) * 2019-12-06 2020-04-17 易小博(武汉)科技有限公司 Intelligent customer service response method, system, controller and medium
CN113099399A (en) * 2021-04-13 2021-07-09 中国工商银行股份有限公司 5G financial message data processing method, financial institution and operator service device
CN113515705A (en) * 2021-07-27 2021-10-19 平安普惠企业管理有限公司 Response information generation method, device, equipment and computer readable storage medium
CN113794623A (en) * 2021-08-31 2021-12-14 北京明略软件系统有限公司 Method and device for generating response message, electronic equipment and storage medium
CN114915923A (en) * 2022-05-06 2022-08-16 中国联合网络通信集团有限公司 5G message-as-a-service triggering method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018081444A (en) * 2016-11-15 2018-05-24 ソフトバンク株式会社 User support system, user support program, and user support method
CN107798032A (en) * 2017-02-17 2018-03-13 平安科技(深圳)有限公司 Response message treating method and apparatus in self-assisted voice session
CN111026855A (en) * 2019-12-06 2020-04-17 易小博(武汉)科技有限公司 Intelligent customer service response method, system, controller and medium
CN113099399A (en) * 2021-04-13 2021-07-09 中国工商银行股份有限公司 5G financial message data processing method, financial institution and operator service device
CN113515705A (en) * 2021-07-27 2021-10-19 平安普惠企业管理有限公司 Response information generation method, device, equipment and computer readable storage medium
CN113794623A (en) * 2021-08-31 2021-12-14 北京明略软件系统有限公司 Method and device for generating response message, electronic equipment and storage medium
CN114915923A (en) * 2022-05-06 2022-08-16 中国联合网络通信集团有限公司 5G message-as-a-service triggering method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110674154B (en) Spark-based method for inserting, updating and deleting data in Hive
US20090044095A1 (en) Automatically populating and/or generating tables using data extracted from files
CN108733681A (en) Information processing method and device
CN111143551A (en) Text preprocessing method, classification method, device and equipment
CN113297269A (en) Data query method and device
CN112307318B (en) Content publishing method, system and device
CN112307247B (en) Distributed face retrieval system and method
CN116561231B (en) Alliance chain data processing method based on split chain technology
CN111897828A (en) Data batch processing implementation method, device, equipment and storage medium
CN112765976A (en) Text similarity calculation method, device and equipment and storage medium
CN115460555A (en) 5G message response processing method and device
CN110825874A (en) Chinese text classification method and device and computer readable storage medium
CN111723122A (en) Method, device and equipment for determining association rule between data and readable storage medium
CN115686455A (en) Application development method, device and equipment based on spreadsheet and storage medium
CN115129781A (en) Data processing method and device, electronic equipment and storage medium
CN111563123B (en) Real-time synchronization method for hive warehouse metadata
KR102063797B1 (en) Apparatus and method for text automatic summary
CN112632132A (en) Method, device and equipment for processing abnormal import data
CN107833259B (en) Dynamic cartoon engine processing method and system based on intelligent terminal
CN110019507B (en) Data synchronization method and device
CN113744066B (en) Information pushing method and device
CN113836379B (en) Intelligent recommendation method and system based on client image
CN117193750B (en) Full stack low code platform implementation method based on CraphQL
CN115544321B (en) Method and device for realizing graph database storage and storage medium
CN112463951B (en) Content matching system and elimination 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