CN112104571A - Service distribution method, device, computer equipment and computer storage medium - Google Patents

Service distribution method, device, computer equipment and computer storage medium Download PDF

Info

Publication number
CN112104571A
CN112104571A CN202010962661.8A CN202010962661A CN112104571A CN 112104571 A CN112104571 A CN 112104571A CN 202010962661 A CN202010962661 A CN 202010962661A CN 112104571 A CN112104571 A CN 112104571A
Authority
CN
China
Prior art keywords
service
consultation
target
server
service type
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.)
Granted
Application number
CN202010962661.8A
Other languages
Chinese (zh)
Other versions
CN112104571B (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.)
Wuhan Yuexuebang Network Technology Co ltd
Original Assignee
Wuhan Yuexuebang Network Technology 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 Wuhan Yuexuebang Network Technology Co ltd filed Critical Wuhan Yuexuebang Network Technology Co ltd
Priority to CN202010962661.8A priority Critical patent/CN112104571B/en
Publication of CN112104571A publication Critical patent/CN112104571A/en
Application granted granted Critical
Publication of CN112104571B publication Critical patent/CN112104571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The present disclosure provides a service distribution method, a device, a computer device and a computer storage medium, wherein the method includes: receiving a service consultation request, wherein the service consultation request comprises service consultation information; determining a first target service type corresponding to the service consultation information, wherein different service types correspond to different service servers; and forwarding the service consultation request to a target service server corresponding to the first target service type. The embodiment of the disclosure can realize that the business consultation request is forwarded to the corresponding target business server for processing by analyzing the business consultation request through the unified server entrance, and the user can automatically match the business server meeting the requirements for the user without knowing the business type corresponding to the self requirement, thereby improving the user experience.

Description

