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

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

Info

Publication number
CN113268230A
CN113268230A CN202110540028.4A CN202110540028A CN113268230A CN 113268230 A CN113268230 A CN 113268230A CN 202110540028 A CN202110540028 A CN 202110540028A CN 113268230 A CN113268230 A CN 113268230A
Authority
CN
China
Prior art keywords
operation instruction
code
content
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.)
Granted
Application number
CN202110540028.4A
Other languages
Chinese (zh)
Other versions
CN113268230B (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

Images

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 applicable to the field of computers, and provides a method, a device, a terminal and a storage medium for generating feedback information. The generation method of the feedback information comprises the following steps: acquiring a reference code corresponding to each functional interface; the reference code is used for identifying the functional interface; acquiring a content code corresponding to each item content; 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 functional 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 amount and improve the development efficiency.

Description

Feedback information generation method, device, terminal and storage medium
Technical Field
The present application belongs to the field of computers, and in particular, to a method, an apparatus, a terminal, and a storage medium for generating feedback information.
Background
In software and hardware systems, execution results of item contents included in each functional interface are often defined in advance and stored in a memory in the form of feedback information. When the user actually operates, the terminal can feed back corresponding feedback information according to the execution result of the user actual operation so as to help development and test personnel to develop and maintain according to the feedback information, or prompt the user to adjust a task operation instruction according to the feedback information.
However, due to the increase of functions of the software and hardware systems, the function interfaces called by the software and hardware systems are increased, and a large amount of feedback information needs to be defined in the process of defining the feedback information, so that the code amount is increased, and the development efficiency is reduced.
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 amount and improve the development efficiency.
A first aspect of the embodiments of the present application provides a method for generating feedback information, including:
acquiring a reference code corresponding to each functional interface; the reference code is used for identifying the functional interface;
acquiring a content code corresponding to each item content; 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 functional 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.
A second aspect of the embodiments of the present application provides an apparatus for generating feedback information, including:
the reference code acquisition unit is used for acquiring reference codes corresponding to the functional interfaces; the reference code is used for identifying the functional interface;
a content code acquisition unit for acquiring a content code corresponding to each item content; each item content corresponds to at least one of the functional interfaces;
the instruction receiving unit is used for receiving a task operation instruction 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 functional 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, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
A fifth aspect of embodiments of the present application provides a computer program product, which when run on a terminal, causes the terminal to perform the steps of the method.
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 respectively defining each functional interface and each item content; and then, according to the execution result of the task operation instruction, combining the reference code corresponding to the functional interface associated with the execution result and the content code corresponding to the project content associated with the execution result to generate the feedback information corresponding to the task operation instruction, so that the feedback information corresponding to each project content under each functional interface does not need to be defined in sequence in the code definition process, the code amount can be effectively reduced, and the development efficiency can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic implementation flow diagram of a method for generating feedback information according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a specific implementation of responding to a modification operation instruction triggered by a user according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating 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 an apparatus for generating feedback information 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
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall be protected by the present application.
In software and hardware systems, execution results of item contents included in each functional interface are often defined in advance and stored in a memory in the form of feedback information. When the user actually operates, the terminal can feed back corresponding feedback information according to the execution result of the user actual operation so as to help development and test personnel to develop and maintain according to the feedback information, or prompt the user to adjust a task operation instruction according to the feedback information.
However, due to the increase of functions of the software and hardware systems, the function interfaces called by the software and hardware systems are increased, and a large amount of feedback information needs to be defined in the process of defining the feedback information, so that the code amount is increased, and the development efficiency is reduced.
In order to explain the technical means of the present application, the following description will be given by way of specific examples.
Fig. 1 is a schematic diagram illustrating an implementation flow of a method for generating feedback information according to an embodiment of the present application, where the method is applicable to a terminal and is applicable to a situation that a code amount needs to be reduced and development efficiency needs to be improved. The terminal can be a smart phone, a computer and other equipment.
Specifically, the method for generating the feedback information may include the following steps S101 to S105.
Step S101, acquiring reference codes corresponding to the functional interfaces.
The functional interface is an interface for realizing a function corresponding to the task operation instruction by receiving a certain parameter in the 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 according to product requirements and generate corresponding reference codes.
In order to facilitate subsequent maintenance, in some embodiments of the present application, each functional interface included in each system module may be defined according to the module code of each system module by obtaining the module code of each system module, so as to obtain a reference code corresponding to each functional interface included in each system module; wherein each system module comprises 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 interface is used for realizing the corresponding function in the corresponding functional module.
In the process of defining the reference code, each system module may be encoded first to obtain a module code of each system module, and then each functional interface included in each system module is defined according to the module code of each system module.
For example, if the learning software system includes three system modules, i.e., a personal homepage module, a course list module, and a management center module, the system modules may be encoded separately, for example, 001 represents the personal homepage 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, if reference codes corresponding to function interfaces included in the lesson learning module are represented by the beginning 002, the reference codes corresponding to function interfaces for acquiring lesson information in the lesson listing module may be represented by 0021.
It should be noted that the specific form and value of the reference code may be adjusted according to actual situations, which is not limited in the present application.
Step S102, content codes corresponding to the item contents are obtained.
The item content refers to each item content that needs to be executed by the functional interface in a process of calling the functional interface to realize a certain function, and each item content corresponds to at least one functional interface, that is, different functional 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, a developer may collect, during a development process, item contents included in each functional interface, define item contents different from the defined item contents, and finally obtain content codes corresponding to the respective item contents.
Taking the feedback information as the error code for example, a developer may collect possible problems occurring in each function module during the development process, for example, the problems occurring in the interface a include that the user or the password is invalid and the initialization of the data API fails, and may define that the user or the password is invalid to obtain the content code F1 and define that the initialization of the data API fails to obtain the content code F2. If the interface B has problems including user or password invalidity and timeout, it is not necessary to define user or password invalidity, and only timeout may 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 the feedback information as an error code as an example, the item content may further include that the authority is invalid or has no related authority, a network error, an app id is invalid, a Token is invalid, a sending exception, a receiving exception, a system configuration or parameter setting error, a quantity overrun, a time format input error, a transaction API initialization failure, a pass-through interface failure to take the last transaction day, a pass-through interface to take the last transaction day data as 0, and the like.
Correspondingly, the form and value of the content code corresponding to each item content can be adjusted according to the actual situation.
And step S103, receiving a task operation instruction triggered by a user.
In the embodiment of the application, after the definition of the function interface and the item content is completed, a task operation instruction triggered by a user can be received. And the task operation instruction is used for indicating the terminal to call the functional interface to execute the corresponding function.
The manner in which the user triggers the task operation instruction may be adjusted according to actual conditions, for example, the corresponding task operation instruction may be triggered according to an input operation performed by the user in an input box or according to a click operation of the user on a specific control.
And step S104, executing the task operation instruction to obtain an execution result of the task operation instruction.
Specifically, in the embodiment of the 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.
In step S105, 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 are combined to generate feedback information corresponding to the task operation instruction.
In the embodiment of the present application, according to the execution result of the task operation instruction, it is necessary to generate feedback information corresponding to the task operation instruction. For example, if the execution result of the task operation instruction is execution failure, an error code corresponding to the task operation instruction may be generated according to the functional interface and the item content that cause the execution result to be 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 includes a predetermined number of predetermined characters; the content code is a character string containing a preset number of effective characters; combining 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 to generate the feedback information corresponding to the task operation instruction, which may include: and replacing the preset characters with preset number contained at the end of the reference code corresponding to the functional interface associated with the execution result by the effective characters with preset number contained in the content code corresponding to the item content associated with the execution result to obtain the feedback information corresponding to the task operation instruction.
For example, in some embodiments of the present application, a reference code may be defined as a numeric string with the last N bits being 0; and the terminal can obtain feedback information corresponding to the task operation instruction by superposing 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. Wherein N is a positive integer greater than 0.
Taking the feedback information as an error code, for example, if the reference code of the GetExchange interface is defined as 0x04010100 and the content code with configuration error is defined as 0x000000FD, when the person operation command calls the GetExchange interface and the item content with configuration error occurs, 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 are superimposed, and the generated error code is 0x040101 FD.
In other embodiments of the present application, 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 spliced to obtain the feedback information corresponding to the task operation instruction.
Similarly, taking the feedback information as an error code as an example, if the reference code of the GetExchange interface is defined as 0001 and the content code of the configuration error is defined as F1, when the task operation command calls the GetExchange interface and the item content of the configuration error occurs, the generated error code is 0001F 1.
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 respectively defining each functional interface and each item content; and then, according to the execution result of the task operation instruction, combining the reference code corresponding to the functional interface associated with the execution result and the content code corresponding to the project content associated with the execution result to generate the feedback information corresponding to the task operation instruction, so that the feedback information corresponding to each project content under each functional interface does not need to be defined in sequence in the code definition process, the code amount can be effectively reduced, and the development efficiency can be improved.
If 10 functional interfaces are provided and 4 items of item contents exist, the existing definition mode needs to define the feedback information corresponding to each item content under each functional interface, that is, the total feedback information to be defined is 10 × 4-40; by adopting the mode provided by the application, only 10 reference codes and 4 content codes need to be defined in the codes, so that redundant codes can be reduced, the coding time is reduced, the codes are kept concise, and the programming quality and speed are improved.
In some embodiments of the application, when the execution result of the task operation instruction is an execution failure, the feedback information may be an error code. After generating the feedback information corresponding to the task operation instruction, the error code may be displayed to prompt the user to perform a 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 responding 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 modification operation is used for indicating the terminal to modify the problem corresponding to the error code so as to enable the task operation instruction to 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 a 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 successful.
In other embodiments of the present application, if the number of the reference codes corresponding to the functional interface associated with the execution result is multiple, or the number of the content codes corresponding to the item content associated with the execution result is multiple, the generated error code includes multiple error codes; at this time, the terminal may analyze each error code of the plurality of error codes to determine a target modification item; and then, receiving a plurality of modification operation instructions triggered by a user, wherein the number of the target modification items is multiple, and the target modification items correspond to each error code respectively.
Specifically, in the embodiment of the present application, as shown in fig. 3, the analyzing each error code of the plurality of error codes to determine the target modification item may include steps S301 to S303.
Step S301, splitting the multiple error codes to obtain a content code corresponding to each error code in the multiple error codes.
Specifically, in some embodiments of the present application, the error code is split in a manner corresponding to the error code combination. For example, when the error code is obtained by the aforementioned splicing manner, the error code may be split according to the spliced location, 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 different functional interfaces may have the same item content, there may be repeated content codes in the content codes corresponding to the multiple error codes.
Step S302, grouping the multiple error codes according to the content code corresponding to each error code in the multiple error codes to obtain multiple error code groups.
Considering that the same content codes in the error codes are often caused by the same reason, correspondingly, only the reason needs to be modified, and the problem corresponding to the error codes with the same content codes can be solved. Therefore, in some embodiments of the present application, the error codes may be grouped according to content codes corresponding to the error codes, respectively, to obtain a plurality of error code groups. Wherein the error codes in each error code group have the same content code.
Step S303, using the modification item corresponding to each error code group as the target modification item.
In the embodiment of the application, the modification item corresponding to each error code group is used as a target modification item, and a user can modify 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 successful.
In the embodiment of the application, the multiple error codes are grouped according to the content codes respectively corresponding to the multiple error codes to obtain multiple error code groups, and the modification item respectively corresponding to each error code group is used as the target modification item, so that the terminal does not need to prompt each error code, the user executes the 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 the execution success, 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, obtaining a configuration file associated with the modification operation instruction, and modifying the configuration file according to the modification operation instruction so as to enable the execution result of the execution task operation instruction to be successful.
Specifically, in some embodiments of the present application, a configuration file corresponding to a content code association corresponding to each item content may be identified, and when the terminal receives a modification operation instruction, the corresponding configuration file may be acquired from the memory according to a content code associated with an error code corresponding to the modification operation instruction.
For example, when the item content associated with the error code is an account or a password, the terminal may obtain, after obtaining the modification operation instruction of the user, a configuration file corresponding to the content code with the invalid account or password from the memory.
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 the error code groups is multiple, the number of the target modification items is multiple, and correspondingly, the modification operation instruction triggered by the user includes multiple modification sub-operation instructions; at this time, the obtaining the configuration file associated with the modification operation instruction may include: in response to the plurality of modifying sub-operation instructions, a configuration file associated with each modifying sub-operation instruction in the plurality of modifying sub-operation instructions is obtained. The terminal may obtain configuration files respectively associated with the multiple modification sub-operation instructions, and modify the corresponding configuration files in sequence according to the modification sub-operation instructions, so that the execution result of the task operation instruction is successful.
In the embodiment of the application, by receiving a modification operation instruction triggered by a user, acquiring a configuration file associated with the modification operation instruction, and then modifying the configuration file according to the modification operation instruction, the terminal can correct the problem corresponding to the error code according to the modification operation instruction, so that the execution result of the task operation instruction is successful, and the requirements of the user are met.
It should be noted that, for simplicity of description, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders.
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 apparatus 400 for generating feedback information may include: a reference code acquisition unit 401, a content code acquisition unit 402, an instruction receiving 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;
a feedback information generating unit 405, configured to combine 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 generate feedback information corresponding to the task operation instruction.
In some embodiments of the present application, the reference code acquiring unit 401 may be further specifically configured to: obtaining module codes of all 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 a 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 further specifically configured to: replacing the preset number of characters included at the end of the reference code corresponding to the functional interface associated with the execution result with the preset number of effective characters included in the content code corresponding to the item content associated with the execution result, and obtaining feedback information corresponding to the task operation instruction.
In some embodiments of the present application, the apparatus 400 for generating feedback information may further include a modification 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 the 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 multiple, or the number of content codes corresponding to the item content associated with the execution result is multiple, the error code includes multiple error codes; correspondingly, 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 modification unit may be further specifically configured to: splitting the error codes to obtain a content code corresponding to each error code in the error codes; grouping the error codes according to the content code corresponding to each error code in the 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 multiple, the number of the target modification items is multiple, and the modification operation command triggered by the user includes multiple modification sub-operation commands; correspondingly, the modification unit may be further specifically configured to: in response to the plurality of modifying sub-operation instructions, obtaining a configuration file associated with each modifying sub-operation instruction in the plurality of modifying sub-operation instructions.
It should be noted that, for convenience and simplicity 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 fig. 3, and is not 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 stored in said memory 51 and executable on said processor 50, such as a generating program of feedback information. The processor 50, when executing the computer program 52, implements the steps in the above-described embodiments of the method for generating feedback information, such as the steps S101 to S105 shown in fig. 1. Alternatively, the processor 50 executes the computer program 52 to implement the functions of the modules/units in the device embodiments, such as the reference code acquiring unit 401, the content code acquiring unit 402, the instruction receiving unit 403, the instruction executing unit 404, and the feedback information generating 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 accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the terminal.
For example, the computer program may be divided into: the device comprises a reference code acquisition unit, a content code acquisition unit, an instruction receiving unit, an instruction execution unit and a feedback information generation unit. The specific functions of each unit are as follows: the reference code acquisition unit is used for acquiring reference codes corresponding to the functional interfaces; the reference code is used for identifying the functional interface; a content code acquisition unit for acquiring a content code corresponding to each item content; each item content corresponds to at least one of the functional interfaces; the instruction receiving unit is used for receiving a task operation instruction 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 functional 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. Those skilled in the art will appreciate that fig. 5 is only an example of a terminal and is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the terminal may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. 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), and the like 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 and 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-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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 implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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 units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned 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 technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for generating feedback information, comprising:
acquiring a reference code corresponding to each functional interface; the reference code is used for identifying the functional interface;
acquiring a content code corresponding to each item content; 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 functional 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.
2. The method for generating feedback information according to claim 1, wherein the obtaining the reference code corresponding to each functional interface comprises:
obtaining module codes of all 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 a reference code corresponding to each functional interface contained in each system module.
3. The method for generating feedback information according to claim 1, wherein the reference code is a character string whose end includes a predetermined number of predetermined characters; the content code is a character string containing a preset number of effective characters;
the generating feedback information corresponding to the task operation instruction by combining 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 includes:
replacing the preset number of characters included at the end of the reference code corresponding to the functional interface associated with the execution result with the preset number of effective characters included in the content code corresponding to the item content associated with the execution result, and obtaining feedback information corresponding to the task operation instruction.
4. The method as claimed in any one of claims 1 to 3, wherein the feedback information is an error code, and after generating the feedback information corresponding to the task operation command, the method further comprises:
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 the execution result of executing the task operation instruction to be successful.
5. The method for generating feedback information according to claim 4, wherein 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;
the receiving of the modification operation instruction triggered by the user comprises:
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.
6. The method for generating feedback information according to claim 5, wherein said analyzing each error code of the plurality of error codes to determine a target modification item comprises:
splitting the error codes to obtain a content code corresponding to each error code in the error codes;
grouping the error codes according to the content code corresponding to each error code in the 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.
7. The method according to claim 6, wherein if the number of the error code groups is multiple, the number of the target modification items is multiple, and accordingly, the modification operation command triggered by the user includes multiple modification sub-operation commands;
the obtaining of the configuration file associated with the modification operation instruction includes:
in response to the plurality of modifying sub-operation instructions, obtaining a configuration file associated with each modifying sub-operation instruction in the plurality of modifying sub-operation instructions.
8. An apparatus for generating feedback information, comprising:
the reference code acquisition unit is used for acquiring reference codes corresponding to the functional interfaces; the reference code is used for identifying the functional interface;
a content code acquisition unit for acquiring a content code corresponding to each item content; each item content corresponds to at least one of the functional interfaces;
the instruction receiving unit is used for receiving a task operation instruction 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 functional 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.
9. 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 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
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 true CN113268230A (en) 2021-08-17
CN113268230B 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 (10)

