CN113268230B - Feedback information generation method and device, terminal and storage medium - Google Patents

Feedback information generation method and device, terminal and storage medium Download PDF

Info

Publication number
CN113268230B
CN113268230B CN202110540028.4A CN202110540028A CN113268230B CN 113268230 B CN113268230 B CN 113268230B CN 202110540028 A CN202110540028 A CN 202110540028A CN 113268230 B CN113268230 B CN 113268230B
Authority
CN
China
Prior art keywords
operation instruction
content
code
feedback information
execution result
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.)
Active
Application number
CN202110540028.4A
Other languages
Chinese (zh)
Other versions
CN113268230A (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.)
Shenzhen Xishima Data Technology Co ltd
Original Assignee
Shenzhen Xishima Data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xishima Data Technology Co ltd filed Critical Shenzhen Xishima Data Technology Co ltd
Priority to CN202110540028.4A priority Critical patent/CN113268230B/en
Publication of CN113268230A publication Critical patent/CN113268230A/en
Application granted granted Critical
Publication of CN113268230B publication Critical patent/CN113268230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application is suitable for the field of computers, and provides a feedback information generation method, a device, a terminal and a storage medium. The feedback information generation method comprises the following steps: acquiring reference codes corresponding to all functional interfaces; the reference code is used for identifying the functional interface; acquiring content codes corresponding to the content of each item; each item content corresponds to at least one of the functional interfaces; receiving a task operation instruction triggered by a user; executing the task operation instruction to obtain an execution result of executing the task operation instruction; and combining the reference code corresponding to the function interface associated with the execution result and the content code corresponding to the item content associated with the execution result to generate feedback information corresponding to the task operation instruction. The embodiment of the application can reduce the code quantity and improve the development efficiency.

Description

