CN111930776A - Form processing method and device, electronic equipment and readable storage medium - Google Patents

Form processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111930776A
CN111930776A CN202010944245.5A CN202010944245A CN111930776A CN 111930776 A CN111930776 A CN 111930776A CN 202010944245 A CN202010944245 A CN 202010944245A CN 111930776 A CN111930776 A CN 111930776A
Authority
CN
China
Prior art keywords
processing
formula
target form
processing formula
information
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
CN202010944245.5A
Other languages
Chinese (zh)
Other versions
CN111930776B (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.)
Beijing Dimension Statistics Office Co ltd
Original Assignee
Beijing Dimension Statistics Office 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 Beijing Dimension Statistics Office Co ltd filed Critical Beijing Dimension Statistics Office Co ltd
Priority to CN202010944245.5A priority Critical patent/CN111930776B/en
Publication of CN111930776A publication Critical patent/CN111930776A/en
Application granted granted Critical
Publication of CN111930776B publication Critical patent/CN111930776B/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/57Arithmetic logic units [ALU], i.e. arrangements or devices for performing two or more of the operations covered by groups G06F7/483 – G06F7/556 or for performing logical operations
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a form processing method, a form processing device, an electronic device and a readable storage medium, wherein the method comprises the following steps: receiving information from a user, wherein the information is used for triggering a processing formula for generating a target form, and the information is corresponding to voice or images; generating a processing formula according to the information, and processing the target form by adopting the processing formula; and outputting the processing result of the target form. The method in the embodiment of the application solves the technical problem that in the prior art, a worker needs to write the logic in advance, and improves the efficiency of generating the processing formula and further improves the processing efficiency of the form. In addition, the method does not limit the formula editing capability of the electronic equipment, is also suitable for users who cannot write the formula, and has high applicability.

Description

Form processing method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of form processing technologies, and in particular, to a form processing method and apparatus, an electronic device, and a readable storage medium.
Background
With the advent of the big data age, a large number of forms and the like can be stored in electronic devices (such as servers or terminal devices). When a user uploads a form on a terminal device, the terminal device needs to verify the form and determine whether the uploaded form is a real and effective form. In addition, some users also have a need to filter target forms.
In the prior art, a worker can write corresponding verification logic or screening logic in advance according to a verification requirement when a form is uploaded or a screening requirement of a user, so as to verify or screen the form on the electronic device side.
However, various verification requirements or changes in the screening requirements of users at present require workers to write different logics, and a series of work such as testing, publishing and the like is required after writing, so that the processing efficiency of forms is low.
Disclosure of Invention
The application provides a form processing method, a form processing device, an electronic device and a readable storage medium, which can improve the form processing efficiency.
A first aspect of the present application provides a form processing method, including: receiving information from a user, wherein the information is used for triggering a processing formula for generating a target form, and the information is corresponding to voice or images; generating the processing formula according to the information; processing the target form by adopting the processing formula; and outputting the processing result of the target form. It should be understood that an execution subject for executing the form processing method of the present application may be a terminal device or a server, or a chip in the terminal device or the server, or may be executed by the terminal device and the server interactively.
The form processing method solves the technical problem that in the prior art, a worker needs to write logic in advance, and improves the efficiency of generating a processing formula and further improves the processing efficiency of the form. In addition, the method does not limit the formula editing capability of the electronic equipment, is also suitable for users who cannot write the formula, and has high applicability.
A second aspect of the present application provides a form processing apparatus comprising:
the receiving and sending module is used for receiving information from a user, the information is used for triggering a processing formula for generating a target form, and the information is corresponding to voice or images;
the processing module is used for generating the processing formula according to the information and processing the target form by adopting the processing formula;
and the output module is used for outputting the processing result of the target form.
The implementation manner and the beneficial effects of the form processing device provided by the present application can refer to the related description of the first aspect.
A third aspect of the present application provides an electronic device comprising: at least one processor, a memory transceiver, and a display;
the memory stores computer-executable instructions; the at least one processor executes computer-executable instructions stored in the memory, so that the electronic equipment executes the form processing method; the transceiver is coupled to the processor, and the processor controls transceiving action of the transceiver; the display is used for displaying an interface of the electronic equipment.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon computer-executable instructions, which, when executed by a processor, implement the above-mentioned form processing method.
The application provides a form processing method, a form processing device, an electronic device and a readable storage medium, wherein the method comprises the following steps: receiving information from a user, wherein the information is used for triggering a processing formula for generating a target form, and the information is corresponding to voice or images; generating a processing formula according to the information; processing the target form by adopting a processing formula; and outputting the processing result of the target form. The method in the embodiment of the application solves the technical problem that in the prior art, a worker needs to write the logic in advance, and improves the efficiency of generating the processing formula and further improves the processing efficiency of the form. In addition, the method does not limit the formula editing capability of the electronic equipment, is also suitable for users who cannot write the formula, and has high applicability.
Drawings
Fig. 1 is a schematic flowchart of an embodiment of a form processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface variation provided in an embodiment of the present application;
FIG. 3 is a schematic view of another interface variation provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an image provided by an embodiment of the present application;
FIG. 5 is a schematic view of an interface provided by an embodiment of the present application;
fig. 6 is a schematic flowchart of another embodiment of a form processing method according to an embodiment of the present application;
FIG. 7 is another schematic view of interface 201;
fig. 8 is a flowchart illustrating a form processing method according to another embodiment of the present application;
fig. 9 is a schematic flowchart of another embodiment of a form processing method according to an embodiment of the present application;
FIG. 10 is a schematic diagram illustrating a process formula to be filled to a process formula variation according to an embodiment of the present application;
fig. 11 is a flowchart illustrating a form processing method according to another embodiment of the present application;
FIG. 12 is a schematic view of another interface provided by an embodiment of the present application;
fig. 13 is a flowchart illustrating a form processing method according to another embodiment of the present application;
FIG. 14 is a schematic diagram of a scenario in which a form processing method according to an embodiment of the present application is applied;
fig. 15 is a flowchart illustrating a form processing method according to another embodiment of the present application;
fig. 16 is a schematic view illustrating an interface change of a form processing method according to the form processing method provided in the embodiment of the present application;
fig. 17 is a flowchart illustrating a form processing method according to another embodiment of the present application;
FIG. 18 is a schematic diagram of a form processing apparatus according to the present application;
fig. 19 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the embodiments of the present application, and it is obvious that the described embodiments are some but not all of the embodiments of the present application. 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.
In order to solve the problems in the background art, in the current technical solution, a user may also write a processing formula (such as a screening formula or a verification formula) on the electronic device, so that the electronic device verifies or screens the form through the processing formula. The mode requires that the electronic equipment has an interface for a user to write the processing formula and has a convenient formula editing tool, and at present, many electronic equipment (such as mobile phones or tablet computers) can write simple processing formulas, but the editing efficiency of complex processing formulas is low.
In the embodiment of the present application, in order to solve the technical problem that a worker needs to write a logic in advance in the background art, and in order to solve the problem that the efficiency of a user editing and processing formula is low, an embodiment of the present application provides a form processing method. The user can write the processing formula in a voice or image uploading mode, the efficiency of generating the processing formula can be improved, and the processing efficiency of the form is further improved. The method does not limit the formula editing capability of the electronic equipment, is also suitable for users who cannot write the formula, and has high applicability.
It should be understood that, in the embodiment of the present application, an execution subject for executing the form processing method may be a form processing apparatus, and the form processing apparatus may be the electronic device described above. The electronic device may be a terminal device or a server, or a chip or a processor in the terminal device or the server, or the form processing method may be performed interactively by the terminal device and the server. It should be understood that the following embodiments are described by taking an execution subject as an electronic device as an example, where the terminal device in the embodiments of the present application may include, but is not limited to, a mobile terminal device or a fixed terminal device. The mobile terminal devices include, but are not limited to, a mobile phone, a Personal Digital Assistant (PDA), a tablet computer, a portable device (e.g., a portable computer, a pocket computer, or a handheld computer), and the like. Fixed terminals include, but are not limited to, desktop computers and the like.
The following describes a form processing method provided in the embodiments of the present application with reference to specific embodiments. The following several embodiments may be combined with each other and may not be described in detail in some embodiments for the same or similar concepts or processes. Fig. 1 is a flowchart illustrating a form processing method according to an embodiment of the present application. As shown in fig. 1, a form processing method provided in an embodiment of the present application may include:
s101, receiving information from a user, wherein the information is used for triggering a processing formula for generating a target form, and the information is corresponding to voice or images.
And S102, generating a processing formula according to the information.
And S103, processing the target form by adopting a processing formula.
And S104, outputting the processing result of the target form.
In S101, when the user needs to process the form, for example, when the form is verified or filtered, information may be input to the electronic device. The information may be voice or information corresponding to images. The information corresponding to the voice or the image can be understood as: voice or image, or information included in voice or image. It is to be understood that when the information is an image, the image may be a local image, or an image imported by the user through a third party device, or an image taken by the user through an electronic device. Similar to the image, the voice may be a local voice, or a voice spoken by the user, or a voice from a third party device, etc. The embodiment of the present application does not limit the types and input modes of the image and the voice. It should be understood that the third party device may be a terminal device, such as a mobile phone, a tablet computer, etc.
The information is used to trigger a processing formula for generating the target form, that is, after the user inputs the information, the electronic device may generate the processing formula according to the information. It should be understood that the target form may be a form selected by the user in advance or a form uploaded by the user, and the processing formula is a formula for processing the target form. For example, the processing formula may be a verification formula to verify whether the form is real and valid, or the processing formula may be a filtering formula to filter out the data required by the user from the target form.
The form processing method is described below with reference to possible application scenarios of the embodiment of the present application, and it should be understood that the following two examples take a scenario in which a user selects a form and verifies the form as an example.
The first example: the information is speech. Fig. 2 is a schematic view of an interface change provided in an embodiment of the present application, and it should be understood that fig. 2 illustrates an electronic device as an example. As shown in the interface 201 in fig. 2, a form stored in the electronic device is displayed, and a user may click on the form to be processed, which is the target form. Illustratively, form 1, form 2, and form 3 may be displayed in the interface 201, and the user may select form 1 as the target form. In this embodiment of the application, after the user selects the target form, the interface 201 may jump to the interface 202, and the information in the target form, and the recording control and/or the image control (for the purpose of uploading an image or shooting an image) may be displayed on the interface 202, where the recording control and the image control are displayed on the interface 202 as an example. For example, the target form may be an enterprise directory form, which may include information such as an enterprise name, a registry, and an address. After the user clicks the recording control, the user can start speaking, and the electronic equipment can collect the voice of the user.
The second example is: the information is an image. Fig. 3 is a schematic view of another interface change provided in the embodiment of the present application. As shown in fig. 3, interfaces 301 and 302 in fig. 3 are both shown as interfaces 201 and 202 described above. After the user clicks the image control, the image can be uploaded, and correspondingly, the electronic equipment can receive the image input by the user. It should be understood that the interface diagram for uploading images by the user is omitted in fig. 3, and reference may be made to the interface for uploading images in the current technical solution.
In S102, after receiving the image or voice input by the user, the electronic device may parse the image or voice to generate the processing formula. In order to improve the generation efficiency of the processing formula, in a possible implementation manner, the image may include the processing formula, or the voice may include the processing formula, and the electronic device may analyze the image or the voice to obtain the processing formula. For example, the user may capture an image containing a process formula, which may be written by the user or carried on another object (e.g., a book). Exemplarily, fig. 4 is a schematic image diagram provided in an embodiment of the present application. As shown in fig. 4, the image input by the user includes a processing formula, and the processing formula represents whether the parameter a in the verification form is greater than a preset value a.
In a possible implementation manner, after the electronic device generates the processing formula, the processing formula may be displayed on an interface, such as the interface 202 (interface 302) described above may jump to the interface 203 (interface 303), the interface 203 (interface 303) may display the processing formula, such as formula 1, and a confirmation control is also displayed, and the user clicks the confirmation control to trigger the electronic device to execute the following step in S103. It should be understood that the interface 203 (interface 303) may not be displayed, and the electronic device may execute the following step in S103 after generating the processing formula.
In the above S103, in this embodiment of the application, the electronic device may process the target form by using a processing formula. Optionally, in this embodiment of the application, the electronic device may analyze the processing formula to obtain four operations represented by the processing formula, or a processing condition (e.g., a screening condition) represented by the processing formula. And then the electronic equipment can calculate the target form according to the four arithmetic operations represented by the processing formula, or the electronic equipment can screen out the data in the target form according to the processing conditions represented by the processing formula.
In S104, after the electronic device processes the target form by using the processing formula, a processing result of the target form may be obtained. Illustratively, formula 1 shown on the above-mentioned interface 203 (interface 303) is to verify whether the parameter a in the target form is greater than the preset value a. If the parameter A is smaller than or equal to the preset value a, the target form is determined to be a real form, and the verification is passed. If the target form passes the verification, the interface 203 (interface 303) may jump to the interface 204 (interface 304), and the interface 204 (interface 304) may display the processing result of "pass the verification". It should be understood that a real form means that the data in the form is real, and for example, if there is a data item in the form that is higher than a reasonable range, the form is determined to be a false form.
For example, while equation 1 shown above in interface 203 (interface 303) is a table of the filter table for which the "last week parameter a is greater than the preset value a," it should be understood that the target table may be a table of "last week. The electronic equipment screens out enterprises with the parameter A being larger than the preset value a from the form of the last week through the formula 1, and the screened enterprises are processing results. Correspondingly, the interface 203 (interface 303) can jump to the interface shown in fig. 5. Fig. 5 is a schematic interface diagram provided in an embodiment of the present application. As shown in FIG. 5, the interface may display the identities of the screened businesses, which may be the names of businesses, such as business 1, business 2, and business 3. It should be understood that the user's verification requirement or screening requirement is different, the processing formula is different, and the corresponding processing result may also be different.
The form processing method provided by the embodiment of the application comprises the following steps: receiving information from a user, wherein the information is used for triggering a processing formula for generating a target form, and the information is corresponding to voice or images; generating a processing formula according to the information, and processing the target form by adopting the processing formula; and outputting the processing result of the target form. The method in the embodiment of the application solves the technical problem that in the prior art, a worker needs to write the logic in advance, and improves the efficiency of generating the processing formula and further improves the processing efficiency of the form. In addition, the method does not limit the formula editing capability of the electronic equipment, is also suitable for users who cannot write the formula, and has high applicability.
On the basis of the above embodiment, in order to improve the accuracy of the generated processing formula, a fault tolerance mechanism is further provided in the embodiment of the present application, and the form processing method in the embodiment of the present application is described below with reference to fig. 6. Fig. 6 is a flowchart illustrating a form processing method according to another embodiment of the present application. As shown in fig. 6, the form processing method provided in the embodiment of the present application may include:
s601, obtaining a target form.
S602, receiving information from a user, wherein the information is used for triggering a processing formula for generating a target form.
And S603, generating a processing formula according to the information.
S604, preprocessing the processing formula to obtain a preprocessed processing formula.
And S605, outputting a preprocessing formula.
S606, if the modification instruction of the pre-processing formula by the user is received, modifying the pre-processing formula according to the modification instruction.
And S607, processing the target form by adopting the modified processing formula.
S608, outputting the processing result of the target form.
The implementation in S602, S603, and S608 in the embodiment of the present application may refer to the description related to S101, S102, and S104 in the above embodiments.
In S601, before generating the processing formula of the target form, the electronic device needs to determine the target form, that is, which form is processed by using the processing formula.
In one possible implementation, a form to be processed, such as a stored form in the electronic device, may be displayed on the interface of the electronic device, as shown in fig. 2. The user can select the target form on the interface, and then the electronic equipment can receive a second selection instruction of the user on the stored form, so that the target form can be obtained according to the second selection instruction. The second selection instruction in fig. 2 is used to indicate the form 1.
In one possible implementation, if the information input by the user is speech, the speech may be used to indicate the target form. For example, if the voice is "perform verification processing on form 1", the target form indicated by the voice may be form 1.
In the above S604, after the processing formula is generated in the embodiment of the present application, in order to ensure the accuracy of the generated processing formula, the processing formula may be preprocessed to obtain a preprocessed processing formula. Optionally, if the processing formula is incorrect, the electronic device may perform error correction processing on the processing formula to obtain an error-corrected processing formula, where the error-corrected processing formula is a pre-processed processing formula. It should be understood that the electronic device may determine whether the processing formula is incorrect according to the usage rule of the operation symbol, and then modify the operation symbol in the processing formula. For example, the processing formula is a + B) × C, the processing formula may be modified to (a + B) × C according to the usage rules of the parenthesis.
Optionally, if the processing formula is incorrect, the electronic device may obtain a historical processing formula with a use frequency greater than a preset frequency according to a historical processing formula of a form with the same type as the target form. For example, for the processing formula A/0, since 0 cannot be used as the dividend, it can be judged that the processing formula is erroneous. However, the electronic device cannot obtain the dividend number, so in the embodiment of the present application, the historical processing formula of the form having the same type as the target form may be referred to, and the historical processing formula with the use frequency greater than the preset frequency may be used as the pre-processed processing formula. Illustratively, the target form is a statistical form of annual profits for a business, and the historical processing formulas for the annual profit type statistical form include: a/1000, A/3500 and A/2000, wherein the frequency of using A/1000 is more than the preset frequency, the A/1000 can be used as the processing formula after the pretreatment of 'A/0'.
Optionally, in this embodiment of the application, if the processing formula is a processing formula to be simplified, the electronic device performs simplification processing on the processing formula. For example, the processing formula is (a + B) × C/AC, where both the denominator and the numerator of the processing formula include C, then C may be reduced to obtain a simplified formula (a + B)/a, which is the pre-processed processing formula.
In S605, the electronic device obtains the preprocessed processing formula after preprocessing the processing formula, and may process the target form by using the preprocessed formula. In order to avoid errors in the pre-processing formula, the embodiment of the present application may be further checked and modified by a user. The electronic equipment can output the pre-processed processing formula, and if a modification instruction of the user on the pre-processed processing formula is received, the pre-processed processing formula is modified according to the modification instruction to obtain the modified processing formula.
Illustratively, as formula 1 shown in the above-mentioned interface 203 is a pre-processed processing formula, formula 1 can be edited. The user may modify formula 1 on the interface 203, for example, modify formula 1 into formula 1' to obtain a modified processing formula, and then click the confirmation control to trigger the electronic device to execute the step in S103.
The difference between the above S607 and S103 in the above embodiment is that the electronic device in the embodiment of the present application may process the target form by using the modified processing formula. In the embodiment of the application, when the electronic device is a front-end terminal device, the terminal device can perform verification processing on the target form. When the electronic device is a server at the back end, the server can perform processing such as verification, auditing, screening and the like on the target form. It is conceivable that the terminal device in the embodiment of the present application may also perform processing such as auditing and screening in the server. In a possible implementation manner, a scene selection control may also be displayed on the interface shown in the interface 201, where the scene selection control is used to trigger a front-end terminal device and/or a back-end server to process a target form. Illustratively, fig. 7 is another schematic view of the interface 201. As shown in fig. 7, a "form verification" control and a "form batch audit" control may be displayed on the interface 201, and when the user clicks the "form verification" control, the terminal device may be triggered to verify the target form; or, when the user clicks the form batch auditing control, the server can be triggered to audit the target form; or when the user clicks the form verification control and the form batch auditing control at the same time, the terminal equipment can be triggered to verify the target form, and the server can audit the target form. It will be appreciated that the target form may be referred to in relation to the above description.
The following description is first made of a process in which the terminal device can perform verification processing on a target form: the terminal equipment can extract the keywords in the processing formula, and then the target form is processed according to the keywords. The keywords may be keywords in the operation parameters. For example, the target form is the sales volume of each brand of object a, and the keywords may be the identification of the object a, and if the operation parameters are "M brand of object a" and "N brand of object a", the keywords in the operation parameters may be "M" and "N".
A plurality of scripts and the corresponding relation between each script and the keyword can be preset in the terminal equipment, and the running script can trigger the verification of the target form. In the embodiment of the application, the target script corresponding to the keyword in the processing formula can be obtained according to the keyword in the processing formula and the corresponding relationship between the keyword and the script, and the target script is further embedded into the target form to trigger the verification of the target form.
The following describes a process in which the server can perform processing such as auditing and screening on the target form: in the embodiment of the application, the server can also extract the keywords in the processing formula, and then process the target form according to the keywords. The manner of extracting the keywords in the processing formula by the server may refer to the above-mentioned terminal device to extract the relevant description of the keywords in the processing formula.
In the embodiment of the application, after the server extracts the keywords in the processing formula, the operation symbols in the processing formula can be extracted, and then the operation symbols and the keywords are stored in the stack. When the server processes the target form, the server can read the operation symbols and the keywords in the stack, and process the target form according to four operations of the operation symbols and the keywords in the stack.
It is to be noted that, in this embodiment of the present application, a terminal device at a front end and a server at a back end may jointly process a target form, but in the current technical solution, only the front end or the back end can process the form, and in this embodiment, the front end and the back end may jointly process the target form, and one possible implementation manner is: after the user selects the target form, the terminal device may process the target form by using a processing formula, and an obtained processing result is used as a first processing result, where the processing of the target form by the terminal device may be verification processing, that is, the first processing result is a verification result of the target form.
After the terminal device obtains the first processing result, the processing formula may be sent to the server, so as to further enable the server to perform verification processing on the target form stored in the server (or the form stored in the server). The server may perform verification processing on the form stored in the server according to the received processing formula to obtain a second processing result, where the second processing result is a verification result of the stored form. The server may feed back the second processing result to the terminal device, so that the terminal device outputs the first processing result and the second processing result.
In this implementation manner, the terminal device and the server may process different target forms by using the same processing formula, so as to obtain final processing results (the first processing result and the second processing result). In another implementation manner described below, the terminal device and the server may process the same target form by using different processing formulas to obtain final processing results (a third processing result and a fourth processing result).
Another possible implementation is: the processing formulas input by the user include a first processing formula and a second processing formula. The first processing formula is a formula suitable for verification processing of the terminal equipment, and the second processing formula is a processing formula suitable for auditing and screening of the server. In this embodiment, the terminal device may process the target form by using the first processing formula to obtain a third processing result, where the third processing result is a verification result of the target form. The terminal device may send the target form and the second processing formula to the server, so as to further enable the server to process the target form by using the second processing formula, and obtain a fourth processing result, where the fourth processing result is a screening result of the target form. The server may send the fourth processing result to the terminal device, so that the terminal device outputs the third processing result and the fourth processing result.
In the above S608, the electronic device may output the processing result of the target form. Referring to the description related to S607 above, the terminal device or the server may display the processing result of the target form, or the server may transmit the processing result to the terminal device, so that the terminal device displays the processing result of the target form (e.g., the first processing result and the second processing result, or the third processing result and the fourth processing result).
In the embodiment of the application, a fault-tolerant mechanism is set for the processing formula so as to improve the accuracy of the processing formula, and the processing formula generated by the electronic equipment can be further edited and modified by a user so as to further improve the accuracy of the processing formula; in addition, the technical scheme that the front-end terminal device and the rear-end server can jointly process the target form is further achieved in the embodiment of the application.
On the basis of the above embodiments, the following describes a specific process of generating a processing formula according to information by an electronic device in conjunction with several specific embodiments. The following describes a form processing method provided in the embodiment of the present application from possible implementation manners shown in fig. 8, fig. 9, and fig. 11, with information input by a user as a voice. Fig. 8 is a flowchart illustrating a form processing method according to another embodiment of the present application. As shown in fig. 8, the form processing method provided in the embodiment of the present application may include:
s801, receiving voice input by a user, wherein the voice comprises information of a processing formula, and the information of the processing formula comprises operation parameters and operation symbols of the processing formula.
S802, analyzing the voice to obtain operation parameters and operation symbols.
And S803, generating a processing formula according to the operation parameters and the operation signs.
And S804, processing the target form by adopting a processing formula.
S805, the processing result of the target form is output.
It should be understood that S804-S805 in the embodiment of the present application may refer to the relevant description in S607-S608 in the above embodiment, and S604-S606 in the above embodiment may be included before S804.
In the above S801, the voice input by the user may include information of the processing formula. The information of the processing formula comprises operation parameters and operation symbols of the processing formula. The operation parameter may be a parameter to be processed in the target form, such as parameter a in the above example. The operand may be a symbol used for calculation, such as a mathematical operand like "add", "subtract", "multiply", "divide", "bracket", and the like.
For example, the voice input by the user may be "verification parameter a is greater than a", and the operation parameter is parameter a, and the operation sign is "greater than". In the embodiment of the application, under the condition that a user is inconvenient to input the processing formula, or under the condition that the electronic equipment does not support editing the processing formula, and the like, the user can input the processing formula by voice, so that the generation efficiency of the processing formula is improved.
In the above S802, in this embodiment of the application, the electronic device may analyze the voice to obtain the operation parameter and the operation symbol. It should be understood that the way the electronic device parses the speech may refer to the current technical solution of speech recognition. That is, the electronic device may recognize the operation parameters and the operation symbols in the obtained speech.
In S803, after recognizing the operation parameter and the operation sign in the speech, the electronic device may generate a processing formula according to the operation parameter and the operation sign.
In a possible implementation manner, the user outputs the speech according to the front-back order of the operation parameters and the operation symbols in the processing formula, and in this embodiment, the processing formula may be generated according to the order of the operation parameters and the operation symbols in the speech. For example, when the user says "operation parameter a", operation symbol "add", and operation parameter "B" in sequence, the electronic device may generate the processing formula "operation parameter a + operation parameter B" according to the sequence of the operation parameter and the operation symbol in the user.
In a possible implementation manner, in some scenarios, there are many operation symbols and operation parameters, such as operation parameters and operation symbols in parentheses (e.g., small parentheses, middle parentheses, large parentheses, etc.), when a user speaks the parentheses, the user may speak the operation parameters and operator numbers in the parentheses first and then speak the parentheses, and in such a scenario, an error may be generated in the processing formula generated according to the front-back order of the operation parameters and the operation symbols. Therefore, in this implementation, the electronic device may assemble the operation parameters and the operation symbols to obtain at least one formula to be selected, that is, the electronic device may obtain possible combinations of the operation parameters and the operation symbols.
The electronic device may output at least one formula to be selected, and the electronic device may display the at least one formula to be selected on the interface, for example. Or, when the electronic device is a server, the server may send the at least one formula to be selected to the terminal device, so that the terminal device displays the at least one formula to be selected. After the electronic device displays the at least one formula to be selected, the user can select the formula to be selected on the interface to determine a processing formula. That is, the electronic device may obtain the processing formula according to a first selection instruction of the user on at least one formula to be selected. Wherein the first selection instruction is used for indicating a processing formula. For example, as described above, interface 202 may jump to interface 205 and then to interface 203 or interface 204. At least one formula to be selected, such as formula 1, formula 2, and formula 3, may be displayed on the interface 205. If the user selects formula 1, interface 205 may jump to interface 203 or interface 204 as described above. An interface similar to interface 205 may also be implemented in FIG. 3, as shown by interface 305 in FIG. 3.
It should be understood that, when the electronic device displays at least one formula to be selected, the electronic device may output the at least one formula to be selected according to the priority of the at least one formula to be selected. For example, at least one formula to be selected may be output in order of priority from high to low, such as the priority of formula 1 is higher than the priority of formula 2, and the priority of formula 2 is higher than the priority of formula 3 in the interface 205. After the electronic device obtains the at least one formula to be selected, the priority of the at least one formula to be selected can be obtained, and then the at least one formula to be selected is output according to the priority.
In the embodiment of the present application, one way to obtain the priority of at least one formula to be selected may be: the electronic device can obtain the priority of at least one formula to be selected according to the type of the operation parameter and the use information of the operation symbol of the operation parameter of the type in the history processing process. The type of the operation parameter may be a type of an operation parameter included in the target form. The type of operation parameter refers to an operation parameter having the same type as an operation parameter in speech, and the history processing refers to processing previously performed on the type of operation parameter. The usage information of the operation symbol means: in the processing previously performed on the type of operation parameter, the processing formula used includes usage information of an operation symbol in speech. The usage information may include how the operator is used, such as between which operation parameters the operator is located, or several times the operation parameters occur, etc.
In the embodiment of the application, the use times of the operation parameter of the type in each use mode of the operation symbol in the history processing process can be obtained according to the use information of the operation symbol in the history processing process of the operation parameter of the type, and the priority of at least one formula to be selected can be obtained according to the use times. The more the number of times of use, the higher the priority of the formula to be selected, and conversely, the lower the priority.
For example, the target form is the annual profit of the enterprise in 2018 and 2020, wherein the target form further includes information of the name, registration time, number of employees, and the like of each enterprise. If the user needs to acquire the annual profit growth rate of the enterprise, namely (annual profit of the next year-annual profit of the previous year)/annual profit of the previous year. In the embodiment of the application, the priority of at least one formula to be selected can be obtained according to the use information of the operation sign (subtraction and division) of the operation parameter of the profit type in the history processing process. If formula 1 is (annual profit of next year-annual profit of previous year)/annual profit of previous year, formula 2 is (annual profit of previous year-annual profit of next year)/annual profit of previous year, and formula 3 is (annual profit of next year-annual profit of previous year)/annual profit of next year, the number of usage times corresponding to formula 1-formula 3 can be obtained according to the usage information of "subtraction and division" in the history processing process of operation parameters of profit types in the embodiment of the present application, and then the most used number is taken as the formula with the highest priority. The number of uses of the profit (profit of previous (year, month, week) -profit of next (year, month, week)) corresponding to equation 1/previous (year, month, week) as in the history process is the largest, and thus the priority of equation 1 is the highest.
To give another simple example, if the operation parameter is A, B, C, the operation symbols are "add" and "multiply", if a belongs to type 1, B belongs to type 2, and C belongs to type 3, and the number of times of using the parameter (parameter of type 1 + parameter of type 2) × type 3 in the history processing is the largest, then (a + B) × C is the formula to be selected with the highest priority.
In the embodiment of the present application, another way to obtain the priority of at least one formula to be selected may be: at least one formula to be selected may be input into the priority model, resulting in a priority of the at least one formula to be selected. It should be understood that the priority model is used to characterize the historical frequency of use of the formula to be selected assembled with the operational parameters and operator numbers. The priority model can be obtained by continuous machine learning through a training set, and the training set comprises various types of operation parameters and operator numbers to assemble a formula to be selected. That is to say, in the embodiment of the present application, at least one formula to be selected may be input into the priority model, so as to obtain the historical usage frequency of the at least one formula to be selected, and the higher the historical usage frequency is, the higher the representation priority is. The priority of the at least one formula to be selected is in the order from high to low, that is, the order of the historical usage frequency of the at least one formula to be selected is from many to few.
It should be understood that if a plurality of processing formulas are included in the user's speech, the processing formulas may be generated with reference to the above description. It should be noted that if the user's voice includes a plurality of processing formulas, the electronic device needs to determine the interval between two adjacent processing formulas, for example, after the user speaks one processing formula, the user may pause for a few seconds, and then speak another processing formula, and the electronic device determines the plurality of processing formulas according to the time interval. Or, when the user speaks the processing formula, the user can speak the first formula and the second formula, and the electronic device can recognize the voice and further distinguish different formulas.
In the embodiment of the application, the voice may include information of a processing formula, and the electronic device may further generate the processing formula according to the information of the processing formula. In addition, the technical scheme that the target form is processed by combining the front-end terminal device and the rear-end server can be realized, and the form processing efficiency is further improved.
Fig. 9 is a flowchart illustrating a form processing method according to another embodiment of the present application. As shown in fig. 9, S601 may be replaced with S901, and S602 to S603 may be replaced with S902.
S901, receiving the voice input by the user, wherein the voice comprises the processing condition of the target form, and the processing condition is related to the processing formula.
And S902, generating a processing formula according to the processing conditions of the target form, the corresponding relation between the processing conditions and the processing formula.
Unlike the embodiment shown in fig. 8, in the embodiment of the present application, the voice input by the user to the electronic device may include a processing condition of the target form, where the processing condition is related to a processing formula. The processing conditions of the target form may characterize the processing of the target form, such as, for example, a voice of "enterprise with a profit of 1000 ten thousand for the screened form", the voice including the screening of the data in the target form, and the screening of the enterprise with a profit of 1000 ten thousand for the screened form.
In the embodiment of the present application, a plurality of processing formulas that do not include an operation parameter and a corresponding relationship between each processing formula and a processing condition may be stored in advance in the electronic device. After the electronic device analyzes the voice to obtain the processing condition of the target form, the processing formula can be generated according to the corresponding relationship between the processing condition and the processing formula. The electronic device may obtain the processing formula to be filled from the processing formulas which do not include the operation parameter and are stored in the electronic device according to the processing condition of the target form, the corresponding relationship between the processing condition and the processing formula. It can also be said that the processing formula to be filled is a formula framework that includes operation symbols and does not include operation parameters.
Because the obtained processing formula to be filled does not include the operation parameter, in the embodiment of the present application, in order to obtain the processing formula, the processing condition input by the user may include the operation parameter, for example, "annual profit" in speech may be the operation parameter. The electronic device may fill the operation parameters in the processing conditions into the processing formula to be filled, to obtain the processing formula. For example, fig. 10 is a schematic diagram of a change from a processing formula to be filled according to an embodiment of the present application. The left-hand box 1001 in fig. 10 shows the processing equation to be filled, which does not yet include the operation parameters. After the electronic device analyzes the voice, the operation parameters in the processing conditions can be obtained, and then the operation parameters can be filled into the corresponding position of the processing formula to be filled. If the operation parameters are A, B, C, the processing formula shown in the right block 1002 in fig. 10 can be obtained by filling the operation parameters in the block 1001 in fig. 10.
In the embodiment of the application, the user inputs the processing conditions of the target form through voice and then generates the processing formula, the user does not need to speak out the operation parameters and the operation symbols in the processing formula one by one, and when the user needs to adopt a large number of processing formulas to process the target form, the time for generating the processing formula can be further shortened, and the efficiency for generating the processing formula is improved.
Referring to the embodiment shown in fig. 9, in a possible manner of the embodiment of the present application, a user may input a processing condition of a target form in an electronic device without using a voice, for example, the processing condition of the target form may be displayed on an interface of the electronic device, and the user may select the processing condition of the target form on the interface, and further trigger the electronic device to generate a processing formula according to the processing condition of the target form in a voice manner. Fig. 11 is a flowchart illustrating a form processing method according to another embodiment of the present application. As shown in fig. 11, before S901 above, the following steps may be included:
s1101, receiving a processing condition of the target form input by a user, wherein the processing condition is related to a processing formula.
Correspondingly, S901 above may be replaced by S1102: and receiving voice input by a user, wherein the voice is used for triggering the processing formula for generating the target form. The electronic device may perform S604-S608 in the above embodiment after performing S1102.
In S1101 in this embodiment, before inputting the voice triggering the processing formula for generating the target form, the user may input the processing condition of the target form to the electronic device. It should be understood that the speech in S1102 in the embodiment of the present application is different from the speech in fig. 8 and 9 described above, and the speech in fig. 8 and 9 described above includes information related to the processing formula, because in S1101 in the embodiment of the present application, the user may input the processing condition of the target form, and thus the speech in S1102 may be only the speech triggering the processing formula of the target form, such as "start generating the processing formula".
As for the processing conditions of the user input target form in S1101, fig. 12 is another interface schematic diagram provided in the embodiment of the present application. As shown in fig. 12, a plurality of processing conditions to be selected, such as "annual profit in verification form", "enterprise information in verification form", etc., may be displayed on the interface of the electronic device in the embodiment of the present application, where the processing condition "annual profit in verification form" corresponds to the above-mentioned "enterprise with annual profit in screening form greater than 1000 ten thousand". Correspondingly, if the user selects the processing condition "verify annual profit in form", the user may "start generating the processing formula" in a voice manner to trigger the electronic device to generate the processing formula in the manner described in S902 above.
In the embodiment of the application, a user can input the processing conditions of the target form on the interface of the electronic equipment, and then the electronic equipment is triggered to generate the processing formula. Technical effects of the embodiments of the present application can refer to the technical effects of the embodiment of fig. 9 described above.
In the embodiments shown in fig. 8, 9 and 11, the electronic device generation processing formula triggered by the user in a voice manner is described, and in the embodiment of the present application, the electronic device generation processing formula triggered by the user in an uploaded image manner is described below with reference to fig. 13. Fig. 13 is a flowchart illustrating a form processing method according to another embodiment of the present application. As shown in fig. 13, S801 may be replaced with S1301, and S802 to S803 may be replaced with S1302.
S1301, receiving an image input by a user, wherein the image comprises a processing formula.
S1302, identifying the image to obtain a processing formula.
In S1301, as shown in fig. 3, the user may capture an image including a processing formula in advance, and upload the image to trigger the electronic device to generate the processing formula.
In S1302, the electronic device may identify the image after receiving the image to obtain the processing formula. The electronic device may recognize characters in the image by using an Optical Character Recognition (OCR) method to obtain the processing formula.
Some users cannot write a formula, and in the embodiment of the application, the electronic device can generate the processing formula of the target form as long as the user uploads the image containing the processing formula. The embodiment of the application has the technical effects of the embodiment and is wider in application range.
All the description in the above embodiments is an example in which the terminal device (computer) alone executes the form processing method in the embodiments of the present application, and in a possible scenario, the terminal device (computer) itself does not have the capability of capturing the voice of the user, and the terminal device needs to complete the form processing method in the embodiments of the present application by means of a third-party device (e.g., a terminal device having the capability of capturing the voice of the user). In the embodiment of the present application, a scenario in which a terminal device and a third-party device interact is taken as an example, and a process of the form processing method in the present application is described. Fig. 14 is a schematic view of a scenario in which the form processing method in the embodiment of the present application is applied. The scene may include a terminal device and a third-party device. Fig. 14 illustrates an example in which the terminal device is a computer and the third-party device is a mobile phone.
Based on the scenario shown in fig. 14, fig. 15 is a flowchart illustrating another embodiment of the form processing method according to the embodiment of the present application, and it should be understood that fig. 15 is described by taking an example in which a user inputs speech in a third-party device. As shown in fig. 15, the form processing method in the embodiment of the present application may include:
s1501, the terminal device obtains the target form according to the second selection instruction of the stored form selected by the user.
S1502, the terminal device displays the two-dimensional code of the target form.
And S1503, scanning the two-dimensional code by the third-party equipment to obtain a target form.
S1504, the third-party equipment displays an interface containing the sound recording control.
S1505, the third party device receives the voice input by the user.
And S1506, the third-party equipment analyzes the voice to obtain the operation parameters and the operation symbols.
And S1507, the third-party equipment sends the operation parameters and the operator number to the terminal equipment.
And S1508, the terminal device generates a processing formula according to the operation parameters and the operation symbols.
S1509, the terminal equipment preprocesses the processing formula to obtain a preprocessed processing formula.
And S1510, the terminal equipment outputs a pre-processed processing formula.
S1511, if the terminal device receives the modification instruction of the pre-processed processing formula from the user, modifying the pre-processed processing formula according to the modification instruction.
And S1512, the terminal equipment processes the target form by adopting the modified processing formula to obtain a processing result.
And S1513, the terminal device displays the processing result.
It should be understood that, in the embodiments of the present application, the implementation manners in S1501 and S1504 to S1513 may refer to S601, S101, S902 to S903, and S604 to S608 in the above embodiments, which are not described herein again.
The difference between the above-mentioned S1502 and the interface 202 in the above-mentioned embodiment is that the terminal device can display a two-dimensional code of a target form, where the two-dimensional code is used for bearing form information (such as a form ID). It is conceivable that the terminal device may also display fields in the target form on the interface.
In S1503, the third-party device may scan the two-dimensional code to obtain the target form. For example, a user can scan a two-dimensional code displayed on the terminal device through a two-dimensional code scanning module in the mobile phone to obtain a target form.
Fig. 16 is a schematic view illustrating an interface change of a form processing method according to the form processing method provided in the embodiment of the present application. The interface 1601 in fig. 16 may be the same as the interface 201, and the interface 1602 may also display a two-dimensional code of a target form and not display a recording control and an image control, compared to the interface 202. After the user scans the two-dimensional code on the interface 1602 through the third-party device, the recording control on the interface 202 may be displayed on the interface 1601' of the third-party device, and the user may start speaking by clicking the recording control, so that the third-party device performs the steps in S1505-S1507.
After receiving the operation parameters and the operation symbols from the third-party device, the terminal device may display the interface 205, the interface 203, and the interface 204, which is not described herein again.
The form processing method in the embodiment of the application can solve the problem that the terminal equipment does not have the voice acquisition function, and acquires the voice of the user through the third-party equipment with the voice acquisition function, so that the terminal equipment completes the process of generating the processing formula and processing the target form.
In a possible implementation manner, fig. 17 is a flowchart illustrating another embodiment of a form processing method provided in an embodiment of the present application. As shown in fig. 17, after S1503 described above, the method may further include:
s1514, the third party device displays the fields in the target form.
S1515, the third party device receives a third selection instruction of the user to the field, and obtains the target field, where the third selection instruction is used to indicate the target field.
In the embodiment of the application, the third-party device displays the fields in the target form. As is exemplary. In fig. 16, a field in the target form may also be displayed on the interface 1601' and the user may select the target field on the interface. Because the user knows what the parameters in the target form that the user wants to process are, the user can select the target field, so that the third-party equipment can acquire the operation parameters (the parameters that the user wants to process) and the operation symbols according to the target field and the voice input by the user, and the accuracy of acquiring the operation parameters by the third-party equipment can be further improved.
Accordingly, S1606 above may be replaced with S1606': and the third-party equipment obtains the operation parameters and the operation symbols according to the voice and the target field.
For example, if the voice of the user is "screening an enterprise with annual profit greater than 1000 ten thousand", the problem of inaccurate recognition may occur only by using a voice parsing and recognition method, and if the user can select a field containing annual profit in the interface 1701', the third-party device may determine whether the parsed operating parameters are correct according to the target field after parsing the voice, so as to improve the accuracy of the obtained operating parameters.
In the embodiment of the application, the third-party equipment can display the fields in the target form on the interface, and the user can select the target fields, so that the third-party equipment can accurately acquire the operation parameters according to the voice and the target fields, and the accuracy of the processing formula generated by the terminal equipment is further improved.
Fig. 18 is a schematic structural diagram of a form processing apparatus according to the present application. As shown in fig. 18, the form processing apparatus 1800 includes: a transceiver module 1801, a processing module 1802, and an output module 1803.
A transceiving module 1801, configured to receive information from a user, where the information is used to trigger a processing formula for generating a target form, and the information is information corresponding to a voice or an image;
the processing module 1802 is used for generating a processing formula according to the information and processing the target form by adopting the processing formula;
an output module 1803, configured to output a processing result of the target form.
In one possible implementation, the information is speech, and the speech includes information of a processing formula, or the speech includes processing conditions of a target form, and the processing conditions are related to the processing formula; or, the transceiver module 1801 is further configured to receive a processing condition of the target form input by the user.
In one possible implementation, the speech includes information of a processing formula, and the information of the processing formula includes operation parameters and operation symbols of the processing formula. A processing module 1802, specifically configured to analyze a voice to obtain an operation parameter and an operation symbol; and generating a processing formula according to the operation parameters and the operation symbols.
In a possible implementation manner, the processing module 1802 is specifically configured to generate a processing formula according to an order of operation parameters and operation symbols in the speech.
In a possible implementation manner, the processing module 1802 is specifically configured to assemble the operation parameters and the operation symbols to obtain at least one formula to be selected. The output module 1803 is further configured to output at least one formula to be selected. The processing module 1802 is specifically configured to obtain a processing formula according to a first selection instruction of at least one formula to be selected by a user, where the first selection instruction is used to indicate the processing formula.
In a possible implementation, the processing module 1802 is specifically configured to obtain a priority of at least one formula to be selected. The output module 1803 is specifically configured to output at least one formula to be selected according to the priority.
In a possible implementation manner, the processing module 1802 is specifically configured to obtain the priority of at least one formula to be selected according to the type of the operation parameter and usage information of the operation symbol of the operation parameter of the type in the history processing process.
In a possible implementation manner, the processing module 1802 is specifically configured to input at least one formula to be selected into a priority model, so as to obtain a priority of the at least one formula to be selected, where the priority model is used to characterize historical usage frequency of the formula to be selected assembled by using the operation parameters and the operator numbers.
In one possible implementation, the speech includes the processing conditions of the target form, or the processing conditions for which user input has been received. The processing module 1802 is specifically configured to generate a processing formula according to the processing condition of the target form, the corresponding relationship between the processing condition and the processing formula.
In a possible implementation manner, the processing condition includes an operation parameter, and the processing module 1802 is specifically configured to obtain a processing formula to be filled according to a corresponding relationship between the processing condition, and the processing formula of the target form, where the processing formula to be filled is a formula frame that includes an operation symbol and does not include the operation parameter; and filling the operation parameters into a processing formula to be filled to obtain the processing formula.
In one possible implementation, the information is an image, and the processing module 1802 is specifically configured to identify the image to obtain a processing formula.
In a possible implementation manner, the processing module 1802 is further configured to perform preprocessing on the processing formula to obtain a preprocessed processing formula.
In a possible implementation manner, the processing module 1802 is specifically configured to, if the processing formula is incorrect, perform error correction processing on the processing formula to obtain an error-corrected processing formula; alternatively, the first and second electrodes may be,
obtaining a historical processing formula with the use frequency being greater than the preset frequency according to the historical processing formula of the form with the same type as the target form;
and if the processing formula is the processing formula to be simplified, simplifying the processing formula.
In one possible implementation, the processing module 1802 is specifically configured to modify the operation sign in the processing formula according to the usage rule of the operation sign.
In a possible implementation manner, the output module 1803 is further configured to output a pre-processing formula.
The processing module 1802 is further configured to modify the pre-processed processing formula according to the modification instruction if the modification instruction of the pre-processed processing formula by the user is received; and processing the target form by adopting the modified processing formula.
In one possible implementation, the processing module 1802 is further configured to obtain a target form.
In a possible implementation manner, the transceiving module 1801 is further configured to receive a second selection instruction of the stored form from the user. The processing module 1802 is specifically configured to obtain the target form according to a second selection instruction, where the second selection instruction is used to indicate the target form.
In one possible implementation, speech is used to indicate the target form.
In a possible implementation manner, the output module 1803 is further configured to display the two-dimensional code of the target form. The transceiving module 1801 is further configured to receive the information from the third-party device, where the information is generated by the third-party device based on the target form corresponding to the two-dimensional code and the voice or image input by the user to the third-party device.
In a possible implementation manner, the processing module 1802 is further configured to use a processing result obtained by processing the target form using the processing formula as a first processing result, where the first processing result is a verification result of the target form. The transceiving module 1801 is configured to send a processing formula to the server, and receive a second processing result of the form stored in the server from the server, where the second processing result is a verification result of the stored form. The output module 1803 is specifically configured to output the first processing result and the second processing result.
In one possible implementation, the process equations include a first process equation and a second process equation. The processing module 1802 is specifically configured to process the target form by using the first processing formula to obtain a third processing result, where the third processing result is a verification result of the target form. The transceiving module 1801 is configured to send the target form and the second processing formula to the server, and receive a fourth processing result of the target form from the server by using the second processing formula, where the fourth processing result is a screening result of the target form. The output module 1803 is specifically configured to output the third processing result and the fourth processing result.
In a possible implementation, the processing module 1802 is specifically configured to extract a keyword in a processing formula; and processing the target form according to the keywords.
In a possible implementation manner, the processing module 1802 is specifically configured to obtain a target script corresponding to a keyword in a processing formula according to the keyword in the processing formula and a corresponding relationship between the keyword and the script; the target script is embedded into the target form.
In a possible implementation, the processing module 1802 is specifically configured to extract an operation symbol in a processing formula; storing the operation symbols and the keywords into a stack; and reading the operation symbols and the keywords in the stack, and processing the target form according to four rules of operation.
The principle and technical effect of the form processing apparatus provided in this embodiment are similar to those of the form processing method, and are not described herein again.
Fig. 19 is a schematic structural diagram of an electronic device provided in the present application. The electronic device may be, for example, a terminal device or a server. As shown in fig. 19, the electronic device 1900 includes: a memory 1901, at least one processor 1902, and a display 1903.
A memory 1901 for storing program instructions.
The processor 1902 is configured to implement the form processing method in this embodiment when the program instructions are executed, and specific implementation principles can be referred to the foregoing embodiments, which are not described herein again.
A display 1903 for displaying an interface of the electronic device.
The electronic device 1900 may also include an input/output interface 1904.
The input/output interface 1904 may include a separate output interface and input interface, or may be an integrated interface that integrates input and output. The output interface is configured to output data, the input interface is configured to obtain input data, the output data is a generic term output in the foregoing method embodiment, the input data is a generic term input in the foregoing method embodiment, and the input/output interface 1704 in this embodiment may perform an action of the transceiver module in the foregoing embodiment.
The application also provides a readable storage medium, in which execution instructions are stored, and when at least one processor of the electronic device executes the execution instructions, the computer execution instructions, when executed by the processor, implement the form processing method in the above embodiments.
The present application also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the electronic device may read the execution instruction from the readable storage medium, and the execution of the execution instruction by the at least one processor causes the electronic device to implement the form processing method provided in the various embodiments described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the embodiment of the form Processing apparatus, it should be understood that the Processing module may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (26)

