CN112104571B - 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
CN112104571B
CN112104571B CN202010962661.8A CN202010962661A CN112104571B CN 112104571 B CN112104571 B CN 112104571B CN 202010962661 A CN202010962661 A CN 202010962661A CN 112104571 B CN112104571 B CN 112104571B
Authority
CN
China
Prior art keywords
service
target
consultation
business
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010962661.8A
Other languages
Chinese (zh)
Other versions
CN112104571A (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 offloading method, apparatus, computer device, and computer storage medium, where 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. According to the method and the device for automatically matching the service server meeting the requirements, the service consultation request is analyzed through the unified server entrance, the service consultation request can be forwarded to the corresponding target service server for processing, and the service server meeting the requirements can be automatically matched for the user without knowing the service type corresponding to the user's requirements, so that user experience is improved, and in addition, the entrance server does not need to be deployed independently for each service type, so that the deployment cost and maintenance management cost of the service entrance server are reduced.

Description

Service distribution method, device, computer equipment and computer storage medium
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a service distribution method, a service distribution device, computer equipment and a computer storage medium.
Background
Different enterprises correspondingly have different service functions, and along with the development of the enterprises, the same enterprise can cover multiple services and have multiple service functions of different types, each type of service is relatively independent and has different functions, and each service comprises service customer service introducing the functions of the service customer service. For each service processing request, a corresponding independent service entry server needs to be opened to process related service problems.
At present, enterprises mostly adopt different service entrance servers for different service processing modes, each service corresponds to one service entrance server, corresponding service manual customer service personnel or service robots are connected through the different service entrance servers, and users know or consult more enterprise service information through the service manual customer service or the service robots.
However, for each business, a corresponding business portal server mode is opened up, when the business of an enterprise reaches a certain number, difficulty in mastering portal information and portal modes is increased, deployment cost is increased, portal management and maintenance cost is increased due to the arrangement of multiple portals, and in the mode, a user is required to select a corresponding portal according to own needs.
Disclosure of Invention
The embodiment of the disclosure at least provides a service diversion method, a service diversion device, computer equipment and a computer storage medium.
In a first aspect, an embodiment of the present disclosure provides a service splitting method, which is characterized in that 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.
In a possible implementation manner, determining the first target service type corresponding to the service consultation information includes:
determining a first target business keyword matched with the business consultation information according to the business keywords corresponding to each business type;
and determining the service type corresponding to the first target service keyword as the first target service type.
In one possible implementation, the business keywords are represented using regular expressions; and
determining a first target business keyword matched with the business consultation information, comprising:
and determining a regular expression matched with the business consultation information as a first target business keyword corresponding to the business consultation information.
In one possible implementation, if there is no regular expression matching the business consultation 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 a service type and a link address of a corresponding service server.
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 a service type and a link address of a 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 business consultation information and a second target business keyword corresponding to the second target business type, and storing the corresponding relation in a database, wherein the corresponding relation between the business consultation information and the second target business keyword is used for training a regular expression representing the business keyword.
In a second aspect, an embodiment of the present disclosure further provides a service splitting apparatus, which is characterized in that the service splitting apparatus includes:
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 the service keywords corresponding to each service type, a first target service keyword that is matched with the service consultation information; and determining the service type corresponding to the first target service keyword as the first target service type.
In one possible implementation, the business keywords are represented using regular expressions; and
the determining module is specifically configured to determine that a regular expression matched with the service consultation information is a first target service keyword corresponding to the service consultation information.
In one possible embodiment, the apparatus further comprises a first response module, wherein:
the first response module is configured to return a first service consultation response message if there is no regular expression matching with the service consultation information, 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 corresponding service server.
In one possible embodiment, the apparatus further comprises 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 corresponding service server.
In one 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 configured to establish a correspondence between the service consultation information and a second target service keyword corresponding to the second service type, and store the correspondence in a database, where the correspondence between the service consultation information and the second target service keyword is used to train a regular expression that represents the service keyword.
In a third aspect, an optional implementation manner of the disclosure further 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, where the machine-readable instructions, when executed by the processor, perform the steps in the first aspect, or any possible implementation manner of the first aspect, when executed by the processor.
In a fourth aspect, an alternative implementation of the present disclosure further provides a computer readable storage medium having stored thereon a computer program which when executed performs the steps of the first aspect, or any of the possible implementation manners of the first aspect.
The description of the effects of the service diversion apparatus, the computer device and the computer-readable storage medium is referred to the description of the service diversion method, and is not repeated here.
According to the business distribution method, the business distribution device, the computer equipment and the computer storage medium, the unified server is adopted to receive the business consultation request, business consultation information included in the business consultation request is analyzed to determine the corresponding target business type, the corresponding target server is determined according to the target business type, and the business consultation request is forwarded to the target server.
Further, according to the business distribution method provided by the embodiment of the disclosure, under the condition that keyword matching is performed on business consultation information by using the regular expression, the business distribution method can jump to a business type selection page according to business classification error information returned by a business server, and establish a corresponding relation between the business consultation information and the business keyword according to a received business type selection request, and further store the corresponding relation into a database to realize updating training of the regular expression, so that the matching function of the server is perfected, the matching capability of the server is improved, the possibility of entry selection error is reduced, and the matching efficiency is improved.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the embodiments are briefly described below, which are incorporated in and constitute a part of the specification, these drawings showing embodiments consistent with the present disclosure and together with the description serve to illustrate the technical solutions of the present disclosure. It is to be understood that the following drawings illustrate only certain embodiments of the present disclosure and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may admit to other equally relevant drawings without inventive effort.
Fig. 1 is a schematic diagram illustrating an application scenario of a service splitting method provided by an embodiment of the present disclosure;
fig. 2 shows a flowchart of a service splitting method provided by an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating an implementation process of a service splitting method according to an embodiment of the present disclosure;
fig. 4 shows a schematic diagram of a service diversion 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
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. The components of the disclosed embodiments 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 made by those skilled in the art based on the embodiments of this disclosure without making any inventive effort, are intended to be within the scope of this disclosure.
According to research, a relatively perfect enterprise is provided with a plurality of different service types, the different service types have different service functions, at present, the enterprise adopts a mode of setting different service entrance servers for the different service types, a user correspondingly selects a corresponding service entrance server according to self consultation requirements to obtain service services, but the mode of opening up the corresponding service entrance server for each service type increases the service entrance server deployment cost and the management maintenance cost when the service types are provided and reach a certain quantity, and further influences the user experience.
Based on the above study, the present disclosure provides a method for analyzing a service consultation request through a unified server portal, which can realize forwarding the service consultation request to a corresponding target service server for processing, so that a user does not need to know a service type corresponding to the user's own demand and can automatically match the service server meeting the demand, thereby improving user experience.
The present invention is directed to a method for manufacturing a semiconductor device, and a semiconductor device manufactured by the method.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
For the sake of understanding the present embodiment, first, a service splitting method disclosed in the embodiments of the present disclosure will be described in detail, and an execution body of the service splitting method provided in the embodiments of the present disclosure is generally a computing device with a certain computing capability, where the computing device includes, for example: the terminal device, or server or other processing device, may be a User Equipment (UE), mobile device, user terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld device, computing device, vehicle mounted device, wearable device, etc. In some possible implementations, the traffic splitting method may be implemented by way of a processor invoking computer readable instructions stored in a memory.
For the convenience of understanding the present embodiment, first, an application scenario of a service splitting method disclosed in the embodiment of the present disclosure is introduced, and fig. 1 is a schematic diagram of an application scenario of a service splitting method provided in the embodiment of the present disclosure. The 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 may be an application client installed in a terminal device, such as a mobile phone, a tablet computer, or the like. The terminal device 11 and the server 12 are in communication connection through a network, which may be a local area network, a cellular network, a wide area network, or the like. The terminal device 11 may be a portable device (e.g., a mobile phone, a tablet, a notebook, etc.), a personal computer (PC, personal Computer), and the server 12 may be any device capable of providing internet services. In the embodiment of the present disclosure, the server 12 is used as an entry server of the consultation request, 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 terminal device 11 at the client, 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 service keywords matched with the service consultation information, determines a corresponding service type according to the matched service keywords, 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 offloading method provided by the embodiment of the present disclosure may be applied to solve various service requirements inside an enterprise, such as IT service, personnel information service, job title rating service, etc.; or a pre-sale service, an after-sale service, an e-commerce shopping guide service or an information popularization service, and the like, 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 client service consultation page, the client initiates a service consultation request to the server 12 based on "i want to rate", the server determines that the matched service keyword is "rate" according to "i want to rate", further determines that the corresponding service type is a job rating service, and forwards the service consultation request to the service server 13 corresponding to "job rating service" according to the determined service type.
The service splitting method provided by the embodiment of the present disclosure is described below by taking an execution body as a computer device as an example.
As shown in fig. 2, a flowchart of a service splitting method provided by an embodiment of the present disclosure may include the following steps:
s201: and receiving a business consultation request.
In this step, the server provides a unified service consultation portal for all service types, and the unified service consultation portal can be implemented through a service consultation page displayed by the client, and when a user has a service consultation requirement, a service consultation request is submitted through the service consultation page, wherein the service consultation request includes service consultation information. For example, when the user wants to acquire the computer, the "i want to get the computer" can be input in the business consultation page and submitted 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 service consultation requirement, the service consultation request can be submitted through the service consultation page displayed by the web page in addition to the service consultation request submitted through the service consultation page displayed by the client, which is not limited.
S202: and determining a first target service type corresponding to the service consultation information.
In this step, the server responds to the service consultation request submitted by the client, and determines the corresponding first target service keywords according to the service consultation information included in the service consultation request in a regular matching mode, wherein the service types corresponding to different service keywords are different, and the different service types correspond to different service servers.
In particular, for convenience in unified management of services, the capability of each service corresponding to the service type may be abstracted into a service type, and then at least one service keyword is used to express the service type, for example, for a service provided with a function of asset management, corresponding, similar receiving computers, receiving displays, receiving data lines and the like are service types related to asset management of users, so that the receiving computers, the receiving displays, and the receiving data lines can be positioned as service keywords of the service types related to asset services. As shown in table 1, the relationship between the service keywords corresponding to some service types provided by the embodiments of the present disclosure is illustrated. A different service type corresponds to a service server, whereby for each service type, the service key corresponding to that service type also corresponds to the service server corresponding to that service type.
TABLE 1
Figure BDA0002681067780000091
Figure BDA0002681067780000101
In one embodiment, all the service keywords may be represented by a regular expression, and when the method is specifically implemented, a corresponding regular expression may be generated based on the service keywords corresponding to the representative service type, for example, the service keywords for expressing the asset service type include a collar computer, a collar display, a collar data line, and the like, and based on this, the service keywords may be represented by regular expression modes of a collar computer, a computer display, and a data line, as shown in table 2, which is a relationship schematic between some service keywords provided for embodiments of the disclosure and the corresponding regular expression. 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 hit by matching, the server can be triggered to enter a corresponding target service server.
TABLE 2
Figure BDA0002681067780000102
In specific implementation, based on the business consultation information, the server performs correlation matching with the business consultation information by using the regular expression representing the business keyword, determines the regular expression with the highest matched correlation as a first target business keyword matched with the business consultation information, and further determines a corresponding target business server according to the target business keyword.
For example, taking the business consultation information as an example of "I want to get a computer", after a user submits "I want to get a computer" on a business consultation page through a client, the client initiates a business consultation request to this server, the pre-stored regular expressions of the server are matched with the "I want to get a computer" in correlation, the matching correlation of each regular expression is determined, for example, the correlation with the "asset" business type is 0.85, the correlation with the "IT" business type is 0.65, the correlation with the "administrative" business type is "0.5" and the correlation with the "live" business is 0.05, so that the server can determine that the first target business type hit by the "I want to get a computer" is an "asset", and further determine the hit target business server according to the first target business type hit is "asset". In another embodiment, when the algorithm is used for matching the correlation, the method for word segmentation of the service consultation information can be used for matching the service keywords, so that the hit target service type is determined and the corresponding target service server is determined.
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 contains a service type and a link address of a corresponding service server. When the server is matched with the regular expression of the service keyword according to the received service consultation information, if the corresponding regular expression is not matched, the server cannot determine the service type of the service consultation information input by the user, in this case, a first service consultation response message including a first service type selection page is returned to the client, wherein the first service type selection page includes service types corresponding to all provided services and link addresses of the corresponding service servers, and the corresponding service servers can be directly accessed according to the link addresses of the service servers. The client displays a first service type selection page returned by the server for the user to select, 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 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 the intelligent robot, or may be a link address of a service server corresponding to the manual service.
For example, taking the example that a user inputs a "I want to get a computer", when the server cannot 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", manual and the like on a first service type selection page, the user can select a corresponding target service type according to the consultation requirement of the user, and the corresponding target service server can be accessed according to the selection of the user.
In addition, when the corresponding regular expressions are matched according to the service consultation information, if a plurality of regular expressions matched with the service consultation information exist, the server can also return a first service 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 the 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 can further judge whether the service consultation request can be processed. And if the target service server judges that the received service consultation request cannot be processed, returning a service classification error message. Based on the above, after receiving the service classification error message, 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, and the second service type selection page includes a service type and a link address of the corresponding service server. Specifically, the second service type selection page includes service types corresponding to all the provided services and link addresses of corresponding service servers, and the corresponding service servers can be directly accessed according to the link addresses of the service servers. The specific implementation of this method may refer to the description in step S202, and will not be repeated here.
Further, based on the second target service type selected by the user, the client sends a service type selection request to the server, and the server forwards a service consultation request to a second target service server corresponding to the second target service type according to the second target service type carried in the received service type selection request.
In addition, according to the embodiment of the disclosure, in order to improve accuracy of matching of service types of the server, the server may further establish a correspondence between the service consultation information and a second target service keyword corresponding to the second target service type, store the correspondence in the database, train regular expressions of the service keyword according to the correspondence, further perfect the regular expressions corresponding to the service type, and complete a self-learning process of the regular expressions.
According to the embodiment of the disclosure, the unified portal server is utilized to receive the service consultation request, the corresponding service server is judged according to the service consultation information contained in the service consultation request by a regular matching method, and the received service consultation request is forwarded to the corresponding service server for processing, so that unified management of multiple services is realized, the deployment cost and the management maintenance cost of the service portal server are reduced, the process is not perceived by a user, and the use experience of the user is improved.
For a better understanding of the embodiments of the present disclosure, the following description of the embodiments of the present disclosure in conjunction with the implementation of the embodiments of the present disclosure, as shown in fig. 3, may include the following steps:
s301: and receiving a business consultation request.
In the step, a server receives a service consultation request initiated by a client according to service consultation information input by a user, wherein the service consultation request comprises the service consultation information.
S302: and judging whether a first target business keyword matched with the business consultation information exists in the business keywords corresponding to each business type, if so, executing the step S304, and if not, executing the step S303.
In the step, the server judges whether a regular expression matched with the business consultation information exists or not according to the regular expression for expressing the business keyword in a regular matching mode.
S303: and returning a first business consultation response message.
The first service consultation response message carries a first service type selection page, and the first service type selection page comprises a service type and a link address of a corresponding service server.
S304: and determining a first target service type corresponding to the first target service keyword.
In the step, a server determines a corresponding first target business keyword according to the matched regular expression, and determines a corresponding first target business type according to the determined first target business 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, step S310 is executed, and if not, step S307 is executed.
S307: and returning a service classification error message to the server.
In the step, if the target service server judges that the service provided by the target service server can not meet the service consultation request of the user, service classification error information is returned to the server.
S308: 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 type selection page is carried.
S309: the server receives the service type selection request, establishes a corresponding relation between the service consultation information and a second target service keyword corresponding to the 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. According to the second target business keywords corresponding to the second target business types, the server establishes corresponding relations between the business consultation information and the second target business keywords and stores the corresponding relations in the database, and further, the server trains regular expressions of the business keywords according to the corresponding relations stored in the database so as to improve accuracy of business type matching.
S310: and the target service server processes the received service consultation request.
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
Based on the same inventive concept, the embodiments of the present disclosure further provide a service splitting device corresponding to the service splitting method, and since the principle of solving the problem by the device in the embodiments of the present disclosure is similar to that of the service splitting method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
As shown in fig. 4, a schematic diagram of a service splitting device provided in 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;
and 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 the service keywords corresponding to each service type, a first target service keyword that is matched with the service consultation information; and determining the service type corresponding to the first target service keyword as the first target service type.
In one possible implementation, the business keywords are represented using regular expressions; and
the determining module 402 is specifically configured to determine that a regular expression matched with the business consultation information is a first target business keyword corresponding to the business consultation information.
In one possible implementation, the apparatus further includes a first response module 404, wherein:
the first response module 404 is configured to return a first service advisory response message if there is no regular expression matching the service advisory information, where the first service advisory 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 corresponding service server thereof
In a possible implementation manner, the apparatus further includes a second response module 405, where:
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 advisory response message, where the second service advisory 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 corresponding service server.
In one possible implementation, the apparatus further includes 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 correspondence between the service consultation information and a second target service keyword corresponding to the second service type, and store the correspondence in a database, where the correspondence between the service consultation information and the second target service keyword is used to train a regular expression that represents the service keyword.
The process flow of each module in the apparatus and the interaction flow between the modules may be described with reference to the related descriptions in the above method embodiments, which are not described in detail herein.
The embodiment of the disclosure further provides a computer device, as shown in fig. 5, which is a schematic structural diagram of the computer device provided by the embodiment of the disclosure, including:
a processor 51 and a memory 52; the memory 52 stores machine readable instructions executable by the processor 51, the processor 51 configured to execute the machine readable instructions stored in the memory 52, the machine readable instructions when executed by the processor 51, the processor 51 performing the steps of: step S201: receiving a service consultation request, 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 memory 52 includes a memory 521 and an external memory 522; the memory 521 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 41 and data exchanged with the external memory 522 such as a hard disk, and the processor 51 exchanges data with the external memory 522 via the memory 521.
The specific execution process of the above instruction may refer to the steps of the service splitting method described in the embodiments of the present disclosure, which is not described herein.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the traffic splitting method described in the method embodiments above. Wherein the storage medium may be a volatile or nonvolatile computer readable storage medium.
The computer program product of the service splitting method provided in the embodiments of the present disclosure includes a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the steps of the service splitting method described in the foregoing method embodiments, and specifically, reference may be made to the foregoing method embodiments, which are not repeated herein.
The disclosed embodiments also provide a computer program which, when executed by a processor, implements any of the methods of the previous embodiments. The computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in 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 essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present disclosure, and are not intended to limit the scope of the disclosure, but the present disclosure is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, it is not limited to the disclosure: any person skilled in the art, within the technical scope of the disclosure of the present disclosure, may modify or easily conceive changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features thereof; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (8)

1. A traffic splitting 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;
forwarding the service consultation request to a target service server corresponding to the first target service type;
further comprises:
receiving a service classification error message returned by the target service server;
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 a service type and a link address of a corresponding service server;
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 business consultation information and a second target business keyword corresponding to the second target business type, and storing the corresponding relation in a database, wherein the corresponding relation between the business consultation information and the second target business keyword is used for training a regular expression representing the business keyword.
2. The method of claim 1, wherein determining a first target service type corresponding to the service advisory information comprises:
determining a first target business keyword matched with the business consultation information according to the business keywords corresponding to each business 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 business keyword matched with the business consultation information, comprising:
and determining a 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 a service type and a link address of a corresponding service server.
5. A traffic splitting device, 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;
the forwarding module is used for forwarding the service consultation request to a target service server corresponding to the first target service type;
the apparatus further comprises a second response module 405, wherein:
the receiving module 401 is specifically configured to receive a service classification error message returned by the target service 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 corresponding service server;
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 correspondence between the service consultation information and a second target service keyword corresponding to the second service type, and store the correspondence in a database, where the correspondence between the service consultation information and the second target service keyword is used to train a regular expression that represents the service keyword.
6. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the determining module is specifically configured to determine, according to service keywords corresponding to each service type, a first target service keyword that is matched with the service consultation information; and determining the service type corresponding to the first target service keyword as the first target service type.
7. A computer device, comprising: a processor, a memory storing machine readable instructions executable by the processor for executing the machine readable instructions stored in the memory, which when executed by the processor, perform the steps of the traffic splitting method according to any of claims 1 to 4.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when run by a computer device, performs the steps of the traffic splitting method according to any of claims 1 to 4.
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 CN112104571A (en) 2020-12-18
CN112104571B true 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)

