CN115146815A - Service processing method, device, computer and readable storage medium - Google Patents

Service processing method, device, computer and readable storage medium Download PDF

Info

Publication number
CN115146815A
CN115146815A CN202110347771.8A CN202110347771A CN115146815A CN 115146815 A CN115146815 A CN 115146815A CN 202110347771 A CN202110347771 A CN 202110347771A CN 115146815 A CN115146815 A CN 115146815A
Authority
CN
China
Prior art keywords
business
social
target
strategy
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110347771.8A
Other languages
Chinese (zh)
Inventor
陶鸿亮
王旭东
王勇
胡嘉璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110347771.8A priority Critical patent/CN115146815A/en
Publication of CN115146815A publication Critical patent/CN115146815A/en
Pending legal-status Critical Current

Links

Images

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
    • 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/903Querying
    • 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/903Querying
    • G06F16/9038Presentation of query results
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Tourism & Hospitality (AREA)
  • Computational Linguistics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a business processing method, a business processing device, a computer and a readable storage medium, which relate to the natural language processing technology in the field of artificial intelligence, and the method comprises the following steps: receiving a social business consultation request sent by user equipment through a social application, and acquiring an application channel type corresponding to the social application; determining a target service query type based on the social service query request and the application channel type, and acquiring social service behavior data of a target user initiating the social service query request under the target service query type; acquiring a strategy configuration interface according to the application channel type, and sending the social business consultation request and the social business behavior data to a strategy configuration platform based on the strategy configuration interface; and acquiring a service analysis result returned by the strategy configuration platform, and executing a service processing behavior indicated by the service analysis result and used for responding to the social service consultation request. By the method and the device, the efficiency and the flexibility of service processing can be improved.

Description