1. A form processing method, comprising:
receiving information from a user, wherein the information is used for triggering a processing formula for generating a target form, and the information is corresponding to voice or images;
generating the processing formula according to the information;
preprocessing the processing formula to obtain a preprocessed processing formula, and processing the target form by adopting the preprocessed processing formula;
and outputting the processing result of the target form.
2. The method of claim 1, wherein the information is speech, and the speech includes information of the processing formula, or the speech includes processing conditions of the target form, and the processing conditions are related to the processing formula; alternatively, the first and second electrodes may be,
before receiving the information from the user, the method further comprises:
and receiving the processing condition of the target form input by the user.
3. The method according to claim 2, wherein the speech includes information of the processing formula, the information of the processing formula including operation parameters and operation symbols of the processing formula; the generating the processing formula according to the information includes:
analyzing the voice to obtain the operation parameters and the operation symbols;
and generating the processing formula according to the operation parameters and the operation symbols.
4. The method of claim 3, wherein generating the processing formula according to the operation parameters and the operation signs comprises:
and generating the processing formula according to the operation parameters and the sequence of the operation symbols in the voice.
5. The method of claim 3, wherein generating the processing formula according to the operation parameters and the operation signs comprises:
assembling the operation parameters and the operation symbols to obtain at least one formula to be selected;
outputting the at least one formula to be selected;
and obtaining the processing formula according to a first selection instruction of the user on the at least one formula to be selected, wherein the first selection instruction is used for indicating the processing formula.
6. The method of claim 5, wherein outputting the at least one formula to be selected comprises:
acquiring the priority of the at least one formula to be selected;
and outputting the at least one formula to be selected according to the priority.
7. The method of claim 6, wherein obtaining the priority of the at least one formula to be selected comprises:
and acquiring the priority of the at least one formula to be selected according to the type of the operation parameters and the use information of the operation symbols of the operation parameters of the type in the history processing process.
8. The method of claim 6, wherein obtaining the priority of the at least one formula to be selected comprises:
and inputting the at least one formula to be selected into a priority model to obtain the priority of the at least one formula to be selected, wherein the priority model is used for representing the historical use frequency of the formula to be selected assembled by the operation parameters and the operation symbols, and the historical use frequency is related to the priority.
9. The method of claim 2, wherein the speech comprises a processing condition of the target form or the processing condition that the user input has been received; the generating the processing formula according to the information includes:
and generating the processing formula according to the processing conditions of the target form, the corresponding relation between the processing conditions and the processing formula.
10. The method of claim 9, wherein the processing conditions comprise operational parameters, and wherein generating the processing formula according to the processing conditions of the target form, the processing conditions, and the processing formula comprises:
obtaining a processing formula to be filled according to the corresponding relation among the processing conditions, the processing conditions and the processing formula of the target form, wherein the processing formula to be filled is a formula frame which contains operation symbols and does not contain operation parameters;
and filling the operation parameters into the processing formula to be filled to obtain the processing formula.
11. The method of claim 1, wherein the information is an image, the image includes the processing formula, and wherein generating the processing formula based on the information comprises:
and identifying the image to obtain the processing formula.
12. The method of claim 1, wherein preprocessing the processing formula comprises:
if the processing formula is wrong, carrying out error correction processing on the processing formula to obtain an error-corrected processing formula; alternatively, the first and second electrodes may be,
obtaining a historical processing formula with the use frequency being greater than the preset frequency according to a historical processing formula of a form with the same type as the target form;
and if the processing formula is the processing formula to be simplified, simplifying the processing formula.
13. The method of claim 12, wherein said applying error correction to said processing equation comprises:
and modifying the operation symbols in the processing formula according to the use rules of the operation symbols.
14. The method according to any one of claims 1-13, wherein after obtaining the pre-processed processing formula, further comprising:
outputting the pre-processed processing formula;
if receiving a modification instruction of the user to the preprocessed processing formula, modifying the preprocessed processing formula according to the modification instruction to obtain a modified processing formula;
the processing the target form by using the preprocessed processing formula includes:
and processing the target form by adopting the modified processing formula.
15. The method according to any one of claims 1-13, further comprising:
and acquiring the target form.
16. The method of claim 15, wherein prior to receiving the information from the user, further comprising:
receiving a second selection instruction of the user on the stored form, wherein the second selection instruction is used for indicating the target form;
the obtaining the target form includes:
and acquiring the target form according to the second selection instruction.
17. The method of claim 15, wherein the voice is used to indicate the target form.
18. The method of claim 16, wherein receiving information from a user comprises:
displaying the two-dimensional code of the target form;
and receiving the information from third-party equipment, wherein the information is generated by the third-party equipment based on the target form corresponding to the two-dimensional code and the voice or the image input to the third-party equipment by the user.
19. The method of any of claims 1-13, wherein after processing the target form using the processing formula, further comprising:
processing the target form by using the processing formula to obtain a processing result serving as a first processing result, wherein the first processing result is a verification result of the target form;
sending the processing formula to a server;
receiving a second processing result of the form stored in the server from the server, wherein the second processing result is a verification result of the stored form;
the outputting the processing result of the target form includes:
and outputting the first processing result and the second processing result.
20. The method of any of claims 1-13, wherein the process formula comprises a first process formula and a second process formula; the processing the target form by using the processing formula includes:
processing the target form by adopting the first processing formula to obtain a third processing result, wherein the third processing result is a verification result of the target form;
after the third processing result is obtained, the method further includes:
sending the target form and the second processing formula to a server;
receiving a fourth processing result of the target form by the server by adopting the second processing formula, wherein the fourth processing result is a screening result of the target form;
the outputting the processing result of the target form includes:
and outputting the third processing result and the fourth processing result.
21. The method according to any one of claims 1-13, wherein said processing the target form using the processing formula comprises:
extracting key words in the processing formula;
and processing the target form according to the keywords.
22. The method of claim 21, wherein the processing the target form according to the keyword comprises:
obtaining a target script corresponding to the keywords in the processing formula according to the keywords in the processing formula and the corresponding relation between the keywords and the script;
and embedding the target script into the target form.
23. The method of claim 21, wherein after extracting the keywords in the processing formula, further comprising:
extracting operation symbols in the processing formula;
storing the operation symbols and the keywords to a stack;
the processing the target form according to the keyword comprises:
and reading the operation symbols and the keywords in the stack, and processing the target form according to four arithmetic operations.
24. A form processing apparatus, comprising:
the receiving and sending module is used for receiving information from a user, the information is used for triggering a processing formula for generating a target form, and the information is corresponding to voice or images;
the processing module is used for generating the processing formula according to the information, preprocessing the processing formula to obtain a preprocessed processing formula, and processing the target form by adopting the preprocessed processing formula;
and the output module is used for outputting the processing result of the target form.
25. An electronic device, comprising: at least one processor, memory, transceiver, and display;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the electronic device to perform the method of any of claims 1-23, the transceiver for performing transceiving actions under control of the processor, the display for displaying an interface of the electronic device.
26. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-23.
CN202010944245.5A 2020-09-10 2020-09-10 Form processing method and device, electronic equipment and readable storage medium Active CN111930776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010944245.5A CN111930776B (en) 2020-09-10 2020-09-10 Form processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010944245.5A CN111930776B (en) 2020-09-10 2020-09-10 Form processing method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111930776A true CN111930776A (en) 2020-11-13
CN111930776B CN111930776B (en) 2021-01-05

