CN113268638A - Action library generation method and device based on big data - Google Patents

Action library generation method and device based on big data Download PDF

Info

Publication number
CN113268638A
CN113268638A CN202110429699.3A CN202110429699A CN113268638A CN 113268638 A CN113268638 A CN 113268638A CN 202110429699 A CN202110429699 A CN 202110429699A CN 113268638 A CN113268638 A CN 113268638A
Authority
CN
China
Prior art keywords
action
instruction
library generation
target
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110429699.3A
Other languages
Chinese (zh)
Other versions
CN113268638B (en
Inventor
干少明
张怀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Puhuitong Technology Henan Co ltd
Original Assignee
Luoyang Moxiao Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Luoyang Moxiao Network Technology Co ltd filed Critical Luoyang Moxiao Network Technology Co ltd
Priority to CN202110429699.3A priority Critical patent/CN113268638B/en
Publication of CN113268638A publication Critical patent/CN113268638A/en
Application granted granted Critical
Publication of CN113268638B publication Critical patent/CN113268638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks

Abstract

The invention relates to an action library generation method and device based on big data, which comprises the steps of obtaining an action library generation instruction, obtaining a plurality of action flow information from a target database, taking each action flow information as an action language segment, obtaining action instruction keywords corresponding to each action flow information, obtaining action types corresponding to each action instruction keyword, obtaining general logic statements according to the action types corresponding to each action instruction keyword, constructing an action library, wherein the action library comprises each action instruction keyword, an action language segment and a general logic statement, and the general logic statement is used for executing the corresponding action language segment. The action library generation method based on big data provided by the invention can reduce the difficulty of constructing the action library and improve the construction efficiency, and when a certain action instruction is obtained subsequently, the corresponding action language section and the general logic statement are obtained according to the keyword corresponding to the action instruction, and the corresponding action language section is executed through the general logic statement, so that the action is reliably executed.

Description

Action library generation method and device based on big data
Technical Field
The invention relates to an action library generation method and device based on big data.
Background
The action library is stored with a plurality of action instructions (or keywords of the action instructions) and action language segments corresponding to the action instructions (or keywords of the action instructions), when related actions are needed, the corresponding action language segments are obtained according to the received action instructions and the action library, and then the corresponding actions can be realized by executing the corresponding action language segments. Therefore, the importance of the action library is self-evident. However, the existing construction method of the action library is constructed manually, and has low efficiency and poor reliability.
Disclosure of Invention
The invention provides an action library generation method and device based on big data, which are used for solving the technical problem that the existing construction mode of an action library is low in efficiency.
A big data-based action library generation method comprises the following steps:
acquiring an action library generating instruction;
acquiring a plurality of pieces of action flow information from a target database according to the action library generation instruction;
taking each action flow information as an action speech segment, and performing semantic mapping processing on each action flow information by combining a preset neural network to obtain an action instruction keyword corresponding to each action flow information;
acquiring action types corresponding to the action instruction keywords;
acquiring a general logic statement corresponding to the action type corresponding to each action instruction keyword according to the action type corresponding to each action instruction keyword;
and constructing an action library, wherein the action library comprises each action instruction keyword, an action language segment corresponding to each action instruction keyword and a general logic statement corresponding to the action type corresponding to each action instruction keyword, and the general logic statement is used for executing the corresponding action language segment.
Specifically, before the obtaining of the plurality of pieces of action flow information from the target database according to the action library generation instruction, the action library generation method further includes:
verifying the validity of the action library generation instruction;
and if the action library generation instruction is an effective instruction, executing the action library generation instruction and acquiring a plurality of action flow information from a target database.
Specifically, the action library generation instruction comprises target identity information of an operator and a target instruction character string;
correspondingly, the verifying the validity of the action library generation instruction specifically includes:
comparing the target identity information with a preset identity database, and if the target identity information belongs to one identity information in the identity database, judging that the target identity information is valid identity information;
comparing the target instruction character string with a preset instruction character string database, and if the target instruction character string belongs to one instruction character string in the instruction character string database, judging that the target instruction character string is an effective instruction character string;
and if the target identity information is valid identity information and the target instruction character string is a valid instruction character string, judging that the action library generation instruction is a valid instruction.
Specifically, the neural network comprises an encoder and a decoder, wherein the encoder is used for converting each action flow information into a corresponding intermediate semantic representation, and the decoder is used for converting the intermediate semantic representation into an action instruction keyword corresponding to each action flow information.
A big data-based action library generation device comprises a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor executes the computer program to realize the big data-based action library generation method.
The action library generating method based on big data provided by the invention has the technical effects that: after an action library generation instruction is obtained, obtaining a plurality of action flow information from a target database, taking each action flow information as an action language segment, combining a preset neural network, mapping each action flow information to obtain an action instruction keyword corresponding to each action flow information, obtaining an action instruction keyword and a corresponding action language segment, obtaining an action type corresponding to each action instruction keyword according to an action type corresponding to each action instruction keyword, and finally constructing an action library, wherein the action library comprises each action instruction keyword and the action language segment corresponding to each action instruction keyword except for the action instruction keyword, and the general logic statement corresponding to the action type corresponding to each action instruction keyword is also included. Compared with a manual construction method, the action library generation method based on the big data provided by the invention can reduce the construction difficulty and improve the construction efficiency, has higher reliability, and can obtain the corresponding action language section and the general logic statement according to the keyword corresponding to the action instruction when a certain action instruction is obtained subsequently, and implement the reliable execution of the action by executing the corresponding action language section through the general logic statement.
Drawings
FIG. 1 is a flowchart of a big data-based action library generation method according to the present invention.
Detailed Description
The embodiment provides a big data-based action library generation method, and a hardware execution main body of the big data-based action library generation method can be computer equipment, server equipment, an intelligent mobile terminal and the like. In addition, the application scenario of the hardware execution main body of the action library generation method based on big data is not limited, and is set according to actual needs.
As shown in fig. 1, the method for generating an action library based on big data includes the following steps:
step 1: acquiring an action library generating instruction:
and acquiring an action library generation instruction, wherein the action library generation instruction is used for starting an action library generation process.
In order to improve the safety of the action library generation, after step 1, i.e. before step 2, the big data based action library generation method further comprises:
and verifying the validity of the action library generation instruction, wherein the subsequent steps can be carried out only if the action library generation instruction is a valid instruction.
In this embodiment, the action library generation instruction includes target identity information of the operator and a target instruction character string. The target identity information of the operator and the target instruction character string may form a data packet, or the target identity information of the operator is connected to the target instruction character string to form a data string. The target identity information may be an identity card number, an employee number, and the like, and the target instruction character string is a specific character string.
Correspondingly, the verification of the validity of the action library generation instruction specifically comprises the following steps:
the method comprises the steps that an identity database and an instruction character string database are preset, wherein the identity database comprises at least one piece of identity information, and the identity information in the identity database is effective identity information. The instruction character string database comprises at least one instruction character string, and the instruction character strings in the instruction character string database are all valid instruction character strings.
Then, comparing the target identity information with a preset identity database, and if the target identity information belongs to one identity information in the identity database, judging that the target identity information is valid identity information; and comparing the target instruction character string with a preset instruction character string database, and if the target instruction character string belongs to one of the instruction character strings in the instruction character string database, judging that the target instruction character string is an effective instruction character string.
Correspondingly, if the target identity information is valid identity information and the target instruction character string is a valid instruction character string, the action library generation instruction is determined to be a valid instruction.
Step 2: according to the action library generation instruction, acquiring a plurality of action flow information from a target database:
in this embodiment, if the action library generation instruction is a valid instruction, a plurality of (i.e., at least two) pieces of action flow information are acquired from the target database according to the action library generation instruction. The number of pieces of action flow information acquired from the target database is set according to actual needs.
The target database stores a plurality of pieces of operation flow information, and the number of pieces of operation flow information is determined by the size of the required operation library. The action flow information may be an action language segment, i.e. an action program code segment corresponding to a specific action process.
And step 3: taking each action flow information as an action speech segment, and combining a preset neural network to perform semantic mapping processing on each action flow information to obtain an action instruction keyword corresponding to each action flow information:
and taking each action flow information as an action speech segment, and performing semantic mapping processing on each action flow information by combining a preset neural network to obtain an action instruction keyword corresponding to each action flow information. The relationship between the action instruction keyword and the action language segment is as follows: action instruction key → action language segment, then, when the action instruction key is known, the corresponding action language segment can be obtained according to the action instruction key.
In this embodiment, the neural network may be a convolutional neural network, and includes an encoder and a decoder, where for any piece of motion flow information, the encoder is configured to convert the motion flow information into a corresponding intermediate semantic representation, and the decoder is configured to convert the intermediate semantic representation into a motion instruction keyword corresponding to the motion flow information. Therefore, the operation flow information is input to the encoder and encoded, the encoder outputs the intermediate semantic representation, and the decoder decodes the intermediate semantic representation and outputs the operation command keyword corresponding to the operation flow information.
And 4, step 4: acquiring action types corresponding to the action instruction keywords:
and if the action corresponding to each action instruction has a corresponding action type, acquiring the action type corresponding to the action instruction keyword for any action instruction, namely for any action instruction keyword. As a specific embodiment, an action type database may be provided, where the action type database includes a plurality of action instruction keywords and an action type corresponding to each action instruction keyword, and then, for any one action instruction keyword, the action instruction keyword is input into the action type database to obtain a corresponding action type. And finally obtaining the action type corresponding to each action instruction keyword.
And 5: acquiring a general logic statement corresponding to the action type corresponding to each action instruction keyword according to the action type corresponding to each action instruction keyword:
for a certain action type, the action process corresponding to the action type has a certain similarity, and correspondingly, the execution process of each action language segment corresponding to the action type also has a great similarity. Therefore, according to the action type, the general logic statement corresponding to the action type can be acquired. As a specific embodiment, a general logic statement database is preset, and the general logic statement database includes a plurality of action types (for example, all the action types involved), and general logic statements corresponding to the action types. Then, according to the action type corresponding to each action instruction keyword, a general logic statement corresponding to the action type corresponding to each action instruction keyword is obtained. The general logic statement is used for executing the corresponding action language segment.
Step 6: constructing an action library, wherein the action library comprises action instruction keywords, action language segments corresponding to the action instruction keywords and general logic sentences corresponding to action types corresponding to the action instruction keywords, and the general logic sentences are used for executing the corresponding action language segments:
and after obtaining each action instruction keyword, an action language segment corresponding to each action instruction keyword and a general logic statement corresponding to the action type corresponding to each action instruction keyword, constructing an action library, wherein the action library comprises each action instruction keyword, an action language segment corresponding to each action instruction keyword and a general logic statement corresponding to the action type corresponding to each action instruction keyword.
Then, when the relevant action is needed, the action instruction is received, the action instruction keyword is obtained, the corresponding action language segment and the general logic statement are obtained according to the action instruction keyword and the action library, and then the corresponding action language segment is executed according to the general logic statement.
The embodiment further provides a motion library generation device based on big data, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the motion library generation method based on big data when executing the computer program, and since the method has been described in detail above, it is not described again.

Claims (5)

1. A big data-based action library generation method is characterized by comprising the following steps:
acquiring an action library generating instruction;
acquiring a plurality of pieces of action flow information from a target database according to the action library generation instruction;
taking each action flow information as an action speech segment, and performing semantic mapping processing on each action flow information by combining a preset neural network to obtain an action instruction keyword corresponding to each action flow information;
acquiring action types corresponding to the action instruction keywords;
acquiring a general logic statement corresponding to the action type corresponding to each action instruction keyword according to the action type corresponding to each action instruction keyword;
and constructing an action library, wherein the action library comprises each action instruction keyword, an action language segment corresponding to each action instruction keyword and a general logic statement corresponding to the action type corresponding to each action instruction keyword, and the general logic statement is used for executing the corresponding action language segment.
2. The big data-based action library generation method according to claim 1, wherein before the action library generation instruction is used to obtain a plurality of action flow information from a target database, the action library generation method further comprises:
verifying the validity of the action library generation instruction;
and if the action library generation instruction is an effective instruction, executing the action library generation instruction and acquiring a plurality of action flow information from a target database.
3. The big data-based action library generation method according to claim 2, wherein the action library generation instruction comprises target identity information of an operator and a target instruction character string;
correspondingly, the verifying the validity of the action library generation instruction specifically includes:
comparing the target identity information with a preset identity database, and if the target identity information belongs to one identity information in the identity database, judging that the target identity information is valid identity information;
comparing the target instruction character string with a preset instruction character string database, and if the target instruction character string belongs to one instruction character string in the instruction character string database, judging that the target instruction character string is an effective instruction character string;
and if the target identity information is valid identity information and the target instruction character string is a valid instruction character string, judging that the action library generation instruction is a valid instruction.
4. The big-data-based action library generation method according to claim 1, wherein the neural network comprises an encoder and a decoder, the encoder is used for converting the action flow information into corresponding intermediate semantic representations, and the decoder is used for converting the intermediate semantic representations into action instruction keywords corresponding to the action flow information.
5. A big-data-based action library generating apparatus comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the big-data-based action library generating method according to any one of claims 1 to 4 when executing the computer program.
CN202110429699.3A 2021-04-21 2021-04-21 Big data-based action library generation method and device Active CN113268638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110429699.3A CN113268638B (en) 2021-04-21 2021-04-21 Big data-based action library generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110429699.3A CN113268638B (en) 2021-04-21 2021-04-21 Big data-based action library generation method and device

Publications (2)

Publication Number Publication Date
CN113268638A true CN113268638A (en) 2021-08-17
CN113268638B CN113268638B (en) 2024-04-16

Family

ID=77229198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110429699.3A Active CN113268638B (en) 2021-04-21 2021-04-21 Big data-based action library generation method and device

Country Status (1)

Country Link
CN (1) CN113268638B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844380A (en) * 2015-12-04 2017-06-13 阿里巴巴集团控股有限公司 A kind of database operation method, information processing method and related device
CN107832448A (en) * 2017-11-22 2018-03-23 泰康保险集团股份有限公司 Database operation method, device and equipment
CN110163131A (en) * 2019-05-09 2019-08-23 南京邮电大学 Mix the human action classification method of convolutional neural networks and the optimization of microhabitat grey wolf
CN111291674A (en) * 2020-02-04 2020-06-16 清华珠三角研究院 Method, system, device and medium for extracting expression and action of virtual character

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844380A (en) * 2015-12-04 2017-06-13 阿里巴巴集团控股有限公司 A kind of database operation method, information processing method and related device
CN107832448A (en) * 2017-11-22 2018-03-23 泰康保险集团股份有限公司 Database operation method, device and equipment
CN110163131A (en) * 2019-05-09 2019-08-23 南京邮电大学 Mix the human action classification method of convolutional neural networks and the optimization of microhabitat grey wolf
CN111291674A (en) * 2020-02-04 2020-06-16 清华珠三角研究院 Method, system, device and medium for extracting expression and action of virtual character

Also Published As

Publication number Publication date
CN113268638B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
WO2021042503A1 (en) Information classification extraction method, apparatus, computer device and storage medium
CN110704588A (en) Multi-round dialogue semantic analysis method and system based on long-term and short-term memory network
KR101768509B1 (en) On-line voice translation method and device
US20190251165A1 (en) Conversational agent
CN109492113B (en) Entity and relation combined extraction method for software defect knowledge
CN111814466A (en) Information extraction method based on machine reading understanding and related equipment thereof
WO2021072852A1 (en) Sequence labeling method and system, and computer device
CN111931517B (en) Text translation method, device, electronic equipment and storage medium
CN111339278B (en) Method and device for generating training speech generating model and method and device for generating answer speech
CN108257593B (en) Voice recognition method and device, electronic equipment and storage medium
CN111694937A (en) Interviewing method and device based on artificial intelligence, computer equipment and storage medium
CN111695338A (en) Interview content refining method, device, equipment and medium based on artificial intelligence
CN112766319A (en) Dialogue intention recognition model training method and device, computer equipment and medium
CN112084752A (en) Statement marking method, device, equipment and storage medium based on natural language
CN110704597B (en) Dialogue system reliability verification method, model generation method and device
JP2023025126A (en) Training method and apparatus for deep learning model, text data processing method and apparatus, electronic device, storage medium, and computer program
CN114861637A (en) Method and device for generating spelling error correction model and method and device for spelling error correction
CN113268638B (en) Big data-based action library generation method and device
CN112613322A (en) Text processing method, device, equipment and storage medium
US20230070966A1 (en) Method for processing question, electronic device and storage medium
CN109344385B (en) Natural language processing method, device, computer equipment and storage medium
CN113656566A (en) Intelligent dialogue processing method and device, computer equipment and storage medium
CN114756679A (en) Chinese medical text entity relation combined extraction method based on conversation attention mechanism
CN114220505A (en) Information extraction method of medical record data, terminal equipment and readable storage medium
CN113806230A (en) Software testing method, device, equipment and medium based on case voice

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
TA01 Transfer of patent application right

Effective date of registration: 20240319

Address after: Room 1701, 17th Floor, Building 1, Yufa Center, Henan Enterprise Union Building, No. 238 Mingli Road, Zhengdong New District, Zhengzhou City, Henan Province, 450000

Applicant after: Puhuitong Technology (Henan) Co.,Ltd.

Country or region after: China

Address before: No. 903, unit 2, building 8, Zhoushan new town, east of Gaoxin Longping road and south of sunshi highway, Luoyang area, China (Henan) pilot Free Trade Zone, Luoyang City, Henan Province, 471000

Applicant before: Luoyang moxiao Network Technology Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant