Method and device for generating business instructions, electronic device, and readable storage medium

By identifying the communication message data intent, obtaining business information and generating alternative business instructions, the time-consuming problem of employees manually writing business instructions in the prior art is solved, and office efficiency and collaboration capabilities are improved.

CN113537944BActive Publication Date: 2025-01-03BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110879900.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-02
Publication Date
2025-01-03
Estimated Expiration
2041-08-02

AI Technical Summary

Technical Problem

In the prior art, employees need to manually write business instructions, resulting in low office efficiency and a lot of time.

Method used

By obtaining communication message data, intent identification, business information is obtained, and alternative business instructions are obtained based on business information, reducing the need for users to manually write business instructions.

Benefits of technology

It improves office efficiency, reduces the time for writing business instructions, realizes real-time processing of communication information, reduces the user's learning costs for business instructions and business systems, and improves the collaboration capabilities between corporate employees.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113537944B_ABST
    Figure CN113537944B_ABST
Patent Text Reader

Abstract

The present application relates to the field of computer technology, and discloses a method for generating business instructions, which is applied to a server, and the method includes: obtaining communication message data; performing intent recognition on the communication message data to obtain business information corresponding to the communication message data; and obtaining alternative business instructions based on the business information. By performing intent recognition on the acquired communication message data, the business information corresponding to the communication message data is obtained, and alternative business instructions are obtained based on the business information. In this way, compared with the prior art, users do not need to manually write business instructions based on communication messages, which reduces the time for writing business instructions, thereby improving office efficiency. The present application also discloses a device, an electronic device, and a readable storage medium for generating business instructions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for generating a business instruction, an electronic device, and a readable storage medium. Background Art

[0002] At present, with the continuous acceleration of enterprises' digital transformation, instant messaging software and business systems have become indispensable tools for many enterprises. Each enterprise will use different business systems to manage work and business, for example, manage customer relationships through CRM (Customer Relationship Management) systems, manage enterprise employees through human resources systems, manage enterprise finances through financial systems, and manage office affairs through OA (Office Automation) systems. Each business system has a dedicated business interface and business instructions, which are managed by employees with corresponding business knowledge. At the same time, enterprise employees send communication information through instant messaging software to communicate about work and business, and select the corresponding business system according to the business needs of the communication information, and then enter the business interface and business module corresponding to the business needs to write, operate, and execute business instructions.

[0003] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0004] In the prior art, employees manually write business instructions based on communication information, which takes a lot of time and results in low office efficiency. Summary of the invention

[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0006] The embodiments of the present disclosure provide a method and device for generating a business instruction, an electronic device, and a readable storage medium to improve office efficiency.

[0007] In some embodiments, a method for generating business instructions is applied to a server, and the method includes: obtaining communication message data; performing intent recognition on the communication message data to obtain business information corresponding to the communication message data; and obtaining alternative business instructions based on the business information.

[0008] In some embodiments, a device for generating business instructions is applied to a server, and the device includes: a communication message data acquisition module, configured to acquire communication message data; an intent recognition module, configured to perform intent recognition on the communication message data and obtain business information corresponding to the communication message data; and an alternative business instruction acquisition module, configured to acquire alternative business instructions based on the business information.

[0009] In some embodiments, the electronic device includes a processor and a memory storing program instructions, and the processor is configured to execute the above method for generating business instructions when running the program instructions.

[0010] In some embodiments, the readable storage medium stores program instructions, and when the program instructions are run, the method for generating business instructions is executed.

[0011] The method and device, electronic device, and readable storage medium for generating business instructions provided by the embodiments of the present disclosure can achieve the following technical effects: by performing intent recognition on the acquired communication message data, business information corresponding to the communication message data is obtained, and alternative business instructions are obtained according to the business information. In this way, compared with the prior art, users do not need to manually write business instructions according to communication messages, which reduces the time for writing business instructions and improves office efficiency.

[0012] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0014] Figure 1 is a schematic diagram of a method for generating a service instruction provided by an embodiment of the present disclosure;

[0015] Figure 2 is a schematic diagram of another method for generating a service instruction provided by an embodiment of the present disclosure;

[0016] Figure 3 is a timing diagram of a method for generating a service instruction provided by an embodiment of the present disclosure;