Service processing method, device, computer and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a service processing method and apparatus, a computer, and a readable storage medium.
Background
The user is when using the product, the service problems can appear, can carry out problem consultation or complaint etc. to the business personnel of this product this moment, and to the product of big volume, user's consulting volume can be comparatively huge, if all problems all audit through the manual work, can increase the enterprise spending that the product corresponds to reduce enterprise's income. In order to solve the problem, a problem processing script is generally created, and when a problem consultation or a complaint is received, the problem is checked by the problem processing script corresponding to the problem. The problem processing scripts are often in a large number, and after the problem processing scripts are created, the problem processing scripts need to be developed, tested and the like to be issued, so that the problem processing mode is troublesome, the service processing efficiency is low, the maintenance cost is high, and the flexibility is poor.
Disclosure of Invention
The embodiment of the application provides a service processing method, a service processing device, a computer and a readable storage medium, which can improve the efficiency and flexibility of service processing.
An aspect of the present application provides a service processing method, where the method includes:
receiving a social business consultation request sent by user equipment through a social application, and acquiring an application channel type corresponding to the social application according to the social business consultation request;
determining a target service query type based on the social service query request and the application channel type, and acquiring social service behavior data of a target user initiating the social service query request under the target service query type;
acquiring a policy configuration interface according to the application channel type, and sending the social business consultation request and the social business behavior data to a policy configuration platform based on the policy configuration interface so that the policy configuration platform generates a business analysis result based on a target business processing policy associated with the social business consultation request and the social business behavior data;
and acquiring a service analysis result returned by the strategy configuration platform, and executing a service processing behavior indicated by the service analysis result and used for responding to the social service consultation request.
The method for determining the target service query type based on the social service consultation request and the application channel type comprises the following steps:
acquiring a channel strategy identification set corresponding to an application channel type, acquiring a task type to which a social service consultation request belongs, and acquiring a task strategy identification corresponding to the task type from the channel strategy identification set; the channel strategy identification set comprises strategy identifications of service processing strategies corresponding to the application channel types and service query types corresponding to the strategy identifications; the policy identification in the channel policy identification set comprises a task policy identification;
and determining the service query type corresponding to the task strategy identifier as a target service query type.
The method for acquiring the task type of the social business consultation request comprises the following steps:
acquiring a request composition structure of the social business consultation request, and splitting the social business consultation request into one or more business consultation sub-information based on the request composition structure;
respectively converting one or more pieces of business consultation sub-information into business word vectors, and performing feature splicing on the business word vectors respectively corresponding to the one or more pieces of business consultation sub-information to obtain business features corresponding to the social business consultation request;
and inputting the service characteristics into the type recognition model for prediction to obtain the task type corresponding to the service characteristics.
Wherein, the method also comprises:
acquiring user basic information of a target user, performing identity verification on the target user based on the user basic information, and if the verification is passed, executing a step of acquiring an application channel type corresponding to a social application according to a social business consultation request;
and if the verification fails, sending an abnormal identity prompting message to the user equipment so that the user equipment indicates the target user to perform identity verification based on the abnormal identity prompting message.
In one aspect, an embodiment of the present application provides a service processing method, where the method includes:
receiving a social business consultation request and social business behavior data sent by a target server based on a strategy configuration interface; the social business consultation request is sent to the target server by the user equipment through the social application; the social business behavior data refers to data of a target user initiating a social business consultation request in a target business query type, the target business query type is determined by a target server based on the social business consultation request and an application channel type, the application channel type is obtained by the target server according to the social business consultation request, and the social business consultation request is associated with social application; the strategy configuration interface is obtained by the target server according to the type of the application channel;
acquiring a target business processing strategy to which the social business behavior data belongs, and generating a business analysis result based on the target business processing strategy and the social business behavior data;
and sending the business analysis result to the target server so that the target server executes the business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
The method for obtaining the target business processing strategy to which the social business behavior data belongs and generating the business analysis result based on the target business processing strategy and the social business behavior data comprises the following steps:
acquiring a channel strategy set corresponding to a strategy configuration interface, and traversing the channel strategy set;
if a target business processing strategy matched with the social business behavior data is found in the channel strategy set, acquiring a target logic relationship of the social business behavior data, and acquiring a business analysis result corresponding to the target logic relationship in the target business processing strategy;
and if the target business processing strategy matched with the social business behavior data is not found in the channel strategy set, determining the default analysis result as a business analysis result corresponding to the social business behavior data.
Wherein, the method also comprises:
acquiring the acquisition time of a service analysis result, and generating a strategy operation log based on the acquisition time of the service analysis result, a target service processing strategy, social service behavior data and a social service consultation request;
and determining a strategy generating user of the target service processing strategy, and performing associated storage on the strategy operation log and the generating user information of the strategy generating user.
The method for storing the strategy operation log and the generated user information of the strategy generation user in an associated manner comprises the following steps:
acquiring a communication mode of a strategy generation user, and sending a strategy operation log to the strategy generation user based on the communication mode;
and if a confirmation message of the strategy generation user aiming at the strategy operation log is received, generating a strategy operation block according to the strategy operation log and the generated user information of the strategy generation user, and adding the strategy operation block into the strategy management block chain.
Wherein, the method also comprises:
responding to the strategy configuration request, and displaying a strategy configuration page corresponding to the strategy configuration request;
responding to the adding operation aiming at the target service query type, acquiring the query data type of the target service query type, and displaying the query data type and the candidate logic matching condition corresponding to the query data type on a strategy configuration page;
responding to the trigger operation aiming at the target logic matching condition in the candidate logic matching conditions, and generating a target service sub-strategy according to the target logic matching condition and the target service query type;
and responding to the submission operation aiming at the strategy configuration page, and generating a target service processing strategy according to the target service sub-strategy.
The number of the target business sub-strategies is at least two; the method further comprises the following steps:
determining a target strategy identifier according to the hash value of the target service sub-strategy;
responding to the submission operation aiming at the strategy configuration page, and generating a target service processing strategy according to the target service sub-strategy, wherein the method comprises the following steps:
responding to the submission operation aiming at the strategy configuration page, and acquiring the combinational logic relationship of at least two target business sub-strategies;
and combining the at least two target service sub-strategies based on the combinational logic relationship, establishing a mapping relationship between the combined at least two target service sub-strategies and the target strategy identification, and generating a target service processing strategy based on the mapping relationship.
Wherein, the method also comprises:
acquiring a private key of a strategy generation user, signing a target business processing strategy according to the private key, and generating a strategy signature; the strategy generating user is a user initiating a strategy configuration request;
generating a strategy generation block according to a target service processing strategy, a strategy generation user and a strategy signature, and adding the strategy generation block to a strategy management block chain; the strategy signature is used for carrying out validity detection on the target service processing strategy when the target service processing strategy is obtained.
In one aspect, an embodiment of the present application provides a service processing apparatus, where the apparatus includes:
the consultation acquisition module is used for receiving a social business consultation request sent by the user equipment through the social application and acquiring an application channel type corresponding to the social application according to the social business consultation request;
the query type determining module is used for determining a target service query type based on the social service consultation request and the application channel type;
the behavior data acquisition module is used for acquiring social service behavior data of a target user initiating a social service consultation request under a target service query type;
the policy configuration platform is used for generating a service analysis result based on a target service processing policy and social service behavior data associated with the social service consultation request;
and the service processing module is used for acquiring a service analysis result returned by the strategy configuration platform and executing a service processing behavior indicated by the service analysis result and used for responding to the social service consultation request.
Wherein, the query type determining module comprises:
the system comprises a set acquisition unit, a channel policy identification set generation unit and a channel policy identification set generation unit, wherein the set acquisition unit is used for acquiring a channel policy identification set corresponding to an application channel type;
the task type obtaining unit is used for obtaining the task type to which the social business consultation request belongs;
the identification acquisition unit is used for acquiring a task strategy identification corresponding to the task type from the channel strategy identification set; the channel strategy identification set comprises strategy identifications of the service processing strategies corresponding to the application channel types and service query types corresponding to the strategy identifications; the policy identification in the channel policy identification set comprises a task policy identification;
and the query type determining unit is used for determining the service query type corresponding to the task strategy identifier as the target service query type.
Wherein, this task type acquisition unit includes:
the request splitting subunit is used for acquiring a request composition structure of the social business consultation request and splitting the social business consultation request into one or more business consultation sub-information based on the request composition structure;
the characteristic conversion subunit is used for respectively converting the one or more pieces of business consultation sub-information into business word vectors, and performing characteristic splicing on the business word vectors respectively corresponding to the one or more pieces of business consultation sub-information to obtain business characteristics corresponding to the social business consultation request;
and the type prediction subunit is used for inputting the service characteristics into the type identification model for prediction to obtain the task type corresponding to the service characteristics.
Wherein, the device still includes:
the identity authentication module is used for acquiring user basic information of a target user, authenticating the identity of the target user based on the user basic information, and if the authentication is passed, executing the step of acquiring an application channel type corresponding to the social application according to the social business consultation request;
the identity authentication module is further configured to send an abnormal identity prompting message to the user equipment if the authentication fails, so that the user equipment indicates the target user to perform identity authentication based on the abnormal identity prompting message.
An aspect of the present application provides a service processing apparatus, where the apparatus includes:
the data receiving module is used for receiving a social business consultation request and social business behavior data which are sent by the target server based on the strategy configuration interface; the social business consultation request is sent to the target server by the user equipment through the social application; the social business behavior data refers to data of a target user initiating a social business consultation request in a target business query type, the target business query type is determined by a target server based on the social business consultation request and an application channel type, the application channel type is obtained by the target server according to the social business consultation request, and the social business consultation request is associated with social application; the strategy configuration interface is acquired by the target server according to the type of the application channel;
the strategy acquisition module is used for acquiring a target business processing strategy to which the acquired social business behavior data belongs and generating a business analysis result based on the target business processing strategy and the social business behavior data;
and the result sending module is used for sending the business analysis result to the target server so as to enable the target server to execute the business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
Wherein, this tactics obtains the module, includes:
the set traversing unit is used for acquiring a channel strategy set corresponding to the strategy configuration interface and traversing the channel strategy set;
the policy analysis unit is used for acquiring a target logic relationship of the social business behavior data if a target business processing policy matched with the social business behavior data is found in the channel policy set, and acquiring a business analysis result corresponding to the target logic relationship in the target business processing policy;
and the default determining unit is used for determining the default analysis result as the service analysis result corresponding to the social service behavior data if the target service processing strategy matched with the social service behavior data is not found in the channel strategy set.
Wherein, the device still includes:
the log generation module is used for acquiring the acquisition time of the service analysis result and generating a strategy operation log based on the acquisition time of the service analysis result, the target service processing strategy, the social service behavior data and the social service consultation request;
and the log storage module is used for determining a strategy generating user of the target service processing strategy and storing the strategy operation log and the generated user information of the strategy generating user in a correlation manner.
Wherein, this log storage module includes:
the log sending unit is used for acquiring the communication mode of the strategy generation user and sending the strategy operation log to the strategy generation user based on the communication mode;
and the log storage unit is used for generating a strategy operation block according to the strategy operation log and the generated user information of the strategy generation user and adding the strategy operation block into the strategy management block chain if a confirmation message of the strategy generation user for the strategy operation log is received.
Wherein, the device still includes:
the page display module is used for responding to the strategy configuration request and displaying a strategy configuration page corresponding to the strategy configuration request;
the condition display module is used for responding to the adding operation aiming at the target service query type, acquiring the query data type of the target service query type, and displaying the query data type and the candidate logic matching condition corresponding to the query data type on the strategy configuration page;
the sub-strategy generating module is used for responding to the trigger operation aiming at the target logic matching condition in the candidate logic matching conditions and generating a target service sub-strategy according to the target logic matching condition and the target service query type;
and the strategy generating module is used for responding to the submission operation aiming at the strategy configuration page and generating a target business processing strategy according to the target business sub-strategy.
The number of the target business sub-strategies is at least two; the device also includes:
the identification generation module is used for determining a target strategy identification according to the hash value of the target service sub-strategy;
the strategy generation module comprises:
the relation acquisition unit is used for responding to the submission operation aiming at the strategy configuration page and acquiring the combinational logic relation of at least two target business sub-strategies;
and the strategy generating unit is used for combining the at least two target business sub-strategies based on the combined logic relation, establishing a mapping relation between the combined at least two target business sub-strategies and the target strategy identification, and generating a target business processing strategy based on the mapping relation.
Wherein, the device still includes:
the strategy signature module is used for acquiring a private key of a strategy generation user, signing a target business processing strategy according to the private key and generating a strategy signature; the strategy generating user is a user initiating a strategy configuration request;
the strategy storage module is used for generating a user and a strategy signature according to the target service processing strategy and the strategy, generating a strategy generation block and adding the strategy generation block to the strategy management block chain; the strategy signature is used for carrying out validity detection on the target service processing strategy when the target service processing strategy is obtained.
In one aspect, an embodiment of the present application provides a computer device, including a processor, a memory, and an input/output interface;
the processor is respectively connected with the memory and the input/output interface, wherein the input/output interface is used for receiving data and outputting data, the memory is used for storing a computer program, and the processor is used for calling the computer program so as to enable the computer device comprising the processor to execute the service processing method in one aspect of the embodiment of the application.
In one aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, where the computer program is adapted to be loaded and executed by a processor, so that a computer device having the processor executes a service processing method in one aspect of the embodiment of the present application.
An aspect of an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternatives in one aspect of the embodiments of the application.
The embodiment of the application has the following beneficial effects:
in the embodiment of the application, the target server can receive a social business consultation request sent by the user equipment through the social application, and an application channel type corresponding to the social application is obtained according to the social business consultation request; determining a target service query type based on the social service query request and the application channel type, and acquiring social service behavior data of a target user initiating the social service query request in the target service query type; acquiring a policy configuration interface according to the application channel type, and sending the social business consultation request and the social business behavior data to a policy configuration platform based on the policy configuration interface so that the policy configuration platform generates a business analysis result based on a target business processing policy associated with the social business consultation request and the social business behavior data; and acquiring a service analysis result returned by the strategy configuration platform, and executing a service processing behavior indicated by the service analysis result and used for responding to the social service consultation request. Through the process, the unified management of the service processing strategy for processing the social service consultation request is realized, and the target server can directly acquire the target service processing strategy for processing the social service consultation request from the strategy configuration platform, namely, the service processing strategy is not required to be integrated into a program code, a script is not required to be generated, and the management of the service processing strategy can also be realized, so that the service processing strategy can be updated conveniently (such as adding the service processing strategy, deleting the service processing strategy or changing the service processing strategy and the like), and the efficiency and the flexibility of service processing are improved. Moreover, the policy configuration interface for acquiring the target service processing policy can be determined based on the application channel type corresponding to the social service consultation request, that is, the service processing policies corresponding to different application channel types are respectively managed, so that the time required for searching the target service processing policy is prolonged, and the service processing efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a network interaction architecture diagram of a service process provided in an embodiment of the present application;
fig. 2 is a schematic view of a service processing scenario provided in an embodiment of the present application;
fig. 3 is a flowchart of a method for processing a service according to an embodiment of the present application;
fig. 4 is a flowchart of another service processing method provided in the embodiment of the present application;
FIG. 5 is a schematic view illustrating a display scenario of a running log according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a policy configuration scenario provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a data type management page provided in an embodiment of the present application;
FIG. 8 is a schematic diagram of a policy pool provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of a policy update log display scenario provided by an embodiment of the present application;
fig. 10 is a schematic diagram of a consultation request scenario provided in an embodiment of the present application;
fig. 11 is an interaction diagram of a business process flow provided in an embodiment of the present application;
fig. 12 is a schematic diagram of a service processing apparatus according to an embodiment of the present application;
fig. 13 is a schematic diagram of another service processing apparatus provided in the embodiment of the present application;
fig. 14 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Optionally, the method and the device can adopt a natural language processing technology in the field of artificial intelligence to realize analysis of the social business consultation request and the like.
Among them, artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the realization method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making.
The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like. The application may use any one of the techniques of artificial intelligence alone, or may use the techniques of artificial intelligence in a random combination, for example, use the natural language processing technique alone, or use the natural language processing technique in combination with the machine learning/deep learning technique, etc., without limitation. Through the use of the related technology of artificial intelligence, the efficiency of business processing of the application is improved.
Natural Language Processing (NLP) is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that enable efficient communication between humans and computers using natural language. Natural language processing is a linguistics the science of computer science, mathematics in an organic whole. Therefore, the research in this field will involve natural language, i.e. the language that people use everyday, so it is closely related to the research of linguistics. Natural language processing techniques typically include text processing, semantic understanding, machine translation, robotic question and answer, knowledge mapping, and the like.
With the research and progress of artificial intelligence technology, the artificial intelligence technology is developed and applied in a plurality of fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, unmanned aerial vehicles, robots, smart medical services, smart customer service, and the like.
The scheme provided by the embodiment of the application relates to technologies such as natural language processing in the field of artificial intelligence, and is specifically explained by the following embodiment:
in the embodiment of the present application, please refer to fig. 1, where fig. 1 is a network interaction architecture diagram of service processing provided in the embodiment of the present application, and the network interaction architecture diagram implemented in the embodiment of the present application may be considered to be composed of a user equipment, a target server, a policy configuration platform, and the like. The network interaction architecture implemented by the present application may be referred to as a business processing system, and the business processing system may include one or more user devices, one or more target servers, a policy configuration platform, and the like, where one target server may be associated with one or more user devices, one policy configuration platform may be associated with one or more target servers, and optionally, one target server may also be associated with one or more policy configuration platforms, and the like, which is not limited herein. The service processing system may be an actual system or a virtual system.
Specifically, as shown in fig. 1, the user equipment (such as the user equipment 101a and the user equipment 101 b) may send a social business query request to the target server 102a through the social application, and the target server 102a may obtain a business analysis result sent by the policy configuration platform 103 based on the social business query request, and execute a business processing behavior indicated by the business analysis result for responding to the social business query request, so as to solve a problem indicated by the social business query request. Optionally, different social applications may perform data management based on different target servers, for example, the target server 102a manages the social application 1, the target server 102b manages the social application 2, and the like, when a user device (such as the user device 101a and the user device 101 b) accesses the social application 1, the user device may send a social business query request to the target server 102a through the social application 1, and the target server 102a receives a business analysis result for the social business query request, which is returned by the policy configuration platform 103; when accessing the social application 2, the user equipment (such as the user equipment 101a and the user equipment 101 b) may send a social business query request to the target server 102b through the social application 2, and the target server 102b receives a business analysis result and the like for the social business query request, which are returned by the policy configuration platform 103. Or different social applications may perform data management through one target server, and when the user equipment accesses the social application, the user equipment may send a social business consultation request to the target server associated with the social application, and the like. In other words, the ratio of the number of the user devices to the number of the target servers, the ratio of the number of the target servers to the number of the policy configuration platforms, and the like are not limited herein, and are specifically determined according to the deployment situations of the target servers and the policy configuration platforms in the actual application scenario.
Specifically, please refer to fig. 2, where fig. 2 is a schematic view of a service processing scenario provided in the embodiment of the present application. As shown in fig. 2, the user equipment 201 sends a social business consultation request to the target server 202 through the social application, and the target server 202 receives the social business request, may obtain an application channel type corresponding to the social application, where the application channel type is used to distinguish different social applications, so as to perform subsequent operations based on different social applications, thereby reducing the data volume of the business processing policy that needs to be matched. Further, the target server 202 may determine a target business query type based on the social business query request and the application channel type, where the target business query type is used to indicate a type of data that needs to be obtained to solve the application problem indicated by the social business query request. The target server 202 may obtain social service behavior data of a target user initiating the social service consultation request in a target service query type, for example, the target service query type includes an account age type, and the social service behavior data corresponding to the target service query type includes an account age corresponding to the "account age type". The target server 202 may obtain a policy configuration interface according to the application channel type, send the social business consultation request and the social business behavior data to the policy configuration platform 203 based on the policy configuration interface, and the policy configuration platform 203 generates a business analysis result based on the target business processing policy associated with the social business consultation request and the social business behavior data and sends the business analysis result to the target server 202. The target server 202 may perform the business processing action indicated by the business analysis result for responding to the social business consultation request to solve the application problem indicated by the social business consultation request. The strategy configuration platform provides an external interface of the business processing strategy, so that when the business processing strategy is accessed through the program code, as long as the external interface is not changed, the implementation logic of the program code is not influenced, the user can conveniently update the business processing strategy, and further the efficiency and the flexibility of business processing are improved. Moreover, the strategy configuration platform provides an interface to the outside based on the application channel type of the social application, so that the data volume required to be processed when the business processing strategy is matched is reduced, and the business processing efficiency is improved.
It is understood that the user device or the policy configuration platform mentioned in the embodiment of the present application may be a computer device, and optionally, the target server may also be a computer device for managing data of the social application, where the computer device in the embodiment of the present application includes, but is not limited to, a terminal device or a server. In other words, the computer device may be a server or a terminal device, or may be a system composed of a server and a terminal device. The above-mentioned terminal device may be an electronic device, including but not limited to a mobile phone, a tablet computer, a desktop computer, a notebook computer, a palm computer, a vehicle-mounted device, an Augmented Reality/Virtual Reality (AR/VR) device, a helmet display, a smart television, a wearable device, a smart speaker, a digital camera, a camera, and other Mobile Internet Devices (MID) with network access capability, or a terminal device in a scene such as a train, a ship, or a flight, and the like. The above-mentioned server may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server that provides basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, vehicle-road cooperation, a Content Delivery Network (CDN), and a big data and artificial intelligence platform.
Optionally, the data related to the embodiment of the present application may be stored in the computer device, or the data may be stored based on a cloud storage technology, or the data may be stored based on a blockchain network, which is not limited herein.
Further, please refer to fig. 3, where fig. 3 is a flowchart of a method for processing a service according to an embodiment of the present application. As shown in fig. 3, the target server is used as an execution subject for description, in other words, in the embodiment of the method described in fig. 3, the service processing procedure includes the following steps:
step S301, receiving a social business consultation request sent by the user equipment through the social application, and acquiring an application channel type corresponding to the social application according to the social business consultation request.
In this embodiment of the application, the target server receives a social business consultation request sent by the user equipment through a social application, and obtains an application channel type corresponding to the social application according to the social business consultation request, specifically, different social applications may correspond to different application channel types, and optionally, if the policy configuration platform performs unified management on business processing policies associated with different social applications, the different social applications may also correspond to one application channel type, and the like. For example, assuming that different social applications correspond to different application channel types, the application channel type corresponding to the social application 1 is the application channel type 1, and the application channel type corresponding to the social application 2 is the application channel type 2; or, assuming that different social applications may correspond to one application channel type, there may be cases where social application 1 corresponds to application channel type 1 with social application 2, social application 3 corresponds to application channel type 2 with social application 4, and so on. The social Application refers to an Application that can implement data interaction between different devices or data interaction with a user, such as an instant messaging Application, a game Application, a shopping Application, or a video Application, and is not limited herein, and the social Application may be an Application program (APP), a website, or a web page. Optionally, the target server may obtain user basic information of the target user, perform identity authentication on the target user based on the user basic information, and if the authentication passes, perform a step of obtaining an application channel type corresponding to the social application according to the social business consultation request; and if the verification fails, sending an abnormal identity prompting message to the user equipment so that the user equipment indicates the target user to perform identity verification based on the abnormal identity prompting message. The user basic information includes, but is not limited to, an account id, an account name, a communication method (e.g., a mobile phone number or a mailbox account number), or an identity card number. The target server performs identity verification on the target user based on the user basic information, so that on one hand, the target user initiating the social business consultation request can be determined to be a legal user of the social application, and the safety of business processing is improved; on the other hand, the information acquisition authority of the target user can be acquired based on the user basic information, and the target server can acquire the social business behavior data of the target user based on the information acquisition authority, so that the safety of data storage, access and the like is improved.
Specifically, the target user may initiate a social business consultation request in the social application, and the user equipment where the target user is located sends the social business consultation request to the target server associated with the social application through the social application. And after receiving the social business consultation request, the target server can acquire the application channel type corresponding to the social application. The target server may store an application channel association relationship, where the application channel association relationship includes a social application and an application channel type associated with the social application, optionally, the application channel association relationship may include only the social application associated with the target server, the application channel type of the social application associated with the target server, and the like, and optionally, the application channel association relationship may also be stored based on a cloud storage technology or a block chain network, and the like, which is not limited herein. The target server may obtain the application channel type corresponding to the received social application based on the application channel association relationship.
Step S302, based on the social business consultation request and the application channel type, determining a target business inquiry type, and acquiring social business behavior data of a target user initiating the social business consultation request under the target business inquiry type.
In the embodiment of the application, the target server may obtain a task type to which the social business consultation request belongs, and determine a target business query type based on the task type and the application channel type, where the target business query type is used to indicate a type of data included in a business processing policy corresponding to the task type in the application channel type. Specifically, the target server may obtain a channel policy identifier set corresponding to the application channel type, obtain a task type to which the social service consultation request belongs, and obtain a task policy identifier corresponding to the task type from the channel policy identifier set; the channel strategy identification set comprises strategy identifications of service processing strategies corresponding to the application channel types and service query types corresponding to the strategy identifications; the policy identification in the channel policy identification set comprises a task policy identification. And determining the service query type corresponding to the task strategy identification as a target service query type. The task type refers to a type of an application problem to be solved by the social business consultation request, such as an account decapsulation type, a transaction restriction cancellation type, or an account exception cancellation type, such as a language-forbidden cancellation type, a virtual asset decapsulation type, or an account reporting type, and is not limited herein. For example, the application channel type is an instant messaging application type, the task type is an account decapsulation type, and a target service query type is determined according to the instant messaging application type and the account decapsulation type, where the target service query type includes, but is not limited to, an account age type, an account number seal state type, an account number seal duration type, an account number seal reason type, and the like. Optionally, since the task type may be associated with one or more business processing policies, the target server may determine a business query type in the one or more business processing policies associated with the task type as the target business query type. Wherein one or more means one or at least two.
Optionally, the user basic information of the target user and the data corresponding to the target service query type constitute user query information corresponding to the social service query request initiated by the target user, that is, the target server may obtain the user basic information corresponding to the user basic type and social service behavior data corresponding to the target service query type. Optionally, the user consulting information may be represented in a form based on a table form in a display or storage manner, or may be represented in other forms, such as a graph form or a text form. For example, assuming that the task type to which the social business consultation request belongs is an account decapsulation type, the user consultation information may be as shown in table 1:
TABLE 1
Figure BDA0003001309420000141
Figure BDA0003001309420000151
Optionally, the target server may obtain a request composition structure of the social business consultation request, and split the social business consultation request into one or more pieces of business consultation sub-information based on the request composition structure, for example, the social business consultation request is composed of a consultation name and a consultation description, and the target server may split the social business consultation request to obtain one or more pieces of business consultation sub-information, such as the business consultation sub-information corresponding to the consultation name and the business consultation sub-information corresponding to the consultation description. For example, it is assumed that the target server may split the social business consultation request to obtain business consultation sub-information corresponding to the account id and business consultation sub-information corresponding to the consultation description. Respectively converting the one or more pieces of business consultation sub-information into business word vectors, and performing feature splicing on the business word vectors respectively corresponding to the one or more pieces of business consultation sub-information to obtain business features corresponding to the social business consultation request; and inputting the service characteristics into the type recognition model for prediction to obtain the task type corresponding to the service characteristics.
Optionally, the target server may obtain a query request interface for initiating the social business query request in the social application, and determine a task type to which the social business query request belongs based on the social application and the query request interface, because the target user initiates the social business query request in the user equipment based on the query request interface, that is, the query request interface may indicate the task type to which the social business query request belongs. For example, in an instant messaging application (i.e., a social application), when an account of a target user is sealed, the target user may submit an account unsealing request (i.e., a social business consultation request) in an account unsealing interface (i.e., a consultation request interface) provided by the social application, and the target server acquires the account unsealing interface and determines that a task type to which the social business consultation request belongs is an account unsealing type; for example, in a game application (i.e., a social application), when a virtual asset of a target user is sealed, the game application provides an asset unsealing interface (i.e., a consultation request interface) for the target user, the target user can submit a virtual asset unsealing request (i.e., a social business consultation request) in the game application in the user equipment through the asset unsealing interface, the target server obtains the asset unsealing interface, and determines that a task type to which the social business consultation request belongs is a virtual asset unsealing type, and the like.
Step S303, a strategy configuration interface is obtained according to the application channel type, and the social business consultation request and the social business behavior data are sent to a strategy configuration platform based on the strategy configuration interface.
In the embodiment of the application, the target server acquires the policy configuration interface according to the application channel type, that is, acquires the policy configuration interface provided by the policy configuration platform for the application channel type. The policy configuration interface can be an external interface generated by the policy configuration platform when generating a business processing policy associated with the application channel type; alternatively, the policy configuration interface may be an interface negotiated by the target server and the policy configuration platform, and the like. The target server can call the policy configuration interface, and send the social business consultation request and the social business behavior data to the policy configuration platform, so that the policy configuration platform generates a business analysis result based on the target business processing policy associated with the social business consultation request and the social business behavior data, wherein the business analysis result is a result aiming at the social business consultation request in the target business processing policies associated with the social business consultation request and the social business behavior data.
Step S304, obtaining the business analysis result returned by the strategy configuration platform, and executing the business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
In the embodiment of the application, the target server obtains the business analysis result returned by the policy configuration platform, and executes the business processing behavior indicated by the business analysis result and used for responding to the social business consultation request. For example, assuming that the task type is an account decapsulation type, the business analysis result includes decapsulatable result, non-decapsulatable result, or manual result, and if the business analysis result is decapsulatable result, the target server may execute the service processing behavior indicated by the decapsulation result, decapsulate the account of the target user, remove the limitation on the account of the target user, and optionally, may also send an account decapsulation success message to the user equipment. If the service analysis result is an undevelopable result, the target server may execute a service processing behavior indicated by the undevelopable result, and send an account decapsulation failure message to the account of the target user, where the account decapsulation failure message may further include a decapsulation failure reason corresponding to the target service processing policy, for example, the target service processing policy includes "undevelopable when the historical number of violations is greater than 10, and the obtained social service behavior data of the target user includes" target historical number of violations is 12", and the account decapsulation failure message may include" the historical number of violations exceeds 10, and decapsulation is not passed ", and so on. If the service analysis result is an entering artificial result, the target server can execute the service processing behavior indicated by the entering artificial result and send a social service consultation request and social service behavior data to the artificial customer service so that the artificial customer service can respond to the social service consultation request; or, an artificial customer service access interface is provided to the user equipment, so that the target user can initiate a social service consultation request to the artificial customer service based on the artificial customer service access interface, optionally, in this case, a priority processing permission can be provided to the target user based on the artificial customer service access interface, and if the target user initiates a social service consultation request to the artificial customer service within a priority time period, the artificial customer service can preferentially respond to the social service consultation request initiated by the target user.
For example, assuming that the task type is a transaction cancellation type, the business analysis result includes a result that can be cancelled, a result that cannot be cancelled, or a result that enters manual, etc. If the business analysis result is a cancelable result, the target server may execute a business processing action indicated by the cancelable result, cancel a transaction between two parties of the transaction of the application transaction requested to be cancelled by the social business consultation request, if there is an asset transfer in the application transaction, transfer the asset involved in the application transaction to an original account of the asset, for example, the original account of the asset is an account of user a, the application transaction is to transfer the asset from the account of user a to an account of user B (i.e., a receiving account), and when canceling the application transaction, the target server may return the asset to the account of user a. If the business analysis result is an unrecancelable result, the target server may execute a business processing action indicated by the unrecancelable result to complete the application transaction, and if the target business processing policy includes "application transaction is not violated and the asset is transferred to the receiving account", and the social business action data satisfies the target business processing policy, determine that the business analysis result is the unrecancelable result, and send a transaction cancellation failure message to the target user, where the transaction cancellation failure message may include, but is not limited to, "transaction completed and unrecancelable" and the like. If the service analysis result is an entering artificial result, the target server can execute the service processing behavior indicated by the entering artificial result and send a social service consultation request and social service behavior data to the artificial customer service so that the artificial customer service can respond to the social service consultation request; or, an artificial customer service access interface is provided to the user equipment, so that the target user can initiate a social service consultation request to the artificial customer service based on the artificial customer service access interface, optionally, in this case, a priority processing permission can be provided to the target user based on the artificial customer service access interface, and if the target user initiates a social service consultation request to the artificial customer service within a priority time period, the artificial customer service can preferentially respond to the social service consultation request initiated by the target user.
In the embodiment of the application, the target server can receive a social business consultation request sent by the user equipment through the social application, and an application channel type corresponding to the social application is obtained according to the social business consultation request; determining a target service query type based on the social service query request and the application channel type, and acquiring social service behavior data of a target user initiating the social service query request under the target service query type; acquiring a policy configuration interface according to the application channel type, and sending the social business consultation request and the social business behavior data to a policy configuration platform based on the policy configuration interface so that the policy configuration platform generates a business analysis result based on a target business processing policy associated with the social business consultation request and the social business behavior data; and acquiring a service analysis result returned by the strategy configuration platform, and executing a service processing behavior indicated by the service analysis result and used for responding to the social service consultation request. Through the process, the unified management of the service processing strategy for processing the social service consultation request is realized, and the target server can directly acquire the target service processing strategy for processing the social service consultation request from the strategy configuration platform, namely, the service processing strategy is not required to be integrated into a program code, a script is not required to be generated, and the management of the service processing strategy can also be realized, so that the service processing strategy can be updated conveniently (such as adding the service processing strategy, deleting the service processing strategy or changing the service processing strategy and the like), and the efficiency and the flexibility of service processing are improved. Moreover, the policy configuration interface for acquiring the target service processing policy can be determined based on the application channel type corresponding to the social service consultation request, that is, the service processing policies corresponding to different application channel types are respectively managed, so that the time required for searching the target service processing policy is prolonged, and the service processing efficiency is improved.
Further, please refer to fig. 4, where fig. 4 is a flowchart of another service processing method provided in the embodiment of the present application. As shown in fig. 4, the policy configuration platform is used as an execution subject for description, in other words, in the embodiment of the method described in fig. 4, the service processing procedure includes the following steps:
step S401, receiving a social business consultation request and social business behavior data sent by a target server based on a policy configuration interface.
In this embodiment of the application, the policy configuration platform may receive a social business consultation request and social business behavior data sent by the target server based on the policy configuration interface. The social business consultation request is sent to the target server by the user equipment through the social application; the social business behavior data refers to data of a target user initiating a social business consultation request in a target business query type, the target business query type is determined by a target server based on the social business consultation request and an application channel type, the application channel type is obtained by the target server according to the social business consultation request, and the social business consultation request is associated with social application; and the policy configuration interface is acquired by the target server according to the application channel type. Specifically, the process of acquiring the social business consultation request and the social business behavior data may be shown in step S301 and step S302 in fig. 3, and is not described herein again.
Step S402, a target business processing strategy to which the social business behavior data belongs is obtained, and a business analysis result is generated based on the target business processing strategy and the social business behavior data.
In the embodiment of the application, the policy configuration platform may traverse the service processing policies, and determine the service processing policy, which is matched with the social service behavior data, in the service processing policies as a target service processing policy to which the social service behavior data belongs; if the target service processing strategy matched with the social service behavior data is not found, the default analysis result can be determined as the service analysis result corresponding to the social service behavior data.
The target business processing strategy comprises one or more target business sub-strategies, the target business sub-strategies are used for expressing one strategy condition in the target business processing strategy, the target business sub-strategies correspond to one target business query type, and a combinational logic relationship exists between different target business sub-strategies. The combinational logic relationship includes a "and" relationship and a "or" relationship, and may also include other complex logic relationships, such as a multiple nested relationship or an increased parenthesis priority judgment relationship. Further, assuming that a combinational logic relationship in the service processing policy is a "and" relationship, if the social service behavior data includes data corresponding to all service query types in the service processing policy, and the social service behavior data satisfies all policy conditions in the service processing policy, the service processing policy may be determined as a target service processing policy to which the social service behavior data belongs; if the social business behavior data does not include data corresponding to all business query types in the business processing strategy, or the social business behavior data does not satisfy all strategy conditions in the business processing strategy, the business processing strategy is not a target business processing strategy to which the social business behavior data belongs. For example, the business processing policy is that "the historical number of violations is greater than 10, and the account number reason includes issuing prohibited keywords", and if the historical number of violations in the social business behavior data is greater than 10, and the account number reason in the social business behavior data includes any one of the prohibited keywords, the business processing policy is determined as the target business processing policy to which the social business behavior data belongs; if the historical violation times in the social business behavior data are greater than 10, but the account number in the social business behavior data does not contain forbidden keywords, or the account number in the social business behavior data contains any one of the forbidden keywords, but the historical violation times in the social business behavior data are less than or equal to 10, or the historical violation times or account number causes do not exist in the social business behavior data, the business handling policy is considered not to be the target business handling policy to which the social business behavior data belong.
Assuming that the combinational logic relationship in the service processing policy is an "or" relationship, if the social service behavior data includes data corresponding to any one of the service query types in the service processing policy, and the social service behavior data satisfies any one of the policy conditions in the service processing policy, the service processing policy may be determined as a target service processing policy to which the social service behavior data belongs; if the social business behavior data does not include data corresponding to the business query type in the business processing strategy, or the business processing strategy does not have a strategy condition met by the social business behavior data, the business processing strategy is not a target business processing strategy to which the social business behavior data belongs.
Optionally, the policy configuration platform may obtain a channel policy set corresponding to the policy configuration interface, and traverse the channel policy set, that is, a service processing policy included in the channel policy set is associated with an application channel type corresponding to the social application, so as to reduce the number of service processing policies that need to be matched, thereby reducing the data volume of service processing and improving the service processing efficiency. If the target business processing strategy matched with the social business behavior data is found in the channel strategy set, the target logic relationship of the social business behavior data is obtained, and the business analysis result corresponding to the target logic relationship is obtained in the target business processing strategy. The number of the social business behavior data is one or more, and the target logical relationship refers to a relationship between different social business behavior data, for example, at least two business processing logics exist in a target business processing strategy, for example, if one business processing logic satisfies policy condition 1 and policy condition 2, a business analysis result 1 is corresponding to the target business processing logic; under a service processing logic, the service analysis result 2 is corresponding to the service processing logic which meets the strategy condition 1 but does not meet the strategy condition 2; under a service processing logic, if the policy condition 2 is satisfied but the policy condition 2 is not satisfied, the policy configuration platform may obtain, according to the target logic relationship of the social service behavior data, a service processing logic corresponding to the target logic relationship, and determine a service analysis result in the service processing logic corresponding to the target logic relationship as a service analysis result corresponding to the social service behavior data. Optionally, in order to distinguish the service analysis result in the service processing logic from the service analysis result corresponding to the social service behavior data, the service analysis result in the service processing logic may be recorded as a candidate service analysis result, and the service analysis result corresponding to the social service behavior data may be recorded as a service analysis result or a target service analysis result. Optionally, if only one service analysis result exists in the target service processing policy, the service analysis result indicated in the target service processing policy may be determined as the service analysis result corresponding to the social service behavior data. Further, if the target service processing policy matched with the social service behavior data is not found in the channel policy set, determining the default analysis result as a service analysis result corresponding to the social service behavior data.
Optionally, for example, the task type is an account decapsulation type, in a possible case, the policy conditions included in the target service processing policy may be as shown in table 2 below:
TABLE 2
Figure BDA0003001309420000201
Figure BDA0003001309420000211
The strategy configuration platform can acquire the acquisition time of the service analysis result, and generates a strategy operation log based on the acquisition time of the service analysis result, the target service processing strategy, the social service behavior data and the social service consultation request; and determining a strategy generating user of the target service processing strategy, and performing associated storage on the strategy operation log and the generating user information of the strategy generating user. Further, when the policy operation log and the generated user information of the policy generation user are stored in an associated manner, the policy configuration platform may acquire a communication mode of the policy generation user, and send the policy operation log to the policy generation user based on the communication mode, so that the policy generation user performs accuracy detection on the policy operation log; and if a confirmation message of the strategy generation user aiming at the strategy operation log is received, generating a strategy operation block according to the strategy operation log and the generated user information of the strategy generation user, and adding the strategy operation block into the strategy management block chain.
For example, referring to fig. 5, fig. 5 is a schematic view of a display scene of a running log according to an embodiment of the present disclosure. The policy configuration platform includes an operation log viewing component, and the policy configuration platform displays a policy operation log management page 501 in response to a trigger operation for the operation log viewing component. N policy operation logs are displayed in the policy operation log management page 501, where N is 0 or a positive integer. Each policy operation log includes, but is not limited to, a policy name, a policy identifier, an application channel type, a work order number, a service analysis result, acquisition time of the service analysis result, and the like. The N strategy operation logs comprise a strategy operation log i, a strategy name and a strategy identification in the strategy operation log i are used for representing a service processing strategy associated with the strategy operation log i, an application channel type in the strategy operation log i is used for representing a task type of a social service consultation request corresponding to the strategy operation log i, and a work order number in the strategy operation log i refers to the strategy operation identification corresponding to the strategy operation log i. Wherein i is less than or equal to N, and i is 0 or a positive integer.
And step S403, sending the business analysis result to the target server so that the target server executes the business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
In this embodiment of the application, the policy configuration platform may send the service analysis result to the target server, so that the target server performs step S304 shown in fig. 3.
Further, the service processing policy may be generated based on a policy configuration page, which may specifically be as follows:
the strategy configuration platform responds to the strategy configuration request and displays a strategy configuration page corresponding to the strategy configuration request; responding to the adding operation aiming at the target service query type, acquiring the query data type of the target service query type, and displaying the query data type and the candidate logic matching condition corresponding to the query data type on a strategy configuration page; responding to the trigger operation aiming at a target logic matching condition in the candidate logic matching conditions, and generating one or more target service sub-strategies according to the target logic matching condition and the target service query type; and responding to the submission operation aiming at the strategy configuration page, and generating a target service processing strategy according to the target service sub-strategy. Further, the policy configuration platform may generate a target policy identifier, where the target policy identifier may be generated by a policy generation user that initiated the policy configuration request; or a randomly generated character string; or, the target policy identifier may be determined according to the hash value of the target service sub-policy. The strategy configuration platform can establish a mapping relation between the target service sub-strategy and the target strategy identification, and generate a target service processing strategy based on the mapping relation.
Further, if the number of the target service sub-policies is at least two. When the policy configuration platform responds to the submission operation of the policy configuration page and generates the target service processing policy according to the target service sub-policy, the policy configuration platform may respond to the submission operation of the policy configuration page and obtain a combinational logic relationship of at least two target service sub-policies, where the combinational logic relationship includes a "and" relationship and a "or" relationship, etc. And combining the at least two target service sub-strategies based on the combinational logic relationship, establishing a mapping relationship between the combined at least two target service sub-strategies and the target strategy identification, and generating a target service processing strategy based on the mapping relationship. Optionally, the policy configuration platform may obtain a private key of the policy generation user, sign the target service processing policy according to the private key, and generate a policy signature; the strategy generation user is a user initiating a strategy configuration request; generating a strategy generation block according to a target service processing strategy, a strategy generation user and a strategy signature, and adding the strategy generation block to a strategy management block chain; the strategy signature is used for carrying out validity detection on the target service processing strategy when the target service processing strategy is obtained. That is to say, the policy configuration platform receives a social business consultation request and social business behavior data sent by a target server based on a policy configuration interface, acquires a target business processing policy to which the social business behavior data belongs, performs validity detection on the target business processing policy based on a policy signature corresponding to the target business processing policy, and generates a business analysis result based on the target business processing policy and the social business behavior data if the policy signature passes verification.
Specifically, please refer to fig. 6, where fig. 6 is a schematic diagram of a policy configuration scenario provided in an embodiment of the present application. As shown in fig. 6, in response to the policy configuration request, the policy configuration platform displays a policy configuration page 601 corresponding to the policy configuration request. Optionally, the policy configuration platform may obtain a policy generation authority of the policy generation user, obtain a candidate application channel type corresponding to the policy generation authority, and display the candidate application channel type in the policy configuration page 601. The policy generation user may directly input the application channel type in the policy configuration page 601, or may trigger the application channel type from the candidate application channel types, and the policy configuration platform may respond to an input operation for the application channel type, or respond to a trigger operation for an application channel type in the candidate application channel types, and display the application channel type in the policy configuration page 601, such as the application channel type 1 shown in fig. 6. Optionally, the policy configuration page 601 may further include a policy initiating component, where the policy initiating component is configured to indicate whether the corresponding business processing policy is in a policy running state. That is to say, in step S402, when obtaining the target business processing policy to which the social business behavior data belongs, the policy configuration platform may obtain the target business processing policy to which the social business behavior data belongs from the business processing policies in the policy running state, where the business processing policies may be in the policy running state or the policy suspension state.
Further, the policy configuration platform may also obtain a task type based on the policy configuration page 601, and display a candidate service analysis result 602 corresponding to the task type, where if the task type is an account decapsulation type, the candidate service analysis result 602 includes a non-decapsulation result, a decapsulation result, an entry manual result, and the like. The policy configuration platform may respond to a selection operation for any one of the candidate service analysis results 602, and record a candidate service analysis result corresponding to the selection operation as a service analysis result. In response to an adding operation for a target service query type 603, where the adding operation for the target service query type may be triggered by a triggering operation of a type adding component 608, the policy configuration platform may obtain a query data type of the target service query type 603, and display a candidate logical matching condition corresponding to the query data type in the policy configuration page 601, or may also display the query data type, and in response to a triggering operation for a target logical matching condition in the candidate logical matching condition, display a target logical matching condition 604 in the policy configuration page 601, optionally, the policy configuration platform may also obtain a data matching range 605 for the target service query type 603, and may generate a target service sub-policy according to the target service query type 603, the target logical matching condition 604, the data matching range 605, and the like. The mapping relationship between the query data type and the candidate logical matching condition may be shown in table 3:
TABLE 3
Figure BDA0003001309420000231
Figure BDA0003001309420000241
Table 3 is only a mapping relationship between a partial query data type and a candidate logical matching condition, and the query data type may also be a floating point type or a rich text type such as a picture, an audio/video, or the like.
Optionally, the query data type of the target service query type may be obtained based on the service type mapping relationship. The service type mapping relationship can be seen in fig. 7, and fig. 7 is a schematic diagram of a data type management page provided in the present application. As shown in fig. 7, a data type query component may be included in the policy configuration platform, the policy configuration platform responding to a trigger operation directed to the data type query component, a data type management page 701 is displayed, where the data type management page includes M service type mapping relationships, and M is 0 or a positive integer. The service type mapping relationship may include, but is not limited to, a service query type name, an application channel type, a query data type, and the like, for example, if the service type mapping relationship 1 includes a service query type name 1, an application channel type 1, a text type, and the like, the query data type of the service query type 1 corresponding to the service query type name 1 is a text type.
Further, in fig. 6, it is assumed that a target service sub-policy 6061, a target service sub-policy 6062, and a target service sub-policy 6063 are generated, where the target service sub-policy 6061 includes a target service query type "account number seal reason type", a logical matching condition "include", and a data matching range "permanent seal"; the target service sub-policy 6062 includes a target service query type "short-term number sealing type (i.e., number of times of sealing within a period of time, such as one month or one year)", a logical matching condition "greater than/equal to" and a data matching range "1"; the target service sub-policy 6063 includes a target service query type "accumulated number times type", a logical matching condition "greater than" and a data matching range "5", and the like. Further, the number of the target business sub-policies is at least two, and the policy configuration platform may display the combinational logic relationship 607 in the policy configuration page 601 in response to a trigger operation for the combinational logic relationship between the at least two target business sub-policies. Optionally, the policy configuration platform may further display an initial policy area in response to a trigger operation for the type adding component 608, and obtain the target service sub-policy through the initial policy area. The policy configuration platform may obtain a combinational logic relationship 607 of at least two target business sub-policies in response to the submit operation for the policy configuration page 601. And combining the at least two target service sub-strategies based on the combined logical relationship 607, establishing a mapping relationship between the combined at least two target service sub-strategies and the target strategy identifier, and generating a target service processing strategy based on the mapping relationship between the at least two target service sub-strategies and the target strategy identifier. Similarly, each business processing strategy in the strategy configuration platform can be obtained.
Further, the policy configuration platform may respond to a triggering operation for the policy viewing component, and display a policy display page 609, where the policy display page 609 includes 0, one or more business processing policies, the business processing policies include but are not limited to a policy name, a policy identifier, an application channel type, a policy state (i.e., a policy running state or a policy suspension state, etc.), an editing component, and the like, and the editing component is configured to display detailed information of the business processing policies, display a policy configuration page 601 corresponding to the business processing policies triggered by the editing component, and update the business processing policies based on the policy configuration page.
After the policy configuration platform generates the service processing policy, the service processing policy may be added to the policy pool, specifically refer to fig. 8, where fig. 8 is a schematic diagram of the policy pool provided in the embodiment of the present application. As shown in fig. 8, the policy pool 801 includes one or more service processing policies, such as service processing policy 1 and service processing policy 2. The service processing policy 1 includes policy basic information and policy conditions, and the policy basic information of the service processing policy 1 includes, but is not limited to, a policy name, a policy state (such as a policy running state or a policy suspension state, etc.), an application channel type, a service analysis result, and the like of the service processing policy 1; the policy conditions of the service processing policy 1 include, but are not limited to, policy conditions 8021 and 8022, where the policy conditions 8021 include a service query type 1, a logic matching condition corresponding to the service query type 1, and a data matching range 1 that needs to be satisfied, the policy conditions 8022 include a service query type 2, a logic matching condition corresponding to the service query type 2, and a data matching range 2 that needs to be satisfied, and the policy conditions of the service processing policy 1 may further include a combinational logic relationship between the policy conditions 8021 and 8022. The service processing policy 2 includes policy basic information and policy conditions, and the policy basic information of the service processing policy 2 includes but is not limited to a policy name, a policy state (such as a policy running state or a policy suspension state) of the service processing policy 2, an application channel type, a service analysis result, and the like; the policy conditions of the service processing policy 2 include, but are not limited to, policy conditions 8031 and 8032, where the policy conditions 8031 include a service query type 3, a logic matching condition corresponding to the service query type 2, and a data matching range 3 that needs to be satisfied, the policy conditions 8032 include a service query type 4, a logic matching condition corresponding to the service query type 4, and a data matching range 4 that needs to be satisfied, and the policy conditions of the service processing policy 2 may further include a combinational logic relationship between the policy conditions 8031 and 8032. Similarly, the composition data of other business processing policies in the policy pool 8001 may refer to the composition data of business processing policy 1 or the composition data of business processing policy 2.
Optionally, when the policy configuration platform generates a service processing policy, deletes the service processing policy, or changes the service processing policy, etc., a policy update log may be generated, and the policy update log may be stored. Specifically, referring to fig. 9, fig. 9 is a schematic view of a policy update log display scene provided in an embodiment of the present application. As shown in fig. 9, one or more policy update logs including, but not limited to, an operation type, a policy name, a policy identifier, an update user, an operation time, and the like are displayed in the policy update log page 901. The operation type may be a new policy type, a changed policy type, or a deleted policy type.
Further, referring to fig. 10, fig. 10 is a schematic view of a consultation request scenario provided in an embodiment of the present application. As shown in fig. 10, taking account number as an example, the user equipment responds to a submission operation on a number abnormal submission page 1001, generates a social business consultation request, and sends the social business consultation request to the target server. The user equipment can obtain an abnormal account number XX, a mobile phone number XXXXX, a name user 1, an identity card number 1 and the like based on the abnormal number submission page 1001, and generate a social business consultation request based on data submitted by the abnormal number submission page 1001. When the social business consultation request is successfully sent to the target server, the user equipment can display a request submission success message 1002, such as prompt information that "submission is successful, your question is submitted, and processing is to be performed within the time period X". Alternatively, the user equipment may display the request processing status information 1003 including, but not limited to, "task name: the type of the account; the task type is as follows: the account decapsulation type; abnormal account number: an account number XX; contacting the mobile phone: XXXXX; and the processing state: in-process ", etc. And the target server executes the service processing behavior indicated by the service analysis result and used for responding to the social service consultation request, and sends service processing information to the user equipment. The user equipment may display basic information 1004 of the social business consultation request, such as "task name: the type of the account; the task type is as follows: the account decapsulation type; abnormal account number: an account XX ", and the like, and business process information 1005 may also be displayed, where the business process information 1005 may include a business analysis result.
Further, please refer to fig. 11, where fig. 11 is an interaction diagram of a business processing flow provided in the embodiment of the present application. As shown in fig. 11, the method includes the steps of:
step S1101, the user equipment generates a social business consultation request, and sends the social business consultation request to the target server through the social application.
Specifically, a target user submits a social business consultation request in user equipment, and the user equipment sends the social business consultation request to a target server. The target user may submit different social business query requests, such as social business query request 1, social business query request 2, social business query request 3, and the like, in the user equipment.
Step S1102, the target server obtains social business behavior data.
Specifically, the target server may obtain the user basic information, and obtain social business behavior data corresponding to the social business consultation request, such as social business behavior data 1 and social business behavior data 2, which may be specifically referred to the descriptions in step S301 to step S302 in fig. 3, and details are not repeated here. The target server can send the social business behavior data and the social business consultation request to the strategy configuration platform.
Step S1103, the policy configuration platform obtains a service processing policy.
Specifically, the policy configuration platform may obtain an application channel type corresponding to the social application, and couple to the service processing policy corresponding to the application channel type, such as the service processing policy 1 and the service processing policy 2, which may specifically refer to the description shown in step S402 in fig. 4.
Step S1104, the policy configuration platform matches the policy.
Specifically, the policy configuration platform may match the policy to obtain the target service processing policy to which the social service behavior data belongs, which may specifically refer to the description in step S402 in fig. 4, and is not described herein again.
Step S1105, the policy configuration platform determines a business analysis result, and sends the business analysis result to the target server, so that the target server executes a business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
Specifically, the policy configuration platform generates a service analysis result based on the target service processing policy and the social service behavior data, which may be described in step S402 in fig. 4; sending the service analysis result to the target server, so that the target server executes the service processing behavior indicated by the service analysis result and used for responding to the social service consultation request, which may be referred to as specific description in step S304 in fig. 3 and is not described herein again.
Further, please refer to fig. 12, where fig. 12 is a schematic diagram of a service processing apparatus according to an embodiment of the present application. The service processing apparatus may be a computer program (including program code, etc.) running in a computer device, for example, the service processing apparatus may be an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. As shown in fig. 12, the service processing apparatus 1200 may be used in the computer device in the embodiment corresponding to fig. 3, and specifically, the apparatus may include: a consultation acquisition module 11, a query type determination module 12, a behavior data acquisition module 13, a policy request module 14 and a service processing module 15.
The consultation acquisition module 11 is configured to receive a social business consultation request sent by the user equipment through the social application, and acquire an application channel type corresponding to the social application according to the social business consultation request;
the query type determining module 12 is configured to determine a target service query type based on the social service consultation request and the application channel type;
a behavior data obtaining module 13, configured to obtain social business behavior data of a target user initiating a social business consultation request in a target business query type;
the policy request module 14 is configured to obtain a policy configuration interface according to the application channel type, and send the social business consultation request and the social business behavior data to the policy configuration platform based on the policy configuration interface, so that the policy configuration platform generates a business analysis result based on a target business processing policy associated with the social business consultation request and the social business behavior data;
and the service processing module 15 is configured to obtain a service analysis result returned by the policy configuration platform, and execute a service processing behavior indicated by the service analysis result and used for responding to the social service consultation request.
The query type determining module 12 includes:
a set obtaining unit 121, configured to obtain a channel policy identifier set corresponding to an application channel type;
a task type obtaining unit 122, configured to obtain a task type to which the social business consultation request belongs;
an identifier obtaining unit 123, configured to obtain a task policy identifier corresponding to a task type from the channel policy identifier set; the channel strategy identification set comprises strategy identifications of service processing strategies corresponding to the application channel types and service query types corresponding to the strategy identifications; the policy identification in the channel policy identification set comprises a task policy identification;
and a query type determining unit 124, configured to determine the service query type corresponding to the task policy identifier as the target service query type.
The task type obtaining unit 122 includes:
a request splitting module 1221, configured to obtain a request composition structure of the social business consultation request, and split the social business consultation request into one or more pieces of business consultation sub-information based on the request composition structure;
the feature conversion subunit 1222 is configured to convert the one or more pieces of service consultation sub-information into service word vectors, and perform feature splicing on the service word vectors corresponding to the one or more pieces of service consultation sub-information, to obtain service features corresponding to the social service consultation request;
and the type prediction subunit 1223 is configured to input the service characteristics into the type identification model for prediction, so as to obtain a task type corresponding to the service characteristics.
Wherein, the apparatus 1200 further comprises:
the identity authentication module 16 is configured to obtain user basic information of a target user, perform identity authentication on the target user based on the user basic information, and if the authentication passes, perform a step of obtaining an application channel type corresponding to a social application according to a social business consultation request;
the identity authentication module 16 is further configured to send an abnormal identity prompting message to the user equipment if the authentication fails, so that the user equipment instructs the target user to perform identity authentication based on the abnormal identity prompting message.
The embodiment of the application provides a service processing device, which can operate in a target server, can receive a social service consultation request sent by user equipment through a social application, and can acquire an application channel type corresponding to the social application according to the social service consultation request; determining a target service query type based on the social service query request and the application channel type, and acquiring social service behavior data of a target user initiating the social service query request in the target service query type; acquiring a policy configuration interface according to the application channel type, and sending the social business consultation request and the social business behavior data to a policy configuration platform based on the policy configuration interface so that the policy configuration platform generates a business analysis result based on a target business processing policy associated with the social business consultation request and the social business behavior data; and acquiring a service analysis result returned by the strategy configuration platform, and executing a service processing behavior indicated by the service analysis result and used for responding to the social service consultation request. Through the process, the unified management of the service processing strategy for processing the social service consultation request is realized, and the target server can directly acquire the target service processing strategy for processing the social service consultation request from the strategy configuration platform, namely, the service processing strategy is not required to be integrated into a program code, a script is not required to be generated, and the management of the service processing strategy can also be realized, so that the service processing strategy can be updated conveniently (such as adding the service processing strategy, deleting the service processing strategy or changing the service processing strategy and the like), and the efficiency and the flexibility of service processing are improved. Moreover, the policy configuration interface for obtaining the target service processing policy can be determined based on the application channel type corresponding to the social service consultation request, that is, the service processing policies corresponding to different application channel types are respectively managed, so that the time for searching the target service processing policy is prolonged, and the service processing efficiency is improved.
Further, please refer to fig. 13, where fig. 13 is a schematic diagram of another service processing apparatus according to an embodiment of the present application. The service processing apparatus may be a computer program (including program code, etc.) running in a computer device, for example, the service processing apparatus may be an application software; the apparatus may be configured to perform corresponding steps in the methods provided in the embodiments of the present application. As shown in fig. 13, the service processing apparatus 1300 may be used in the computer device in the embodiment corresponding to fig. 4, and specifically, the apparatus may include: a data receiving module 21, a policy obtaining module 22 and a result sending module 23.
The data receiving module 21 is configured to receive a social business consultation request and social business behavior data sent by the target server based on the policy configuration interface; the social business consultation request is sent to the target server by the user equipment through the social application; the social business behavior data refers to data of a target user initiating a social business consultation request in a target business query type, the target business query type is determined by a target server based on the social business consultation request and an application channel type, the application channel type is obtained by the target server according to the social business consultation request, and the social business consultation request is associated with social application; the strategy configuration interface is acquired by the target server according to the type of the application channel;
the policy obtaining module 22 is configured to obtain a target service processing policy to which the obtained social service behavior data belongs, and generate a service analysis result based on the target service processing policy and the social service behavior data;
and a result sending module 23, configured to send the business analysis result to the target server, so that the target server performs a business processing action indicated by the business analysis result for responding to the social business consultation request.
The policy obtaining module 22 includes:
the set traversing unit 221 is configured to obtain a channel policy set corresponding to the policy configuration interface, and traverse the channel policy set;
a policy analysis unit 222, configured to, if a target service processing policy that matches the social service behavior data is found in the channel policy set, obtain a target logical relationship of the social service behavior data, and obtain a service analysis result corresponding to the target logical relationship in the target service processing policy;
and a default determining unit 223, configured to determine the default analysis result as a service analysis result corresponding to the social service behavior data if the target service processing policy matched with the social service behavior data is not found in the channel policy set.
Wherein, the apparatus 1300 further comprises:
the log generation module 24 is configured to obtain obtaining time of the service analysis result, and generate a policy operation log based on the obtaining time of the service analysis result, the target service processing policy, the social service behavior data, and the social service consultation request;
and the log storage module 25 is configured to determine a policy generation user of the target service processing policy, and store the policy operation log and the generation user information of the policy generation user in an associated manner.
The log storage module 25 includes:
the log sending unit 251 is configured to obtain a communication mode of the policy generation user, and send a policy operation log to the policy generation user based on the communication mode;
the log storage unit 252 is configured to, if a confirmation message of the policy generation user for the policy operation log is received, generate a policy operation block according to the policy operation log and the generated user information of the policy generation user, and add the policy operation block to the policy management block chain.
Wherein, the apparatus 1300 further comprises:
the page display module 26 is configured to respond to the policy configuration request and display a policy configuration page corresponding to the policy configuration request;
a condition display module 27, configured to respond to an addition operation for a target service query type, obtain a query data type of the target service query type, and display the query data type and candidate logic matching conditions corresponding to the query data type on a policy configuration page;
a sub-policy generation module 28, configured to respond to a trigger operation for a target logic matching condition in the candidate logic matching conditions, and generate a target service sub-policy according to the target logic matching condition and the target service query type;
and the policy generating module 29 is configured to respond to the submission operation for the policy configuration page, and generate a target service processing policy according to the target service sub-policy.
The number of the target business sub-strategies is at least two; the apparatus 1300 further comprises:
the identifier generating module 30 is configured to determine a target policy identifier according to the hash value of the target service sub-policy;
the policy generation module 29 includes:
the relationship obtaining unit 291, configured to obtain a combinational logic relationship between at least two target service sub-policies in response to a submission operation for the policy configuration page;
the policy generating unit 292 is configured to combine the at least two target service sub-policies based on the combinational logic relationship, establish a mapping relationship between the combined at least two target service sub-policies and the target policy identifier, and generate a target service processing policy based on the mapping relationship.
Wherein, the apparatus 1300 further comprises:
the policy signature module 31 is configured to obtain a private key of a policy generation user, sign a target service processing policy according to the private key, and generate a policy signature; the strategy generation user is a user initiating a strategy configuration request;
a policy storage module 32, configured to generate a user and a policy signature according to the target service processing policy and the policy, generate a policy generation block, and add the policy generation block to the policy management block chain; the strategy signature is used for carrying out validity detection on the target service processing strategy when the target service processing strategy is obtained.
The embodiment of the present application provides a service processing apparatus, where the apparatus may operate in a policy configuration platform, and the apparatus and a target server-side apparatus may interact with each other, and corresponding beneficial effects may refer to the beneficial effects shown in fig. 12.
Referring to fig. 14, fig. 14 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 14, the computer device in the embodiment of the present application may include: one or more processors 1401, a memory 1402, and an input-output interface 1403. The processor 1401, the memory 1402, and the input/output interface 1403 are connected by a bus 1404. The memory 1402 is configured to store a computer program, where the computer program includes program instructions, the input/output interface 1403 is configured to receive data and output data, and if the computer device is a device corresponding to a target server, the input/output interface 1403 is configured to perform data interaction between a user device and the target server or perform data interaction between the target server and a policy configuration platform; or, the computer device is a device corresponding to the policy configuration platform, and the input/output interface 1403 is used for performing data interaction between the target server and the policy configuration platform; processor 1401 is configured to execute program instructions stored by memory 1402.
The processor 1401 located in the target server may perform the following operations:
receiving a social business consultation request sent by user equipment through a social application, and acquiring an application channel type corresponding to the social application according to the social business consultation request;
determining a target service query type based on the social service query request and the application channel type, and acquiring social service behavior data of a target user initiating the social service query request in the target service query type;
acquiring a policy configuration interface according to the application channel type, and sending the social business consultation request and the social business behavior data to a policy configuration platform based on the policy configuration interface so that the policy configuration platform generates a business analysis result based on a target business processing policy associated with the social business consultation request and the social business behavior data;
and acquiring a service analysis result returned by the strategy configuration platform, and executing a service processing behavior indicated by the service analysis result and used for responding to the social service consultation request.
The processor 1401 is located in the policy configuration platform, and may perform the following operations:
receiving a social business consultation request and social business behavior data sent by a target server based on a strategy configuration interface; the social business consultation request is sent to the target server by the user equipment through the social application; the social business behavior data refers to data of a target user initiating a social business consultation request in a target business query type, the target business query type is determined by a target server based on the social business consultation request and an application channel type, the application channel type is obtained by the target server according to the social business consultation request, and the social business consultation request is associated with social application; the strategy configuration interface is acquired by the target server according to the type of the application channel;
acquiring a target business processing strategy to which the social business behavior data belongs, and generating a business analysis result based on the target business processing strategy and the social business behavior data;
and sending the business analysis result to the target server so that the target server executes the business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
In some possible implementations, the processor 1401 may be a Central Processing Unit (CPU), and the processor may be other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an FPGA (field-programmable gate array) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 1402 may include read-only memory and random access memory, and provides instructions and data to the processor 1401 and the input output interface 1403. A portion of memory 1402 may also include non-volatile random access memory. For example, memory 1402 may also store information of device types.
In specific implementation, the computer device may execute, through each built-in functional module thereof, the implementation manner provided in each step in fig. 3 or fig. 4, which may specifically refer to the implementation manner provided in each step in fig. 3 or fig. 4, and details are not described herein again.
The embodiment of the present application provides a computer device, including: the system comprises a processor, an input/output interface and a memory, wherein the processor acquires a computer program in the memory, and executes each step of the method shown in the figure 3 or the figure 4 to perform business processing operation. The embodiment of the application realizes the unified management of the service processing strategy for processing the social service consultation request, and the target server can directly acquire the target service processing strategy for processing the social service consultation request from the strategy configuration platform, i.e. the service processing strategy is not required to be integrated into a program code, a script is not required to be generated, and the management of the service processing strategy can also be realized, so that the service processing strategy can be updated conveniently (such as adding the service processing strategy, deleting the service processing strategy or changing the service processing strategy and the like), and the efficiency and the flexibility of service processing are improved. Moreover, the policy configuration interface for obtaining the target service processing policy can be determined based on the application channel type corresponding to the social service consultation request, that is, the service processing policies corresponding to different application channel types are respectively managed, so that the time for searching the target service processing policy is prolonged, and the service processing efficiency is improved.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, where the computer program is suitable for being loaded by the processor and executing the service processing method provided in each step in fig. 3 or fig. 4, and reference may be specifically made to implementation manners provided in each step in fig. 3 or fig. 4, which are not described herein again. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. By way of example, a computer program can be deployed to be executed on one computer device or on multiple computer devices at one site or distributed across multiple sites and interconnected by a communication network.
The computer-readable storage medium may be the service processing apparatus provided in any of the foregoing embodiments or an internal storage unit of the computer device, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash memory card (flash card), and the like provided on the computer device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the computer device. The computer-readable storage medium is used for storing the computer program and other programs and data required by the computer device. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and executes the computer instruction, so that the computer device executes the methods provided in the various optional manners in fig. 3 or fig. 4, thereby implementing unified management of the service processing policy for processing the social service consultation request, and the target server can directly obtain the target service processing policy for processing the social service consultation request from the policy configuration platform, that is, the service processing policy does not need to be integrated into the program code, and a script does not need to be generated, and management of the service processing policy can also be implemented, so that the service processing policy can be updated conveniently (such as adding the service processing policy, deleting the service processing policy, or changing the service processing policy, and the like), and the efficiency and flexibility of service processing are improved. Moreover, the policy configuration interface for acquiring the target service processing policy can be determined based on the application channel type corresponding to the social service consultation request, that is, the service processing policies corresponding to different application channel types are respectively managed, so that the time required for searching the target service processing policy is prolonged, and the service processing efficiency is improved.
The terms "first," "second," and the like in the description and in the claims and drawings of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprises" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or modules recited, but may alternatively include other steps or modules not recited, or may alternatively include other steps or elements inherent to such process, method, apparatus, article, or apparatus.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the specification for the purpose of clearly illustrating the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The method and the related apparatus provided by the embodiments of the present application are described with reference to the flowchart and/or the structural diagram of the method provided by the embodiments of the present application, and each flow and/or block of the flowchart and/or the structural diagram of the method, and the combination of the flow and/or block in the flowchart and/or the block diagram can be specifically implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable business processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable business processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable business processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable business processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (15)