Service distribution method, device, computer equipment and computer storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a service offloading method and apparatus, a computer device, and a computer storage medium.
Background
Different enterprises correspondingly have different business functions, and with the development of the enterprises, the same enterprise may cover multiple businesses and have multiple different types of business functions, each type of business is relatively independent and has different functions, and each type of business comprises business customer service introducing the functions of the business customer service. For each service processing request, a corresponding independent service entry server needs to be opened to process related service problems.
At present, different business portal servers are mostly adopted by enterprises for processing different businesses of the enterprises, each business corresponds to one business portal server, corresponding business manual customer service personnel or business robots are connected through the different business portal servers, and users learn or consult more enterprise business information through the business manual customer service personnel or the business robots.
However, a corresponding service entry server is developed for each service, when the number of services of an enterprise reaches a certain number, the difficulty of mastering entry information and entry modes is increased, the arrangement of multiple entries increases the deployment cost and improves the entry management and maintenance cost, and in this way, a user needs to select a corresponding entry according to the own needs, and in some cases, the user cannot accurately determine the service entry server corresponding to the own needs, so that the problem of entry selection error is caused, network resources are wasted, and user experience is influenced.
Disclosure of Invention
The embodiment of the disclosure at least provides a service distribution method, a service distribution device, computer equipment and a computer storage medium.
In a first aspect, an embodiment of the present disclosure provides a service offloading method, including:
receiving a service consultation request, wherein the service consultation request comprises service consultation information;
determining a first target service type corresponding to the service consultation information, wherein different service types correspond to different service servers;
and forwarding the service consultation request to a target service server corresponding to the first target service type.
In a possible implementation manner, determining a first target service type corresponding to the service consultation information includes:
determining a first target service keyword matched with the service consultation information according to the service keyword corresponding to each service type;
and determining the service type corresponding to the first target service keyword as the first target service type.
In one possible implementation, the service keywords are represented by regular expressions; and
determining a first target service keyword matched with the service consultation information, comprising:
and determining the regular expression matched with the business consultation information as a first target business keyword corresponding to the business consultation information.
In a possible implementation manner, if there is no regular expression matching the business consulting information, the method further includes:
and returning a first service consultation response message, wherein the first service consultation response message carries a first service type selection page, and the first service type selection page comprises the service type and the link address of the service server corresponding to the service type.
In one possible embodiment, the method further comprises:
receiving a service classification error message returned by the target server;
and returning a second service consultation response message, wherein the second service consultation response message carries a second service type selection page, and the second service type selection page comprises the service type and the link address of the corresponding service server.
In one possible embodiment, the method further comprises:
receiving a service type selection request, wherein the service type selection request carries a second target service type selected by a user;
and establishing a corresponding relation between the service consultation information and a second target service keyword corresponding to the second target service type, and storing the corresponding relation into a database, wherein the corresponding relation between the service consultation information and the second target service keyword is used for training a regular expression representing the service keyword.
In a second aspect, an embodiment of the present disclosure further provides a service offloading device, including:
the receiving module is used for receiving a service consultation request, wherein the service consultation request comprises service consultation information;
the determining module is used for determining a first target service type corresponding to the service consultation information, wherein different service types correspond to different service servers;
and the forwarding module is used for forwarding the service consultation request to a target service server corresponding to the first target service type.
In a possible implementation manner, the determining module is specifically configured to determine, according to a service keyword corresponding to each service type, a first target service keyword matched with the service consulting information; and determining the service type corresponding to the first target service keyword as the first target service type.
In one possible implementation, the service keywords are represented by regular expressions; and
the determining module is specifically configured to determine that the regular expression matched with the service consulting information is the first target service keyword corresponding to the service consulting information.
In one possible implementation, the apparatus further includes a first response module, wherein:
the first response module is configured to return a first service consultation response message if a regular expression matching the service consultation information does not exist, where the first service consultation response message carries a first service type selection page, and the first service type selection page includes a service type and a link address of a service server corresponding to the service type.
In one possible implementation, the apparatus further includes a second response module, wherein:
the receiving module is specifically configured to receive a service classification error message returned by the target server;
the second response module is configured to return a second service consultation response message, where the second service consultation response message carries a second service type selection page, and the second service type selection page includes a service type and a link address of a service server corresponding to the service type.
In a possible implementation, the apparatus further comprises an update module, wherein:
the receiving module is further configured to receive a service type selection request, where the service type selection request carries a second target service type selected by a user;
the updating module is used for establishing a corresponding relation between the service consultation information and a second target service keyword corresponding to the second service type and storing the corresponding relation into a database, and the corresponding relation between the service consultation information and the second target service keyword is used for training a regular expression representing the service keyword.
In a third aspect, this disclosure also provides a computer device, a processor, and a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory, and when the machine-readable instructions are executed by the processor, the machine-readable instructions are executed by the processor to perform the steps in the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, this disclosure also provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
For the description of the effects of the service offloading device, the computer device, and the computer-readable storage medium, reference is made to the description of the service offloading method, which is not described herein again.
The service distribution method, the device, the computer equipment and the computer storage medium provided by the embodiment of the disclosure adopt the unified server to receive the service consultation request, analyze the service consultation information included in the service consultation request to determine the corresponding target service type, determine the corresponding target server according to the target service type and forward the service consultation request to the target server, compared with the prior art that an independent service server inlet is respectively arranged for each service, and a user independently and correspondingly selects different service inlet servers according to the self consultation requirement, the service consultation request is analyzed through the unified server inlet, so that the service consultation request can be forwarded to the corresponding target service server for processing, and the user can automatically match the service server meeting the requirement for the service consultation request without knowing the service type corresponding to the self requirement, therefore, user experience is improved, and in addition, as the portal server does not need to be separately deployed for each service type, the deployment cost and the maintenance and management cost of the service portal server are reduced.
Further, the service splitting method provided in the embodiment of the present disclosure may further jump to a service type selection page according to the service classification error information returned by the service server when a keyword matching error is performed on the service consultation information by using the regular expression, establish a corresponding relationship between the service consultation information and the service keyword according to the received service type selection request, and further store the corresponding relationship in the database to implement an update training of the regular expression, thereby improving the matching function of the server, improving the matching capability of the server, reducing the possibility of an entry selection error, and improving the matching efficiency.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 is a schematic diagram illustrating an application scenario of a service offloading method provided in an embodiment of the present disclosure;
fig. 2 shows a flowchart of a service offloading method provided in an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating an implementation process of a service offloading method provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating a traffic splitting apparatus provided in an embodiment of the present disclosure;
fig. 5 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of embodiments of the present disclosure, as generally described and illustrated herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
Research shows that a relatively perfect enterprise often provides a plurality of different service types, and the different service types have different service functions, at present, the enterprise mostly adopts a mode of setting different service entrance servers for the different service types, and a user correspondingly selects a corresponding service entrance server to obtain service according to the self consultation requirement, but a mode of opening up the corresponding service entrance server for each service type, when the provided service types reach a certain number, the deployment cost and the management and maintenance cost of the service entrance server are increased, and further the use experience of the user is influenced.
Based on the research, the present disclosure provides a method for analyzing a service consultation request through a unified server portal, which can forward the service consultation request to a corresponding target service server for processing, and for a user, the service server capable of automatically matching and satisfying the requirements can be provided for the user without knowing the service type corresponding to the self requirement, thereby improving the user experience.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a detailed description is given to a service offloading method disclosed in the embodiments of the present disclosure, where an execution subject of the service offloading method provided in the embodiments of the present disclosure is generally a computing device with certain computing capability, and the computing device includes, for example: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or a server or other processing device. In some possible implementations, the traffic offload method may be implemented by a processor calling computer-readable instructions stored in a memory.
To facilitate understanding of the present embodiment, an application scenario of the service offloading method disclosed in the embodiment of the present disclosure is first introduced, and as shown in fig. 1, an application scenario schematic diagram of the service offloading method provided in the embodiment of the present disclosure is shown. A user initiates a request to the server 12 through a client installed in the terminal device 11, where the client may be a browser of a web page or an application client installed in a terminal device, such as a mobile phone or a tablet computer. The terminal device 11 and the server 12 are communicatively connected through a network, which may be a local area network, a cellular network, a wide area network, and the like. The terminal device 11 may be a portable device (e.g., a mobile phone, a tablet, a notebook Computer, etc.) or a Personal Computer (PC), and the server 12 may be any device capable of providing internet services. In the embodiment of the present disclosure, the server 12 serves as an entry server for consulting requests, and is connected to a plurality of service servers 13 through a network, and different service servers 13 are used for processing different types of services.
The user inputs service consultation information on a unified service consultation page provided by the client by using the terminal equipment 11, the client initiates a service consultation request to the server based on the service consultation information, the server 12 analyzes the service consultation information in the received service consultation request, obtains a service keyword matched with the service consultation information, determines a corresponding service type according to the matched service keyword, and forwards the received service consultation request to the corresponding service server 13 for processing according to the determined service type.
For example, the service distribution method provided by the embodiment of the disclosure can be applied to solving various service requirements in an enterprise, such as IT service, personnel information service, job title rating service, and the like; or pre-sale service, post-sale service, e-commerce shopping guide service or information promotion service, etc., wherein each service type corresponds to one or more service keywords, and different service types correspond to different service servers. Based on this, taking the example that the user inputs "i want to rate" on the business consultation page of the client, the client initiates a business consultation request to the server 12 based on "i want to rate", the server determines the matched business keyword as "rate" according to "i want to rate", further determines the corresponding business type as job title rating business, and forwards the business consultation request to the business server 13 corresponding to the "job title rating business" according to the determined business type.
The service offloading method provided by the embodiment of the present disclosure is described below by taking an execution subject as a computer device as an example.
As shown in fig. 2, a flowchart of a service offloading method provided in the embodiment of the present disclosure may include the following steps:
s201: and receiving a service consultation request.
In this step, the server provides a unified service consultation entrance for all service types, the unified service consultation entrance can be realized through a service consultation page displayed by the client, and when a service consultation requirement exists in a user, a service consultation request is submitted through the service consultation page, and the service consultation request comprises service consultation information. For example, when a user wants to acquire a computer, the user may input "i want to get the computer" on the business consultation page and submit the "i want to get the computer" to the server through the client, where "i want to get the computer" is the business consultation information.
It should be noted that, when the user has a business consultation requirement, the business consultation request can be submitted through the business consultation page displayed by the client, and the business consultation request can also be submitted through the business consultation page displayed by the web page, which is not limited in any way.
S202: and determining a first target service type corresponding to the service consultation information.
In this step, the server responds to a service consultation request submitted by the client, and determines a first target service keyword corresponding to the service consultation information in the service consultation request in a regular matching mode according to the service consultation information included in the service consultation request, wherein the service types corresponding to different service keywords are different, and the different service types correspond to different service servers.
In specific implementation, in order to conveniently and uniformly manage the services, the corresponding capability of each service can be abstracted into a service type, and then at least one service keyword is used for expressing the service type, for example, for the service with the provided function of managing assets, the similar receiving computer, receiving display, receiving data line and the like are all service types related to asset management of a user, so that the receiving computer, receiving display and receiving data line can be positioned as the service keyword of the service type related to the asset services. As shown in table 1, the relationship of the service keywords corresponding to some service types provided in the embodiments of the present disclosure is illustrated. Different service types correspond to the service servers, and thus, for each service type, the service keyword corresponding to the service type also corresponds to the service server corresponding to the service type.
TABLE 1
Figure BDA0002681067780000091
Figure BDA0002681067780000101
In an embodiment, all the service keywords may be represented by regular expressions, and in a specific implementation, corresponding regular expressions may be generated based on the service keywords corresponding to representative service types, for example, the service keywords representing asset service types include a pick-up computer, a lead display, a lead data line, and the like, based on which, the service keywords may be represented by regular expression modes of a lead, a computer, a lead display, and a lead data line, as shown in table 2, which is a relationship schematic of some service keywords and corresponding regular expressions provided for this disclosure. Further, after the server receives the service consultation request from the client, the server performs regular matching according to the service consultation information included in the service consultation request, and when a certain service keyword is matched and hit, the server can be triggered to enter a corresponding target service server.
TABLE 2
Figure BDA0002681067780000102
In specific implementation, based on the service consultation information, the server performs relevance matching between the regular expression representing the service keywords and the service consultation information, determines the matched regular expression with the highest relevance as a first target service keyword matched with the service consultation information, and further determines a corresponding target service server according to the target service keyword.
For example, taking the service consultation information as "i want to get the computer", after the user submits "i want to get the computer" on the service consultation page through the client, the client initiates a service consultation request with the server, the regular expressions pre-stored by the server are subjected to relevancy matching with the "i want to get the computer", and the matching relevancy of each regular expression is determined, for example, the relevancy with the "asset" service type is 0.85, the relevancy with the "IT" service type is 0.65, the relevancy with the "administrative" service type is 0.5, and the relevancy with the "live broadcast" service is 0.05, so the server can determine that the first target service type hit by the "i want to get the computer" is the "asset", and further determine the hit target service server according to the hit first target service type being the "asset". In another embodiment, when the correlation matching is performed by using an algorithm, matching with a service keyword may be performed by using a method of segmenting service consultation information, so as to determine a hit target service type and determine a corresponding target service server.
In a possible implementation manner, when the corresponding regular expression is matched according to the service consultation information, if the regular expression matched with the service consultation information does not exist, the server returns a first service consultation response message to the client, wherein the first service consultation response message carries a first service type selection page, and the first service type selection page comprises the service type and a link address of the service server corresponding to the service type. In specific implementation, when the server matches the received service query information with the regular expression of the service keyword, if the matching is not the corresponding regular expression, the server cannot determine the service type of the service query information input by the user, under the condition, a first service query response message comprising a first service type selection page is returned to the client, wherein the first service type selection page comprises the service types corresponding to all the services provided and the link addresses of the service servers corresponding to the service types, and the server can directly enter the corresponding service server according to the link addresses of the service servers. The client displays a first service type selection page returned by the server for selection of a user, and sends a service type selection request to the server based on the service type selected by the user.
It should be noted that the link address of the service server corresponding to the different service types, which is carried in the first service consultation response message returned by the server, may be an intelligent service server, for example, a link address corresponding to an intelligent robot, or a link address of a service server corresponding to manual service.
For example, taking the example that the user inputs "i want to get the computer", when the server does not match the regular expression of the corresponding service keyword, the server returns a first service consultation response message, based on the response message returned by the server, the client displays service types including "IT", "asset", "live broadcast", and "manual" on a first service type selection page, and the user can select a corresponding target service type according to the consultation requirement of the user and can access the corresponding target service server according to the selection of the user.
In addition, when the corresponding regular expressions are matched according to the business consultation information, if a plurality of regular expressions matched with the business consultation information exist, the server can also return a first business consultation response message to the client so that the user can select according to actual requirements.
S203: and forwarding the service consultation request to a target service server corresponding to the first target service keyword.
In this step, the server responds to the service consultation request submitted by the client, and forwards the service consultation request of the user to the determined target service server for processing.
In specific implementation, after receiving the service consultation request, the target service server may further determine whether the service consultation request can be processed. And if the target service server judges that the received service consultation request can not be processed, returning a service classification error message. Based on this, after receiving the service classification error message, the server returns a second service consultation response message to the client, wherein the second service consultation response message carries a second service type selection page, and the second service type selection page comprises the service type and the link address of the corresponding service server. Specifically, the second service type selection page includes service types corresponding to all services provided and link addresses of service servers corresponding to the service types, and the corresponding service servers can be directly accessed according to the link addresses of the service servers. The specific implementation of this step can refer to the description in step S202, which is not described herein again.
Further, based on a second target service type selected by the user, the client sends a service type selection request to the server, and according to the second target service type carried in the received service type selection request, the server forwards the service consultation request to a second target service server corresponding to the second target service type.
In addition, according to the embodiment of the disclosure, in order to improve the accuracy of the service type matching of the server, the server may further establish a corresponding relationship between the service consultation information and a second target service keyword corresponding to the second target service type, store the corresponding relationship in the database, train a regular expression of the service keyword according to the corresponding relationship, further perfect the regular expression corresponding to the service type, and complete a self-learning process of the regular expression.
The method and the system for managing the multiple services utilize the unified portal server to receive the service consultation request, judge the corresponding service server according to the service consultation information contained in the service consultation request through a regular matching method, and forward the received service consultation request to the corresponding service server for processing, so that unified management of the multiple services is achieved, deployment cost and management and maintenance cost of the service portal server are reduced, the process is not perceived by a user, and use experience of the user is improved.
For better understanding of the embodiments of the present disclosure, the following description is made in conjunction with the implementation process of the embodiments of the present disclosure, and as shown in fig. 3, the following steps may be included:
s301: and receiving a service consultation request.
In this step, the server receives a service consultation request initiated by the client according to the service consultation information input by the user, wherein the service consultation request comprises the service consultation information.
S302: and judging whether a first target service keyword matched with the service consultation information exists in the service keywords corresponding to each service type, if so, executing the step S304, and if not, executing the step S303.
In this step, the server judges whether a regular expression matched with the service consultation information exists according to the regular expression expressing the service keywords in a regular matching mode.
S303: and returning the first service consultation response message.
The first service consultation response message carries a first service type selection page, and the first service type selection page comprises service types and link addresses of service servers corresponding to the service types.
S304: and determining a first target service type corresponding to the first target service keyword.
In this step, the server determines a corresponding first target service keyword according to the matched regular expression, and determines a corresponding first target service type according to the determined first target service keyword.
S305: and forwarding the service consultation request to a target service server corresponding to the first target service type.
S306: the target service server judges whether the received service consultation request can be processed, if so, performs step S310, and if not, performs step S307.
S307: and returning a service classification error message to the server.
In this step, if the target service server determines that the service that can be provided cannot satisfy the service consultation request of the user, service classification error information is returned to the server.
S308: and the server returns a second service consultation response message to the client.
In this step, after receiving the service classification error message returned by the target service server, the server returns a second service consultation response message to the client, where the second service consultation response message carries a second service type selection page.
S309: and the server receives the service type selection request, establishes the corresponding relation between the service consultation information and a second target service keyword corresponding to a second target service type, and stores the corresponding relation in the database.
In this step, the server receives a service type selection request initiated by the client, where the service type selection request carries a second target service type selected by the user. And the server establishes a corresponding relation between the service consultation information and the second target service key words according to the second target service key words corresponding to the second target service types and stores the corresponding relation into the database, and further trains regular expressions of the service key words according to the corresponding relation stored in the database so as to improve the accuracy of service type matching.
S310: and the target service server processes the received service consultation request.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, a service offloading device corresponding to the service offloading method is also provided in the embodiments of the present disclosure, and since the principle of solving the problem of the device in the embodiments of the present disclosure is similar to that of the service offloading method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not described again.
As shown in fig. 4, a schematic diagram of a service offloading device provided for an embodiment of the present disclosure includes:
a receiving module 401, configured to receive a service consultation request, where the service consultation request includes service consultation information;
a determining module 402, configured to determine a first target service type corresponding to the service consultation information, where different service types correspond to different service servers;
a forwarding module 403, configured to forward the service consultation request to a target service server corresponding to the first target service type.
In a possible implementation manner, the determining module 402 is specifically configured to determine, according to a service keyword corresponding to each service type, a first target service keyword matched with the service consulting information; and determining the service type corresponding to the first target service keyword as the first target service type.
In one possible implementation, the service keywords are represented by regular expressions; and
the determining module 402 is specifically configured to determine that the regular expression matched with the service inquiry information is the first target service keyword corresponding to the service inquiry information.
In one possible implementation, the apparatus further includes a first response module 404, wherein:
the first response module 404 is configured to, if there is no regular expression matching the service consultation information, return a first service consultation response message, where the first service consultation response message carries a first service type selection page, and the first service type selection page includes a service type and a link address of a service server corresponding to the service type
In one possible implementation, the apparatus further includes a second response module 405, wherein:
the receiving module 401 is specifically configured to receive a service classification error message returned by the target server;
the second response module 405 is configured to return a second service consultation response message, where the second service consultation response message carries a second service type selection page, and the second service type selection page includes a service type and a link address of a service server corresponding to the service type.
In a possible implementation, the apparatus further comprises an update module 406, wherein:
the receiving module 401 is further configured to receive a service type selection request, where the service type selection request carries a second target service type selected by a user;
the updating module 406 is configured to establish a corresponding relationship between the service query information and a second target service keyword corresponding to the second service type, and store the corresponding relationship in a database, where the corresponding relationship between the service query information and the second target service keyword is used to train a regular expression representing the service keyword.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
An embodiment of the present disclosure further provides a computer device, as shown in fig. 5, which is a schematic structural diagram of the computer device provided in the embodiment of the present disclosure, and includes:
a processor 51 and a memory 52; the memory 52 stores machine-readable instructions executable by the processor 51, the processor 51 being configured to execute the machine-readable instructions stored in the memory 52, the processor 51 performing the following steps when the machine-readable instructions are executed by the processor 51: step S201: receiving a service consultation request, and step S202: determining a first target service type corresponding to the service consultation information, and step S203: and forwarding the service consultation request to a target service server corresponding to the first target service keyword.
The storage 52 includes a memory 521 and an external storage 522; the memory 521 is also referred to as an internal memory, and temporarily stores operation data in the processor 41 and data exchanged with an external memory 522 such as a hard disk, and the processor 51 exchanges data with the external memory 522 through the memory 521.
For the specific execution process of the instruction, reference may be made to the steps of the service offloading method described in this embodiment of the disclosure, and details are not described here again.
The embodiments of the present disclosure also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the service offloading method in the foregoing method embodiments are executed. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The computer program product of the service offloading method provided in the embodiment of the present disclosure includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute steps of the service offloading method in the foregoing method embodiment, which may be referred to specifically for the foregoing method embodiment, and details are not described here again.
The embodiments of the present disclosure also provide a computer program, which when executed by a processor implements any one of the methods of the foregoing embodiments. The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A service offloading method, comprising:
receiving a service consultation request, wherein the service consultation request comprises service consultation information;
determining a first target service type corresponding to the service consultation information, wherein different service types correspond to different service servers;
and forwarding the service consultation request to a target service server corresponding to the first target service type.
2. The method of claim 1, wherein determining the first target service type corresponding to the service consultation information comprises:
determining a first target service keyword matched with the service consultation information according to the service keyword corresponding to each service type;
and determining the service type corresponding to the first target service keyword as the first target service type.
3. The method of claim 2, wherein the business keywords are represented using regular expressions; and
determining a first target service keyword matched with the service consultation information, comprising:
and determining the regular expression matched with the business consultation information as a first target business keyword corresponding to the business consultation information.
4. The method of claim 3, wherein if there is no regular expression matching the business consulting information, the method further comprises:
and returning a first service consultation response message, wherein the first service consultation response message carries a first service type selection page, and the first service type selection page comprises the service type and the link address of the service server corresponding to the service type.
5. The method of claim 1, further comprising:
receiving a service classification error message returned by the target server;
and returning a second service consultation response message, wherein the second service consultation response message carries a second service type selection page, and the second service type selection page comprises the service type and the link address of the corresponding service server.
6. The method of claim 5, further comprising:
receiving a service type selection request, wherein the service type selection request carries a second target service type selected by a user;
and establishing a corresponding relation between the service consultation information and a second target service keyword corresponding to the second target service type, and storing the corresponding relation into a database, wherein the corresponding relation between the service consultation information and the second target service keyword is used for training a regular expression representing the service keyword.
7. A traffic splitting apparatus, comprising:
the receiving module is used for receiving a service consultation request, wherein the service consultation request comprises service consultation information;
the determining module is used for determining a first target service type corresponding to the service consultation information, wherein different service types correspond to different service servers;
and the forwarding module is used for forwarding the service consultation request to a target service server corresponding to the first target service type.
8. The apparatus of claim 7,
the determining module is specifically used for determining a first target service keyword matched with the service consultation information according to the service keyword corresponding to each service type; and determining the service type corresponding to the first target service keyword as the first target service type.
9. A computer device, comprising: a processor, a memory storing machine-readable instructions executable by the processor, the processor being configured to execute the machine-readable instructions stored in the memory, the processor performing the steps of the traffic splitting method according to any one of claims 1 to 6 when the machine-readable instructions are executed by the processor.
10. A computer-readable storage medium, having a computer program stored thereon, where the computer program is executed by a computer device, and the computer device executes the steps of the traffic offloading method according to any of the claims 1 to 6.
CN202010962661.8A 2020-09-14 2020-09-14 Service distribution method, device, computer equipment and computer storage medium Active CN112104571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010962661.8A CN112104571B (en) 2020-09-14 2020-09-14 Service distribution method, device, computer equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010962661.8A CN112104571B (en) 2020-09-14 2020-09-14 Service distribution method, device, computer equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN112104571A true CN112104571A (en) 2020-12-18
CN112104571B CN112104571B (en) 2023-05-12

