CN114238585A - Query method and device based on 5G message, computer equipment and storage medium - Google Patents

Query method and device based on 5G message, computer equipment and storage medium Download PDF

Info

Publication number
CN114238585A
CN114238585A CN202111581713.8A CN202111581713A CN114238585A CN 114238585 A CN114238585 A CN 114238585A CN 202111581713 A CN202111581713 A CN 202111581713A CN 114238585 A CN114238585 A CN 114238585A
Authority
CN
China
Prior art keywords
query
information
text
message
service
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
CN202111581713.8A
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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN202111581713.8A priority Critical patent/CN114238585A/en
Publication of CN114238585A publication Critical patent/CN114238585A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a query method, a query device, computer equipment and a storage medium based on a 5G message. The method comprises the following steps: receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the information; performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding service information according to the query information; and generating a card message according to the service information, and sending the card message to the user side. By adopting the method, the user side can receive the card message fed back by the enterprise side only by sending the 5G message to the enterprise side, the user does not need to install the application program of the enterprise, the complicated man-machine interaction such as registration, inquiry and the like on the application program is not needed, the operation is simple, and the memory of the user side is not occupied.

Description

Query method and device based on 5G message, computer equipment and storage medium
Technical Field
The present application relates to the field of information query technologies, and in particular, to a query method and apparatus based on 5G messages, a computer device, and a storage medium.
Background
With the development of network communication technology, most enterprises have introduced online query servers, and users can transact business through the application programs of the enterprises.
At present, a user can query services through an application program of an enterprise, but the user needs to install the application program of the enterprise on a terminal used by the user and register account information on the application program of the enterprise to use the terminal.
Disclosure of Invention
In view of the above, there is a need to provide a query method, device, computer device and storage medium based on 5G message, which are simple in operation and do not require installation of an application program of an enterprise, for solving the above technical problems
In a first aspect, the present application provides a query method based on a 5G message. The method comprises the following steps:
the 5G message processing middleware receives a 5G message containing a service query request, and determines a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combined message of at least two kinds of information or an audio message;
performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding candidate information service information according to the query information;
and generating a card message according to the service information candidate information, and sending the card message to the user side.
In one embodiment, the query information includes: a query interface and query parameters; the natural language processing is performed on the text to be processed to obtain query information, and the method comprises the following steps:
inputting the text to be processed into a trained natural language processing model, and outputting a query interface and query parameters through the trained natural language processing model, wherein the trained natural language processing model is obtained by training the natural language processing model based on a plurality of training texts and the reference query interface and the reference query parameters of each training text until the training is completed.
In one embodiment, the query information includes: a query interface and query parameters; the query information carries a first account of the user side; the acquiring the service information corresponding to the query information includes:
and calling a query interface in the enterprise management system, and determining the service information according to the first account and the query parameter.
In one embodiment, the generating a card message according to the service information includes:
extracting a plurality of keywords in the service information, and generating detailed links according to the service information;
and respectively writing the keywords and the detail links into a plurality of preset text boxes to obtain card messages.
In one embodiment, the keywords include: a name keyword and a time keyword, the text boxes comprising: a name text box, a time text box, and a link text box; the writing the keywords and the detail links into a plurality of preset text boxes respectively to obtain a card message includes:
and writing the name keywords into the name text box, writing the time keywords into the time text box, and writing the detail link into the link text box to obtain a card message.
In one embodiment, the text boxes are arranged in a preset background picture.
In a second aspect, the present application further provides a query device based on the 5G message. The device comprises:
the 5G message processing middleware is used for receiving a 5G message containing a service query request and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information or a combination of at least two of the image information, the audio information and the text information;
the natural language processing module is used for carrying out natural language processing on the text to be processed to obtain query information;
the query module is used for acquiring the service information corresponding to the query information;
and the 5G message processing middleware is also used for generating a card message according to the service information and sending the card message to the user side.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the information;
performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding service information according to the query information;
and generating a card message according to the service information, and sending the card message to the user side.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the information;
performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding service information according to the query information;
and generating a card message according to the service information, and sending the card message to the user side.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the information;
performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding service information according to the query information;
and generating a card message according to the service information, and sending the card message to the user side.
In the query method based on the 5G message, the client sends the 5G message to the mobile network platform, the mobile network platform sends the 5G message to the enterprise terminal, the enterprise terminal determines a text to be processed according to a service query request included in the 5G message, the text to be processed is subjected to natural language processing to obtain query information, service information corresponding to the query information is obtained, then the service information is generated into a card message, and the enterprise terminal feeds the card message back to the mobile network platform and sends the card message to the client through the mobile network platform. According to the query method based on the 5G message, the user side can receive the card message fed back by the enterprise side only by sending the 5G message to the enterprise side, the user does not need to install an application program of the enterprise, complex man-machine interaction such as registration and query on the application program is not needed, the operation is simple, and the memory of the user side is not occupied.
Drawings
FIG. 1 is a diagram of an application environment of a query method based on 5G messages in one embodiment;
FIG. 2 is a flow diagram illustrating a 5G message-based query method in one embodiment;
fig. 3 is a diagram illustrating a client sending a 5G message and receiving a card message according to an embodiment;
FIG. 4 is a diagram illustrating interaction of a client, a mobile network platform, and an enterprise in one embodiment;
fig. 5 is a signaling diagram illustrating the interaction of the user side, the mobile network platform and the enterprise side in another embodiment;
FIG. 6 is a block diagram of a querying device based on 5G messages in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The message query method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. The user terminal 102 sends a 5G message to the mobile network platform 104, the mobile network platform 104 sends the 5G message to the corresponding enterprise terminal 106, the enterprise terminal 106 identifies and queries the 5G message to obtain a card message, and sends the card message to the mobile network platform 104, and the mobile network platform sends the card message to the corresponding user terminal 102. The user terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The mobile network platform 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers. The enterprise 106 may be, but is not limited to, a computer, a notebook computer, a smart phone, a tablet computer, etc., and may also be an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a query method based on 5G messages is provided, which is described by taking the method as an example applied to the enterprise side in fig. 1, and includes the following steps:
s101, receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request.
The 5G message is a Rich media Communication Suite (RCS) service, and Rich media includes various media forms such as text, audio, picture, expression, location, and the like. The 5G message is a basic telecommunication service of an operator, and is a message generated according to a Mobile Communication standard, specifically, may be a short message, where the Mobile Communication standard includes standards such as gsm a RCS UP (Global System for Mobile Communications Association channel Communication Services Universal Profile, Global System for Mobile Communications Rich media Communication service).
Specifically, the enterprise receives a 5G message sent by the mobile network platform; the mobile network platform is provided by an operator, and the mobile network platform is a service carrier of the 5G message and can be used for forwarding the 5G message. And the user side sends the 5G message to the mobile network platform and sends the message to the enterprise side through the mobile network platform.
The 5G message comprises a service query request, and after receiving the 5G message, the enterprise terminal acquires the service query request contained in the 5G message, wherein the service query request comprises: one of image information, audio information, and text information, or a combination of at least two kinds of information. That is, the service inquiry request includes image information, or audio information, or text information, or a combination of image information and audio information, or a combination of image information and text information, or a combination of audio information and text information, or the like. For the user side, the query mode is diversified, and the method is suitable for various application scenes.
If the service query request only comprises text messages, the text information included in the service query request is directly used as a text to be processed, if the service query request comprises audio information, the text content in the audio information is extracted to obtain the text to be processed, and similarly, if the service query request comprises image information, the text content in the image information is extracted to obtain the text to be processed. The extraction of the text to be processed in the audio information and the extraction of the text to be processed in the image information can be realized by the prior art.
For example, the user may send text information "inquire about 10 month sales order" directly, or send text information including: the audio information or image information of the content of "inquiry about 10-month sales order" may also transmit: textual information including "10 months", and audio information including "sales orders".
S102, natural language processing is carried out on the text to be processed to obtain query information, and corresponding service information is obtained according to the query information.
Specifically, the enterprise end inputs the text to be processed into a trained natural language processing model to obtain query information; and the trained natural language processing model is used for extracting semantic features in the text to be processed and identifying query information. And acquiring the service information corresponding to the query information in the database.
S103, generating a card message according to the service information, and sending the card message to the user side.
The card message is a visual form of the service information, and is displayed on the user side after the user side receives the card message, specifically, the card message can be displayed on a short message application of the user side, and the card message can be a 5G message.
Specifically, the enterprise side extracts a plurality of keywords of different types from the service information, and writes the plurality of keywords into a preset card template respectively based on the types of the plurality of keywords to obtain a card message. The enterprise terminal sends the card message to the mobile network platform, and sends the card message to the user terminal through the mobile network platform, so that the user terminal receives the card message.
In the query method based on the 5G message, the user side sends the 5G message to the mobile network platform, the mobile network platform sends the 5G message to the enterprise side, the enterprise side determines the text to be processed according to the service query request included in the 5G message, the text to be processed is subjected to natural language processing to obtain query information, the service information corresponding to the query information is obtained, then the service information is generated into the card message, and the enterprise side feeds the card message back to the mobile network platform and sends the card message to the user side through the mobile network platform. According to the query method based on the 5G message, the user side can receive the card message fed back by the enterprise side only by sending the 5G message to the enterprise side, the user does not need to install an application program of the enterprise, complex man-machine interaction such as registration and query on the application program is not needed, the operation is simple, and the memory of the user side is not occupied.
In one embodiment, the client sends the 5G message to the mobile network platform, and the mobile network platform sends the 5G message to the enterprise terminal. The 5G message carries the second account of the enterprise terminal, that is, the enterprise terminal receives the 5G message sent to the enterprise terminal by the mobile network platform according to the second account carried by the 5G message. And each enterprise terminal has a unique corresponding second account, and the mobile network platform distributes the 5G message to the corresponding enterprise terminal according to the second account carried by the received 5G message.
In one embodiment, the query information includes: query interface and query parameters, S102 includes:
s211, inputting the text to be processed into the trained natural language processing model, and outputting a query interface and query parameters through the trained natural language processing model.
Specifically, the trained natural language processing model extracts semantic features of the text to be processed, and obtains a query interface and query parameters according to the semantic features. For example, the text to be processed is: the sales order in the month 10 this year, through the trained natural language processing model, obtains the query interface as: the sales order interface has the following query parameters: 202110.
the trained natural language processing model is obtained by training the natural language processing model based on a plurality of training texts, and a reference query interface and a reference query parameter of each training text until training is completed.
During training, obtaining a plurality of training texts, a reference query interface and a reference query parameter of each training text, inputting the training texts into a natural language processing model, outputting the training query interface and the training query parameters through the natural language processing model, determining a loss function value according to the reference query interface and the reference query parameters of the training texts, the training query interface and the training query parameters, adjusting parameters of the natural language processing model according to the loss function value, completing one training, and repeating the process of determining the loss function value until the natural language processing model converges to obtain the trained natural language processing model.
In one embodiment, the query information carries a first account of the user side. Specifically, the user side sends a 5G message to the mobile network platform, where a service query request included in the 5G message carries the first account, and therefore query information determined based on the service query request also carries the first account. The first account is used for reflecting the identity of the user terminal, and the first account can be a telephone number of the user terminal.
In S102, the obtaining of the corresponding service information according to the query information includes:
s212, a query interface in the enterprise management system is called, and business information is determined according to the first account and the query parameters.
Specifically, the Enterprise management system includes an Enterprise Resource Planning (ERP) system, a CRM system, an OA system, and the like. And calling a query interface in the enterprise management system, and querying the business information corresponding to the first account and the query parameter in the database.
In one embodiment, S103 includes:
s311, extracting a plurality of keywords in the service information, and generating a detail link according to the service information.
Specifically, the keywords include: name key and time key. The name key is used to reflect the name of the service information, and for example, the name key is: sales of the monthly order; the time key is used to reflect a time period corresponding to the service information, for example, the time key is: 2021/**/01-2021/**/30. Generating a detail link according to the service information, for example: http:// www.
And S312, writing the keywords and the detail links into a plurality of preset text boxes respectively to obtain card messages.
Specifically, the text boxes include: a name text box, a time text box, and a link text box. And writing the name keywords into the name text box, writing the time keywords into the time text box, and writing the detail link into the link text box to obtain a card message.
In one embodiment, the number of keywords further includes: amount keywords and change rate keywords, and accordingly, the text boxes further comprise: an amount text box and a rate text box. The amount key is used for reflecting the amount corresponding to the service information, and the amount key is, for example: total amount: 21854. A. B; the change rate key is used to reflect a change speed of the service information in a first period of time, for example, the change rate key is: year-on-year growth rate: (xvi)%; and when generating the card message, writing the amount keywords into the amount text box and writing the change rate keywords into the change rate text box.
The user can visually see the key content of the query according to the card message, click the detail link in the card message, and see the detailed content of the service information in the page corresponding to the detail link. The user sends a 5G message including audio information to the enterprise terminal through the 5G message window of the user terminal, and receives a card message fed back by the enterprise terminal, and the 5G message window displays that the user terminal sends the 5G message and the received card message, as shown in fig. 3.
In one embodiment, the text boxes are arranged in a preset background map, where the preset background map may be a background map with an enterprise logo, and each text box is arranged in a preset position of the preset background map and used for writing a keyword corresponding to each text box.
In one embodiment, after S102, comprising:
and S104, generating a link message according to the service information, and sending the link message to the user side.
Specifically, the link message includes a detail link, the service information is sent to the user side in a link form, after receiving the link message, the user side clicks the detail link in the link message, and the detailed content of the service information is seen in a page corresponding to the detail link.
In one embodiment, as shown in fig. 4, the mobile network platform may process a 5G message sent through a 5G network, the mobile network platform comprising: the system comprises a 5G base station, a 5G CSP platform and a MaaP platform, wherein the CSP (verified Service partner) is a 5G message operation platform manufactured by an operator and ecological enterprises together, and the MaaP (Mass as a platform) is a message platform and used for message transmission between the enterprises and users. The enterprise end includes: the system comprises a 5G message processing middleware, an NLP platform and an enterprise management system, wherein the 5G message processing middleware is used for processing a 5G message into a text to be processed, converting service information into a card message and sending the card message to the mobile network platform, the NLP platform is provided with a trained natural language processing model and used for determining query information according to the text to be processed, and the enterprise management system is used for acquiring the service information according to the query information.
In one embodiment, as shown in fig. 5, a user sends a 5G message to a mobile network platform through a 5G message window of a user side, a 5G CSP platform monitors the 5G message, invokes a MaaP platform to send the 5G message to an enterprise side, the enterprise side is configured with 5G message processing middleware, the 5G message is processed into a text to be processed through the 5G message processing middleware, the text to be processed is sent to the NLP platform, obtaining query information through a trained natural language processing model configured by the NLP platform, sending the query information to an enterprise management system, and the enterprise management system sends the service information to the 5G message processing middleware, the 5G message processing middleware generates a card message according to the service information, the 5G message processing middleware sends the card message to the mobile network platform, and the mobile network platform sends the card message to the user side.
In one embodiment, the 5G message processing middleware and the NLP platform may be implemented by separate servers, and for convenience of description, the server including the 5G message processing middleware and the NLP platform is referred to as a processing server, which may interact with other enterprise management systems.
Specifically, a user side sends a 5G message to a mobile network platform, the mobile network platform sends the 5G message to a processing server, a 5G message processing middleware in the processing server processes the 5G message into a text to be processed, an NLP platform in the processing server determines query information according to the text to be processed, then sends the query information to an enterprise management system maintained by an enterprise, determines business information in the enterprise management system, feeds the business information back to the processing server, generates a card message according to the business information through the 5G message processing middleware in the processing server, and then sends the card message to the user side through the mobile network platform. Therefore, if the enterprise does not have the capacity of establishing the 5G message processing middleware and the NLP platform, only an enterprise management system needs to be established, and the query method based on the 5G message can be realized through the processing server.
In the embodiment, a user side sends a 5G message to a mobile network platform, the mobile network platform sends the 5G message to an enterprise side, a text to be processed is determined according to the 5G message, query information is identified through a trained natural language processing model, service information corresponding to the query information is obtained, then the service information is generated into a card message, and the enterprise side feeds the card message back to the mobile network platform and sends the card message to the user side through the mobile network platform; the query method based on the 5G message can obtain the card message fed back by the enterprise terminal only by sending the 5G message to the enterprise terminal, the 5G message sent by the user can be one of image information, audio information and text information or the combination of at least two kinds of information, the query mode is diversified, and the method is suitable for various application scenes; the method has the advantages that the user is not required to install the application program of an enterprise, complicated man-machine interaction such as registration and inquiry is not required to be carried out on the application program, the operation is simple, and the memory of the user side is not occupied.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a query device based on a 5G message, for implementing the above-mentioned query method based on a 5G message. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the above method, so that specific limitations in one or more embodiments of the query apparatus based on a 5G message provided below may refer to the limitations in the above query method based on a 5G message, and are not described herein again.
In one embodiment, as shown in fig. 6, there is provided a query device based on a 5G message, including: 5G message processing middleware, natural language processing module and inquiry module, wherein:
the 5G message processing middleware is used for receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the image information, the audio information and the text information;
the natural language processing module is used for performing natural language processing on the text to be processed to obtain query information;
the query module is used for acquiring the service information corresponding to the query information;
and the 5G message processing middleware is also used for generating a card message according to the service information and sending the card message to the user side.
In one embodiment, the query information includes: the natural language processing module is specifically used for: inputting the text to be processed into a trained natural language processing model, and outputting a query interface and query parameters through the trained natural language processing model, wherein the trained natural language processing model is obtained by training the natural language processing model based on a plurality of training texts and the reference query interface and the reference query parameters of each training text until the training is completed.
In one embodiment, the query information includes: the query module is specifically configured to: and calling a query interface in the enterprise management system, and determining the service information according to the first account and the query parameter.
In one embodiment, the 5G message processing middleware comprises:
the first processing unit is used for extracting a plurality of keywords in the service information and generating detailed links according to the service information;
and the second processing unit is used for writing the keywords and the detail links into a plurality of preset text boxes respectively to obtain a card message.
In one embodiment, the number of keywords comprises: a name keyword, a time keyword, and a money amount keyword, the text boxes comprising: a name text box, a time text box, an amount text box, and a link text box; the writing the keywords and the detail links into a plurality of preset text boxes respectively to obtain a card message includes:
and writing the name keyword into the name text box, writing the time keyword into the time text box, writing the amount keyword into the amount text box, and writing the detail link into the link text box to obtain a card message.
In one embodiment, the text boxes are arranged in a preset background picture.
The modules in the above 5G message-based querying device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a query method based on 5G messages.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the information;
performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding service information according to the query information;
and generating a card message according to the service information, and sending the card message to the user side.
In one embodiment, the query information includes: a query interface and query parameters; the processor, when executing the computer program, further performs the steps of: the natural language processing is performed on the text to be processed to obtain query information, and the method comprises the following steps:
inputting the text to be processed into a trained natural language processing model, and outputting a query interface and query parameters through the trained natural language processing model, wherein the trained natural language processing model is obtained by training the natural language processing model based on a plurality of training texts and the reference query interface and the reference query parameters of each training text until the training is completed.
In one embodiment, the query information includes: a query interface and query parameters; the query information carries a first account of the user side; the processor, when executing the computer program, further performs the steps of: the acquiring the service information corresponding to the query information includes:
and calling a query interface in the enterprise management system, and determining the service information according to the first account and the query parameter.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the generating of the card message according to the service information includes:
extracting a plurality of keywords in the service information, and generating detailed links according to the service information;
and respectively writing the keywords and the detail links into a plurality of preset text boxes to obtain card messages.
In one embodiment, the number of keywords comprises: a name keyword, a time keyword, and a money amount keyword, the text boxes comprising: a name text box, a time text box, an amount text box, and a link text box; the processor, when executing the computer program, further performs the steps of: the writing the keywords and the detail links into a plurality of preset text boxes respectively to obtain a card message includes:
and writing the name keyword into the name text box, writing the time keyword into the time text box, writing the amount keyword into the amount text box, and writing the detail link into the link text box to obtain a card message.
In one embodiment, the text boxes are arranged in a preset background picture.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the information;
performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding service information according to the query information;
and generating a card message according to the service information, and sending the card message to the user side.
In one embodiment, the query information includes: a query interface and query parameters; the computer program when executed by the processor further realizes the steps of: the natural language processing is performed on the text to be processed to obtain query information, and the method comprises the following steps:
inputting the text to be processed into a trained natural language processing model, and outputting a query interface and query parameters through the trained natural language processing model, wherein the trained natural language processing model is obtained by training the natural language processing model based on a plurality of training texts and the reference query interface and the reference query parameters of each training text until the training is completed.
In one embodiment, the query information includes: a query interface and query parameters; the query information carries a first account of the user side; the computer program when executed by the processor further realizes the steps of: the acquiring the service information corresponding to the query information includes:
and calling a query interface in the enterprise management system, and determining the service information according to the first account and the query parameter.
In one embodiment, the computer program when executed by the processor further performs the steps of: the generating of the card message according to the service information includes:
extracting a plurality of keywords in the service information, and generating detailed links according to the service information;
and respectively writing the keywords and the detail links into a plurality of preset text boxes to obtain card messages.
In one embodiment, the number of keywords comprises: a name keyword, a time keyword, and a money amount keyword, the text boxes comprising: a name text box, a time text box, an amount text box, and a link text box; the computer program when executed by the processor further realizes the steps of: the writing the keywords and the detail links into a plurality of preset text boxes respectively to obtain a card message includes:
and writing the name keyword into the name text box, writing the time keyword into the time text box, writing the amount keyword into the amount text box, and writing the detail link into the link text box to obtain a card message.
In one embodiment, the text boxes are arranged in a preset background picture.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the information;
performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding service information according to the query information;
and generating a card message according to the service information, and sending the card message to the user side.
In one embodiment, the query information includes: a query interface and query parameters; the computer program when executed by the processor further realizes the steps of: the natural language processing is performed on the text to be processed to obtain query information, and the method comprises the following steps:
inputting the text to be processed into a trained natural language processing model, and outputting a query interface and query parameters through the trained natural language processing model, wherein the trained natural language processing model is obtained by training the natural language processing model based on a plurality of training texts and the reference query interface and the reference query parameters of each training text until the training is completed.
In one embodiment, the query information includes: a query interface and query parameters; the query information carries a first account of the user side; the computer program when executed by the processor further realizes the steps of: the acquiring the service information corresponding to the query information includes:
and calling a query interface in the enterprise management system, and determining the service information according to the first account and the query parameter.
In one embodiment, the computer program when executed by the processor further performs the steps of: the generating of the card message according to the service information includes:
extracting a plurality of keywords in the service information, and generating detailed links according to the service information;
and respectively writing the keywords and the detail links into a plurality of preset text boxes to obtain card messages.
In one embodiment, the number of keywords comprises: a name keyword, a time keyword, and a money amount keyword, the text boxes comprising: a name text box, a time text box, an amount text box, and a link text box; the computer program when executed by the processor further realizes the steps of: the writing the keywords and the detail links into a plurality of preset text boxes respectively to obtain a card message includes:
and writing the name keyword into the name text box, writing the time keyword into the time text box, writing the amount keyword into the amount text box, and writing the detail link into the link text box to obtain a card message.
In one embodiment, the text boxes are arranged in a preset background picture.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A query method based on 5G messages is applied to an enterprise side, and the method comprises the following steps:
receiving a 5G message containing a service query request, and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information, or a combination of at least two of the information;
performing natural language processing on the text to be processed to obtain query information, and acquiring corresponding service information according to the query information;
and generating a card message according to the service information, and sending the card message to the user side.
2. The method of claim 1, wherein the query information comprises: a query interface and query parameters; the natural language processing is performed on the text to be processed to obtain query information, and the method comprises the following steps:
inputting the text to be processed into a trained natural language processing model, and outputting a query interface and query parameters through the trained natural language processing model, wherein the trained natural language processing model is obtained by training the natural language processing model based on a plurality of training texts and the reference query interface and the reference query parameters of each training text until the training is completed.
3. The method of claim 1, wherein the query information comprises: a query interface and query parameters; the query information carries a first account of the user side; the acquiring the service information corresponding to the query information includes:
and calling a query interface in the enterprise management system, and determining the service information according to the first account and the query parameter.
4. The method of claim 1, wherein generating a card message according to the service information comprises:
extracting a plurality of keywords in the service information, and generating detailed links according to the service information;
and respectively writing the keywords and the detail links into a plurality of preset text boxes to obtain card messages.
5. The method of claim 4, wherein the plurality of keywords comprise: a name keyword and a time keyword, the text boxes comprising: a name text box, a time text box, and a link text box; the writing the keywords and the detail links into a plurality of preset text boxes respectively to obtain a card message includes:
and writing the name keywords into the name text box, writing the time keywords into the time text box, and writing the detail link into the link text box to obtain a card message.
6. The method according to claim 4 or 5, wherein the text boxes are arranged in a preset background picture.
7. An apparatus for querying based on a 5G message, the apparatus comprising:
the 5G message processing middleware is used for receiving a 5G message containing a service query request and determining a text to be processed according to the service query request, wherein the service query request comprises one of image information, audio information and text information or a combination of at least two of the image information, the audio information and the text information;
the natural language processing module is used for carrying out natural language processing on the text to be processed to obtain query information;
the query module is used for acquiring the service information corresponding to the query information;
and the 5G message processing middleware is also used for generating a card message according to the service information and sending the card message to the user side.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202111581713.8A 2021-12-22 2021-12-22 Query method and device based on 5G message, computer equipment and storage medium Pending CN114238585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111581713.8A CN114238585A (en) 2021-12-22 2021-12-22 Query method and device based on 5G message, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111581713.8A CN114238585A (en) 2021-12-22 2021-12-22 Query method and device based on 5G message, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114238585A true CN114238585A (en) 2022-03-25