1. A method for processing a service, the method comprising:
receiving a social business consultation request sent by user equipment through a social application, and acquiring an application channel type corresponding to the social application according to the social business consultation request;
determining a target service query type based on the social service query request and the application channel type, and acquiring social service behavior data of a target user initiating the social service query request under the target service query type;
acquiring a policy configuration interface according to the application channel type, and sending the social business consultation request and the social business behavior data to a policy configuration platform based on the policy configuration interface so that the policy configuration platform generates a business analysis result based on a target business processing policy associated with the social business consultation request and the social business behavior data;
and acquiring a business analysis result returned by the strategy configuration platform, and executing a business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
2. The method of claim 1, wherein determining a target business query type based on the social business consultation request and the application channel type comprises:
acquiring a channel policy identifier set corresponding to the application channel type, acquiring a task type to which the social service consultation request belongs, and acquiring a task policy identifier corresponding to the task type from the channel policy identifier set; the channel strategy identification set comprises strategy identifications of service processing strategies corresponding to the application channel types and service query types corresponding to the strategy identifications; the policy identification in the channel policy identification set comprises the task policy identification;
and determining the service query type corresponding to the task strategy identifier as a target service query type.
3. The method of claim 2, wherein the obtaining of the task type to which the social business consultation request belongs comprises:
acquiring a request composition structure of the social business consultation request, and splitting the social business consultation request into one or more business consultation sub-information based on the request composition structure;
respectively converting the one or more pieces of business consultation sub-information into business word vectors, and performing feature splicing on the business word vectors respectively corresponding to the one or more pieces of business consultation sub-information to obtain business features corresponding to the social business consultation request;
and inputting the service characteristics into a type recognition model for prediction to obtain a task type corresponding to the service characteristics.
4. The method of claim 1, wherein the method further comprises:
acquiring user basic information of the target user, performing identity verification on the target user based on the user basic information, and if the verification is passed, executing the step of acquiring an application channel type corresponding to the social application according to the social business consultation request;
and if the verification fails, sending an abnormal identity prompting message to the user equipment so that the user equipment indicates the target user to carry out identity verification based on the abnormal identity prompting message.
5. A method for processing a service, the method comprising:
receiving a social business consultation request and social business behavior data sent by a target server based on a strategy configuration interface; the social business consultation request is sent to the target server by the user equipment through a social application; the social business behavior data refers to data of a target user initiating the social business consultation request in a target business query type, the target business query type is determined by the target server based on the social business consultation request and an application channel type, the application channel type is obtained by the target server according to the social business consultation request, and the social business consultation request is associated with the social application; the strategy configuration interface is acquired by the target server according to the application channel type;
acquiring a target business processing strategy to which the social business behavior data belongs, and generating a business analysis result based on the target business processing strategy and the social business behavior data;
and sending the business analysis result to the target server so as to enable the target server to execute the business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
6. The method of claim 5, wherein the obtaining a target business process policy to which the social business behavior data belongs and generating a business analysis result based on the target business process policy and the social business behavior data comprises:
acquiring a channel strategy set corresponding to the strategy configuration interface, and traversing the channel strategy set;
if a target business processing strategy matched with the social business behavior data is found in the channel strategy set, acquiring a target logic relationship of the social business behavior data, and acquiring a business analysis result corresponding to the target logic relationship in the target business processing strategy;
and if the target business processing strategy matched with the social business behavior data is not found in the channel strategy set, determining a default analysis result as a business analysis result corresponding to the social business behavior data.
7. The method of claim 5, wherein the method further comprises:
acquiring the acquisition time of the service analysis result, and generating a strategy operation log based on the acquisition time of the service analysis result, the target service processing strategy, the social service behavior data and the social service consultation request;
and determining a strategy generating user of the target service processing strategy, and performing associated storage on the strategy running log and the generated user information of the strategy generating user.
8. The method of claim 7, wherein the storing the policy execution log and the generation user information of the policy generation user in association comprises:
acquiring a communication mode of the strategy generation user, and sending the strategy operation log to the strategy generation user based on the communication mode;
and if a confirmation message of the strategy generating user for the strategy operation log is received, generating a strategy operation block according to the strategy operation log and the generated user information of the strategy generating user, and adding the strategy operation block into a strategy management block chain.
9. The method of claim 5, wherein the method further comprises:
responding to a policy configuration request, and displaying a policy configuration page corresponding to the policy configuration request;
responding to the adding operation aiming at the target service query type, acquiring the query data type of the target service query type, and displaying the query data type and the candidate logic matching condition corresponding to the query data type on the strategy configuration page;
responding to a trigger operation aiming at a target logic matching condition in the candidate logic matching conditions, and generating a target service sub-strategy according to the target logic matching condition and the target service query type;
and responding to the submission operation aiming at the strategy configuration page, and generating the target service processing strategy according to the target service sub-strategy.
10. The method of claim 9, wherein the number of target traffic sub-policies is at least two; the method further comprises the following steps:
determining a target strategy identifier according to the hash value of the target service sub-strategy;
the step of responding to the submission operation of the strategy configuration page and generating the target business processing strategy according to the target business sub-strategy comprises the following steps:
responding to the submission operation aiming at the strategy configuration page, and acquiring the combinational logic relationship of at least two target business sub-strategies;
and combining the at least two target service sub-strategies based on the combined logical relationship, establishing a mapping relationship between the combined at least two target service sub-strategies and the target strategy identification, and generating the target service processing strategy based on the mapping relationship.
11. The method of claim 9, wherein the method further comprises:
obtaining a private key of a strategy generation user, signing the target business processing strategy according to the private key, and generating a strategy signature; the strategy generation user is the user who initiates the strategy configuration request;
generating a strategy generation block according to the target service processing strategy, the strategy generation user and the strategy signature, and adding the strategy generation block into a strategy management block chain; the strategy signature is used for carrying out validity detection on the target business processing strategy when the target business processing strategy is obtained.
12. A traffic processing apparatus, characterized in that the apparatus comprises:
the system comprises a consultation acquisition module, a social business consultation request and a social business application module, wherein the consultation acquisition module is used for receiving the social business consultation request sent by user equipment through a social application and acquiring an application channel type corresponding to the social application according to the social business consultation request;
the query type determining module is used for determining a target service query type based on the social service consultation request and the application channel type;
a behavior data acquisition module, configured to acquire social business behavior data of a target user initiating the social business consultation request in the target business query type;
the policy configuration platform is used for generating a service analysis result according to a target service processing policy associated with the social service consultation request and the social service behavior data;
and the business processing module is used for acquiring a business analysis result returned by the strategy configuration platform and executing a business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
13. A traffic processing apparatus, characterized in that the apparatus comprises:
the data receiving module is used for receiving a social business consultation request and social business behavior data which are sent by the target server based on the strategy configuration interface; the social business consultation request is sent to the target server by the user equipment through a social application; the social business behavior data refers to data of a target user initiating the social business consultation request in a target business query type, the target business query type is determined by the target server based on the social business consultation request and an application channel type, the application channel type is obtained by the target server according to the social business consultation request, and the social business consultation request is associated with the social application; the strategy configuration interface is obtained by the target server according to the application channel type;
the strategy acquisition module is used for acquiring a target business processing strategy to which the social business behavior data belongs and generating a business analysis result based on the target business processing strategy and the social business behavior data;
and the result sending module is used for sending the business analysis result to the target server so as to enable the target server to execute the business processing behavior indicated by the business analysis result and used for responding to the social business consultation request.
14. A computer device comprising a processor, a memory, an input output interface;
the processor is connected to the memory and the input/output interface, respectively, wherein the input/output interface is configured to receive data and output data, the memory is configured to store a computer program, and the processor is configured to call the computer program to enable the computer device to execute the method according to any one of claims 1 to 4, or execute the method according to any one of claims 5 to 11.
15. A computer-readable storage medium, characterized in that it stores a computer program adapted to be loaded and executed by a processor, to cause a computer device having the processor to perform the method of any of claims 1-4, or to perform the method of any of claims 5-11.
CN202110347771.8A 2021-03-31 2021-03-31 Service processing method, device, computer and readable storage medium Pending CN115146815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110347771.8A CN115146815A (en) 2021-03-31 2021-03-31 Service processing method, device, computer and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110347771.8A CN115146815A (en) 2021-03-31 2021-03-31 Service processing method, device, computer and readable storage medium