[0017] Figure 4 is a schematic diagram of a device for generating a service instruction provided by an embodiment of the present disclosure;

[0018] Figure 5 It is a schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0019] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0020] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0021] Unless otherwise stated, the term "plurality" means two or more.

[0022] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0023] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0024] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0025] Combination Figure 1 As shown, the embodiment of the present disclosure provides a method for generating a service instruction, which is applied to a server, and the method includes:

[0026] Step S101, the server obtains communication message data;

[0027] Step S102, the server performs intent recognition on the communication message data to obtain business information corresponding to the communication message data;

[0028] Step S103: the server obtains candidate service instructions according to the service information.

[0029] The method for generating a business instruction provided by the embodiment of the present disclosure is used to identify the intent of the acquired communication message data, obtain the business information corresponding to the communication message data, and obtain the alternative business instruction according to the business information. In this way, compared with the prior art, the user does not need to manually write the business instruction according to the communication message, which reduces the time for writing the business instruction, thereby improving office efficiency.

[0030] Optionally, the server obtains the communication message data, including: the server obtains the communication message data in IM (Instant Messaging) software. Optionally, the IM software is WeChat, Enterprise WeChat, QQ, DingTalk, TIM (Tencent office social software), Teams (Microsoft team conference collaboration software), Skype (Microsoft instant messaging software) or Zoom (Huawan enterprise conference software), etc.

[0031] Optionally, the communication message data includes message text data, sender, recipient and sending time, etc.

[0032] Optionally, the business information corresponding to the communication message data includes business type, business requirements, target personnel and executor, etc.

[0033] Optionally, the server performs intent recognition on the communication message data to obtain the business information corresponding to the communication message data, including: extracting and combining the message text data, sender, recipient, sending time and other elements in the communication message data through preset intent recognition rules to obtain business recognition data; inputting the business recognition data into a preset intent recognition model to obtain the model output result; and determining the model output result as the business information corresponding to the communication message data. Optionally, the intent recognition model is obtained in the following manner: obtaining sample communication message data, extracting and combining the message text data, sender, recipient, sending time and other elements in the sample communication message data through preset intent recognition rules to obtain business recognition sample data; inputting the business recognition sample data into a preset neural network model for training to obtain an intent recognition model. Optionally, the preset neural network model is an SVM (Support Vector Machine) model. Optionally, the intent recognition rules are customized according to the business needs of the enterprise itself.

[0034] Optionally, the server obtains the candidate business instruction according to the business information, including: the server obtains a first instruction writing rule corresponding to the business information; and the server generates the candidate business instruction according to the first instruction writing rule.

[0035] Optionally, the server obtains a first instruction writing rule corresponding to the business information, including: the server searches for alternative business information that is identical to the business information in a preset business system information database; when alternative business information that is identical to the business information is found, the server obtains the business system information corresponding to the alternative business information; the business system information database stores the correspondence between the alternative business information and the business system information; the server obtains a second instruction writing rule for the business system information; and the server determines the second instruction writing rule as the first instruction writing rule corresponding to the business information.

[0036] Optionally, in response to not finding alternative business information identical to the business information, the server obtains the next communication message data; the server performs intent recognition on the next communication message data to obtain the business information corresponding to the next communication message data; the server obtains the alternative business instruction for the next communication message data based on the business information corresponding to the next communication message data. In this way, the alternative business information identical to the business information is searched in the business system information database to determine whether the business information is within the business scope that supports the generation of business instructions. If the alternative business information identical to the business information is not found, that is, the business information is not within the business scope that supports the generation of business instructions, the generation of business instructions is terminated, and a business instruction is generated based on the next communication message data.

[0037] Optionally, the server obtains the second instruction writing rule of the business system information, including: the server matches the second instruction writing rule corresponding to the business system information in a preset instruction writing rule database; the instruction writing rule database stores the correspondence between the business system information and the second instruction writing rule.

