CN110309931A - A kind of service optimization method and device - Google Patents

A kind of service optimization method and device Download PDF

Info

Publication number
CN110309931A
CN110309931A CN201810228929.8A CN201810228929A CN110309931A CN 110309931 A CN110309931 A CN 110309931A CN 201810228929 A CN201810228929 A CN 201810228929A CN 110309931 A CN110309931 A CN 110309931A
Authority
CN
China
Prior art keywords
service
processing
business
information
client
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
CN201810228929.8A
Other languages
Chinese (zh)
Other versions
CN110309931B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810228929.8A priority Critical patent/CN110309931B/en
Publication of CN110309931A publication Critical patent/CN110309931A/en
Application granted granted Critical
Publication of CN110309931B publication Critical patent/CN110309931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The embodiment of the invention discloses a kind of service optimization method and devices, which comprises when receiving the service requesting information of client transmission, carries out business processing to service requesting information institute's requested service;Service processing result is obtained, and generates processing logical message according to the logic of business processing;Service processing result and processing logical message are sent to client, so that client optimizes business according to service processing result and/or processing logical message.Using the embodiment of the present invention, processing logical message needed for can avoid artificial search promotes service optimization efficiency.

Description

A kind of service optimization method and device
Technical field
The present invention relates to Internet technical field more particularly to a kind of service optimization methods and device.
Background technique
During business development, it will usually check the performance of business by functional test.When carrying out functional test, Testing tool be can use according to testing scheme, tested business is operated under the defined conditions, to find the industry There are optimization demands for business.When testing business, tester can submit information to be optimized according to test result.When grinding When hair personnel optimize business based on information to be optimized, needs to carry out Bug (defect that program generates) positioning, i.e., artificially look into Required processing logical message is looked for, if being related to multi-functional coupling, it is also necessary to which other research staff cooperate positioning, reduce business Optimization efficiency.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of service optimization method and device, can avoid It is artificial to search required processing logical message, promote service optimization efficiency.
In order to solve the above-mentioned technical problem, described in a first aspect, the embodiment of the invention provides a kind of service optimization method Method includes:
When receiving the service requesting information of client transmission, industry is carried out to service requesting information institute's requested service Business processing;
Service processing result is obtained, and generates processing logical message according to the logic of the business processing;
The service processing result and the processing logical message are sent to the client, so that the client root The business is optimized according to the service processing result and/or processing logical message.
Optionally, when receiving the service requesting information of client transmission, to the requested industry of the service requesting information Business carries out before business processing, further includes:
Obtain at least one functional link for being handled the business, the business include artificial intelligence AI dialogue, Functional test, information search or information push;
Data are carried out at least one described functional link to bury a little;
The logic according to the business processing generates processing logical message, comprising:
It obtains and buries the processing logic generated when handling the business of each functional link a little by data Information.
Optionally, Xiang Suoshu client sends the service processing result and the processing logical message, comprising:
The service processing result is sent to the client;
When receiving the service optimization demand that the client returns, the processing logical message is converted to JavaScript object markup language JSON character string;
The JSON character string is sent to the client.
Optionally, the logic according to the business processing generates before handling logical message, further includes:
Judge whether the service requesting information includes positioning problems mark;
When the service requesting information includes that positioning problems identify, execute at according to the logic generation of the business processing The step of managing logical message.
Optionally, described to obtain at least one function of being handled the business if the business is AI dialogue Link, comprising:
At least one module in central control system, natural language understanding NLU module and content offer CP module is provided.
Second aspect, the embodiment of the invention provides a kind of service optimization methods, which comprises
Service requesting information is sent to server, the service requesting information is for triggering the server to the business Solicited message institute's requested service carries out business processing, and the server, which generates processing logic according to the logic of the business processing, to be believed Breath;
Receive the service processing result and the processing logical message that the server is sent;
Obtain the information to be optimized of the business returned based on the service processing result;
Output optimization prompt information, the optimization prompt information include the information to be optimized and processing logic letter Breath, the optimization prompt information carry out the business according to the information to be optimized and the processing logical message for prompting Optimization.
It is optionally, described to receive the service processing result and the processing logical message that the server is sent, comprising:
Receive the service processing result that the server is sent;
Service optimization demand is sent to the server based on the service processing result;
It receives the server and responds the JavaScript object markup language JSON word that the service optimization demand is sent Symbol string;
The JSON character string is parsed, the processing logical message is obtained.
Optionally, the service requesting information carrying problem positioning identifier, described problem positioning identifier are described for triggering Server generates the processing logical message according to the logic of the business processing.
Optionally, before the transmission service requesting information to server, further includes:
Service request is obtained by input equipment;
The service request is packaged based on hypertext transfer protocol HTTP, obtains the service requesting information.
The third aspect, the embodiment of the invention provides a kind of service optimization device, described device includes for executing first The unit of method described in aspect.
Fourth aspect, the embodiment of the invention provides a kind of service optimization device, described device includes for executing second The unit of method described in aspect.
5th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program includes program instruction, and described program is instructed when being executed by server Make the method for the server execution as described in relation to the first aspect.
6th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program includes program instruction, and described program instructs when by client executing Make method of the client executing as described in second aspect.
7th aspect, the embodiment of the invention provides a kind of server, which includes: processor, memory and leads to Believe interface, be stored with program instruction in memory, processor calls the program instruction stored in memory for executing such as the Method described in one side.
Eighth aspect, the embodiment of the invention provides a kind of client, which includes: processor, memory, communication Interface and display screen, program instruction is stored in memory, and processor calls the program instruction stored in memory to be used for Execute the method as described in second aspect.
Implement the embodiment of the present invention, when receiving the service requesting information of client transmission, to service requesting information institute Requested service carries out business processing, obtains service processing result, and generate processing logical message according to the logic of business processing, and Service processing result and processing logical message are sent to client, so that client is according to service processing result and/or processing Logical message optimizes business, and processing logical message needed for can avoid artificial search promotes service optimization efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings;
Fig. 1 is a kind of structural schematic diagram of the service optimization system provided in the embodiment of the present invention;
Fig. 2A is a kind of configuration diagram of the blank platform provided in the embodiment of the present invention;
Fig. 2 B is a kind of configuration diagram of the page presentation provided in the embodiment of the present invention;
Fig. 2 C is a kind of flow diagram of the page presentation provided in the embodiment of the present invention;
Fig. 3 is a kind of flow diagram of the service optimization method provided in the embodiment of the present invention;
Fig. 4 A is a kind of schematic diagram of the dialog information provided in the embodiment of the present invention;
Fig. 4 B is a kind of schematic diagram of the service requesting information provided in the embodiment of the present invention;
Fig. 4 C is a kind of schematic diagram of the processing logical message provided in the embodiment of the present invention;
Fig. 4 D is a kind of schematic diagram of the link of the processing logical message provided in the embodiment of the present invention;
Fig. 4 E is a kind of schematic diagram of the service processing result provided in the embodiment of the present invention;
Fig. 4 F is a kind of schematic diagram of the information to be optimized provided in the embodiment of the present invention;
Fig. 4 G is a kind of schematic diagram of the information to be optimized provided in another embodiment of the present invention;
Fig. 4 H is a kind of schematic diagram of the processing logical message provided in another embodiment of the present invention;
Fig. 4 I is a kind of schematic diagram of the information list to be optimized provided in the embodiment of the present invention;
Fig. 4 J is a kind of schematic diagram of the information list to be optimized provided in another embodiment of the present invention;
Fig. 4 K is a kind of schematic diagram of the processing logical message provided in another embodiment of the present invention;
Fig. 4 L is a kind of schematic diagram of the plug-in unit of the assistant analysis tool provided in the embodiment of the present invention;
Fig. 5 A is a kind of flow diagram of the service optimization method provided in another embodiment of the present invention;
Fig. 5 B is that a kind of background information provided in the embodiment of the present invention buries schematic diagram a little;
Fig. 5 C is a kind of flow diagram of the service optimization method provided in another embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of the service optimization device provided in the embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of the server provided in the embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of the service optimization device provided in another embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of the client provided in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Figure 1, Fig. 1 is a kind of structural schematic diagram of service optimization system disclosed by the embodiments of the present invention.Such as Fig. 1 institute Show, which may include client and server, and wherein client can be by between internet and server Establish communication connection.
Server may operate in search platform, artificial intelligence (Artificial Intelligence, AI) dialogue platform Or in intelligent recommendation data center etc..Server, specifically for when receive client transmission service requesting information when, it is right Service requesting information institute's requested service carries out business processing, service processing result is obtained, at the logic generation of business processing Logical message is managed, and sends service processing result and processing logical message to client.
Client may operate in tablet computer, mobile phone, personal computer (Personal Computer, PC), notebook In the terminals such as computer, mobile unit or Web TV.Client is specifically used for sending service requesting information to server, receive The service processing result and processing logical message that server is sent, obtain the information to be optimized of business, and export optimization prompt Information, optimization prompt information include information to be optimized and processing logical message, and optimization prompt information is for prompting according to excellent Change information and processing logical message optimizes business.
Business may include to AI dialogue, information search or intelligent recommendation (such as information push or advertisement pushing) etc. The application experience of application, functional test, bug position perhaps badcase (bad case or the survey for not meeting user experience Test result etc.) positioning etc..
Business procession can carried out to the business at least one functional link in server by handling logical message Log (log) information of middle generation.By taking AI session operational scenarios as an example, at least one functional link may include central control system, nature Language understanding (Natural Language Understanding, NLU) module or content provide (Content Providers, CP) module etc..
If there is the problems such as poor or functional test mistake is experienced in application during processing in business, it can be understood as There are service optimization demands for the business.It, can will be according to industry when server receives the service optimization demand of client return The processing logical message that the logic of business processing generates is sent to client, the information to be optimized of the available business of client, And optimization prompt information is exported, optimization prompt information includes information to be optimized and processing logical message, and optimization prompt information is used Business is optimized according to information to be optimized and processing logical message in prompt.In relatively traditional service optimization method, when Business needs user according to information to be optimized there are when optimization demand, needed for artificially being searched in the serve log of the business Handle logical message, wherein the serve log of the business may include that all functional links are carrying out business processing to the business It generates in the process, and service optimization is carried out according to the processing logical message artificially found, the embodiment of the present invention can promote industry Business optimization efficiency.
For the configuration diagram of the blank platform shown in Fig. 2A, the blank platform may include data bury point module, Backstage interactive module, information management module and page presentation module.Wherein client can be above-mentioned blank platform.Wherein, Data bury point module, are specifically used for carrying out background module logic putting in order, get ready in each link module, in AI session operational scenarios, need Data are carried out to central control system and NLU module to bury a little.Backstage interactive module, the input specifically for receiving user are requested, The processing logical message of each functional link in backstage of service processing result and assistant analysis is obtained from server.Information management Module, specifically for management test process pull contextual information, processing logical message, input information to be optimized when up and down Literary state or information to be optimized (i.e. the mono- information of bug).Page presentation module is specifically used for showing the testing process page, processing Logical message, information list to be optimized (i.e. problem list) or log field such as illustrate at the information.
For the configuration diagram of the page presentation shown in Fig. 2 B, the progress of Spring mvc frame is can be used in client Page presentation, such as the service processing result, information to be optimized or the processing logical message that show in the page business etc.. Spring mvc frame may include data access object (Data Access Object, DAO), Object Relation Mapping (Object Relational Mapping, ORM), enterprise version JAVA (Java Enterprise Edition, JEE), the whole world Wide area network (World Wide Web, web), towards tangent plane programming (Aspect Oriented Programming, AOP) and Core core, core module is the core class libraries of Spring, and the institute of Spring is functional to all rely on the class libraries.
The core technology of Spring mvc frame is control reversion (Inversion of Control, IOC) and AOP.Its In, the full name of mvc is Model View Controller, is model (model)-view (view)-controller (controller) abbreviation, it can be ensured that the layering of the frame of service optimization system is more clear, and scalability is stronger, reduces system The degree of coupling of system.Controller calls Business Logic to handle number specifically for web request is encapsulated as a data object According to object, and processing data result and corresponding view are returned to user.Model is specifically used for processing business data, and returns Processing result.View is specifically used for render view, and data or processing result is showed user.
By taking the flow diagram of page presentation shown in fig. 2 C as an example, user's initiation request (such as input pair in the terminal Talk about information) after, controller can send the business model for determining and obtaining to controller to model request business model, model, Model data is filled in controller direction view.
Based on service optimization system shown in FIG. 1, the embodiment of the invention discloses a kind of service optimization methods shown in Fig. 3 Flow diagram.As shown in figure 3, the service optimization method at least may comprise steps of:
S301, server obtain at least one functional link handled business.
Available at least one functional link that business is handled of server.For different business, the function of acquisition Energy link is different.For example, business is AI dialogue, the available central control system of server, NLU mould in AI session operational scenarios Block and CP module these three functional links.
S302, server carry out data at least one functional link and bury a little.
Server by least one functional link carry out data bury a little, can be according to the logic generation of business processing at Manage one of logical message, user information (such as user's portrait), user behavior data or contextual information etc. or more Kind.
S303, user end to server send service requesting information, service requesting information carrying problem positioning identifier.
When client needs to test business, service requesting information, service requesting information can be sent to server Can be with carrying problem positioning identifier, positioning problems mark is obtained for trigger the server buries each functional link a little by data The processing logical message generated when handling business.For example, user can be in the finger of client in AI session operational scenarios Determine input dialogue information in the page, after user clicks " transmission " key, client can generate business according to dialog information and ask Information is sought, which is sent to server by client.
Specifically, the communication protocol between client and server can be true according to the service protocol of institute's interactive service Fixed, the corresponding communication protocol of different business agreement is different, and illustratively, communication protocol may include hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) or safety data transmission agreement (Hyper Text Transfer Protocol over Secure Socket Layer, HTTPS) etc..For the schematic diagram of the dialog information shown in Fig. 4 A, Client can receive the dialog information of user's input.For the schematic diagram of the service requesting information shown in Fig. 4 B, client The processing such as message identification, robot type identification, the data that processing is obtained and positioning problems mark can be carried out to dialog information Knowledge is packaged, and obtains the service requesting information that protocol format is HTTP format, service requesting information is sent to server.
S304, server, which is obtained, buries the processing that each functional link a little is generated when handling business by data Logical message, and obtain service processing result.
Server is received from client after service requesting information, it can be determined that service requesting information whether carrying problem Positioning identifier, when service requesting information carrying problem positioning identifier, server is available to bury each function a little by data The processing logical message that energy link is generated when handling business, and obtain service processing result;Work as service requesting information When non-carrying problem positioning identifier, server handles logical message without generating, but directly by the business processing knot of the business Fruit is sent to client.Through the embodiment of the present invention, server can be in service requesting information carrying problem positioning identifier, really Determining client has location requirement, and then generates processing logical message according to the logic of business processing;It is not taken in service requesting information When band positioning problems mark, server can determine client, and there is no location requirements, and then without generating processing logical message, The treatment effeciency of business can be promoted in time to the service processing result of client feedback business.
Wherein, after processing logical message refers to that server receives service requesting information from client, each function chain Algorithm logic, sequence logic or participle logic that road handles service requesting information etc..
Service processing result is sent to client by S305, server.
Optionally, the service processing result of the business and processing logical message can be sent to client by server, visitor Family end can show service processing result and processing logical message, combine service processing result and processing logic letter convenient for user Breath can effectively judge the business with the presence or absence of optimization demand.For handling the schematic diagram of logical message shown in Fig. 4 C, client End can by hardware and software platform show processing logical message, such as by hardware and software platform show central control system the business is handled when The processing logical message of generation.
Optionally, client from server receive the business service processing result and processing logical message after, client The link of the processing logical message generated when each functional link handles the business can be generated in end, passes through hardware and software platform exhibition Show each link, when client detects that user clicks specified link, can be shown by hardware and software platform indicated by specified link The objective function link pair business when being handled in the processing logical message that generates.To handle logical message shown in Fig. 4 D Link schematic diagram for, client can show generation when each functional link handles the business by hardware and software platform Processing logical message link, such as in control blank journal format, NLU blank journal format etc..
S306, client show service processing result.
Specifically, after client receives service processing result from server, service processing result can be solved Analysis, and the service processing result after parsing is shown in the page.For the schematic diagram of the service processing result shown in Fig. 4 E, visitor After family end receives service processing result from server, address that can be different according to different robots type requests is based on Address parses service processing result, the service processing result after being parsed, and the industry after parsing is shown in the page Business processing result.
S307, client obtain the information to be optimized that user response service processing result is submitted.
After client shows service processing result, if user has found that business corresponding to service processing result has optimization Demand can input the information to be optimized of the business in the client.For the schematic diagram of the information to be optimized shown in Fig. 4 F, After client shows service processing result, if user has found the business there are problem, the available user of client is submitted Problem description information, and obtain the service identification of the business.The problem of service identification may include problem description information description mark The robot identity know, to engage in the dialogue with client or Context identifier etc..With the signal of information to be optimized shown in Fig. 4 G For figure, when client detects that user clicks " problem log " key, record problem interface can be shown, user can remember Problem description information is inputted in record problem interface, when client detects that user clicks " determination " key, available user is mentioned The problem of friendship description information.
S308, user end to server send service optimization demand.
After client obtains information to be optimized, service optimization demand can be sent to server.For example, client can be with Service identification information is sent to server, when server receives service identification information, can determine the service identification information There are optimization demands for corresponding business.For another example, information to be optimized is sent to server by client, server can determine this to Optimizing information instruction business, there are optimization demands.
The processing logical message of the business is sent to client by S309, server.
Server determines that business corresponding to service identification there are after optimization demand, the processing logic of the business can be believed Breath is sent to client.For different business, server determines the business, and there are the numbers after optimization demand, returned to client According to being different, such as in AI session operational scenarios, server can by the processing logical message of the business, contextual information, User information and user behavior data are sent to client;For another example in intelligent recommendation scene, server can be by the business Processing logical message, user information and user behavior data be sent to client.To handle logical message shown in Fig. 4 H For, the service identification information comprising problem description mark, robot identity and Context identifier can be sent to by client Server, server can be based on service identification information, by processing logical message, contextual information, the user information of the business And user behavior data is sent to client.
In a feasible embodiment, when user response service processing result can be submitted information to be optimized by client Submission time be based on the timestamp and generating random number verification information as timestamp, and by service identification and verification information It is sent to server.Server determine business corresponding to service identification there are when optimization demand, can will processing logical message and Verification information is sent to caching center, and caching center can be the cache memory cache of third-party server, in caching The heart caches above-mentioned processing logical message and its verification information.When processing logical message is successfully sent to caching center by server When, confirmation message can be sent to client.Client can respond the confirmation message and be sent to the verification information of the business Server.Verification information is sent to caching center by server, and receives the processing that caching center is found according to verification information Processing logical message is sent to client by logical message.The embodiment of the present invention is based on timestamp and generating random number verifying letter Breath, since timestamp is that uniquely, then the verification information that client generates is also that uniquely, i.e. the processing of caching central store is patrolled It collects information and verification information is that correspondingly, client is based on verification information and obtains processing logical message, avoidable pseudo- client End is interacted with server to obtain processing logical message, improves the safety of processing logical message.
In a feasible embodiment, server determines that business corresponding to service identification, can there are after optimization demand JavaScript object markup language (JavaScript Object Notation, JSON are converted to so that logical message will be handled Character string), JSON character string is sent to client.
S310, client generate optimization prompt information according to information to be optimized and processing logical message.
After client gets processing logical message, it can be generated excellent according to information to be optimized and processing logical message Change prompt information.Wherein, optimization prompt information is excellent for prompting to carry out business according to information to be optimized and processing logical message Change.
It optionally, can be by processing logical message, information to be optimized and industry after client gets processing logical message Business mark is associated storage.For the schematic diagram of the information list to be optimized shown in Fig. 4 I, when client show it is to be optimized When information list, client can obtain at least one information to be optimized from the local data base of client, and on the page It shows that each information to be optimized, client can also respond the operation of user, shows that each information to be optimized is closed on the page The processing logical message of connection.
Optionally, after client receives JSON character string, JSON character string can be parsed, obtains processing and patrols Collect information.
S311, client output optimization prompt information.
After client output optimization prompt information, the positioning of the user response optimization prompt information is when solving the problems, such as, can be with Check that information list to be optimized, information list to be optimized can as shown in fig. 4j, information list to be optimized may include robot Mark, problem description information, the user identifier for the description information that submits a question, the user identifier solved the problems, such as, problem types, problem State and processing logical message etc..User can choose required information to be optimized in information list to be optimized, for example, with It is in the information to be optimized of " not showing application message " about problem description information that family is clicked in information list to be optimized When " checking details " key, the operation that client can respond user shows processing logical message as shown in Figure 4 K.Wherein locate Reason logical message can be facilitated user and be solved the problems, such as with service hoisting analysis efficiency.
Optionally, client can increase the plug-in unit of assistant analysis tool, such as text according to business needs in the page Analysis tool, whether the word segmentation result that can analyze a word by text analyzing tool is accurate, and provides the similar of phrase Word, etc., can further service hoisting positioning problems efficiency.The schematic diagram of the plug-in unit of assistant analysis tool can be such as Fig. 4 L institute Show, if assistant analysis tool carries out text analyzing to " I wants to listen a first song " the words, client can show analysis as a result, each A phrase and its correlation etc..
It should be noted that the service processing result that user response client is shown, inputs letter to be optimized in the client Breath, and business is optimized based on the information to be optimized and processing logical message stored in client, information cluster can be carried out And closed-Loop Analysis, reduce the human cost in business procession.
In the embodiment of the present invention, when receiving the service requesting information of client transmission, server believes service request It ceases institute's requested service and carries out business processing, server obtains service processing result, patrols according to the logic generation processing of business processing Information is collected, and sends service processing result and processing logical message to client, so that client is according to service processing result And/or processing logical message optimizes business, processing logical message needed for can avoid artificial search promotes service optimization Efficiency.
It in some possible embodiments, as shown in Figure 5A, is another service optimization provided in an embodiment of the present invention The flow diagram of method, server can carry out background information and bury a little.Client to service requesting information (such as head, The information such as request) it is assembled, and the service requesting information after assembling is sent to server.Then, client can be from Server receives test result and each module processing information (i.e. processing logical message), wherein test result and each resume module letter Breath is obtained after server handles service requesting information institute requested service.Further, client may determine that use Whether family finds the problem, if not finding the problem, client can terminate this service optimization process;If finding the problem, client Information to be optimized being obtained with a key bill of lading, carrying out problem list (such as information list to be optimized) and show, problem list can be with Including problem details, contextual information or log (such as processing logical message) etc., user can be based on problem list to problem It analyzed, positioned and is solved, then realize the torsion of Bug state and return verifying etc..
Background information buries schematic diagram a little can be as shown in Figure 5 B, and operation has the terminal of client and server to carry out business Interaction, server may include central control system, NLU module, CP module and chat module.Central control system can to NLU module, CP module and chat module are controlled, and carry out that session shape can be generated in business procession to business by central control system State information, current intention, News Category, intervenes information, chat or question and answer (Question and answer, QA) at NLU ID Hit judgement etc..By NLU module to business carry out business procession in can be generated intent information, entity extraction information or Person is intended to matching template etc..Business can be generated in business procession by CP module and chat module and rewinds number According to entity, User ID, the URL of calling or the number of cards etc. of, identification.
It in some possible embodiments, as shown in Figure 5 C, is another service optimization provided in an embodiment of the present invention The flow diagram of method, when experience user experiences or tests to business, server can be by each functional link to this The processing logical message that business generate in business procession is sent to client.Client shows business in blank platform Service processing result, user for the service processing result find the problem when, information to be optimized can be inputted in the client (i.e. the Bug bill of lading or the bad case bill of lading).Client can generate to be optimized according to information to be optimized and processing logical message Information list (i.e. problem list), when user clicks " checking details " key in client, client can be detailed with display problem Feelings, problem details may include comprising information such as the relevant processing logical message of problem, user's portrait or the context of dialogue.With Family be based on problem details carry out case study solution after, client can carry out recurrence verifying by blank platform, i.e., with clothes Business device carries out the interaction of the business, to determine that optimization demand is not present in the business.
Fig. 6 is referred to, Fig. 6 is a kind of structural schematic diagram of the service optimization device provided in the embodiment of the present invention, is such as schemed Service optimization device in the shown embodiment of the present invention at least may include receiving unit 601, processing unit 602 and transmission unit 603, in which:
Receiving unit 601 receives the service requesting information that client is sent;
Processing unit 602 carries out business processing to service requesting information institute's requested service;
Processing unit 602 obtains service processing result, and generates processing logical message according to the logic of the business processing;
Transmission unit 603 sends the service processing result and the processing logical message to the client, so that The client optimizes the business according to the service processing result and/or processing logical message.
Optionally, processing unit 602 is also used before the service requesting information that receiving unit 601 receives that client is sent In at least one functional link for being handled the business of acquisition, the business includes that AI dialogue, functional test, information are searched Rope or information push;
Processing unit 602 is also used to carry out data at least one described functional link to bury a little;
The processing unit 602 is also used to generate processing logical message according to the logic of the business processing, be specifically used for It obtains and buries the processing logical message generated when handling the business of each functional link a little by data.
Optionally, the transmission unit 603 sends the service processing result to the client and the processing is patrolled Information is collected, is specifically used for:
The service processing result is sent to the client;
When receiving the service optimization demand that the client returns, the processing logical message is converted into JSON word Symbol string;
The JSON character string is sent to the client.
Optionally, the processing unit 602 is before generating processing logical message according to the logic of the business processing, also For judging whether the service requesting information includes positioning problems mark, when the service requesting information includes positioning problems mark When knowledge, the step of generating processing logical message according to the logic of the business processing is executed.
Optionally, if the business is AI dialogue, processing unit 602 obtains at least one handled the business A functional link, is specifically used for:
Obtain at least one module in central control system, NLU module and CP module.
In the embodiment of the present invention, receiving unit 601 receives the service requesting information that client is sent, and processing unit 602 is right Service requesting information institute's requested service carries out business processing, and processing unit 602 obtains service processing result, and according to business processing Logic generate processing logical message, transmission unit 603 to client send service processing result and processing logical message, with Optimize client to business according to service processing result and/or processing logical message, without artificially searching required place Logical message is managed, service optimization efficiency can be promoted.
Fig. 7 is referred to, Fig. 7 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, the embodiment of the present invention The server of offer can be used for implementing the method that the above-mentioned embodiment of the present invention shown in Fig. 3 is realized and only show for ease of description Gone out part related to the embodiment of the present invention, it is disclosed by specific technical details, referring to figure 3. shown in the present invention implement Example.
As shown in fig. 7, the server includes: at least one processor 701, such as CPU, at least one input unit 703, At least one output device 704, memory 705, at least one communication bus 702.Wherein, communication bus 702 is for realizing this Connection communication between a little components.Wherein, input unit 703, output device 704 are specifically as follows network interface, are used for and visitor Family end interacts.Wherein, memory 705 may include high speed RAM memory, it is also possible to further include non-labile storage Device, for example, at least a magnetic disk storage are specifically used for storage processing logical message.Memory 705 optionally may include to Few one is located remotely from the storage device of aforementioned processor 701.Processor 701 can service optimization device as shown in connection with fig. 6. Batch processing code is stored in memory 705, and processor 701, input unit 703 and output device 704 call memory The program code stored in 705, for performing the following operations:
When input unit 703 receives the service requesting information of client transmission, processor 701 is to the service request Information institute's requested service carries out business processing;
Processor 701 obtains service processing result, and generates processing logical message according to the logic of the business processing;
Output device 704 sends the service processing result and the processing logical message to the client, so that The client optimizes the business according to the service processing result and/or processing logical message.
Optionally, when the service requesting information for receiving client transmission when input unit 703, processor 701 is right Service requesting information institute's requested service carries out before business processing, further includes:
Processor 701 obtains at least one functional link handled the business, and the business includes artificial intelligence It can AI dialogue, functional test, information search or information push;
Processor 701 carries out data at least one described functional link and buries a little;
The processor 701 generates processing logical message according to the logic of the business processing, comprising:
Processor 701 obtains that bury each functional link a little generated when handling the business by data Handle logical message.
Optionally, the output device 704 sends the service processing result to the client and the processing is patrolled Collect information, comprising:
The service processing result is sent to the client by output device 704;
When input unit 703 receives the service optimization demand that the client returns, processor 701 is by the processing Logical message is converted to JavaScript object markup language JSON character string;
The JSON character string is sent to the client by output device 704.
Optionally, it before the processor 701 generates processing logical message according to the logic of the business processing, also wraps It includes:
Processor 701 judges whether the service requesting information includes positioning problems mark;
When the service requesting information includes that positioning problems identify, processor 701 is executed according to the business processing Logic generates the step of processing logical message.
Optionally, if the business is AI dialogue, processor 701 obtains at least one handled the business Functional link, comprising:
Processor 701 obtains at least one in central control system, natural language understanding NLU module and content offer CP module A module.
Specifically, the method that the server introduced in the embodiment of the present invention can combine Fig. 3 introduction to implement the present invention Process some or all of in embodiment.
Fig. 8 is referred to, Fig. 8 is a kind of structural schematic diagram of the service optimization device provided in the embodiment of the present invention, is such as schemed Service optimization device in the shown embodiment of the present invention at least may include transmission unit 801, receiving unit 802 and processing unit 803, in which:
Transmission unit 801 sends service requesting information to server, and the service requesting information is for triggering the service Device carries out business processing to service requesting information institute's requested service, and the server is raw according to the logic of the business processing At processing logical message;
Receiving unit 802 receives the service processing result and the processing logical message that the server is sent;
Processing unit 803 obtains the information to be optimized of the business returned based on the service processing result;
The output optimization prompt information of transmission unit 801, the optimization prompt information includes the information to be optimized and institute Processing logical message is stated, the optimization prompt information is for prompting according to the information to be optimized and the processing logical message pair The business optimizes.
Optionally, the receiving unit 802 receives the service processing result of the server transmission and the processing is patrolled Information is collected, is specifically used for:
Receive the service processing result that the server is sent;
Service optimization demand is sent to the server based on the service processing result;
It receives the server and responds the JSON character string that the service optimization demand is sent;
The JSON character string is parsed, the processing logical message is obtained.
Optionally, the service requesting information carrying problem positioning identifier, described problem positioning identifier are described for triggering Server generates the processing logical message according to the logic of the business processing.
Optionally, receiving unit 802 is also used before the transmission unit 801 sends service requesting information to server In obtaining service request by input equipment;
Processing unit 803 is also used to be packaged the service request based on HTTP, obtains the service request letter Breath.
In the embodiment of the present invention, transmission unit 801 sends service requesting information to server, and receiving unit 802 receives clothes The service processing result and processing logical message that business device is sent, the acquisition of processing unit 803 are returned based on service processing result The information to be optimized of business, the output optimization prompt information of transmission unit 801, optimization prompt information includes information to be optimized and place Logical message is managed, optimization prompt information optimizes business according to information to be optimized and processing logical message for prompting, nothing Required processing logical message need to be artificially searched, it can Upgrade Problem location efficiency.
Fig. 9 is referred to, Fig. 9 is a kind of structural schematic diagram of client provided in an embodiment of the present invention, the embodiment of the present invention The client of offer can be used for implementing the method that the above-mentioned embodiment of the present invention shown in Fig. 3 is realized and only show for ease of description Gone out part related to the embodiment of the present invention, it is disclosed by specific technical details, referring to figure 3. shown in the present invention implement Example.
As shown in figure 9, the client includes: at least one processor 901, such as CPU, at least one input unit 903, At least one output device 904, memory 905, at least one communication bus 902.Wherein, communication bus 902 is for realizing this Connection communication between a little components.Wherein, input unit 903, output device 904 are specifically as follows network interface, are used for and clothes Business device interacts.Wherein, memory 905 may include high speed RAM memory, it is also possible to further include non-labile storage Device, for example, at least a magnetic disk storage are specifically used for storing information, processing logical message and optimization prompt information to be optimized. Memory 905 optionally may include at least one storage device for being located remotely from aforementioned processor 901.Processor 901 can be with Service optimization device as shown in connection with fig. 8.Batch processing code, and processor 901, input unit 903 are stored in memory 905 And output device 904 calls the program code stored in memory 905, for performing the following operations:
Output device 904 sends service requesting information to server, and the service requesting information is for triggering the service Device carries out business processing to service requesting information institute's requested service, and the server is raw according to the logic of the business processing At processing logical message;
Input unit 903 receives the service processing result and the processing logical message that the server is sent;
Processor 901 obtains the information to be optimized of the business returned based on the service processing result;
The output optimization prompt information of output device 904, the optimization prompt information includes the information to be optimized and institute Processing logical message is stated, the optimization prompt information is for prompting according to the information to be optimized and the processing logical message pair The business optimizes.
Optionally, the input unit 903 receives the service processing result of the server transmission and the processing is patrolled Collect information, comprising:
Input unit 903 receives the service processing result that the server is sent;
Output device 904 is based on the service processing result and sends service optimization demand to the server;
Input unit 903 receives the server and responds the JSON character string that the service optimization demand is sent;
Processor 901 parses the JSON character string, obtains the processing logical message.
Optionally, the service requesting information carrying problem positioning identifier, described problem positioning identifier are described for triggering Server generates the processing logical message according to the logic of the business processing.
Optionally, before the output device 904 sends service requesting information to server, further includes:
Input unit 903 obtains service request;
Processor 901 is based on HTTP and is packaged to the service request, obtains the service requesting information.
Specifically, the method that the client introduced in the embodiment of the present invention can combine Fig. 3 introduction to implement the present invention Process some or all of in embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (12)

1. a kind of service optimization method, which is characterized in that the described method includes:
When receiving the service requesting information of client transmission, service requesting information institute's requested service is carried out at business Reason;
Service processing result is obtained, and generates processing logical message according to the logic of the business processing;
The service processing result and the processing logical message are sent to the client, so that the client is according to institute It states service processing result and/or processing logical message optimizes the business.
2. the method as described in claim 1, which is characterized in that described when the service requesting information for receiving client transmission When, before service requesting information institute's requested service progress business processing, further includes:
At least one functional link handled the business is obtained, the business includes artificial intelligence AI dialogue, function Test, information search or information push;
Data are carried out at least one described functional link to bury a little;
The logic according to the business processing generates processing logical message, comprising:
It obtains and buries the processing logical message generated when handling the business of each functional link a little by data.
3. the method as described in claim 1, which is characterized in that it is described to the client send the service processing result with And the processing logical message, comprising:
The service processing result is sent to the client;
When receiving the service optimization demand that the client returns, the processing logical message is converted into JavaScript Object Markup Language JSON character string;
The JSON character string is sent to the client.
4. the method according to claim 1, which is characterized in that the logic according to the business processing generates Before processing logical message, further includes:
Judge whether the service requesting information includes positioning problems mark;
When the service requesting information includes that positioning problems identify, executes and patrolled according to the logic generation processing of the business processing The step of collecting information.
5. method according to claim 2, which is characterized in that the business is AI dialogue;
It is described to obtain at least one functional link handled the business, comprising:
At least one module in central control system, natural language understanding NLU module and content offer CP module is provided.
6. a kind of service optimization method, which is characterized in that the described method includes:
Service requesting information is sent to server, the service requesting information is for triggering the server to the service request Information institute's requested service carries out business processing, and the server generates processing logical message according to the logic of the business processing;
Receive the service processing result and the processing logical message that the server is sent;
Obtain the information to be optimized of the business returned based on the service processing result;
Output optimization prompt information, the optimization prompt information includes the information to be optimized and the processing logical message, The optimization prompt information is excellent for prompting to carry out the business according to the information to be optimized and the processing logical message Change.
7. method as claimed in claim 6, which is characterized in that it is described receive the service processing result that the server is sent with And the processing logical message, comprising:
Receive the service processing result that the server is sent;
Service optimization demand is sent to the server based on the service processing result;
It receives the server and responds the JavaScript object markup language JSON character string that the service optimization demand is sent;
The JSON character string is parsed, the processing logical message is obtained.
8. method according to claim 6 or 7, which is characterized in that the service requesting information carrying problem positioning identifier, institute It states positioning problems mark and generates the processing logical message according to the logic of the business processing for triggering the server.
9. method as claimed in claim 6, which is characterized in that before the transmission service requesting information to server, also wrap It includes:
Service request is obtained by input equipment;
The service request is packaged based on hypertext transfer protocol HTTP, obtains the service requesting information.
10. a kind of service optimization device, which is characterized in that described device includes for executing such as any one of claim 1-5 institute The unit for the method stated.
11. a kind of service optimization device, which is characterized in that described device includes for executing such as any one of claim 6-9 institute The unit for the method stated.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program include the first program instruction, and first program instruction makes the service when being executed by server Device executes the method according to claim 1 to 5;Alternatively, the computer program includes the second program instruction, it is described Second program instruction makes the method for the client executing as claim in any one of claims 6-9 when by client executing.
CN201810228929.8A 2018-03-20 2018-03-20 Service optimization method and device Active CN110309931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810228929.8A CN110309931B (en) 2018-03-20 2018-03-20 Service optimization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810228929.8A CN110309931B (en) 2018-03-20 2018-03-20 Service optimization method and device

Publications (2)

Publication Number Publication Date
CN110309931A true CN110309931A (en) 2019-10-08
CN110309931B CN110309931B (en) 2023-06-23

Family

ID=68073931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810228929.8A Active CN110309931B (en) 2018-03-20 2018-03-20 Service optimization method and device

Country Status (1)

Country Link
CN (1) CN110309931B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078435A (en) * 2019-12-18 2020-04-28 支付宝(杭州)信息技术有限公司 Service processing method and device and electronic equipment
CN111178014A (en) * 2019-12-13 2020-05-19 中国建设银行股份有限公司 Method and device for processing business process
CN111640019A (en) * 2020-05-12 2020-09-08 中信银行股份有限公司 Method and device for acquiring test data, storage medium and electronic device
CN111737615A (en) * 2020-05-14 2020-10-02 北京百度网讯科技有限公司 Method and device for acquiring page resources, electronic equipment and readable storage medium
CN111950776A (en) * 2020-07-23 2020-11-17 优车库网络科技发展(深圳)有限公司 Business process optimization method and device, computer equipment and storage medium
CN112801771A (en) * 2021-01-08 2021-05-14 深圳乐信软件技术有限公司 Credit processing method, device, equipment and medium
CN113688175A (en) * 2020-05-18 2021-11-23 北京沃东天骏信息技术有限公司 Data processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854371A (en) * 2009-03-31 2010-10-06 华为技术有限公司 Method and device for calling and processing JavaScript object
CN103473178A (en) * 2013-09-24 2013-12-25 上海斐讯数据通信技术有限公司 Method and system for optimizing testing process execution
CN104359495A (en) * 2014-11-20 2015-02-18 百度在线网络技术(北京)有限公司 Application testing method and device
CN106445536A (en) * 2016-09-28 2017-02-22 湛江市霞山区新软佳科技有限公司 Automated business design management system
CN106970872A (en) * 2016-11-10 2017-07-21 阿里巴巴集团控股有限公司 Information buries point methods and device
US20170270303A1 (en) * 2016-03-21 2017-09-21 Checkmarx Ltd. Integrated Interactive Application Security Testing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854371A (en) * 2009-03-31 2010-10-06 华为技术有限公司 Method and device for calling and processing JavaScript object
CN103473178A (en) * 2013-09-24 2013-12-25 上海斐讯数据通信技术有限公司 Method and system for optimizing testing process execution
CN104359495A (en) * 2014-11-20 2015-02-18 百度在线网络技术(北京)有限公司 Application testing method and device
US20170270303A1 (en) * 2016-03-21 2017-09-21 Checkmarx Ltd. Integrated Interactive Application Security Testing
CN106445536A (en) * 2016-09-28 2017-02-22 湛江市霞山区新软佳科技有限公司 Automated business design management system
CN106970872A (en) * 2016-11-10 2017-07-21 阿里巴巴集团控股有限公司 Information buries point methods and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178014A (en) * 2019-12-13 2020-05-19 中国建设银行股份有限公司 Method and device for processing business process
CN111078435A (en) * 2019-12-18 2020-04-28 支付宝(杭州)信息技术有限公司 Service processing method and device and electronic equipment
CN111640019A (en) * 2020-05-12 2020-09-08 中信银行股份有限公司 Method and device for acquiring test data, storage medium and electronic device
CN111737615A (en) * 2020-05-14 2020-10-02 北京百度网讯科技有限公司 Method and device for acquiring page resources, electronic equipment and readable storage medium
CN113688175A (en) * 2020-05-18 2021-11-23 北京沃东天骏信息技术有限公司 Data processing method and device
CN111950776A (en) * 2020-07-23 2020-11-17 优车库网络科技发展(深圳)有限公司 Business process optimization method and device, computer equipment and storage medium
CN112801771A (en) * 2021-01-08 2021-05-14 深圳乐信软件技术有限公司 Credit processing method, device, equipment and medium

Also Published As

Publication number Publication date
CN110309931B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN110309931A (en) A kind of service optimization method and device
US10747505B1 (en) API specification generation
US9276939B2 (en) Managing user access to query results
CN109067890B (en) CDN node edge computing system based on docker container
CN109760041B (en) Chat robot-based cloud management system and operation method thereof
CN110198247A (en) Interface test method and system
US20110258192A1 (en) Providing question and answer services
CN105550206B (en) The edition control method and device of structured query sentence
CN109302461A (en) Information displaying, processing method, medium, system and calculating equipment
CN108984202B (en) Electronic resource sharing method and device and storage medium
JP2022039973A (en) Method and apparatus for quality control, electronic device, storage medium, and computer program
CN110955600A (en) Interface test method and device
US20170060549A1 (en) Generating a predictive data structure
CN112988599B (en) Page debugging method and device, electronic equipment and storage medium
CN110011875A (en) Dial testing method, device, equipment and computer readable storage medium
CN108959939A (en) A kind of system permission open method, device, system and storage medium
US11688393B2 (en) Machine learning to propose actions in response to natural language questions
CN108694120A (en) The method and apparatus of testing service component
CN116700907B (en) Service call demand document storage method, device, electronic equipment and readable medium
CN111651989B (en) Named entity recognition method and device, storage medium and electronic device
CN107766224A (en) Method of testing and test device
US20230252242A1 (en) Question based chatbot generator from api specifications
CN116346660A (en) Data processing method, device, equipment and medium based on dependent replacement service
CN110347380A (en) Front and back end development approach and equipment
CN105912573A (en) Data updating method and data updating device

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