Feedback information generation method and device, terminal and storage medium
Technical Field
The present application belongs to the field of computers, and in particular, relates to a method, an apparatus, a terminal, and a storage medium for generating feedback information.
Background
In the software and hardware system, the execution result of the item content included in each functional interface is often defined in advance, and is stored in the memory in the form of feedback information. When the user actually operates, the terminal can feed back corresponding feedback information according to an execution result of the user actually operates so as to help development and maintenance of development and test personnel according to the feedback information or prompt the user to adjust task operation instructions according to the feedback information.
However, due to the increase of functions of the software and hardware systems, function interfaces called by the software and hardware systems are increased, so that a large amount of feedback information needs to be defined in the process of defining the feedback information, which results in increase of code quantity and reduction of development efficiency.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for generating feedback information, which can reduce the code quantity and improve the development efficiency.
An embodiment of the present application provides a method for generating feedback information, including:
acquiring reference codes corresponding to all functional interfaces; the reference code is used for identifying the functional interface;
acquiring content codes corresponding to the content of each item; each item content corresponds to at least one of the functional interfaces;
receiving a task operation instruction triggered by a user;
executing the task operation instruction to obtain an execution result of executing the task operation instruction;
and combining the reference code corresponding to the function interface associated with the execution result and the content code corresponding to the item content associated with the execution result to generate feedback information corresponding to the task operation instruction.
The device for generating feedback information provided in the second aspect of the embodiment of the present application includes:
the reference code acquisition unit is used for acquiring the reference codes corresponding to the functional interfaces; the reference code is used for identifying the functional interface;
a content code acquisition unit for acquiring content codes corresponding to the contents of the respective items; each item content corresponds to at least one of the functional interfaces;
the instruction receiving unit is used for receiving task operation instructions triggered by a user;
the instruction execution unit is used for executing the task operation instruction to obtain an execution result of executing the task operation instruction;
and the feedback information generating unit is used for combining the reference code corresponding to the function interface related to the execution result and the content code corresponding to the item content related to the execution result to generate the feedback information corresponding to the task operation instruction.
A third aspect of the embodiments of the present application provides a terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above method.
A fifth aspect of the embodiments of the present application provides a computer program product for enabling a terminal to carry out the steps of the method when the computer program product is run on the terminal.
In the embodiment of the application, the reference code corresponding to each functional interface and the content code corresponding to each item content are obtained by defining each functional interface and each item content respectively; and then, according to the execution result of the task operation instruction, combining the reference code corresponding to the function interface related to the execution result and the content code corresponding to the item content related to the execution result to generate the feedback information corresponding to the task operation instruction, so that the feedback information corresponding to each item content under each function interface is not required to be defined in sequence in the code definition process, the code quantity can be effectively reduced, and the development efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic implementation flow chart of a feedback information generation method according to an embodiment of the present application;
FIG. 2 is a flowchart of a specific implementation of responding to a user-triggered modification operation instruction according to an embodiment of the present application;
FIG. 3 is a flowchart of a specific implementation of determining a target modification item according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a feedback information generating device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be protected by the present application based on the embodiments of the present application.
In the software and hardware system, the execution result of the item content included in each functional interface is often defined in advance, and is stored in the memory in the form of feedback information. When the user actually operates, the terminal can feed back corresponding feedback information according to an execution result of the user actually operates so as to help development and maintenance of development and test personnel according to the feedback information or prompt the user to adjust task operation instructions according to the feedback information.
However, due to the increase of functions of the software and hardware systems, function interfaces called by the software and hardware systems are increased, so that a large amount of feedback information needs to be defined in the process of defining the feedback information, which results in increase of code quantity and reduction of development efficiency.
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Fig. 1 shows a schematic implementation flow chart of a feedback information generation method according to an embodiment of the present application, where the method may be applied to a terminal, and may be applicable to situations where code amount needs to be reduced and development efficiency is improved. The terminal can be a smart phone, a computer and other devices.
Specifically, the method for generating feedback information may include the following steps S101 to S105.
Step S101, obtaining reference codes corresponding to all functional interfaces.
The function interface is an interface for realizing a function corresponding to a task operation instruction by receiving a certain parameter in a software and hardware system.
In some embodiments of the present application, each functional interface included in the software and hardware system may be defined, and each functional interface is identified in the form of a reference code, so as to obtain a reference code corresponding to each functional interface.
In some embodiments of the present application, a developer may write a functional interface and generate a corresponding reference code according to product requirements.
In order to facilitate subsequent maintenance, in some embodiments of the present application, a reference code corresponding to each functional interface included in each system module may be obtained by acquiring a module code of each system module, and defining each functional interface included in each system module according to the module code of each system module; wherein each system module contains at least one functional interface.
Specifically, the system module is a functional module written by a developer according to product requirements, each functional module can correspond to a plurality of functions, each function corresponds to a functional interface, and the functional interfaces are used for realizing the corresponding functions in the corresponding functional module.
In the process of defining the reference code, each system module can be firstly encoded to obtain the module code of each system module, and then each functional interface contained in each system module is respectively defined according to the module code of each system module.
For example, the learning software system includes three system modules, namely, a personal home page module, a course list module and a management center module, and each system module may be encoded respectively, for example, 001 represents the personal home page module, 002 represents the course learning module, and 003 represents the management center module. Next, according to the module code of each system module, each functional interface included in each system module may be defined. For example, the reference code corresponding to the functional interface included in the course learning module is shown at the beginning of 002, and 0021 may be a reference code corresponding to the functional interface under the course list module for acquiring course information.
It should be noted that the specific form and the value of the reference code may be adjusted according to the actual situation, which is not limited in the present application.
Step S102, obtaining content codes corresponding to the content of each item.
The above item contents refer to various contents that need to be executed by the function interface in the process of calling the function interface to implement a certain function, and each item content corresponds to at least one function interface, that is, different function modules may have the same item content. The content code corresponds to the execution result of each item content.
In some embodiments of the present application, the developer may collect the project content contained in each functional interface during the development process, and define the project content different from the defined project content, so as to obtain the content code corresponding to each project content.
Taking feedback information as an error code for example to describe, a developer can collect possible problems of each functional module in the development process, for example, problems of the interface a include invalid user or password and failure in initializing the data API, and then the invalid user or password can be defined to obtain the content code F1, and the failure in initializing the data API can be defined to obtain the content code F2. If the problem occurs in the interface B, including the invalidation of the user or the password and the timeout, the invalidation of the user or the password is not required to be defined any more, and only the timeout can be defined to obtain the content code F3.
It should be noted that the above item contents and the corresponding content codes are only used for illustration, and the actually defined item contents can be adjusted according to the actual situation. Taking feedback information as an error code as an example, the item content can also comprise authority invalidation or no related authority, network error, appID invalidation, token invalidation, abnormal transmission, abnormal reception, system configuration or parameter setting error, quantity overrun, time format input error, transaction API initialization failure, transparent transmission interface last transaction day data of 0 and the like.
Correspondingly, the form and the value of the content code corresponding to each item content can be adjusted according to the actual situation.
Step S103, receiving a task operation instruction triggered by a user.
In an embodiment of the present application, after the definition of the functional interface and the project content is completed, a task operation instruction triggered by the user may be received. The task operation instruction is used for indicating the terminal to call the function interface to execute the corresponding function.
The manner in which the user triggers the task operation instruction may be adjusted according to the actual situation, for example, the user may execute the input operation of the input in the input box, or trigger the corresponding task operation instruction according to the click operation of the user on the specific control.
Step S104, executing the task operation instruction to obtain an execution result of the task operation instruction.
Specifically, in the embodiment of the present application, after receiving the task operation instruction, the terminal may execute the task operation instruction, and call the function interface related to the task operation instruction to execute the function corresponding to the function interface, so as to obtain the execution result of the task operation instruction.
Step S105, combining the reference code corresponding to the function interface associated with the execution result and the content code corresponding to the item content associated with the execution result, and generating feedback information corresponding to the task operation instruction.
In the embodiment of the application, according to the execution result of the task operation instruction, feedback information corresponding to the task operation instruction needs to be generated. For example, if the execution result of the task operation instruction is an execution failure, an error code corresponding to the task operation instruction may be generated according to the function interface and the item content that result in the execution failure.
Specifically, the reference code corresponding to the function interface associated with the execution result and the content code corresponding to the item content associated with the execution result may be combined to generate the feedback information corresponding to the task operation instruction.
In some embodiments of the present application, if the reference code is a character string whose end contains a preset number of preset characters; the content code is a character string containing a preset number of valid characters; combining the reference code corresponding to the function interface associated with the execution result and the content code corresponding to the item content associated with the execution result to generate feedback information corresponding to the task operation instruction may include: and replacing the preset number of preset characters contained at the tail of the reference code corresponding to the function interface associated with the execution result with the preset number of effective characters contained in the content code corresponding to the item content associated with the execution result, and obtaining the feedback information corresponding to the task operation instruction.
For example, in some embodiments of the present application, the reference code may be defined as a numeric string with the last N bits being 0; and defining the reference code as a digital character string with the last N bits as effective characters, wherein the terminal can obtain feedback information corresponding to the task operation instruction by superposing the reference code corresponding to the function interface associated with the execution result and the content code corresponding to the item content associated with the execution result. Wherein N is a positive integer greater than 0.
Taking feedback information as an error code as an example, if the reference code of the GetExchange interface is defined as 0x04010100, the content code of the configuration error is defined as 0x000000FD, and when the person operation instruction invokes the GetExchange interface and the item content of the configuration error occurs, the generated error code is 0x040101FD by overlapping the reference code corresponding to the function interface associated with the execution result and the content code corresponding to the item content associated with the execution result.
In other embodiments of the present application, the reference code corresponding to the functional interface associated with the execution result and the content code corresponding to the item content associated with the execution result may be spliced to obtain the feedback information corresponding to the task operation instruction.
Taking feedback information as an error code as an example, if the reference code of the GetExchange interface is defined as 0001, the content code of the configuration error is defined as F1, and when the task operation instruction invokes the GetExchange interface and the item content of the configuration error occurs, the generated error code is 0001F1.
In the embodiment of the application, the reference code corresponding to each functional interface and the content code corresponding to each item content are obtained by defining each functional interface and each item content respectively; and then, according to the execution result of the task operation instruction, combining the reference code corresponding to the function interface related to the execution result and the content code corresponding to the item content related to the execution result to generate the feedback information corresponding to the task operation instruction, so that the feedback information corresponding to each item content under each function interface is not required to be defined in sequence in the code definition process, the code quantity can be effectively reduced, and the development efficiency is improved.
Assuming that there are 10 functional interfaces and 4 items of item contents, the existing definition mode needs to define feedback information corresponding to each item of content under each functional interface, that is, feedback information needing to be defined is 10×4=40; by adopting the method provided by the application, only 10 reference codes and 4 content codes are required to be defined in the codes, so that redundant codes can be reduced, the coding time is shortened, the simplicity of the codes is kept, and the programming quality and speed are improved.
In some embodiments of the present application, when the execution result of the task operation instruction is an execution failure, the feedback information may be an error code. After the feedback information corresponding to the task operation instruction is generated, the error code can be displayed to prompt the user to carry out the modification operation and trigger the modification operation instruction.
At this time, the terminal may respond to the modification operation instruction triggered by the user, so that the execution result of the task operation instruction is that the execution is successful.
Specifically, as shown in fig. 2, the above-mentioned response to the modification operation instruction triggered by the user may include the following steps S201 to S202.
Step S201, receiving a modification operation instruction triggered by a user.
The modifying operation is used for indicating the terminal to modify the problem corresponding to the error code so that the task operation instruction can be successfully executed.
In some embodiments of the present application, when there is only one error code, the terminal may analyze the error code to obtain the target modification item corresponding to the error code. The modification operation instruction is used for modifying the target modification item so that the execution result of the task operation instruction is that the execution is successful.
In other embodiments of the present application, if the number of reference codes corresponding to the functional interface associated with the execution result is plural, or the number of content codes corresponding to the item content associated with the execution result is plural, the generated error code includes plural error codes; at this time, the terminal may analyze each of the plurality of error codes to determine a target modification item; and then, receiving a modification operation instruction triggered by a user, wherein the number of the target modification items is a plurality of, and the target modification items correspond to the error codes respectively.
Specifically, in the embodiment of the present application, as shown in fig. 3, the above-mentioned analysis of each of the plurality of error codes, respectively, to determine the target modification item may include the following steps S301 to S303.
In step S301, the plurality of error codes are split to obtain a content code corresponding to each of the plurality of error codes.
Specifically, in some embodiments of the present application, the manner in which the error codes are split corresponds to the manner in which the error codes are combined. For example, when the error code is obtained by the above-mentioned splicing method, the error code may be split according to the splicing position, so as to obtain the reference code included in the error code and the content code included in the error code.
It should be noted that, since the error codes may respectively correspond to different functional interfaces, and the different functional interfaces may have the same item content, duplicate content codes may exist in the content codes respectively corresponding to the plurality of error codes.
Step S302, according to the content code corresponding to each error code in the plurality of error codes, the plurality of error codes are grouped to obtain a plurality of error code groups.
Considering that the same content codes in the error codes are often caused by the same reasons, correspondingly, the problem corresponding to the error codes with the same content codes can be solved only by modifying the reasons. Therefore, in some embodiments of the present application, the plurality of error codes may be grouped according to the content codes corresponding to the plurality of error codes, to obtain a plurality of error code groups. Wherein the error codes in each error code group have the same content code.
Step S303, the modification item corresponding to each error code group is used as the target modification item.
In the embodiment of the application, the modification item corresponding to each error code group is used as the target modification item, and the user can make modification operation on each target modification item, so that the problem corresponding to each error code group is solved, and the execution result of the task operation instruction is that the execution is successful.
In the embodiment of the application, the content codes respectively corresponding to the error codes are grouped to obtain a plurality of error code groups, and the modification item respectively corresponding to each error code group is used as a target modification item, so that the terminal does not need to prompt each error code, and the user executes modification operation on each error code, and the user only needs to modify the target modification item corresponding to each error code group, so that the execution result of the task operation instruction is successful execution, the operation complexity of the user is reduced, the workload of the terminal is also reduced, and the working efficiency of the terminal is improved.
Step S202, a configuration file associated with the modification operation instruction is obtained, and the configuration file is modified according to the modification operation instruction, so that the execution result of the execution task operation instruction is that the execution is successful.
Specifically, in some embodiments of the present application, a configuration file corresponding to a content code associated with each item of content may be identified, and when a terminal receives a modification operation instruction, the corresponding configuration file may be obtained from a memory according to a content code associated with an error code corresponding to the modification operation instruction.
For example, when the content of the item associated with the error code is that the account number or the password is invalid, the terminal may obtain the configuration file corresponding to the content code with the invalid account number or password from the memory after obtaining the modification operation instruction of the user.
In response to the modification operation instruction of the user, the terminal can analyze the operation content of the modification operation instruction and modify the configuration file according to the operation content.
In some embodiments of the present application, if the number of error code groups is plural, the number of target modification items is plural, and accordingly, the modification operation instruction triggered by the user includes plural modification sub-operation instructions; at this time, the acquiring the configuration file associated with the modification operation instruction may include: in response to the plurality of modified sub-operation instructions, a configuration file associated with each of the plurality of modified sub-operation instructions is obtained. The terminal may obtain configuration files associated with the plurality of modification sub-operation instructions, and modify the corresponding configuration files according to the modification sub-operation instructions in sequence, so that the execution result of the task operation instruction is that the execution is successful.
In the embodiment of the application, the terminal can correct the problem corresponding to the error code according to the modification operation instruction by receiving the modification operation instruction triggered by the user and acquiring the configuration file associated with the modification operation instruction, and then modifying the configuration file according to the modification operation instruction, so that the execution result of the task operation instruction is successful in execution and the requirement of the user is met.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may occur in other orders in accordance with the application.
Fig. 4 is a schematic structural diagram of a feedback information generating apparatus 400 according to an embodiment of the present application, where the feedback information generating apparatus 400 is configured on a terminal.
Specifically, the feedback information generating apparatus 400 may include: a reference code acquisition unit 401, a content code acquisition unit 402, an instruction reception unit 403, an instruction execution unit 404, and a feedback information generation unit 405.
A reference code obtaining unit 401, configured to obtain reference codes corresponding to the functional interfaces; the reference code is used for identifying the functional interface;
a content code acquiring unit 402, configured to acquire a content code corresponding to each item content; each item content corresponds to at least one of the functional interfaces;
an instruction receiving unit 403, configured to receive a task operation instruction triggered by a user;
an instruction execution unit 404, configured to execute the task operation instruction, and obtain an execution result of executing the task operation instruction;
and a feedback information generating unit 405, configured to combine a reference code corresponding to a functional interface associated with the execution result and a content code corresponding to the item content associated with the execution result, and generate feedback information corresponding to the task operation instruction.
In some embodiments of the present application, the reference code obtaining unit 401 may be specifically configured to: acquiring module codes of various system modules, wherein each system module comprises at least one functional interface; and defining each functional interface contained in each system module according to the module code of each system module to obtain the reference code corresponding to each functional interface contained in each system module.
In some embodiments of the present application, the reference code is a character string whose end includes a preset number of preset characters; the content code is a character string containing a preset number of effective characters; the feedback information generating unit 405 may be specifically configured to: and replacing the preset number of preset characters contained at the tail of the reference code corresponding to the function interface associated with the execution result with the preset number of effective characters contained in the content code corresponding to the item content associated with the execution result, so as to obtain feedback information corresponding to the task operation instruction.
In some embodiments of the present application, the feedback information generating apparatus 400 may further include a modifying unit, configured to receive a modification operation instruction triggered by a user; and acquiring a configuration file associated with the modification operation instruction, and modifying the configuration file according to the modification operation instruction so as to enable an execution result of executing the task operation instruction to be successful.
In some embodiments of the present application, if the number of reference codes corresponding to the functional interface associated with the execution result is plural, or the number of content codes corresponding to the item content associated with the execution result is plural, the error code includes plural error codes; accordingly, the modification unit may be further specifically configured to: analyzing each error code in the plurality of error codes to determine a target modification item; and receiving a modification operation instruction triggered by a user, wherein the modification operation instruction is used for modifying the target modification item.
In some embodiments of the present application, the modifying unit may be further specifically configured to: splitting the plurality of error codes to obtain content codes corresponding to each error code in the plurality of error codes; grouping the plurality of error codes according to the content code corresponding to each error code in the plurality of error codes to obtain a plurality of error code groups, wherein the error codes in each error code group have the same content code; and taking the modification item corresponding to each error code group as the target modification item.
In some embodiments of the present application, if the number of the error code groups is a plurality of, the number of the target modification items is a plurality of, and the modification operation instruction triggered by the user includes a plurality of modification sub-operation instructions; accordingly, the modification unit may be further specifically configured to: in response to the plurality of modified sub-operation instructions, a configuration file associated with each of the plurality of modified sub-operation instructions is obtained.
It should be noted that, for convenience and brevity of description, the specific working process of the feedback information generating apparatus 400 may refer to the corresponding process of the method described in fig. 1 to 3, and will not be described herein again.
Fig. 5 is a schematic diagram of a terminal according to an embodiment of the present application. The terminal 5 may include: a processor 50, a memory 51 and a computer program 52, such as a generation program of feedback information, stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the above-described respective embodiments of the feedback information generation method, such as steps S101 to S105 shown in fig. 1. Alternatively, the processor 50 implements the functions of the modules/units in the above-described embodiments of the apparatus when executing the computer program 52, such as the reference code acquisition unit 401, the content code acquisition unit 402, the instruction receiving unit 403, the instruction execution unit 404, and the feedback information generation unit 405 shown in fig. 4.
The computer program may be divided into one or more modules/units which are stored in the memory 51 and executed by the processor 50 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments describe the execution of the computer program in the terminal.
For example, the computer program may be split into: a reference code acquisition unit, a content code acquisition unit, an instruction receiving unit, an instruction executing unit and a feedback information generating unit. The specific functions of each unit are as follows: the reference code acquisition unit is used for acquiring the reference codes corresponding to the functional interfaces; the reference code is used for identifying the functional interface; a content code acquisition unit for acquiring content codes corresponding to the contents of the respective items; each item content corresponds to at least one of the functional interfaces; the instruction receiving unit is used for receiving task operation instructions triggered by a user; the instruction execution unit is used for executing the task operation instruction to obtain an execution result of executing the task operation instruction; and the feedback information generating unit is used for combining the reference code corresponding to the function interface related to the execution result and the content code corresponding to the item content related to the execution result to generate the feedback information corresponding to the task operation instruction.
The terminal may include, but is not limited to, a processor 50, a memory 51. It will be appreciated by those skilled in the art that fig. 5 is merely an example of a terminal and is not intended to be limiting, and that more or fewer components than shown may be included, or certain components may be combined, or different components may be included, for example, the terminal may also include input and output devices, network access devices, buses, etc.
The processor 50 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The memory 51 may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal. The memory 51 is used for storing the computer program as well as other programs and data required by the terminal. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other manners. For example, the apparatus/terminal embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (9)