Family

ID=73750939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010962661.8A Active CN112104571B (en) 2020-09-14 2020-09-14 Service distribution method, device, computer equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN112104571B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115589577A (en) * 2022-12-12 2023-01-10 融合通信技术(天津)有限公司 Communication service access management method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002101560A1 (en) * 2001-06-12 2002-12-19 Cross Media Marketing Corp. System and method for traffic management
US20080147421A1 (en) * 2006-12-15 2008-06-19 Daniel Buchmann On-request views of business object types
US20150286708A1 (en) * 2014-04-07 2015-10-08 International Business Machines Corporation Semantic context based keyword search techniques
WO2015169259A1 (en) * 2014-05-09 2015-11-12 北京奇虎科技有限公司 Method and device for providing application service and terminal information
CN106850572A (en) * 2016-12-29 2017-06-13 网宿科技股份有限公司 The access method and device of target resource
CN109345282A (en) * 2018-08-22 2019-02-15 中国平安人寿保险股份有限公司 A kind of response method and equipment of business consultation
CN109428877A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 A kind of method and apparatus for by user equipment access operation system
CN109740928A (en) * 2018-12-29 2019-05-10 北京中电普华信息技术有限公司 Electric power consultation service treating method and apparatus
CN111342984A (en) * 2018-12-18 2020-06-26 电信科学技术研究院有限公司 Information processing method, system and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002101560A1 (en) * 2001-06-12 2002-12-19 Cross Media Marketing Corp. System and method for traffic management
US20080147421A1 (en) * 2006-12-15 2008-06-19 Daniel Buchmann On-request views of business object types
US20150286708A1 (en) * 2014-04-07 2015-10-08 International Business Machines Corporation Semantic context based keyword search techniques
WO2015169259A1 (en) * 2014-05-09 2015-11-12 北京奇虎科技有限公司 Method and device for providing application service and terminal information
CN106850572A (en) * 2016-12-29 2017-06-13 网宿科技股份有限公司 The access method and device of target resource
CN109428877A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 A kind of method and apparatus for by user equipment access operation system
CN109345282A (en) * 2018-08-22 2019-02-15 中国平安人寿保险股份有限公司 A kind of response method and equipment of business consultation
CN111342984A (en) * 2018-12-18 2020-06-26 电信科学技术研究院有限公司 Information processing method, system and device
CN109740928A (en) * 2018-12-29 2019-05-10 北京中电普华信息技术有限公司 Electric power consultation service treating method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115589577A (en) * 2022-12-12 2023-01-10 融合通信技术(天津)有限公司 Communication service access management method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112104571B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
AU2016303436B2 (en) Method and system for applying probabilistic topic models to content in a tax environment to improve user satisfaction with a question and answer customer support system
US10210243B2 (en) Method and system for enhanced query term suggestion
US10902077B2 (en) Search result aggregation method and apparatus based on artificial intelligence and search engine
US10475044B1 (en) Method and system for question prioritization based on analysis of the question content and predicted asker engagement before answer content is generated
US20180293506A1 (en) Method and system for recommending content items to a user based on tensor factorization
US20150120451A1 (en) Method and apparatus for acquiring merchant information
US20130073969A1 (en) Systems and methods for web based application modeling and generation
US20150120772A1 (en) Method and system for information push
US10621189B2 (en) In-application history search
CN111046237B (en) User behavior data processing method and device, electronic equipment and readable medium
US20150127641A1 (en) Method and system for searching on mobile terminal
WO2014015787A1 (en) Method, server, and client for pushing and displaying splash screen
CN109359237A (en) It is a kind of for search for boarding program method and apparatus
US20180114156A1 (en) Computer-based automatic tagging of user multimedia data to generate commercial sales lead
KR101610883B1 (en) Apparatus and method for providing information
CN109446431A (en) For the method, apparatus of information recommendation, medium and calculate equipment
CN111400465A (en) Generation method and device of customer service robot, electronic equipment and medium
CN110928917A (en) Target user determination method and device, computing equipment and medium
CN113051389B (en) Knowledge pushing method and device
CN112104571A (en) Service distribution method, device, computer equipment and computer storage medium
KR20200102865A (en) Method for providing answer service based on chatbot service
CN113297436B (en) User policy distribution method and device based on relational graph network and electronic equipment
CN111199421B (en) Social relationship-based user recommendation method and device and electronic equipment
CN112527991A (en) Information processing method, apparatus and medium
JP6676083B2 (en) Search device, search method, and program

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