[0038] In some embodiments, employee A sends a message to employee B through WeChat for Enterprise, "Please help me open the knowledge management authority of the KM (KnowfedgeManagement) system", and the server obtains the communication message data of the communication message in WeChat for Enterprise, that is, the message text data of the communication message data is "Please help me open the knowledge management authority of the KM system", the sender is employee A, and the recipient is employee B. The server performs intent recognition on the communication message data and obtains the business information corresponding to the communication message data, that is, the business type is the KM system, the business requirement is to open the knowledge management authority, the target person is employee A, and the executor is employee B. The server searches for alternative business information that is identical to the business information in the business system information database. When the server finds the alternative business information that is identical to the business information, the server obtains that the business system information corresponding to the alternative business information is the OA system. The server obtains the second instruction writing rule corresponding to the OA system, determines the second instruction writing rule of the OA system as the first instruction writing rule corresponding to the business information, and generates an alternative business instruction corresponding to the business information according to the first instruction writing rule corresponding to the business information. The alternative business instruction is "Confirmed by employee B: Open the knowledge management authority of the KM system for employee A in the OA system."

[0039] Optionally, after the server obtains the candidate business instruction according to the business information, the process further includes: the server obtains a user business instruction corresponding to the candidate business instruction; the server sends the user business instruction to a business system corresponding to the user business instruction, triggering the business system to execute the user business instruction.

[0040] Optionally, the server obtains the user service instruction corresponding to the alternative service instruction, including: the server sends the alternative service instruction to the client, triggering the client to obtain and feedback the user service instruction corresponding to the alternative service instruction; the server receives the user service instruction feedback by the client. In this way, the server sends the alternative service instruction to the client, triggering the client to obtain the user service instruction corresponding to the alternative service instruction and feedback the user service instruction, so that the user can check and confirm the alternative service instruction through the client, avoiding the alternative service instruction not meeting the user's needs.

[0041] In some embodiments, the server sends an alternative business instruction to the client; the client displays the alternative business instruction sent by the server; when the client receives the user confirmation information corresponding to the alternative business instruction input by the user, the client determines the alternative business instruction as the user business instruction and feeds back the user business instruction to the server; when the client receives the user modification information corresponding to the alternative business instruction input by the user, the client obtains the modified business instruction input by the user, determines the modified business instruction as the user business instruction, and feeds back the user business instruction to the server. In this way, it is convenient for the user to check, confirm and modify the alternative business instruction through the client, avoiding the situation where the alternative business instruction does not meet the user's needs, which is more humane.

[0042] Optionally, the business system information includes a business system and an open interface of the business system. Optionally, the business system of the business system information is determined as the business system corresponding to the user business instruction. In this way, the user does not need to select the business system for executing the user business instruction and the interface of the business system, which reduces the selection time and further improves the work efficiency.

[0043] Optionally, the server sends the user business instruction to the business system corresponding to the user business instruction, triggering the business system to execute the user business instruction and send the execution result to the client. In this way, the business system sends the execution result to the client, which facilitates the user to track the execution of the user business instruction by the business system through the client.

[0044] In some embodiments, in combination Figure 2 As shown, the embodiment of the present disclosure provides a method for generating a service instruction, which is applied to a server, and the method includes:

[0045] Step S201, the server obtains communication message data;

[0046] Step S202, the server performs intent recognition on the communication message data to obtain business information corresponding to the communication message data;

[0047] Step S203, the server determines whether candidate business information identical to the business information is found in the preset business system information database; if so, execute step S204; if not, return to execute step S201;

[0048] Step S204, the server obtains the business system information corresponding to the candidate business information;

[0049] Step S205, the server obtains the second instruction writing rule of the business system information, and determines the second instruction writing rule as the first instruction writing rule corresponding to the business information;

[0050] Step S206, the server generates a candidate business instruction by using the first instruction writing rule corresponding to the business information;

[0051] Step S207, the server sends the alternative service instruction to the client;

[0052] Step S208, the server receives the user service instruction corresponding to the candidate service instruction fed back by the client, sends the user service instruction to the service system corresponding to the user service instruction, triggers the service system to execute the user service instruction and sends the execution result to the client.

[0053] Combination Figure 3 As shown, the embodiment of the present disclosure provides a method for generating a service instruction, including:

[0054] Step S301, the server obtains communication message data;

[0055] Step S302, the server performs intent recognition on the communication message data to obtain business information corresponding to the communication message data;

[0056] Step S303, the server searches for candidate business information that is the same as the business information in a preset business system information database;