Family

ID=80761414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111581713.8A Pending CN114238585A (en) 2021-12-22 2021-12-22 Query method and device based on 5G message, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114238585A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022823A (en) * 2022-05-31 2022-09-06 青岛海信移动通信技术股份有限公司 Method, device and equipment for processing 5G short message

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022823A (en) * 2022-05-31 2022-09-06 青岛海信移动通信技术股份有限公司 Method, device and equipment for processing 5G short message

Similar Documents

Publication Publication Date Title
US8849854B2 (en) Method and system for providing detailed information in an interactive manner in a short message service (SMS) environment
US20220391642A1 (en) Method and apparatus for evaluating joint training model
CN103854168A (en) Heterogeneous process to-do task centralized processing method and device
CN104954410A (en) Message pushing method, device thereof and server
US9396448B2 (en) Distributed and open schema interactions management system and method
US20140089397A1 (en) Method, server, and client for pushing and displaying splash screen
WO2018208931A1 (en) Processes and techniques for more effectively training machine learning models for topically-relevant two-way engagement with content consumers
CN111931464A (en) Document editing method and device and electronic equipment
CN114238585A (en) Query method and device based on 5G message, computer equipment and storage medium
CN112260933B (en) Communication method, communication device, electronic equipment and medium
US20120136883A1 (en) Automatic Dynamic Multi-Variable Matching Engine
CN110557351B (en) Method and apparatus for generating information
US10440134B1 (en) Systems and methods for compliance enforcement in internet-based social networks
CN109614603A (en) Method and apparatus for generating information
CN112182400B (en) Message processing method, message processing device, electronic equipment and storage medium
CN110851446B (en) Data table generation method and device, computer equipment and storage medium
CN110781523B (en) Method and apparatus for processing information
CN114066603A (en) Post-loan risk early warning method and device, electronic equipment and computer readable medium
CN112418929A (en) Data sharing method and device
CN110347951A (en) A kind of data request processing method, apparatus, terminal device and storage medium
CN113805783B (en) Interface display processing method for subscription type service data analysis and related equipment
CN115002137B (en) Offline message processing method and device, computer equipment and storage medium
US11902223B2 (en) Intelligent assistant content generation
CN111784429B (en) Information pushing method and device
CN117289840A (en) Menu determination method, device, equipment, medium and product based on portrait tag

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