Families Citing this family (1)

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

Citations (7)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010376B2 (en) * 2006-12-15 2011-08-30 Sap Ag On-request views of business object types
US9589050B2 (en) * 2014-04-07 2017-03-07 International Business Machines Corporation Semantic context based keyword search techniques

Patent Citations (7)

* 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
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

Also Published As

Publication number Publication date
CN112104571A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
US10771408B2 (en) Chatbot system and service method thereof
CN102393844B (en) Registration of applications and unified media search
CN110765295A (en) Graph database-based query method and device, computer equipment and storage medium
CN105637847A (en) Dynamic telephone number assignment
US20130268446A1 (en) System and method for entry of structured data
CN107258071B (en) Method and system for providing rich menu of official account in instant messaging service and recording medium
US20160342674A1 (en) System and method for managing customer address information in electronic commerce using the internet
US10019746B2 (en) Microsites architecture
KR101610883B1 (en) Apparatus and method for providing information
CN106487655B (en) Message interaction method and device and processing server
CN105024913A (en) Method, apparatus and system of instant messaging conversation
KR101706317B1 (en) Service providing system and method for consulting by category based on messenger
CN105203121A (en) Dynamically Integrating Offline And Online Suggestions In A Geographic Application
CN106682146B (en) Method and system for retrieving scenic spot evaluation according to keywords
JP6158327B2 (en) Representative telephone information providing system having search function and method thereof
CN112104571B (en) Service distribution method, device, computer equipment and computer storage medium
US20060031337A1 (en) Methods and systems for broadcasting offers over electronic networks
CN110796543B (en) Custom information acquisition method and device based on relational network and electronic equipment
CN106156642A (en) Data ciphering method and device
CN102867056A (en) Method and system for searching keyword
CN109241409A (en) Method and apparatus for sending information, receiving information
CN104580639A (en) Information loading method and device based on telephone number
US20120117510A1 (en) System and method for automatically establishing a concurrent data connection with respect to the voice dial features of a communications device
CN114238585A (en) Query method and device based on 5G message, computer equipment and storage medium
Hovav Using scenarios to understand the frontiers of IS: Fifteen years later (a postscript)

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