Family

ID=73308770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010944245.5A Active CN111930776B (en) 2020-09-10 2020-09-10 Form processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111930776B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003091300A (en) * 2001-09-17 2003-03-28 Toshiba Lsi System Support Kk Voice compression method, voice expansion method and voice compression device
JP2003295883A (en) * 2002-03-29 2003-10-15 Alpha Giken:Kk Inspection information storage device and inspection table creating device
CN1752975A (en) * 2004-09-20 2006-03-29 国际商业机器公司 Method and system for voice-enabled autofill
CN101485188A (en) * 2006-07-06 2009-07-15 Ktf电信公司 Method and system for providing voice analysis service, and apparatus therefor
CN102637190A (en) * 2011-01-24 2012-08-15 微软公司 Associating captured image data with a spreadsheet
CN106060740A (en) * 2016-05-24 2016-10-26 腾讯科技(深圳)有限公司 Microphone data processing method and microphone data processing device
CN108255798A (en) * 2016-12-28 2018-07-06 北京新唐思创教育科技有限公司 A kind of input method and its device of La Taihe forms formula
CN109344374A (en) * 2018-08-22 2019-02-15 中国平安人寿保险股份有限公司 Report generation method and device, electronic equipment based on big data, storage medium
CN109471540A (en) * 2018-10-29 2019-03-15 北京轩宇信息技术有限公司 A kind of formula typing analysis method and device based on browser
CN110060674A (en) * 2019-03-15 2019-07-26 重庆小雨点小额贷款有限公司 Form management method, apparatus, terminal and storage medium
CN110263121A (en) * 2019-05-07 2019-09-20 平安科技(深圳)有限公司 Table data processing method, device, electronic device and computer readable storage medium
CN110738027A (en) * 2019-10-15 2020-01-31 深圳逻辑汇科技有限公司 Computer-implemented method, apparatus, and storage medium for generating spreadsheet formulas
CN111144256A (en) * 2019-12-18 2020-05-12 南京大学 Spreadsheet formula synthesis and error detection method based on video dynamic analysis

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003091300A (en) * 2001-09-17 2003-03-28 Toshiba Lsi System Support Kk Voice compression method, voice expansion method and voice compression device
JP2003295883A (en) * 2002-03-29 2003-10-15 Alpha Giken:Kk Inspection information storage device and inspection table creating device
CN1752975A (en) * 2004-09-20 2006-03-29 国际商业机器公司 Method and system for voice-enabled autofill
CN101485188A (en) * 2006-07-06 2009-07-15 Ktf电信公司 Method and system for providing voice analysis service, and apparatus therefor
CN102637190A (en) * 2011-01-24 2012-08-15 微软公司 Associating captured image data with a spreadsheet
CN106060740A (en) * 2016-05-24 2016-10-26 腾讯科技(深圳)有限公司 Microphone data processing method and microphone data processing device
CN108255798A (en) * 2016-12-28 2018-07-06 北京新唐思创教育科技有限公司 A kind of input method and its device of La Taihe forms formula
CN109344374A (en) * 2018-08-22 2019-02-15 中国平安人寿保险股份有限公司 Report generation method and device, electronic equipment based on big data, storage medium
CN109471540A (en) * 2018-10-29 2019-03-15 北京轩宇信息技术有限公司 A kind of formula typing analysis method and device based on browser
CN110060674A (en) * 2019-03-15 2019-07-26 重庆小雨点小额贷款有限公司 Form management method, apparatus, terminal and storage medium
CN110263121A (en) * 2019-05-07 2019-09-20 平安科技(深圳)有限公司 Table data processing method, device, electronic device and computer readable storage medium
CN110738027A (en) * 2019-10-15 2020-01-31 深圳逻辑汇科技有限公司 Computer-implemented method, apparatus, and storage medium for generating spreadsheet formulas
CN111144256A (en) * 2019-12-18 2020-05-12 南京大学 Spreadsheet formula synthesis and error detection method based on video dynamic analysis

