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

5G message response processing method and device Download PDF

Info

Publication number
CN115460555B
CN115460555B CN202211063550.9A CN202211063550A CN115460555B CN 115460555 B CN115460555 B CN 115460555B CN 202211063550 A CN202211063550 A CN 202211063550A CN 115460555 B CN115460555 B CN 115460555B
Authority
CN
China
Prior art keywords
messages
response
keywords
message
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.)
Active
Application number
CN202211063550.9A
Other languages
Chinese (zh)
Other versions
CN115460555A (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.)
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/CN115460555B/en
Publication of CN115460555A publication Critical patent/CN115460555A/en
Application granted granted Critical
Publication of CN115460555B publication Critical patent/CN115460555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The specification relates to the field of communication response, and provides a 5G message response processing method and device, wherein the method comprises the following steps: receiving a batch of 5G messages; filtering 5G messages containing fixed service keywords from the 5G messages in batches, and extracting the fixed service keywords; filtering 5G messages containing active service keywords from the rest 5G messages, and extracting the active service keywords; matching response materials for each fixed business keyword from a first response material database, and matching response materials for each movable business 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 movable service keyword; and providing the generated response message to the 5G message interaction port. By utilizing the embodiments of the present specification, the database pressure during the uplink of a large number of 5G messages can be relieved, and the 5G message response message generation efficiency can be 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 apparatus for processing a 5G message response.
Background
RCS (Rich Communication Services & Suite, rich media communication) is one communication method proposed by the global system for mobile communications society. The 5G message is based on RCS, and can provide service functions such as rich media message, intelligent interaction, etc. At present, for uplink 5G messages, a 5G message platform queries a corresponding answer call from a database mainly according to keywords in the 5G messages, and then invokes a sending module to send corresponding answer messages. In general, this scheme can implement fast interactive response of 5G messages, however, when a large number of 5G messages go up, parallel processing of a large number of 5G messages can cause huge pressure on the database, resulting in slow reply of the 5G message platform. Therefore, a 5G message reply processing scheme capable of implementing message filtering and splitting is needed to solve the problems of high database pressure and slow reply of reply messages when a large number of 5G messages go up.
Disclosure of Invention
In view of the large number of 5G messages upstream with high database pressures and slow reply messages, the present solution has been proposed to overcome or at least partially solve the above problems.
In one aspect, some embodiments of the present specification aim to provide a 5G message reply processing method, the method including:
Receiving a batch of 5G messages;
Filtering 5G messages containing fixed service keywords from the batch of 5G messages, and extracting the fixed service keywords from the messages;
Filtering 5G messages containing active service keywords from the rest 5G messages of the batch of 5G messages, and extracting the active service keywords;
Matching response materials for each of the fixed service keywords from a first response material database, and matching response materials for each of the active service keywords 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 response materials for each of the fixed service keywords from the first response materials database includes:
Filtering traditional fixed business keywords from a first keyword set, wherein the first keyword set is all the fixed business keywords extracted from the batch of 5G messages;
for each traditional fixed business keyword, confirming whether response materials of the traditional fixed business keyword exist in a target cache;
and when the response material of the traditional fixed business keyword does not exist in the target cache, matching the response material for the traditional fixed business keyword from a first response material database.
Preferably, the matching response materials for each of the fixed service keywords from the first response materials database includes:
and matching response materials for each fixed business keyword in a second keyword set from the first response material database, wherein the second keyword set is a fixed business keyword except the traditional fixed business keywords in the first keyword set.
Preferably, after filtering out the 5G messages containing the active service key from the remaining 5G messages of the batch of 5G messages, the method further comprises:
And filtering 5G messages which do not contain the service keywords in the batch of 5G messages.
Preferably, the filtering the 5G messages including the fixed service keywords from the batch of 5G messages, and extracting the fixed service keywords therein includes:
and identifying 5G messages containing the fixed service keywords in the batch of 5G messages through a preset bloom filter identification extraction model, and extracting the fixed service keywords in the 5G messages, wherein the fixed service keywords are associated with the corresponding 5G messages.
Preferably, filtering 5G messages including active service keywords from the rest 5G messages of the batch of 5G messages, and extracting the active service keywords therein, including:
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 fixed service keyword, and generating a response message corresponding to the 5G message according to the response material of each active service keyword, includes:
and generating a response message corresponding to the 5G message according to the response material of each fixed service keyword through a preset intelligent response system, and generating a response message corresponding to the 5G message according to the response material of each movable service keyword.
In another aspect, some embodiments of the present specification further provide a 5G message reply processing apparatus, including:
the receiving module is used for receiving the batch 5G messages;
Fixed business keyword extraction module: the method comprises the steps of filtering 5G messages containing fixed service keywords from the 5G messages in batches, and extracting the fixed service keywords from the messages;
An active business keyword extraction module: the 5G messages containing the active service keywords are filtered out of the rest 5G messages of the 5G messages in the batch, and the active service keywords are extracted;
and a response material matching module: the system is used for matching response materials for each fixed business keyword from a first response material database and matching response materials for each movable business keyword from a second response material database;
And the response message generation module is used for: the response message corresponding to the 5G message is generated according to the response material of each fixed service keyword, and the response message corresponding to the 5G message is generated according to the response material of each movable service 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 including a memory, a processor, and a computer program stored on the memory, which when executed by the processor, performs the instructions of the above method.
In another aspect, some embodiments of the present description also provide a computer storage medium having stored thereon a computer program which, when executed by a processor of a computer device, performs instructions of the above 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 instructions of the above method.
One or more technical solutions provided in some embodiments of the present disclosure at least have the following technical effects:
According to the embodiment of the specification, keywords can be automatically extracted from a large number of uplink 5G messages according to service types, and response materials are matched with each service keyword from a corresponding response material database to generate corresponding response messages, so that the 5G messages which do not contain the service keywords in the 5G messages can be automatically filtered, the database pressure in the uplink of a large number of 5G messages is relieved, and the response message generation efficiency of the 5G messages is improved.
The foregoing description is merely an overview of some embodiments of the present disclosure, which may be practiced in accordance with the disclosure of the present disclosure, for the purpose of making the foregoing and other objects, features, and advantages of some embodiments of the present disclosure more readily apparent, and for the purpose of providing a more complete understanding of the present disclosure's technical means.
Drawings
In order to more clearly illustrate some embodiments of the present description or technical solutions in the prior art, the following description will briefly explain the embodiments or drawings needed in the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments described in the present description, and other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art. In the drawings:
FIG. 1 illustrates a schematic diagram of a 5G message reply processing system in some embodiments of the present description;
FIG. 2 illustrates a flow chart of a method of processing a 5G message reply in some embodiments of the present description;
FIG. 3 illustrates a schematic diagram of mapping function collision points in bloom filters in some embodiments of the present disclosure;
FIG. 4 is a schematic diagram illustrating a process for string matching based on the Sunday algorithm in some embodiments of the present disclosure;
FIG. 5 is a flow chart of matching response materials for each of the fixed business keywords from a first response materials database in a 5G message response processing method according to some embodiments of the present disclosure;
FIG. 6 illustrates a flow chart of a method of processing a 5G message reply in some embodiments of the specification;
FIG. 7 illustrates a block diagram of an apparatus in some embodiments of the specification;
fig. 8 illustrates a block diagram of a computer device in some embodiments of the present description.
[ Reference numerals description ]
10. A 5G message response processing system;
11. A user terminal;
12. A server;
71. A receiving module;
72. a fixed business keyword extraction module;
73. An active business 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 driving 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 the technical solutions in the present specification better understood by those skilled in the art, 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 some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure based on some embodiments in the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims herein and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be 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 or inherent to such process, method, article, or device.
When a large number of 5G messages are uplink, the parallel processing of a large number of 5G messages can cause huge pressure on a database, and the reply speed of a 5G message platform is slow. In view of the large database pressures and reduced reply message reply efficiency when large numbers of 5G messages are sent up, the present solution has been proposed to overcome or at least partially solve the above-mentioned 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 may send the 5G message to the server 12, the server 12 may receive a batch of 5G messages, process the batch of 5G messages to obtain a corresponding response message, and the server 12 sends the corresponding response message to the user terminal 11, through the 5G message response processing system, filtering and splitting of the 5G message may be implemented, thereby reducing database pressure and improving response message response efficiency. 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, including 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 practical application, other application scenarios may also be included, which is not limited in this specification.
Referring to fig. 2, some embodiments of the present disclosure provide a 5G message reply processing method that may be applied to the server side described above, and the present disclosure provides the method operation steps as described in the examples or flowcharts, but may include more or fewer operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When a system or apparatus product in practice is executed, it may be executed sequentially or in parallel according to the method shown in the embodiments or the drawings. As shown in fig. 2, the method may include:
S100: receiving a batch of 5G messages;
S200: filtering 5G messages containing fixed service keywords from the batch of 5G messages, and extracting the fixed service keywords from the messages;
S300: filtering 5G messages containing active service keywords from the rest 5G messages of the batch of 5G messages, and extracting the active service keywords;
s400: matching response materials for each of the fixed service keywords from a first response material database, and matching response materials for each of the active service keywords 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.
According to the embodiment of the specification, keywords can be automatically extracted from a large number of uplink 5G messages according to service types, and response materials are matched with each service keyword from a corresponding response material database to generate corresponding response messages, so that the 5G messages which do not contain the service keywords in the 5G messages can be automatically filtered, the database pressure in the uplink of a large number of 5G messages is relieved, and the response message generation efficiency of the 5G messages is improved.
In some embodiments, the input batch of 5G messages is from a 5G smart terminal, and the input 5G messages may be 5G text messages and/or 5G voice messages; for the 5G voice message, a voice recognition model pre-trained based on deep learning can be called to recognize the 5G voice message, and a corresponding 5G text message is obtained, so that the batch of 5G messages are all converted into the 5G text message, and the subsequent keyword extraction and classification process is facilitated.
In some embodiments, filtering 5G messages including fixed service keywords from the batch of 5G messages and extracting the fixed service keywords therein may include: and identifying 5G messages containing the fixed service keywords in the batch of 5G messages through a preset bloom filter identification extraction model, 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 fixed services which are not updated periodically and always run, the fixed service keywords have high query frequency and multiple query times, and the splitting and filtering effects of the fixed service keywords are firstly extracted, because the fixed service keywords with multiple query times have longer processing time than other keywords with fewer query times, and the fixed service keywords with multiple query times are processed preferentially, and compared with delayed processing, the preferential processing is helpful to reduce the total query time of all the service keywords.
Specifically, the bloom filter is composed of a binary group whose initial value is all 0 and a plurality of mapping functions, and is mainly used for judging whether certain data exists or not. Bloom filters have great advantages over other data structures in terms of both space and time: the bloom filter memory space, the insertion time and the query time are all constant, and in addition, the mapping functions have no relation with each other, so the bloom filter is conveniently realized by hardware in parallel, and the bloom filter does not need memory elements, thereby being advantageous in some occasions with very strict security requirements.
In the initial state, the bloom filter is set to 0 for all bits of the length m bit array, 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 element X is added to the set, it is mapped to K points in the bitmap by K mapping functions, which are set to 1. When inquiring the target element X, only searching whether the corresponding K points in the bit array with the length of m are all 1, and if the K points are not all 1, the target element X is not necessarily present; if the K points are all 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 1 in the bit array, which is also the root cause of the bloom filter false positive rate.
Collision between hash functions also causes 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, it is quite possible that multiple elements share one point, as shown in fig. 3, fun1, fun2 and Fun3 are different mapping functions, obj a and obj b are two different elements, the bit arrays share m bits, and each of obj a and obj b directly deletes an element objA to affect a corresponding point 1 in the bit array, such as the 3 rd point corresponding to objB.
The calculation formula of the misjudgment rate is as follows:
where k is the number of mapping functions, m is the number of bits in the bit array, n is the number of inserted elements, and λ is the false positive rate.
In view of the features of the bloom filter, a bloom filter filtering model is preset for the 5G messages containing the fixed service keywords in the batch of 5G messages, so that the 5G messages containing the fixed service keywords are filtered out, and the fixed service keywords in the 5G messages 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 requirement of the misjudgment rate is that the hit rate is improved as much as possible on the premise of meeting the normal operation of the system, and according to the misjudgment rate formula, n is increased when newly added elements, since k and m are determined at this time, the misjudgment rate lambda is increased, and when newly added elements cannot be kept unchanged, and can only be kept within a specified interval.
For example: when k=1 and m=1000, if the erroneous judgment rate λ is required to be [0.005,0.01], n should be between 5 and 10 according to the erroneous judgment rate formula, when n is newly increased to be greater than 10, the erroneous judgment rate λ exceeds a designated interval, and for a fixed service keyword, no periodic update exists, so that only the number of mapping functions, the number of inserted elements and the like are required to be selected when a bloom filter is preset, so that the erroneous judgment rate λ meets the requirement; for the service keywords updated regularly, such as the active service keywords, the bloom filter needs to be reset regularly to generate larger manpower loss, so that in some embodiments of the present specification, the active service keywords are not extracted by the bloom filter, and the erroneous judgment rate lambda 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, filtering 5G messages including 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 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.
Specifically, when processing chinese word segmentation, the string matching algorithm may extract incorrect string matching results due to cross ambiguity, for example: the string matching objective is "research" and the string matching algorithm mechanically extracts "research" from "research life's origin", but this is clearly not our desired matching result. Because the active business keywords have the characteristic of timeliness and the possibility of ambiguity generation is low for specific activities, the problem of Chinese word segmentation crossover ambiguity resolution is not needed to be considered, and the purpose of matching and extracting the active business keywords can be realized by using a Sunday algorithm which is a rapid matching algorithm of a large data volume character string.
The Sunday algorithm is a linear character string pattern matching algorithm, and the core idea is as follows: in the matching process, when the pattern string is not matched, the algorithm skips as many characters as possible to carry out next matching, and when the matching fails, the important attention is that the character of the text string which participates in the next character of the last character of the matching is next, so that the matching efficiency is improved.
For example: referring to fig. 4, a pattern string "hello" is a character string used for matching, a text string "csfuichqskgohello" is a character string to be matched, and is represented by left diagonal lines when it is determined that characters are inconsistent when matching, and is represented by grid lines when matching characters are consistent. After the one-time matching is finished, if the character does not appear in the pattern string, the character is directly skipped, and the calculation formula of the moving bit number is as follows:
d=p+1
where d is the number of shift bits and p is the pattern string length.
Otherwise, the calculation formula of the movement digit is as follows:
d=r+1
where d is the number of movement 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 "csfuichqskgohello" in the order from left to right, when the first bit character is inconsistent, the first 5 bits of the text string are directly skipped, the 6 th bit "c" of the text string is directly matched, whether the pattern string is in existence or not is confirmed, obviously, "c" does not exist in the "hello", so that the subsequent 5 bit character string "hqskg", "hqskg" is continuously matched with the first "h" character in the "hello", the matching is not performed, the matching is performed by directly jumping to the next character "o" of "hqskg", the character "o" is identical with the last character of the "hello", the corresponding character string in the text string is "qskgo" and is not matched with the "hello", the subsequent 5 bit character string "hello" is continuously matched, the pattern string "is not consistent with the pattern string" hello ", the first matching process is successfully completed, and the character string consistent with the pattern string in the text string is successfully identified.
In some embodiments, the activity service keywords refer to keywords corresponding to activity services that are updated periodically along with the holding of the activity, and through a preset Sunday algorithm, 5G messages that contain the activity service keywords in the 5G messages that do not contain the fixed service keywords can be identified, and the activity service keywords in the 5G messages are extracted, where the activity service keywords are associated with the corresponding 5G messages.
Referring to fig. 5, in some embodiments, the matching response materials for each of the fixed service keywords from the first response materials database may include:
S210: filtering traditional fixed business keywords from a first keyword set, wherein the first keyword set is all the fixed business keywords extracted from the batch of 5G messages;
S220: for each traditional fixed business keyword, confirming whether response materials of the traditional fixed business keyword exist in a target cache;
s230: and when the response material of the traditional fixed business keyword does not exist in the target cache, matching the response material for the traditional fixed business keyword from a first response material database.
In some embodiments, said matching response material for each of said fixed business keywords from the first response material database may further comprise:
S310: and matching response materials for each fixed business keyword in a second keyword set from the first response material database, wherein the second keyword set is a fixed business keyword except the traditional fixed business keywords in the first keyword set.
Specifically, for example, for a bank fixed business, the bank business can be divided into a traditional business and a complex business according to the business complexity and the dependence on network points, wherein the traditional business comprises general loans, simple foreign exchange buying and selling, trade financing and the like, and is mainly supported by a large number of branch networks and business volumes; complex services, such as derivative products, structural financing, leasing, introduction of strategic investors, acquisition and merger and marketing, are not very dependent on a branch network, are high-technology-content and high-profit service fields, and thus, fixed service keywords can be classified into traditional service keywords or complex service keywords.
In some embodiments, a bloom filter capable of extracting traditional service keywords is preset, so that the fixed service keywords are classified into traditional service keywords or complex service keywords, and the bloom filter needs to select proper mapping function number, number of inserted elements and the like, so that the misjudgment rate lambda is in a reasonable interval, thereby ensuring that the bloom filter has time and space factors and improving the filtering performance of the bloom filter.
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, the first response material database is divided into the text information database and the rich media information material database because the text information and the rich media information file format are different, the rich media information occupies large space, and if the text information and the rich media information file format are not divided, the corresponding response materials are called, the connection with the corresponding rich media information and the corresponding text information is simultaneously maintained, calculation resources are occupied, adverse effects are generated on the response message generation speed, and similarly, the response materials corresponding to 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 improve the matching speed of the response material, the corresponding text information and rich media information are first called in the target cache, and when the text information and rich media information corresponding to the traditional fixed service keyword do not exist in the target cache, the response material is matched for the traditional fixed service keyword from the first response material database, that is, the text information corresponding to the traditional fixed service keyword is matched from the text information database, and the rich media information corresponding to the traditional fixed service keyword is matched from the rich media information material database.
In some embodiments, in order to further improve the matching speed of the response material, the order of the text information and the rich media information in the target cache is periodically updated according to the occurrence frequency of the traditional service keywords from high to low.
Referring to fig. 6, in some embodiments, a 5G message reply processing method is shown, which may include:
s610: receiving a batch of 5G messages;
S620: filtering 5G messages containing fixed service keywords from the batch of 5G messages, and extracting the fixed service keywords from the messages;
S630: filtering 5G messages containing active service keywords from the rest 5G messages of the batch of 5G messages, and extracting the active service keywords;
s640: filtering 5G messages which do not contain service keywords in the batch of 5G messages
S650: matching response materials for each of the fixed service keywords from a first response material database, and matching response materials for each of the active service keywords 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 method of fig. 6 and the method of processing response of 5G messages shown in fig. 1 is that after filtering 5G messages containing active service keywords from the rest 5G messages in the batch of 5G messages, filtering 5G messages containing no service keywords in the batch of 5G messages.
Specifically, after two preset bloom filters with different filtering and extracting functions sequentially perform message filtering and extracting corresponding service keywords on a batch of 5G messages, the rest 5G messages are 5G messages which do not contain the service keywords, the rest 5G messages are judged to be junk messages, and after the junk 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 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 active service keyword includes:
S710: and generating a response message corresponding to the 5G message according to the response material of each fixed service keyword through a preset intelligent response system, and generating a response message corresponding to the 5G message according to the response material 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 manufacture 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 is different in response message templates corresponding to the different service keywords and is matched with corresponding templates in a preset template library, the templates are preset according to content to be expressed by the service keywords, and the templates comprise 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, message editing is started by combining the response materials to generate a response message, and then the response message is sent to the corresponding user through a 5G channel.
For example, according to a fixed service keyword combined with a corresponding response material, a corresponding 5G message is generated according to a single-card message dynamic template, 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, taking a fixed service keyword as a 5G message name; optionally, if the message needs to carry files such as pictures, videos, audios, etc., the step of embedding the corresponding files into the corresponding cards may be performed: generating a single card message generally requires carrying a picture or video or audio, and the like, embedding a corresponding picture or video or audio or file in the 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, and determining whether the single-card message has the title when the template is preset; alternatively, if the message requires content presentation, the steps may be performed: setting the content below the card, and determining whether the single-card message has content introduction or not when the template is preset; alternatively, if the message requires a button, this step may be performed: setting one or more buttons below the card, wherein the action type triggered by clicking the buttons can be that links are opened, a call is made, a position is displayed, a position is requested, a schedule is created, payment, an application id, an application key and the like, whether the single-card message comprises the buttons, the number of the buttons and the position distribution of the buttons are determined when a template is preset, and the single-card message can be generated through the steps.
In some embodiments, if the user mobile phone does not support the 5G message, the intelligent response system stores and counts the dropped 5G message after receiving the dropped 5G message, and converts the dropped 5G message into a common text message to send the common text message to the user.
Corresponding to the above-mentioned 5G message reply processing method, some embodiments of the present disclosure further provide a 5G message reply processing apparatus, which may be configured in the above-mentioned server, as shown in fig. 7, and in some embodiments, the 5G message reply processing apparatus may include:
a receiving module 71, configured to receive a batch of 5G messages;
A fixed service keyword extraction module 72, configured to filter 5G messages containing 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 5G messages containing active service keywords from the remaining 5G messages of the batch of 5G messages, and extract the active service keywords therein;
A response material matching module 74, configured to match response materials for each of the fixed service keywords from a first response material database, and match response materials for each of the active service keywords from a 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 of the fixed service keywords, and generate a response message corresponding to the 5G message according to the response material of each of the active service keywords;
And a transmission module 76, configured to provide the generated response message to the 5G message interaction port.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present specification.
In the embodiments of the present disclosure, 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.) are information and data that are authorized by the user and are sufficiently authorized by each party.
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 a particular embodiment, a computer program on the memory 806 and executable on the processor 804, which when executed by the processor 804, may perform the instructions of the cross-border money transfer data processing method based on teletext identification of any one of the embodiments described above. For example, and without limitation, memory 806 may include any one or more of the following combinations: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may store information using any technique. 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, the computer device 802 may perform any of the operations of the associated instructions when the processor 804 executes the associated instructions stored in any memory or combination of memories. The computer device 802 also includes one or more drive mechanisms 808, such as a hard disk drive mechanism, an optical disk drive mechanism, and the like, for interacting with any memory.
The computer device 802 may also include an input/output interface 810 (I/O) for receiving various inputs (via an input device 812) and for providing various outputs (via an 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 not be included, but merely as a computer device in a network. The 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 communications buses 824 couple the above-described components together.
The communication link 822 may be implemented in any manner, such as, for example, through a local area network, a wide area network (e.g., the internet), a point-to-point connection, etc., or any combination thereof. 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 some 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, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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 storage media for a computer 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. Computer readable media, as defined in the specification, does not include transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description embodiments may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present embodiments 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 embodiments of the present specification, the term "and/or" is merely one association relationship describing the association object, meaning that three relationships may exist. For example, a and/or B may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means 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 the embodiments of the present specification. In this specification, schematic representations of the above terms are not necessarily directed 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, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (11)

1. A 5G message reply processing method, the method comprising:
Receiving a batch of 5G messages;
Filtering 5G messages containing fixed service keywords from the batch of 5G messages, and extracting the fixed service keywords from the messages;
Filtering 5G messages containing active service keywords from the rest 5G messages of the batch of 5G messages, and extracting the active service keywords;
Matching response materials for each of the fixed service keywords from a first response material database, and matching response materials for each of the active service keywords 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 method of claim 1, wherein said matching response material for each of said fixed business keywords from a first response material database comprises:
Filtering traditional fixed business keywords from a first keyword set, wherein the first keyword set is all the fixed business keywords extracted from the batch of 5G messages;
for each traditional fixed business keyword, confirming whether response materials of the traditional fixed business keyword exist in a target cache;
and when the response material of the traditional fixed business keyword does not exist in the target cache, matching the response material for the traditional fixed business keyword from a first response material database.
3. The method of processing a 5G message reply according to claim 2, wherein said matching reply material for each of said fixed service keywords from a first reply material database further comprises:
and matching response materials for each fixed business keyword in a second keyword set from the first response material database, wherein the second keyword set is a fixed business keyword except the traditional fixed business keywords in the first keyword set.
4. The 5G message reply processing method according to claim 1, further comprising, after filtering out 5G messages containing active service keywords from remaining 5G messages of the batch of 5G messages:
And filtering 5G messages which do not contain the service keywords in the batch of 5G messages.
5. The method of claim 1, wherein filtering 5G messages containing fixed traffic keywords from the batch of 5G messages and extracting the fixed traffic keywords therefrom comprises,
And identifying 5G messages containing the fixed service keywords in the batch of 5G messages through a preset bloom filter identification extraction model, and extracting the fixed service keywords in the 5G messages, wherein the fixed service keywords are associated with the corresponding 5G messages.
6. The method for processing the response of the 5G message according to claim 1, wherein filtering the 5G message containing the active service keyword from the remaining 5G messages of the batch of 5G messages and extracting the active service keyword therefrom 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 method for processing response to 5G message according to claim 1, wherein said 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, comprises:
and generating a response message corresponding to the 5G message according to the response material of each fixed service keyword through a preset intelligent response system, and generating a response message corresponding to the 5G message according to the response material of each movable service keyword.
8. A 5G message reply processing apparatus, the apparatus comprising:
the receiving module is used for receiving the batch 5G messages;
The fixed business keyword extraction module is used for filtering 5G messages containing fixed business keywords from the 5G messages in batches and extracting the fixed business keywords in the messages;
the active service keyword extraction module is used for filtering 5G messages containing active service keywords from the rest 5G messages of the batch of 5G messages and extracting the active service keywords therein;
The response material matching module is used for matching response materials for each fixed business keyword from a first response material database and matching response materials for each movable business keyword from a second response material database;
The response message generation module is used for generating response messages corresponding to the 5G messages according to the response materials of each fixed service keyword and generating response messages corresponding to the 5G messages according to the response materials of each movable service keyword;
And the transmission module is used for providing the generated response message to the 5G message interaction port.
9. A computer device comprising a memory, a processor, and a computer program stored on the memory, characterized in that the computer program, when being executed by the processor, performs the instructions of the method according to any of claims 1-7.
10. A computer storage medium having stored thereon a computer program, which, when executed by a processor of a computer device, performs the instructions of the method according to any of claims 1-7.
11. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, executes instructions of the method according to any of claims 1-7.
CN202211063550.9A 2022-09-01 2022-09-01 5G message response processing method and device Active CN115460555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211063550.9A CN115460555B (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 CN115460555B (en) 2022-09-01 2022-09-01 5G message response processing method and device

Publications (2)

Publication Number Publication Date
CN115460555A CN115460555A (en) 2022-12-09
CN115460555B true CN115460555B (en) 2024-05-24

Family

ID=84301982

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN115460555B (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

Also Published As

Publication number Publication date
CN115460555A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN110674154B (en) Spark-based method for inserting, updating and deleting data in Hive
CN105677764A (en) Information extraction method and device
US8422786B2 (en) Analyzing documents using stored templates
CN110851675B (en) Data extraction method, device and medium
CN114610951A (en) Data processing method and device, electronic equipment and readable storage medium
CN111897828A (en) Data batch processing implementation method, device, equipment and storage medium
CN113297269A (en) Data query method and device
CN111625638A (en) Question processing method, device and equipment and readable storage medium
CN110020196B (en) User analysis method and device based on different data sources and computing equipment
CN108829882B (en) Information collection method, device, terminal and medium
CN115460555B (en) 5G message response processing method and device
CN116561231B (en) Alliance chain data processing method based on split chain technology
CN112307247A (en) Distributed face retrieval system and method
CN104837065A (en) Television terminal-to-mobile terminal two-dimensional code information sharing method and system
CN116612276A (en) Image processing method, device, equipment and 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
CN112861868A (en) Image segmentation method and system
CN111292171A (en) Financial product pushing method and device
CN112416626A (en) Data processing method and device
CN105721933A (en) Method for creating advertisement video information base, advertisement video identification method, apparatus for creating advertisement video information base and advertisement video identification apparatus
CN115544321B (en) Method and device for realizing graph database storage and storage medium
CN111339125B (en) Data query method and device
CN113495982B (en) Transaction node management method and device, computer equipment and storage medium
CN112787880B (en) Playback data acquisition and flow playback method, device and storage medium

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