[0057] Step S304, when candidate business information identical to the business information is found, the server obtains business system information corresponding to the candidate business information;

[0058] Step S305, the server obtains the second instruction writing rule of the business system information, and determines the second instruction writing rule as the first instruction writing rule corresponding to the business information;

[0059] Step S306, the server generates a candidate business instruction by using the first instruction writing rule corresponding to the business information;

[0060] Step S307, the server sends the alternative service instruction to the client;

[0061] Step S308, the client receives the candidate service instruction sent by the server, and obtains the user service instruction corresponding to the candidate service instruction;

[0062] Step S309, the client sends the user service instruction corresponding to the candidate service instruction to the server;

[0063] Step S310, the server receives the user service instruction corresponding to the candidate service instruction fed back by the client, and sends the user service instruction to the service system corresponding to the user service instruction;

[0064] Step S311, the business system receives the user business instruction sent by the server and executes the user business instruction;

[0065] Step S312: The business system sends the execution result to the client.

[0066] The method for generating business instructions provided by the embodiment of the present disclosure is adopted, and the business information corresponding to the communication message data is obtained by performing intent recognition on the acquired communication message data, and the alternative business instructions are obtained according to the business information, and the user business instructions corresponding to the alternative business instructions are obtained, and the user business instructions are sent to the corresponding business system, and the business system executes the user business instructions. In this way, compared with the existing technology, employees do not need to manually write business instructions based on communication messages, and users do not need to select the business system corresponding to the instructions. Real-time processing of communication information is achieved, the time of business processing is reduced, and thus office efficiency is improved. In addition, this method is applied to the business instruction recommendation technology of the enterprise, and business instructions are personalized recommended for users, which reduces the user's learning cost of business instructions and business systems, and at the same time, improves the collaboration ability between enterprise employees.

[0067] Optionally, the server is a computer, a smart phone, a tablet computer, or a server, etc. Optionally, the client is a computer, a smart phone, a tablet computer, or the like.

[0068] Combination Figure 4 As shown, a device for generating business instructions is applied to a server, and the device includes a communication message data acquisition module 401, an intention recognition module 402, and an alternative business instruction acquisition module 403. The communication message data acquisition module 401 is configured to acquire communication message data. The intention recognition module 402 is configured to perform intention recognition on the communication message data and obtain business information corresponding to the communication message data. The alternative business instruction acquisition module 403 is configured to acquire alternative business instructions according to the business information.

[0069] By using the device for generating business instructions provided by the embodiment of the present disclosure, the intent of the acquired communication message data is recognized to obtain the business information corresponding to the communication message data, and the alternative business instructions are obtained according to the business information. In this way, compared with the prior art, the user does not need to manually write business instructions according to the communication message, which reduces the time for writing business instructions, thereby improving office efficiency.

[0070] Optionally, the candidate business instruction acquisition module is configured to acquire the candidate business instruction according to the business information in the following manner: acquiring a first instruction writing rule corresponding to the business information; and generating the candidate business instruction according to the first instruction writing rule.

[0071] Optionally, the alternative business instruction acquisition module is configured to acquire a first instruction writing rule corresponding to the business information in the following manner, including: searching for alternative business information identical to the business information in a preset business system information database; storing a number of correspondences between alternative business information and business system information in the business system information database; when alternative business information identical to the business information is found, acquiring the business system information corresponding to the alternative business information; acquiring a second instruction writing rule for the business system information; and determining the second instruction writing rule as the first instruction writing rule corresponding to the business information.

[0072] Optionally, the device for generating a business instruction further includes: a user business instruction acquisition module, which acquires a user business instruction corresponding to the candidate business instruction; and a sending module, which sends the user business instruction to a business system corresponding to the user business instruction, triggering the business system to execute the user business instruction.

[0073] Combination Figure 5 As shown, an embodiment of the present disclosure provides an electronic device, including a processor (processor) 500 and a memory (memory) 501. Optionally, the device may also include a communication interface (Communication Interface) 502 and a bus 503. Among them, the processor 500, the communication interface 502, and the memory 501 can communicate with each other through the bus 503. The communication interface 502 can be used for information transmission. The processor 500 can call the logic instructions in the memory 501 to execute the method for generating business instructions in the above embodiment.

