CN112035358B - Method, device and equipment for determining detection information - Google Patents

Method, device and equipment for determining detection information Download PDF

Info

Publication number
CN112035358B
CN112035358B CN202010895950.0A CN202010895950A CN112035358B CN 112035358 B CN112035358 B CN 112035358B CN 202010895950 A CN202010895950 A CN 202010895950A CN 112035358 B CN112035358 B CN 112035358B
Authority
CN
China
Prior art keywords
job
information
different versions
detected
different
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
CN202010895950.0A
Other languages
Chinese (zh)
Other versions
CN112035358A (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010895950.0A priority Critical patent/CN112035358B/en
Publication of CN112035358A publication Critical patent/CN112035358A/en
Application granted granted Critical
Publication of CN112035358B publication Critical patent/CN112035358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The specification provides a method, a device and equipment for determining detection information. Determining job configuration information, wherein the job configuration information comprises a job path corresponding to a job to be detected; acquiring operation information of different versions corresponding to the operation to be detected according to the operation path; generating a job comparison report when the job information of the different versions is determined to be different; the job comparison report is used for recording information to be detected in the job information of different versions. By using the embodiment of the specification, the customized detection efficiency can be improved.

Description

Method, device and equipment for determining detection information
Technical Field
The present disclosure relates to the field of information detection technologies, and in particular, to a method, an apparatus, and a device for determining detection information.
Background
The core banking system is a huge system, the running operation is thousands of, and along with the continuous development of the financial industry, the functions of the core banking system need to be continuously perfected to meet more external service requirements. At present, aiming at different functional requirements, production implementation is generally focused on a plurality of different batches, and in each production process, the number of modified batch operations is possibly tens, hundreds and thousands, so that the correctness of the application version of the operation flow has a great relationship on success or failure of production.
In the prior art, before each production, a production support person needs to perform customized inspection on automatically generated batch operation, each inspection is performed manually, huge labor cost and time cost are required to be paid, and in order to reduce the risk of production, the customized inspection needs to be performed at least three times before production, so that the repeated high-cost work needs to have higher requirement on the inspection person, and the customized inspection efficiency is low.
Therefore, a technical solution for solving the above technical problems is needed in the industry.
Disclosure of Invention
The embodiment of the specification provides a method, a device and equipment for determining detection information, which can improve the customized detection efficiency.
The method, the device and the equipment for determining the detection information provided by the specification are realized in the following modes.
A method of determining detection information, comprising: determining job configuration information, wherein the job configuration information comprises a job path corresponding to a job to be detected; acquiring operation information of different versions corresponding to the operation to be detected according to the operation path; generating a job comparison report when the job information of the different versions is determined to be different; the job comparison report is used for recording information to be detected in the job information of different versions.
An apparatus for determining detection information, comprising: the job configuration information determining module is used for determining job configuration information, wherein the job configuration information comprises a job path corresponding to a job to be detected; the job information acquisition module is used for acquiring the job information of different versions corresponding to the job to be detected according to the job path; the generation module is used for generating a job comparison report when the job information of the different versions is determined to be different; the job comparison report is used for recording information to be detected in the job information of different versions.
An apparatus for determining detection information comprising a processor and a memory for storing processor-executable instructions which when executed by the processor implement the steps of any of the method embodiments of the present specification.
The specification provides a method, a device and equipment for determining detection information. In some embodiments, by determining job configuration information including a job path corresponding to a job to be detected in advance, not only a range of a job list to be checked in a customized manner can be determined quickly, but also a basis can be provided for subsequently acquiring the job information of the job to be detected. By acquiring the job information of different versions corresponding to the job to be detected according to the job path, a basis can be provided for determining the required customized detection information in the job to be detected later. By comparing the job information of different versions, the job comparison report for recording the information to be detected is automatically generated based on different job contents, so that not only can the labor cost and the time cost be effectively reduced, the production risk is reduced, but also the customized detection efficiency can be improved. By adopting the embodiment provided by the specification, the customized detection efficiency can be improved.
Drawings
The accompanying drawings are included to provide a further understanding of the specification, and are incorporated in and constitute a part of this specification. In the drawings:
FIG. 1 is a flow diagram of one embodiment of a method of determining detection information provided herein;
FIG. 2 is a flow chart of one embodiment of a method for determining detection information provided herein;
FIG. 3 is a schematic block diagram illustrating one embodiment of an apparatus for determining detection information provided herein;
fig. 4 is a block diagram of a hardware configuration of an embodiment of a server for determining detection information provided in the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments, but not all embodiments in the present specification. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive faculty, are intended to be within the scope of the embodiments of the present disclosure.
The following describes embodiments of the present disclosure by taking a specific application scenario as an example. Specifically, fig. 1 is a schematic flow chart of an embodiment of a method for determining detection information provided in the present specification. Although the description provides methods and apparatus structures as shown in the examples or figures described below, more or fewer steps or modular units may be included in the methods or apparatus, whether conventionally or without inventive effort.
One embodiment provided in this specification may be applied to a client, a server, or the like. The client may comprise a terminal device, such as a smart phone, tablet computer, etc. The server may include a single computer device, a server cluster formed by a plurality of servers, a server structure of a distributed system, or the like.
It should be noted that the following description of the embodiments does not limit the technical solutions in other scalable application scenarios based on the present description. In one embodiment of a method for determining detection information provided in the present specification, as shown in fig. 1, the method may include the following steps.
S0: and determining job configuration information, wherein the job configuration information comprises a job path corresponding to the job to be detected.
In the embodiment of the present specification, the job configuration information may include a job path, a job name, and the like corresponding to a job. The job path may be used to determine where the job is located. The job paths may be job directories, and job paths corresponding to different jobs may be the same or different. The job to be detected may represent a job requiring detection, and may be, for example, a job before delivery. In a batch processing system, memory is transferred from memory to memory in units of operations. A job is understood to be a collection of instructions that implement a batch function, and a common programming language for host development is JCL (Job Control Language). The batch job of the host is the JCL that the application calls up. The JCL is a job control language, which is an interface between a user and an operating system, and the user communicates with the operating system through corresponding sentences of the JCL to obtain resources and the like required by the job, control the execution of the job according to the intention of the user, and the number of the jobs in the core bank is thousands in total.
In some embodiments of the present disclosure, the job configuration information may be stored in a preset database in advance, so that after determining the job to be detected, the job configuration information of the job to be detected may be determined according to the job identifier. The preset database may store job configuration information corresponding to different jobs in advance.
In some implementation scenarios, a job identifier may be allocated to each job in advance, and then the job identifier and the job configuration information are associated and bound and stored in a preset database. Wherein the job identification may consist of one or more of numbers, letters, coincidences, etc. The preset database may be MySQL database, oracle database, etc.
In some implementation scenarios, the job configuration information may include a job path corresponding to the job to be detected, so that the job information corresponding to the job to be detected may be obtained subsequently according to the path corresponding to the job to be detected. The job paths corresponding to the job to be detected included in the job configuration information may be one or more. For example, the job to be detected includes one version of job information, the job path included in the job configuration information is one, the job to be detected includes a plurality of versions of job information, and the job path included in the job configuration information is a plurality of. One version of job information may correspond to one job path.
In the embodiment of the present disclosure, by determining the job configuration information of the job to be detected, a basis may be provided for subsequently acquiring the job information of the job to be detected.
S2: and acquiring the job information of different versions corresponding to the job to be detected according to the job path.
In the embodiment of the present specification, the job information may include an attribute name and job contents corresponding to the attribute name. The attribute names may include account numbers, contract numbers, province numbers, area numbers, and the like. In some implementation scenarios, the job information may be pre-stored in a file corresponding to the job path.
In some embodiments of the present disclosure, the different versions of the job information may be generated based on the same preset job template. The preset job template may be understood as a basic version of a job, and one or more versions of job information may be generated according to the basic version. The job information of the plurality of versions may be the same or different. For example, in some implementation scenarios, part of batch jobs are split into jobs running in parallel according to provinces or partitions, but for simplicity of development and version management, only a preset job template is submitted for the parallel jobs, and other provinces or partitions of jobs generate job information of different versions according to a customized configuration file. The customized configuration file may record which information in the preset job template needs to be replaced, job contents before and after replacement, and the like.
In some implementations, the different versions of job information may also be generated based on modifications to the target version of job information. The job information of the target version may be job information corresponding to an old version job already running on the production environment, or may be job information corresponding to any version job before the old version job already running on the production environment. Modifications may include operations such as adding, deleting, updating, etc.
In some implementation scenarios, the different versions of job information may include job information corresponding to an old version of job that has been run on the production environment and job information corresponding to a new version of job generated according to a preset job template.
In some implementation scenarios, after acquiring the job information of different versions corresponding to the job to be detected, the job configuration information and the job information of different versions corresponding to the job to be detected may be stored in the same file, so that corresponding information may be directly acquired from the file later. The job content corresponding to the same attribute name in the job information of different versions corresponding to the same job to be detected can be put into one row.
In the embodiment of the specification, by acquiring the job information of different versions corresponding to the job to be detected according to the job path, a basis can be provided for determining the customized detection information needed in the job to be detected later.
In the embodiment of the present disclosure, after acquiring the job information of different versions corresponding to the job to be detected, whether the job information of different versions is the same may be compared, so that the information to be detected by the clients is determined for the subsequent determination. The customized inspection can be understood as inspecting whether the application version used after the job delivery is accurate according to the change of the job content before and after the delivery.
In some implementations, the production version is typically compared to the version after this customization is successful. The production version can be understood as a host job which is already running on the production environment, and the version after the customization is successful can be understood as a new version job generated according to a preset job template and a customization configuration file.
In some embodiments of the present disclosure, the determining whether the job information of the different versions is the same may include: and judging whether the job contents corresponding to the same attribute name in the job information of different versions are the same or not. For example, in some implementation scenarios, it may be determined whether the job information of the different versions has inconsistent job content corresponding to the same attribute name.
In some implementation scenarios, job contents corresponding to the same attribute name in job information of different versions corresponding to the same job to be detected may be stored in one row of the same file, so that when it is judged whether the job information of different versions is the same, the job contents in each row of the file may be circularly read in a preset manner for comparison. The preset mode may be to add a host program, which may be used to compare differences before and after a job is modified.
For example, in some implementation scenarios, the job information of the host job that has been run on the production environment may be used as an original version, the job generated according to the preset job template and the customized configuration file is used as a new version, the job content corresponding to the same attribute name in the job information corresponding to the new version and the job information corresponding to the original version are stored in the same row in table 1, and then the job content corresponding to the new version in each row is sequentially matched with the job content corresponding to the original version. Other versions may be selected as the original version and the new version, and the foregoing is merely illustrative, and other embodiments of the present disclosure are not limited thereto.
In some implementation scenarios, after matching the job content corresponding to the new version in each row with the job content corresponding to the original version in sequence, if matching is performed, output may not be performed, and if matching is not performed, the job content corresponding to the row may be output.
Of course, the foregoing is merely illustrative, and the method for determining whether the operation information of different versions is the same is not limited to the foregoing examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the present application, so long as the functions and effects implemented are the same or similar to those of the present application, and all the modifications are included in the protection scope of the present application.
S4: generating a job comparison report when the job information of the different versions is determined to be different; the job comparison report is used for recording information to be detected in the job information of different versions.
In the embodiment of the specification, when it is determined that the job information of different versions is different, a job comparison report may be automatically generated based on the different job contents. The job comparison report can be used for recording information to be detected in different versions of job information. The information to be detected can be understood as different information in different versions of the job information.
In some embodiments of the present disclosure, when it is determined that the job information of the different versions is different, generating the job comparison report may include: acquiring different job contents in the job information; and generating a job comparison report based on the different job contents. For example, in some implementation scenarios, when the job contents corresponding to the same attribute name are inconsistent in the job information of different versions, inconsistent job contents may be obtained, and then a job comparison report is generated based on the inconsistent job contents.
In some implementation scenarios, in order to make the difference of each job clearer, information such as a job name, an attribute name, a catalog where the job is located, etc. may be recorded in the job comparison report. Wherein the directory is understood to be a job path.
In some embodiments of the present disclosure, before generating the job comparison report, the method may include: and deleting the existing job comparison report on the host environment. For example, in some implementation scenarios, before generating the job comparison report, the host may be used to delete the job comparison report existing in the host environment and redefine the job comparison report, so as to ensure that the job comparison report generated each time the comparison program is run is the latest report file. The host computer is a host computer core banking system, which relates to various financial business processes such as banking clients, deposit, loan, payment, bank realtime, debit card and the like, and is built on the host computer system.
When the job comparison report is generated each time, the old job comparison report existing in the production environment needs to be deleted, otherwise the program may report errors.
In some embodiments of the present disclosure, after the job comparison report is generated, the job comparison report may be transmitted to a server, so as to be checked and confirmed by a production support person.
Of course, the above description is merely illustrative, and the manner of generating the job comparison report is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the present application, which should be covered in the protection scope of the present application as long as the functions and effects implemented by the present application are the same or similar.
The above method is described below in connection with a specific embodiment, however, it should be noted that this specific embodiment is only for better illustrating the present application and is not meant to be a undue limitation on the present application. As shown in fig. 2, fig. 2 is a flow chart of a specific embodiment of a method for determining detection information provided in the present specification. In this particular embodiment, the following steps may be included.
S201: configuration requires custom checked job configuration information.
In this embodiment, the job configuration information that needs to be subjected to the customized inspection may be configured according to the actual scenario. The job configuration information may be used to determine a job list range, a job location directory, and the like that require a customized inspection.
S203: and acquiring comparison job information according to the job configuration information.
In this embodiment, the comparison job information may include job information before and after modification. The job information may include job contents corresponding to an account number, a contract number, a province number, a partition number, and the like.
S205: and deleting the existing job comparison report on the host environment.
In this embodiment, the existing job comparison report on the host environment may be deleted by using the host self-contained function, and redefined, so as to ensure that the job comparison report generated during each running of the comparison program is the latest report file. The job comparison report can be used for recording information to be detected in the job information of different versions.
S207: and reading and comparing the job contents corresponding to the same attribute in the job information.
In this embodiment, the job information corresponding to the jobs before and after modification, that is, the job contents corresponding to the same attribute in the comparison job information, may be stored in the same line, so that the comparison may be performed by reading the job contents line by line.
S209: and generating a job comparison report based on the comparison result.
In this embodiment, after the job contents are read row by row and compared, different job contents can be output, and then a job comparison report is automatically generated based on the output job contents. The job comparison report may include information such as job name, location directory, job content, etc.
S211: and transmitting the job comparison report to the server.
In this embodiment, after the job comparison report is generated, the job comparison report may be transmitted to the server for verification and confirmation by the developer. It should be noted that, the developer has no authority to directly obtain the job comparison report, and needs the maintainer to transmit to the server.
From the above description, it can be seen that the following technical effects can be achieved in the embodiments of the present application: by pre-determining the job configuration information including the job path corresponding to the job to be detected, not only can the range of the job list needing to be checked in a customized manner be quickly determined, but also a foundation can be provided for subsequently acquiring the job information of the job to be detected. By acquiring the job information of different versions corresponding to the job to be detected according to the job path, a basis can be provided for determining the required customized detection information in the job to be detected later. By comparing the job information of different versions, the job comparison report for recording the information to be detected is automatically generated based on different job contents, so that the labor cost and the time cost can be effectively reduced, the production risk is reduced, and the customized detection efficiency is improved.
In the present specification, each embodiment of the method is described in a progressive manner, and the same and similar parts of each embodiment participate in each other, and each embodiment mainly describes differences from other embodiments. For relevance, see the description of the method embodiments.
Based on the above-mentioned method for determining detection information, one or more embodiments of the present disclosure further provide an apparatus for determining detection information. The apparatus may include a system (including a distributed system), software (applications), modules, components, servers, clients, etc. that employ the methods described in the embodiments of the present specification in combination with the necessary apparatus to implement the hardware. Based on the same innovative concepts, the embodiments of the present description provide means in one or more embodiments as described in the following embodiments. Because the implementation scheme and the method for solving the problem by the device are similar, the implementation of the device in the embodiment of the present disclosure may refer to the implementation of the foregoing method, and the repetition is not repeated. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Specifically, fig. 3 is a schematic block diagram of an embodiment of an apparatus for determining detection information provided in the present specification, and as shown in fig. 3, an apparatus for determining detection information provided in the present specification may include: job configuration information determination module 120, job information acquisition module 122, and generation module 124.
The job configuration information determining module 120 may be configured to determine job configuration information, where the job configuration information includes a job path corresponding to a job to be detected;
the job information obtaining module 122 may be configured to obtain, according to the job path, job information of different versions corresponding to the job to be detected;
the generating module 124 may be configured to generate a job comparison report when it is determined that the job information of the different versions is different; the job comparison report is used for recording information to be detected in the job information of different versions.
It should be noted that the description of the above apparatus according to the method embodiment may further include other embodiments, and specific implementation manner may refer to the description of the related method embodiment, which is not described herein in detail.
The present disclosure also provides an embodiment of an apparatus for determining detection information, including a processor and a memory for storing instructions executable by the processor, where the processor executes the instructions to implement the steps of the method described in any one or more of the embodiments, for example, including: determining job configuration information, wherein the job configuration information comprises a job path corresponding to a job to be detected; acquiring operation information of different versions corresponding to the operation to be detected according to the operation path; generating a job comparison report when the job information of the different versions is determined to be different; the job comparison report is used for recording information to be detected in the job information of different versions. The system may be a stand-alone server or may include a server cluster, a system (including a distributed system), software (applications), an actual operating device, a logic gate device, a quantum computer, etc., using one or more of the methods or one or more of the embodiment devices of the present specification in combination with a terminal device that implements the necessary hardware.
The method embodiments provided in the present specification may be performed in a mobile terminal, a computer terminal, a server, or similar computing device. Taking the example of running on a server, fig. 4 is a block diagram of a hardware structure of an embodiment of a server for determining detection information provided in the present specification, and the server may be the apparatus for determining detection information or the device for determining detection information in the above embodiment. As shown in fig. 4, the server 10 may include one or more (only one is shown in the figure) processors 100 (the processor 100 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA), a memory 200 for storing data, and a transmission module 300 for communication functions. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 4 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, server 10 may also include more or fewer components than shown in FIG. 4, for example, may also include other processing hardware such as a database or multi-level cache, a GPU, or have a different configuration than that shown in FIG. 4.
The memory 200 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the method of determining detection information in the present embodiment, and the processor 100 executes the software programs and modules stored in the memory 200 to perform various functional applications and data processing. Memory 200 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 200 may further include memory located remotely from processor 100, which may be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission module 300 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission module 300 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission module 300 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The method or apparatus according to the above embodiments provided in the present specification may implement service logic by a computer program and be recorded on a storage medium, where the storage medium may be read and executed by a computer, to implement the effects of the schemes described in the embodiments of the present specification. The storage medium may include physical means for storing information, typically by digitizing the information before storing it in an electronic, magnetic, or optical medium. The storage medium may include: means for storing information using electrical energy such as various memories, e.g., RAM, ROM, etc.; devices for storing information using magnetic energy such as hard disk, floppy disk, magnetic tape, magnetic core memory, bubble memory, and USB flash disk; devices for optically storing information, such as CDs or DVDs. Of course, there are other ways of readable storage medium, such as quantum memory, graphene memory, etc.
The embodiments of the method or the apparatus for determining detection information provided in the present disclosure may be implemented in a computer by executing corresponding program instructions by a processor, for example, implemented on a PC side using the c++ language of a windows operating system, implemented on a linux system, or implemented on an intelligent terminal using, for example, android, iOS system programming languages, and implemented based on processing logic of a quantum computer.
It should be noted that the descriptions of the apparatus, the device, and the system according to the related method embodiments described in the foregoing description may further include other embodiments, and specific implementation manners may refer to descriptions of corresponding method embodiments, which are not described in detail herein.
All embodiments in the application are described in a progressive manner, and identical and similar parts of all embodiments are mutually referred, so that each embodiment mainly describes differences from other embodiments. In particular, for a hardware+program class embodiment, the description is relatively simple, as it is substantially similar to the method embodiment, as relevant see the partial description of the method embodiment.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, when one or more of the present description is implemented, the functions of some of the modules may be implemented in the same piece or pieces of software and/or hardware, or the modules that implement the same function may be implemented by a plurality of sub-modules or a combination of sub-units, or the like.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices, systems according to embodiments of the invention. It will be appreciated that these computer program instructions may be implemented by a computer program instruction which may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
One skilled in the relevant art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects.
The foregoing is merely an example of one or more embodiments of the present specification and is not intended to limit the one or more embodiments of the present specification. Various modifications and alterations to one or more embodiments of this description will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims.

Claims (8)

1. A method of determining detection information, comprising:
determining job configuration information, wherein the job configuration information comprises a job path corresponding to a job to be detected, and the job to be detected is an instruction set for realizing a batch processing function;
acquiring different versions of job information corresponding to the job to be detected according to the job path, wherein the job information comprises an attribute name and job content corresponding to the attribute name, the job to be detected of an instruction set for realizing a batch processing function is split into parallel running jobs according to provinces or partitions, and the parallel jobs generate different versions of job information based on a preset job template and a customized configuration file so as to customize the job to be detected;
storing job configuration information and job information of different versions corresponding to the job to be detected in the same file, wherein job contents corresponding to the same attribute name in the job information of different versions are in the same row;
reading corresponding information in a file storing job configuration information and different versions of job information corresponding to the job to be detected line by line, and judging whether the job information of the different versions is the same or not;
generating a job comparison report when the job information of the different versions is determined to be different; the job comparison report is used for recording information to be detected in the job information of different versions.
2. The method of claim 1, wherein the determining whether the different versions of job information are the same comprises:
and judging whether the job contents corresponding to the same attribute name in the job information of different versions are the same or not.
3. The method of claim 1, wherein generating a job comparison report when it is determined that the different versions of job information are different comprises:
acquiring different job contents in the job information;
and generating a job comparison report based on the different job contents.
4. The method of claim 1, wherein prior to generating the job comparison report, comprising:
and deleting the existing job comparison report on the host environment.
5. The method of claim 1, wherein the different versions of job information are generated based on the same preset job template; alternatively, the different version of job information is generated based on a modification to the target version of job information.
6. The method of claim 5, wherein the different versions of job information include job information corresponding to an old version of job that has been run on a production environment and job information corresponding to a new version of job generated according to a preset job template.
7. An apparatus for determining detection information, comprising:
the job configuration information determining module is used for determining job configuration information, wherein the job configuration information comprises a job path corresponding to a job to be detected, and the job to be detected is an instruction set for realizing a batch processing function;
the job information acquisition module is used for:
acquiring different versions of job information corresponding to the job to be detected according to the job path, wherein the job information comprises an attribute name and job content corresponding to the attribute name, the job to be detected of an instruction set for realizing a batch processing function is split into parallel running jobs according to provinces or partitions, and the parallel jobs generate different versions of job information based on a preset job template and a customized configuration file so as to customize the job to be detected;
storing job configuration information and job information of different versions corresponding to the job to be detected in the same file, wherein job contents corresponding to the same attribute name in the job information of different versions are in the same row;
reading corresponding information in a file storing job configuration information and different versions of job information corresponding to the job to be detected line by line, and judging whether the job information of the different versions is the same or not;
the generation module is used for generating a job comparison report when the job information of the different versions is determined to be different; the job comparison report is used for recording information to be detected in the job information of different versions.
8. An apparatus for determining detection information, comprising a processor and a memory for storing processor-executable instructions, the processor implementing the steps of the method of any one of claims 1-6 when the instructions are executed.
CN202010895950.0A 2020-08-31 2020-08-31 Method, device and equipment for determining detection information Active CN112035358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010895950.0A CN112035358B (en) 2020-08-31 2020-08-31 Method, device and equipment for determining detection information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010895950.0A CN112035358B (en) 2020-08-31 2020-08-31 Method, device and equipment for determining detection information

Publications (2)

Publication Number Publication Date
CN112035358A CN112035358A (en) 2020-12-04
CN112035358B true CN112035358B (en) 2024-04-16

Family

ID=73587587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010895950.0A Active CN112035358B (en) 2020-08-31 2020-08-31 Method, device and equipment for determining detection information

Country Status (1)

Country Link
CN (1) CN112035358B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722436A (en) * 2012-05-29 2012-10-10 百度在线网络技术(北京)有限公司 Statistical method and device for incremental coverage information
CN106445476A (en) * 2015-08-11 2017-02-22 腾讯科技(深圳)有限公司 Code change information determination method and device and electronic equipment
CN106557419A (en) * 2015-09-29 2017-04-05 腾讯科技(深圳)有限公司 The method of testing and device of program
CN110990274A (en) * 2019-11-29 2020-04-10 中国银行股份有限公司 Data processing method, device and system for generating test case
CN111078563A (en) * 2019-12-18 2020-04-28 上海品顺信息科技有限公司 Coverage rate data processing method, terminal device and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9069644B2 (en) * 2009-04-10 2015-06-30 Electric Cloud, Inc. Architecture and method for versioning registry entries in a distributed program build

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722436A (en) * 2012-05-29 2012-10-10 百度在线网络技术(北京)有限公司 Statistical method and device for incremental coverage information
CN106445476A (en) * 2015-08-11 2017-02-22 腾讯科技(深圳)有限公司 Code change information determination method and device and electronic equipment
CN106557419A (en) * 2015-09-29 2017-04-05 腾讯科技(深圳)有限公司 The method of testing and device of program
CN110990274A (en) * 2019-11-29 2020-04-10 中国银行股份有限公司 Data processing method, device and system for generating test case
CN111078563A (en) * 2019-12-18 2020-04-28 上海品顺信息科技有限公司 Coverage rate data processing method, terminal device and computer readable storage medium

Also Published As

Publication number Publication date
CN112035358A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN109582301B (en) Service processing method, device, equipment and medium based on task scheduling system
CN104317618B (en) A kind of firmware partition treating method and apparatus
CN110851209A (en) Data processing method and device, electronic equipment and storage medium
CN107193607A (en) Method and apparatus, storage medium, processor and terminal for updating code file
CN111414391A (en) Method and system for accessing multiple data sources
CN111737227A (en) Data modification method and system
CN112711640A (en) Method and device for configuring business handling process
CN104484275A (en) Method and system capable of remotely testing smart cards
CN113721950A (en) Resource loss prevention and control processing method and device
CN112015651B (en) Data processing method and device
CN112035358B (en) Method, device and equipment for determining detection information
CN112800063A (en) Automatic label passing method and device based on data structure
CN112561690A (en) Method, system, equipment and storage medium for testing credit card staging service interface
CN111930633A (en) Data testing method, platform, electronic device and storage medium
CN115543967A (en) Data migration method and device, electronic equipment and computer readable medium
CN113112270B (en) Data organization method based on block chain
CN113901025A (en) Database management method, device, equipment and storage medium
CN110327626B (en) Virtual server creation method and device
CN103164236A (en) Method and system of online update of remote server
CN111901299A (en) Application authentication method and device, electronic equipment and storage medium
CN113360365A (en) Flow testing method and flow testing system
KR101737575B1 (en) Method and device for verifying data based on sql sentences generated automatically
CN110175116B (en) Test date switching method, device and system
KR102190795B1 (en) Linkage framework to support integrated management of social welfare information, Integrated social welfare information management system therefrom
CN111352811B (en) User behavior data acquisition method, device, equipment and 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