Publications (1)

Publication Number Publication Date
CN115146815A true CN115146815A (en) 2022-10-04

Family

ID=83404381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110347771.8A Pending CN115146815A (en) 2021-03-31 2021-03-31 Service processing method, device, computer and readable storage medium

Country Status (1)

Country Link
CN (1) CN115146815A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302211A (en) * 2023-05-22 2023-06-23 美云智数科技有限公司 Configuration method and device of policy executor, computer equipment and storage medium
CN116503028A (en) * 2023-05-11 2023-07-28 深圳市中联信信息技术有限公司 Engineering design consultation interaction platform based on simultaneous online of multiple people
CN116843454A (en) * 2023-07-18 2023-10-03 广东企企通科技有限公司 Channel information management method, device, equipment and medium
CN116843454B (en) * 2023-07-18 2024-05-31 广东企企通科技有限公司 Channel information management method, device, equipment and medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116503028A (en) * 2023-05-11 2023-07-28 深圳市中联信信息技术有限公司 Engineering design consultation interaction platform based on simultaneous online of multiple people
CN116302211A (en) * 2023-05-22 2023-06-23 美云智数科技有限公司 Configuration method and device of policy executor, computer equipment and storage medium
CN116302211B (en) * 2023-05-22 2023-11-21 美云智数科技有限公司 Configuration method and device of policy executor, computer equipment and storage medium
CN116843454A (en) * 2023-07-18 2023-10-03 广东企企通科技有限公司 Channel information management method, device, equipment and medium
CN116843454B (en) * 2023-07-18 2024-05-31 广东企企通科技有限公司 Channel information management method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN110602052B (en) Micro-service processing method and server
Mouton et al. Social engineering attack examples, templates and scenarios
US9432375B2 (en) Trust/value/risk-based access control policy
KR102100976B1 (en) Digital assistant processing with stack data structure background
CN110879903A (en) Evidence storage method, evidence verification method, evidence storage device, evidence verification device, evidence storage equipment and evidence verification medium
JP2022532677A (en) Identity verification and management system
CA3062580A1 (en) An enterprise group establishing method and computer device in an instant message system
CN112235303B (en) Account logout method and device and computer equipment
CN115146815A (en) Service processing method, device, computer and readable storage medium
US11122024B2 (en) Chat session dynamic security
US10606655B2 (en) Non-directional transmissible task
US20200175205A1 (en) Secure data monitoring utilizng secure private set intersection
US20220058278A1 (en) Using machine learning to bypass activities of a secure document workflow based on recipient profile
Bang et al. Ethical chatbot design for reducing negative effects of biased data and unethical conversations
US10956468B2 (en) Cognitive template question system
CN112069529B (en) Block chain-based volume management method and device, computer and storage medium
CN108052842B (en) Signature data storage and verification method and device
CN110008186A (en) For file management method, device, terminal and the medium of more ftp data sources
US20220058287A1 (en) Modifying elements of a secure document workflow based on change in profile of recipient
KR102385702B1 (en) Data analysis service method and data analysis service system using the method
US20220058286A1 (en) Bypassing elements of a secure document workflow based on identity of recipient
CN109471849B (en) Model processing method and device, storage medium and electronic equipment
US11334674B2 (en) End point identification
CN107113308A (en) Method for authenticating and access device
CN113128200B (en) Method and device for processing information

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