[0074] In addition, the logic instructions in the memory 501 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0075] The memory 501 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 500 executes functional applications and data processing by running the program instructions / modules stored in the memory 501, that is, implements the method for generating business instructions in the above embodiments.

[0076] The memory 501 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 501 may include a high-speed random access memory and may also include a non-volatile memory.

[0077] Optionally, the electronic device is a computer, a smart phone, a tablet computer or a server, etc. The electronic device obtains the business information corresponding to the communication message data by performing intent recognition on the acquired communication message data, and obtains the alternative business instructions according to the business information. In this way, compared with the prior art, the user does not need to manually write business instructions according to the communication message, which reduces the time for writing business instructions, thereby improving office efficiency.

[0078] An embodiment of the present disclosure provides a readable storage medium storing program instructions. When the program instructions are run, the method for generating business instructions is executed.

[0079] By using the readable storage medium provided in the embodiment of the present disclosure, the business information corresponding to the communication message data is obtained by performing intent recognition on the acquired communication message data, and alternative business instructions are obtained according to the business information. In this way, compared with the prior art, the user does not need to manually write business instructions according to the communication message, which reduces the time for writing business instructions, thereby improving office efficiency.

[0080] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned method for generating business instructions.

[0081] The above-mentioned readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0082] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0083] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0084] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0085] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0086] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for generating a service instruction, characterized in that: Applied to the server, including: Acquire communication message data, wherein the communication message data includes message text data, sender, recipient, and sending time; The message text data, sender, recipient, and sending time in the communication message data are extracted and combined through the preset intent recognition rules to obtain business recognition data; Input the business identification data into a preset intention recognition model to obtain a model output result, and determine the model output result as the business information corresponding to the communication message data; wherein the business information corresponding to the communication message data includes business type, business requirements, target personnel and executor; Obtaining a first instruction writing rule corresponding to the business information; Generate an alternative business instruction by using the first instruction writing rule; Obtaining a user service instruction corresponding to the candidate service instruction; Obtaining a first instruction writing rule corresponding to the business information includes: searching for alternative business information identical to the business information in a preset business system information database; storing a number of correspondences between alternative business information and business system information in the business system information database; when alternative business information identical to the business information is found, obtaining the business system information corresponding to the alternative business information; obtaining a second instruction writing rule for the business system information; and determining the second instruction writing rule as the first instruction writing rule corresponding to the business information.

2. The method according to claim 1, characterized in that: After obtaining the candidate service instructions according to the service information, the method further includes: The user service instruction is sent to a service system corresponding to the user service instruction, triggering the service system to execute the user service instruction.

3. A device for generating a service instruction, characterized in that: Applied to the server, including: A communication message data acquisition module is configured to acquire communication message data, wherein the communication message data includes message text data, sender, recipient and sending time; The intention recognition module is configured to extract and combine the message text data, sender, recipient, and sending time in the communication message data through a preset intention recognition rule to obtain business recognition data; input the business recognition data into a preset intention recognition model to obtain a model output result; determine the model output result as the business information corresponding to the communication message data, wherein the business information corresponding to the communication message data includes business type, business demand, target personnel, and executor; The candidate business instruction acquisition module is configured to acquire a first instruction writing rule corresponding to the business information; and generate a candidate business instruction according to the first instruction writing rule; A user service instruction acquisition module, which acquires the user service instruction corresponding to the candidate service instruction; The alternative business instruction acquisition module is configured to acquire a first instruction writing rule corresponding to the business information in the following manner, including: searching for alternative business information identical to the business information in a preset business system information database; storing a number of correspondences between alternative business information and business system information in the business system information database; when alternative business information identical to the business information is found, acquiring the business system information corresponding to the alternative business information; acquiring a second instruction writing rule for the business system information; and determining the second instruction writing rule as the first instruction writing rule corresponding to the business information.

4. The device according to claim 3, characterized in that The device also includes: The sending module sends the user service instruction to the service system corresponding to the user service instruction, triggering the service system to execute the user service instruction.

5. An electronic device comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for generating a service instruction according to any one of claims 1 to 2 when running the program instructions.

6. A readable storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for generating a service instruction according to any one of claims 1 to 2 is executed.