* 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
US20120110030A1 (en) * 2009-04-10 2012-05-03 Mark Pomponio Software database system and process of building and operating the same
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
CN111338604A (en) * 2020-02-28 2020-06-26 深圳前海微众银行股份有限公司 Service generation method, device, equipment and computer readable storage medium
CN111343236A (en) * 2020-02-07 2020-06-26 广州极晟网络技术有限公司 Method, device and communication system for communication between server and client

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110030A1 (en) * 2009-04-10 2012-05-03 Mark Pomponio Software database system and process of building and operating the same
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
CN113268230B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
CN108958714B (en) Business component type development method and device, computer equipment and storage medium
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN107590070B (en) Business process debugging method and device
CN110347383B (en) Front-end development method and device for cross-platform desktop application
CN110188135B (en) File generation method and equipment
CN111026367A (en) Micro-service arranging method and device, terminal equipment and storage medium
CN104133676A (en) Function execution method and function execution device based on scripts
CN115469833A (en) Method and device for implementing dynamic rule engine, electronic equipment and storage medium
CN113297153A (en) Data export method, device, equipment and storage medium
CN105577828A (en) Remote redirection method and device
CN110018831B (en) Program processing method, program processing apparatus, and computer-readable storage medium
CN113268230B (en) Feedback information generation method and device, terminal and storage medium
CN109324838B (en) Execution method and execution device of single chip microcomputer program and terminal
CN116755828A (en) Parameter value configuration method, analysis method, electronic device and storage medium
CN111427550A (en) Object creating method, terminal device and storage medium
CN115328457A (en) Method and device for realizing form page based on parameter configuration
CN115270198A (en) Signature method, device and storage medium of PDF document
CN110502296B (en) Method, equipment and storage medium for displaying firmware upgrading command
CN111309290B (en) Flexible and extensible business rule matrix system
CN113312900A (en) Data verification method and device
CN113515447A (en) System automation test method and device
CN110648219B (en) Method and device for standardizing input area of bank transaction system
CN110597536B (en) Software upgrading method, system and terminal equipment
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN117076546B (en) Data processing method, terminal device and computer readable 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