1. A method for generating feedback information, comprising:
acquiring reference codes corresponding to all functional interfaces; the reference code is used for identifying the functional interface; the reference code is a character string with the tail containing a preset number of preset characters;
acquiring content codes corresponding to the content of each item; the content code is a character string containing a preset number of effective characters; each item content corresponds to at least one of the functional interfaces;
receiving a task operation instruction triggered by a user;
executing the task operation instruction to obtain an execution result of executing the task operation instruction;
combining a reference code corresponding to a functional interface associated with the execution result and a content code corresponding to item content associated with the execution result to generate feedback information corresponding to the task operation instruction;
the step of combining the reference code corresponding to the function interface associated with the execution result and the content code corresponding to the item content associated with the execution result to generate feedback information corresponding to the task operation instruction includes:
and replacing the preset number of preset characters contained at the tail of the reference code corresponding to the function interface associated with the execution result with the preset number of effective characters contained in the content code corresponding to the item content associated with the execution result, so as to obtain feedback information corresponding to the task operation instruction.
2. The method for generating feedback information according to claim 1, wherein the obtaining the reference code corresponding to each functional interface comprises:
acquiring module codes of various system modules, wherein each system module comprises at least one functional interface;
and defining each functional interface contained in each system module according to the module code of each system module to obtain the reference code corresponding to each functional interface contained in each system module.
3. The method for generating feedback information according to any one of claims 1 to 2, wherein the feedback information is an error code, and further comprising, after generating the feedback information corresponding to the task operation instruction:
receiving a modification operation instruction triggered by a user;
and acquiring a configuration file associated with the modification operation instruction, and modifying the configuration file according to the modification operation instruction so as to enable an execution result of executing the task operation instruction to be successful.
4. The method of generating feedback information according to claim 3, wherein if a number of reference codes corresponding to the function interface associated with the execution result is plural or a number of content codes corresponding to the item content associated with the execution result is plural, the error code includes plural error codes;
the receiving the user-triggered modification operation instruction comprises the following steps:
analyzing each error code in the plurality of error codes to determine a target modification item;
and receiving a modification operation instruction triggered by a user, wherein the modification operation instruction is used for modifying the target modification item.
5. The method for generating feedback information according to claim 4, wherein said analyzing each of said plurality of error codes to determine a target modification term comprises:
splitting the plurality of error codes to obtain content codes corresponding to each error code in the plurality of error codes;
grouping the plurality of error codes according to the content code corresponding to each error code in the plurality of error codes to obtain a plurality of error code groups, wherein the error codes in each error code group have the same content code;
and taking the modification item corresponding to each error code group as the target modification item.
6. The method for generating feedback information according to claim 5, wherein if the number of the error code groups is plural, the number of the target modification items is plural, and the user-triggered modification operation instruction includes plural modification sub-operation instructions, accordingly;
the obtaining a configuration file associated with the modification operation instruction comprises the following steps:
in response to the plurality of modified sub-operation instructions, a configuration file associated with each of the plurality of modified sub-operation instructions is obtained.
7. A feedback information generating apparatus, comprising:
the reference code acquisition unit is used for acquiring the reference codes corresponding to the functional interfaces; the reference code is used for identifying the functional interface; the reference code is a character string with the tail containing a preset number of preset characters;
a content code acquisition unit for acquiring content codes corresponding to the contents of the respective items; the content code is a character string containing a preset number of effective characters; each item content corresponds to at least one of the functional interfaces;
the instruction receiving unit is used for receiving task operation instructions triggered by a user;
the instruction execution unit is used for executing the task operation instruction to obtain an execution result of executing the task operation instruction;
the feedback information generating unit is used for combining the reference code corresponding to the function interface related to the execution result and the content code corresponding to the item content related to the execution result to generate feedback information corresponding to the task operation instruction;
the feedback information generating unit is configured to replace the preset number of preset characters included at the end of the reference code corresponding to the function interface associated with the execution result with the preset number of valid characters included in the content code corresponding to the item content associated with the execution result, so as to obtain feedback information corresponding to the task operation instruction.
8. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 6.
CN202110540028.4A 2021-05-18 2021-05-18 Feedback information generation method and device, terminal and storage medium Active CN113268230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110540028.4A CN113268230B (en) 2021-05-18 2021-05-18 Feedback information generation method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110540028.4A CN113268230B (en) 2021-05-18 2021-05-18 Feedback information generation method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113268230A CN113268230A (en) 2021-08-17
CN113268230B true CN113268230B (en) 2023-09-08

Family

ID=77231577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110540028.4A Active CN113268230B (en) 2021-05-18 2021-05-18 Feedback information generation method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113268230B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546264A (en) * 2009-04-27 2009-09-30 成都市华为赛门铁克科技有限公司 command line processing method, device and communication system
CN108170551A (en) * 2018-01-03 2018-06-15 深圳壹账通智能科技有限公司 Front and back end error handling method, server and storage medium based on crawler system
CN108509553A (en) * 2018-03-22 2018-09-07 成都大成均图科技有限公司 A kind of item file generation method and platform
CN109508182A (en) * 2018-09-18 2019-03-22 广州虎牙信息科技有限公司 Quickly generate method, server and the computer storage medium of instruction
CN110221824A (en) * 2019-06-03 2019-09-10 精硕科技(北京)股份有限公司 The generation method and device of component
CN110795454A (en) * 2019-10-31 2020-02-14 中国农业银行股份有限公司 Service request method, device, server and storage medium
CN111200654A (en) * 2019-12-31 2020-05-26 中国银行股份有限公司 Client request error processing method and device
CN111343236A (en) * 2020-02-07 2020-06-26 广州极晟网络技术有限公司 Method, device and communication system for communication between server and client
CN111338604A (en) * 2020-02-28 2020-06-26 深圳前海微众银行股份有限公司 Service generation method, device, equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2417543A4 (en) * 2009-04-10 2012-10-31 Vision Genesis Inc Software database system and process of building and operating the same

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546264A (en) * 2009-04-27 2009-09-30 成都市华为赛门铁克科技有限公司 command line processing method, device and communication system
CN108170551A (en) * 2018-01-03 2018-06-15 深圳壹账通智能科技有限公司 Front and back end error handling method, server and storage medium based on crawler system
CN108509553A (en) * 2018-03-22 2018-09-07 成都大成均图科技有限公司 A kind of item file generation method and platform
CN109508182A (en) * 2018-09-18 2019-03-22 广州虎牙信息科技有限公司 Quickly generate method, server and the computer storage medium of instruction
CN110221824A (en) * 2019-06-03 2019-09-10 精硕科技(北京)股份有限公司 The generation method and device of component
CN110795454A (en) * 2019-10-31 2020-02-14 中国农业银行股份有限公司 Service request method, device, server and storage medium
CN111200654A (en) * 2019-12-31 2020-05-26 中国银行股份有限公司 Client request error processing method and device
CN111343236A (en) * 2020-02-07 2020-06-26 广州极晟网络技术有限公司 Method, device and communication system for communication between server and client
CN111338604A (en) * 2020-02-28 2020-06-26 深圳前海微众银行股份有限公司 Service generation method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113268230A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN108958714B (en) Business component type development method and device, computer equipment and storage medium
CN107590070B (en) Business process debugging method and device
CN111026367A (en) Micro-service arranging method and device, terminal equipment and storage medium
CN111143446A (en) Data structure conversion processing method and device of data object and electronic equipment
CN111694638A (en) Rule package loading method, rule package executing method and terminal equipment
CN114895935A (en) Method and device for flashing vehicle ECU, electronic equipment and storage medium
CN113377608A (en) Method and device for alarming task abnormity, terminal equipment and storage medium
CN113268230B (en) Feedback information generation method and device, terminal and storage medium
CN112364609A (en) Business standing book generation method and device, storage medium and electronic equipment
CN110018831B (en) Program processing method, program processing apparatus, and computer-readable storage medium
CN109324838B (en) Execution method and execution device of single chip microcomputer program and terminal
CN111309290B (en) Flexible and extensible business rule matrix system
CN116155934A (en) Method, device, electronic equipment and storage medium for intelligent contract call account book
CN115270198A (en) Signature method, device and storage medium of PDF document
CN111324645A (en) Data processing method and device for block chain
CN112068895B (en) Code configuration method, device, video playing equipment and storage medium
CN111367799B (en) Method, device, medium and electronic equipment for locating source code breakdown position
CN113971074A (en) Transaction processing method and device, electronic equipment and computer readable storage medium
CN113742302A (en) Service request processing method and device
CN109697216B (en) Clearing transaction information processing method, device and system
CN110648219B (en) Method and device for standardizing input area of bank transaction system
CN114170006A (en) Information data acquisition method, device, equipment and medium based on state machine
CN113312900A (en) Data verification method and device
CN112925523A (en) Object comparison method, device, equipment and computer readable 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