Also Published As

Publication number Publication date
CN111930776B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US20120130801A1 (en) System and method for mobile advertising
CN107436844B (en) Method and device for generating interface use case aggregate
CN108269135B (en) Information transmission method and device and electronic equipment
CN111221739A (en) Service testing method, device and system
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
CN110825618A (en) Method and related device for generating test case
CN107295082A (en) Running software processing method, apparatus and system
CN110750433A (en) Interface test method and device
WO2023284505A1 (en) Method and apparatus for code-scanning payment
CN112395182A (en) Automatic testing method, device, equipment and computer readable storage medium
CN111930776B (en) Form processing method and device, electronic equipment and readable storage medium
CN111324582B (en) Visual backtracking processing method and device for business processing behaviors
WO2016053593A1 (en) Method and system for information recording
TW201913478A (en) Service feedback method and apparatus and fault feedback method for public transport two-dimensional code payment service
CN109120509B (en) Information collection method and device
CN115511592A (en) Tax value information calculation method, apparatus, device and storage medium
CN111931465B (en) Method and system for automatically generating user manual based on user operation
CN111783415B (en) Template configuration method and device
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN110443202B (en) System, method and storage medium for real-time analysis of paper font regularity
US10825254B1 (en) Augmented reality book selection-assist
Blokdijk ITIL IT Service Management-100 Most Asked Questions on IT Service Management and ITIL Foundation Certification, Training and Exams
CN110688602A (en) Method, device and system for testing webpage loading speed
CN108073638B (en) Data diagnosis method and device
CN114554297B (en) Page screenshot method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant