CN115576837A - Batch number making method and device, computer equipment and storage medium - Google Patents

Batch number making method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115576837A
CN115576837A CN202211351928.5A CN202211351928A CN115576837A CN 115576837 A CN115576837 A CN 115576837A CN 202211351928 A CN202211351928 A CN 202211351928A CN 115576837 A CN115576837 A CN 115576837A
Authority
CN
China
Prior art keywords
test data
target
processing system
service processing
target service
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.)
Pending
Application number
CN202211351928.5A
Other languages
Chinese (zh)
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.)
Ping An Health Insurance Company of China Ltd
Original Assignee
Ping An Health Insurance Company 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 Ping An Health Insurance Company of China Ltd filed Critical Ping An Health Insurance Company of China Ltd
Priority to CN202211351928.5A priority Critical patent/CN115576837A/en
Publication of CN115576837A publication Critical patent/CN115576837A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3696Methods or tools to render software testable
    • 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/4482Procedural
    • G06F9/4484Executing subprograms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a batch number making method and device, computer equipment and a storage medium, and belongs to the technical field of big data. The method comprises the steps of constructing a service scene configuration table of target test data according to demand information, reading service interface parameters in the service scene configuration table, determining a target service processing system according to the service interface parameters, obtaining incoming parameters of the target test data, inputting the incoming parameters into the target service processing system, indicating the target service processing system to run a preset target service processing program, obtaining output data of the target service processing system, and obtaining a test data set. In addition, the present application relates to the field of blockchain technology, and target test data may be stored in a blockchain network. The method and the system realize batch manufacture number pre-configuration by establishing the service scene configuration table to determine the corresponding target service processing system, and realize batch automatic manufacture number by running the corresponding target service processing program through the target service processing system.

Description

Batch number making method and device, computer equipment and storage medium
Technical Field
The application belongs to the technical field of big data, and particularly relates to a batch number making method and device, computer equipment and a storage medium.
Background
At present, many companies have the problems of numerous business forms, frequent change of personnel of project groups and scattered arrangement of various data documents, so that when product testing or joint debugging is carried out, different testing data need to be prepared due to different testing and joint debugging systems at each time, the labor input is overlarge, and the efficiency is low.
The traditional test data generation method is that data at the upstream is relied on at the downstream, a tester initiates a data application to a related upstream system after analyzing requirements, the upstream creates corresponding available test data through various systems and interfaces according to different data requirements of various groups at the downstream and returns the test data to downstream colleagues, a plurality of systems are involved in the data acquisition process, layer-by-layer waiting is needed, and the situation that the data is unavailable can occur at each step due to the self reasons of the systems or inconsistent information communication. In the test data acquisition process, the situation of waiting for half a day or even one day to acquire enough data often occurs, the data acquisition process is not flexible, frequent communication of testers among systems is required, when the data is unavailable, the problems of difficulty in checking and the like also exist, and precious test human resources are wasted in the repeated production process.
Disclosure of Invention
The embodiment of the application aims to provide a batch number making method, a batch number making device, computer equipment and a storage medium, so as to solve the technical problems of overlarge manpower input, low efficiency and inflexible data acquisition process in the existing test data generation scheme.
In order to solve the above technical problem, an embodiment of the present application provides a batch manufacturing method, which adopts the following technical solutions:
a batch numbering method, comprising:
acquiring demand information of target test data, and constructing a service scene configuration table of the target test data according to the demand information;
reading the service interface parameters in the service scene configuration table, and determining a target service processing system according to the service interface parameters;
acquiring incoming parameters of the target test data, and inputting the incoming parameters into the target service processing system;
and instructing the target service processing system to operate a preset target service processing program, and acquiring output data of the target service processing system to obtain a test data set.
Further, the requirement information includes scene requirement information, and the constructing a service scene configuration table of the target test data according to the requirement information specifically includes:
determining a target scene corresponding to the target test data according to the scene demand information;
acquiring a service configuration sub-table corresponding to the target scene from a preset service scene database;
and constructing a service scene configuration table of the target test data based on the obtained service configuration sub-table.
Further, the requirement information further includes a data processing sequence rule, and the constructing a service scenario configuration table of the target test data based on the obtained service configuration sub-table specifically includes:
acquiring a data processing sequence rule in the demand information;
and combining the service configuration sub-tables according to the data processing sequence rule to generate a service scene configuration table of the target test data.
Further, the instructing the target service processing system to run a preset target service processing program and obtain output data of the target service processing system to obtain a test data set specifically includes:
calling a target service processing program stored in the target service processing system;
instructing the target service processing system to run the target service processing program;
acquiring the identification of the target service processing system to obtain the identification of the target service system;
acquiring output data of the target service processing system, and labeling each output data in sequence through the target service system identification;
and combining each marked output data to obtain a test data set.
Further, after the instructing the target service processing system to run a preset target service processing program, and acquiring output data of the target service processing system to obtain a test data set, the method further includes:
calculating the offset degree of the test data in the test data set and the target test data;
and removing the test data with the deviation degree larger than a preset threshold value from the test data set.
Further, the requirement information further includes a required amount of test data, and after the test data with the deviation degree greater than a preset threshold is removed from the test data set, the method further includes:
counting the data volume of the test data set;
and when the data volume of the test data set reaches the test data demand, indicating the target service processing system to stop running.
Further, after the instructing the target business processing system to stop operating when the data volume of the test data set reaches the test data demand, the method further includes:
receiving a test data acquisition instruction, and verifying the identity of a sender of the test data acquisition instruction;
if the identity verification of the sender of the test data acquisition instruction passes, transmitting the test data set to the sender of the test data acquisition instruction;
and if the identity verification of the sender of the test data acquisition instruction fails, sending alarm information that the identity verification fails.
In order to solve the above technical problem, an embodiment of the present application further provides a batch number manufacturing apparatus, which adopts the following technical scheme:
a batch numbering device comprising:
the configuration table building module is used for obtaining the demand information of the target test data and building a service scene configuration table of the target test data according to the demand information;
the processing system construction module is used for reading the service interface parameters in the service scene configuration table and determining a target service processing system according to the service interface parameters;
an incoming parameter input module, configured to acquire an incoming parameter of the target test data, and input the incoming parameter into the target service processing system;
and the test data generation module is used for indicating the target service processing system to run a preset target service processing program, and acquiring the output data of the target service processing system to obtain a test data set.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, which adopts the following technical solutions:
a computer device comprising a memory having computer readable instructions stored therein and a processor that when executed implements the steps of a batch manufacturing method as in any one of the above.
In order to solve the above technical problem, an embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium having computer readable instructions stored thereon which, when executed by a processor, implement the steps of a batch numbering process as claimed in any one of the preceding claims.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
the application discloses a batch number making method and device, computer equipment and a storage medium, and belongs to the technical field of big data. The method comprises the steps of obtaining demand information of target test data, constructing a service scene configuration table of the target test data according to the demand information, reading service interface parameters in the service scene configuration table, determining a target service processing system according to the service interface parameters, obtaining incoming parameters of the target test data, inputting the incoming parameters into the target service processing system, instructing the target service processing system to operate a preset target service processing program, obtaining output data of the target service processing system, and obtaining a test data set. According to the method and the device, the service scene configuration table is constructed to determine the corresponding target service processing system, batch number making pre-configuration is achieved, the corresponding target service processing program is operated through the target service processing system, batch automatic number making is achieved, and the number making efficiency and flexibility are improved.
Drawings
In order to more clearly illustrate the solution of the present application, the drawings needed for describing the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 illustrates an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 illustrates a flow diagram of one embodiment of a batch manufacturing method according to the present application;
FIG. 3 illustrates a schematic diagram of one embodiment of a batch numbering device according to the present application;
FIG. 4 shows a schematic block diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, for example, a background server that provides support for pages displayed on the terminal devices 101, 102, and 103, and may be an independent server, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform.
It should be noted that, the batch number making method provided by the embodiment of the present application is generally executed by a server, and accordingly, the batch number making device is generally disposed in the server.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow diagram of one embodiment of a batch manufacturing method according to the present application is shown. The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence base technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like. The batch manufacturing method comprises the following steps:
s201, acquiring the demand information of the target test data, and constructing a service scene configuration table of the target test data according to the demand information.
In the embodiment of the application, before batch manufacturing, a user provides a test data example, namely target test data. The requirement information is related information for constructing test data, and the requirement information at least comprises scene requirement information, a data processing sequence rule and test data demand. The scene requirement information records a target scene corresponding to the target test data; the data processing sequence rule records a data processing process of converting initial data into target test data, for example, in an insurance renewal scene, the initial data are insurance application data, such as a policy number, a client number, an underwriting rule check, a financial payment, an underwriting place, form writing data and the like, the target test data are insurance renewal data, such as no payment for insurance premium renewal, natural due renewal, extended renewal and an increased insured life, and the data processing sequence rule is an intermediate data processing process of generating the insurance renewal data through the insurance renewal data; the test data demand records the amount of test data that needs to be generated.
In this embodiment, the server obtains the requirement information of the target test data, extracts the scene requirement information in the requirement information, and the scene requirement information constructs a service scene configuration table of the target test data, so as to implement pre-configuration of the batch manufacturer, and subsequently determine the target service processing system related to the batch manufacturer through the service scene configuration table.
S202, reading the service interface parameter in the service scene configuration table, and determining a target service processing system according to the service interface parameter.
In this embodiment, the service scene configuration table records service interface parameters of the service processing system, and the corresponding service processing system can be matched according to the service interface parameters. And after obtaining the service scene configuration table of the target test data, the server reads the service interface parameters in the service scene configuration table, and matches the corresponding service processing system according to the service interface parameters to obtain the target service processing system.
S203, acquiring the incoming parameters of the target test data, and inputting the incoming parameters into the target service processing system.
In this embodiment, generally, the target test data is obtained by performing multi-stage processing on the initial data, so that when the server performs the data creation, the server obtains incoming parameters of the target test data, inputs the incoming parameters into the target business processing system, and processes the incoming parameters through the target business processing system to obtain batch processing data, where the incoming parameters are the initial data.
S204, the target service processing system is instructed to run a preset target service processing program, output data of the target service processing system are obtained, and a test data set is obtained.
In this embodiment, after sending the incoming parameters to the target service processing system, the server instructs the target service processing system to run a preset target service processing program, and collects output data of the target service processing system to obtain a test data set, thereby implementing batch automatic manufacturing.
In the embodiment, the service scene configuration table is constructed to determine the corresponding target service processing system, batch number pre-configuration is realized, and the target service processing system runs the corresponding target service processing program, so that batch automatic number making is realized, and the number making efficiency and flexibility are improved.
Further, the requirement information includes scene requirement information, and the constructing a service scene configuration table of the target test data according to the requirement information specifically includes:
determining a target scene corresponding to the target test data according to the scene demand information;
acquiring a service configuration sub-table corresponding to the target scene from a preset service scene database;
and constructing a service scene configuration table of the target test data based on the acquired service configuration sub-table.
In this embodiment, a preset service scenario database records service configuration sub-tables corresponding to a plurality of pre-collected scenarios, a server determines a target scenario corresponding to target test data according to scenario demand information, acquires a service configuration sub-table matched with the target scenario from the preset service scenario database, and constructs a service scenario configuration table of the target test data based on the acquired service configuration sub-table.
Further, the requirement information further includes a data processing sequence rule, and the constructing a service scenario configuration table of the target test data based on the obtained service configuration sub-table specifically includes:
acquiring a data processing sequence rule in the requirement information;
and combining the service configuration sub-tables according to the data processing sequence rule to generate a service scene configuration table of the target test data.
In this embodiment, the requirement information records a data processing sequence rule, and the data processing sequence rule records a data processing procedure of the initial data becoming the target test data. And the server acquires the data processing sequence rule in the demand information, combines the service configuration sub-tables according to the data processing sequence rule and generates a service scene configuration table of the target test data.
In one embodiment of the present application, the data processing sequence rule is a recursive operation rule, and the recursive algorithm is widely applied in programming languages, which refers to a reentrant phenomenon caused by a function/process/subroutine directly or indirectly calling itself during the operation process. Recursion is an important concept of computer science, the recursive method is an effective method in program design, and the program can be simplified and clear by using the recursive writing program.
In this embodiment, the recursive operation adopts a classic idea of "stair climbing" in dynamic programming, which is a first-level step (N0) from a front-end input parameter, and combines API interfaces of different interfaces to achieve N methods, so that the upper N-level step has a sum of (N-1) + (N-2) methods, and all the methods can generate test data one by one, thereby improving the flexibility of test data generation.
In the embodiment, the service scene configuration table is determined according to the scene requirement information, so that the batch manufacture pre-configuration is realized, the subsequent batch manufacture is facilitated, and the manufacture efficiency and the flexibility are improved.
Further, the instructing the target service processing system to run a preset target service processing program and obtain output data of the target service processing system to obtain a test data set specifically includes:
calling a target service processing program stored in the target service processing system;
instructing the target service processing system to run the target service processing program;
acquiring the identification of the target service processing system to obtain the identification of the target service system;
acquiring output data of the target service processing system, and labeling each output data in sequence through the target service system identification;
and combining each marked output data to obtain a test data set.
In this embodiment, the server instructs the target service processing system to run the target service processing program by calling the target service processing program stored in the target service processing system, obtains an identifier of the target service system, obtains output data of the target service processing system, sequentially labels each output data through the identifier of the target service system, and combines each labeled output data to obtain a test data set. In addition, the server can also acquire various identifiers to label the output data, such as a creator identifier, a use state identifier, a table falling identifier and a cleaning identifier.
In the embodiment, the output data are marked by acquiring various identifiers, so that each output data has a label, a target business system, a creator, a data use state, a data table falling and data cleaning are traced, and each regression data forms a complete life cycle tracking.
Further, after the instructing the target service processing system to run a preset target service processing program, and acquiring output data of the target service processing system to obtain a test data set, the method further includes:
calculating the offset degree of the test data in the test data set and the target test data;
and removing the test data with the deviation degree larger than a preset threshold value from the test data set.
In this embodiment, after each test data is obtained by the server, the offset degree between the test data and the target test data is calculated, whether the test data is available is determined through the offset degree, and when the offset degree is greater than a preset threshold value, the test data is removed from the test data set, so that the test data with the offset degree smaller than or equal to the preset threshold value is reserved.
In the embodiment, whether the test data are available or not is determined through the calculation of the offset degree, and the test data with the offset degree larger than the preset threshold value are removed from the test data set, so that the accuracy of the test data set is improved.
Further, the requirement information further includes a required amount of test data, and after the test data with the deviation degree greater than a preset threshold is removed from the test data set, the method further includes:
counting the data volume of the test data set;
and when the data volume of the test data set reaches the test data demand, indicating the target service processing system to stop running.
In this embodiment, in the batch manufacturing process of the server, the data volume of the test data set is continuously counted, and when the data volume of the test data set reaches the required volume of the test data, the target service processing system is instructed to stop running, so that the operation resources are saved, and the data waste is avoided.
Further, after the instructing the target business processing system to stop operating when the data volume of the test data set reaches the test data demand, the method further includes:
receiving a test data acquisition instruction, and verifying the identity of a sender of the test data acquisition instruction;
if the identity verification of the sender of the test data acquisition instruction passes, transmitting the test data set to the sender of the test data acquisition instruction;
and if the identity verification of the sender of the test data acquisition instruction fails, sending alarm information that the identity verification fails.
Specifically, after receiving the test data acquisition instruction, the server checks the identity of the sender of the test data acquisition instruction, transmits the test data set to the sender of the test data acquisition instruction if the identity of the sender of the test data acquisition instruction passes the check, and sends out warning information indicating that the identity fails the check if the identity of the sender of the test data acquisition instruction fails the check, so as to ensure data security.
In this embodiment, the electronic device (for example, the server shown in fig. 1) on which the batch manufacturing method operates may receive the test data obtaining instruction through a wired connection manner or a wireless connection manner. It is noted that the wireless connection may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a UWB (ultra wideband) connection, and other wireless connection now known or developed in the future.
In the embodiment, the application discloses a batch number making method, and belongs to the technical field of big data. The method comprises the steps of obtaining demand information of target test data, constructing a service scene configuration table of the target test data according to the demand information, reading service interface parameters in the service scene configuration table, determining a target service processing system according to the service interface parameters, obtaining incoming parameters of the target test data, inputting the incoming parameters into the target service processing system, instructing the target service processing system to operate a preset target service processing program, obtaining output data of the target service processing system, and obtaining a test data set. According to the method and the device, the service scene configuration table is constructed to determine the corresponding target service processing system, batch number making pre-configuration is achieved, the corresponding target service processing program is operated through the target service processing system, batch automatic number making is achieved, and the number making efficiency and flexibility are improved.
It is emphasized that, to further ensure the privacy and security of the target test data, the target test data may also be stored in a node of a block chain.
The block chain referred by the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer readable instructions, which can be stored in a computer readable storage medium, and when executed, can include processes of the embodiments of the methods described above. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a batch manufacturing apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which can be applied to various electronic devices.
As shown in fig. 3, the batch manufacturing apparatus 300 of the present embodiment includes:
the configuration table building module 301 is configured to obtain requirement information of target test data, and build a service scene configuration table of the target test data according to the requirement information;
a processing system construction module 302, configured to read a service interface parameter in the service scene configuration table, and determine a target service processing system according to the service interface parameter;
an incoming parameter input module 303, configured to acquire an incoming parameter of the target test data, and input the incoming parameter into the target service processing system;
the test data generating module 304 is configured to instruct the target service processing system to run a preset target service processing program, and obtain output data of the target service processing system to obtain a test data set.
Further, the configuration table building module 301 specifically includes:
the target scene determining unit is used for determining a target scene corresponding to the target test data according to the scene demand information;
a configuration sub-table obtaining unit, configured to obtain a service configuration sub-table corresponding to the target scene from a preset service scene database;
and the configuration table constructing unit is used for constructing a service scene configuration table of the target test data based on the acquired service configuration sub-table.
Further, the requirement information further includes a data processing sequence rule, and the configuration table constructing unit specifically includes:
the sequence rule obtaining subunit is used for obtaining a data processing sequence rule in the requirement information;
and the configuration table constructing sub-unit is used for combining the service configuration sub-tables according to the data processing sequence rule to generate a service scene configuration table of the target test data.
Further, the test data generating module 304 specifically includes:
a processing program calling unit, configured to call a target service processing program stored in the target service processing system;
a processing program running unit, configured to instruct the target service processing system to run the target service processing program;
a system identifier obtaining unit, configured to obtain an identifier of the target service processing system, to obtain a target service system identifier;
the output data labeling unit is used for acquiring the output data of the target service processing system and labeling each output data in sequence through the target service system identification;
and the labeled data combination unit is used for combining each output data after labeling to obtain a test data set.
Further, the batch manufacturing apparatus 300 further includes:
the offset calculation module is used for calculating the offset of the test data in the test data set and the target test data;
and the data eliminating module is used for removing the test data with the deviation degree larger than a preset threshold value from the test data set.
Further, the batch manufacturing apparatus 300 further includes:
the data volume counting module is used for counting the data volume of the test data set;
and the operation stopping module is used for indicating the target service processing system to stop operating when the data volume of the test data set reaches the test data demand.
Further, the batch manufacturing apparatus 300 further includes:
the identity verification module is used for receiving the test data acquisition instruction and verifying the identity of a sender of the test data acquisition instruction;
the first verification result module is used for transmitting the test data set to the sender of the test data acquisition instruction when the identity verification of the sender of the test data acquisition instruction passes;
and the first verification result module is used for sending alarm information that the identity verification fails when the identity verification of the sender of the test data acquisition instruction fails.
In the above embodiment, the application discloses a batch number making device, and belongs to the technical field of big data. The method comprises the steps of obtaining demand information of target test data, constructing a service scene configuration table of the target test data according to the demand information, reading service interface parameters in the service scene configuration table, determining a target service processing system according to the service interface parameters, obtaining incoming parameters of the target test data, inputting the incoming parameters into the target service processing system, instructing the target service processing system to operate a preset target service processing program, obtaining output data of the target service processing system, and obtaining a test data set. According to the method and the device, the service scene configuration table is constructed to determine the corresponding target service processing system, batch number making pre-configuration is achieved, the corresponding target service processing program is operated through the target service processing system, batch automatic number making is achieved, and the number making efficiency and flexibility are improved.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 4, fig. 4 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It is noted that only computer device 4 having components 41-43 is shown, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to instructions set or stored in advance, and the hardware thereof includes but is not limited to a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including flash memory, hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, 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, which are provided on the computer device 4. Of course, the memory 41 may also include both internal and external storage devices of the computer device 4. In this embodiment, the memory 41 is generally used for storing an operating system and various types of application software installed on the computer device 4, such as computer readable instructions of a batch manufacturing method. Further, the memory 41 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute computer readable instructions stored in the memory 41 or process data, for example, execute computer readable instructions of the batch manufacturing method.
The network interface 43 may comprise a wireless network interface or a wired network interface, and the network interface 43 is generally used for establishing communication connection between the computer device 4 and other electronic devices.
The application discloses computer equipment belongs to big data technology field. The method comprises the steps of obtaining demand information of target test data, constructing a service scene configuration table of the target test data according to the demand information, reading service interface parameters in the service scene configuration table, determining a target service processing system according to the service interface parameters, obtaining incoming parameters of the target test data, inputting the incoming parameters into the target service processing system, instructing the target service processing system to operate a preset target service processing program, obtaining output data of the target service processing system, and obtaining a test data set. According to the method and the device, the service scene configuration table is constructed to determine the corresponding target service processing system, batch number making pre-configuration is achieved, the corresponding target service processing program is operated through the target service processing system, batch automatic number making is achieved, and the number making efficiency and flexibility are improved.
The present application further provides another embodiment, which is to provide a computer-readable storage medium storing computer-readable instructions executable by at least one processor to cause the at least one processor to perform the steps of the batch manufacturing method as described above.
The application discloses a storage medium, and belongs to the technical field of big data. The method comprises the steps of obtaining demand information of target test data, constructing a service scene configuration table of the target test data according to the demand information, reading service interface parameters in the service scene configuration table, determining a target service processing system according to the service interface parameters, obtaining incoming parameters of the target test data, inputting the incoming parameters into the target service processing system, instructing the target service processing system to operate a preset target service processing program, obtaining output data of the target service processing system, and obtaining a test data set. According to the method and the device, the service scene configuration table is constructed to determine the corresponding target service processing system, batch number making pre-configuration is achieved, the corresponding target service processing program is operated through the target service processing system, batch automatic number making is achieved, and the number making efficiency and flexibility are improved.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields, and all the equivalent structures are within the protection scope of the present application.

Claims (10)

1. A batch manufacturing method is characterized by comprising the following steps:
acquiring demand information of target test data, and constructing a service scene configuration table of the target test data according to the demand information;
reading the service interface parameters in the service scene configuration table, and determining a target service processing system according to the service interface parameters;
acquiring incoming parameters of the target test data, and inputting the incoming parameters into the target business processing system;
and indicating the target service processing system to run a preset target service processing program, and acquiring output data of the target service processing system to obtain a test data set.
2. The batch manufacturing method according to claim 1, wherein the requirement information includes scenario requirement information, and the constructing the service scenario configuration table of the target test data according to the requirement information specifically includes:
determining a target scene corresponding to the target test data according to the scene demand information;
acquiring a service configuration sub-table corresponding to the target scene from a preset service scene database;
and constructing a service scene configuration table of the target test data based on the acquired service configuration sub-table.
3. The batch manufacturing method according to claim 2, wherein the requirement information further includes a data processing sequence rule, and the constructing a service scenario configuration table of the target test data based on the obtained service configuration sub-table specifically includes:
acquiring a data processing sequence rule in the requirement information;
and combining the service configuration sub-tables according to the data processing sequence rule to generate a service scene configuration table of the target test data.
4. The batch manufacturing method according to claim 1, wherein the instructing the target service processing system to run a preset target service processing program and obtain output data of the target service processing system to obtain a test data set specifically comprises:
calling a target service processing program stored in the target service processing system;
instructing the target service processing system to run the target service processing program;
acquiring the identification of the target service processing system to obtain the identification of the target service system;
acquiring output data of the target service processing system, and labeling each output data in sequence through the target service system identification;
and combining each marked output data to obtain a test data set.
5. The batch manufacturing method according to any one of claims 1 to 4, wherein after the instructing the target service processing system to run a preset target service processing program, acquiring output data of the target service processing system, and obtaining a test data set, the method further comprises:
calculating the offset degree of the test data in the test data set and the target test data;
and removing the test data with the deviation degree larger than a preset threshold value from the test data set.
6. The batch manufacturing method of claim 5, wherein the requirement information further includes a required amount of test data, and after the removing the test data with the offset degree greater than a preset threshold from the test data set, further includes:
counting the data volume of the test data set;
and when the data volume of the test data set reaches the test data demand, indicating the target service processing system to stop running.
7. The batch manufacturing method of claim 6, wherein after said instructing said target business processing system to stop running when the data volume of said test data set reaches said test data demand, further comprising:
receiving a test data acquisition instruction, and verifying the identity of a sender of the test data acquisition instruction;
if the identity verification of the sender of the test data acquisition instruction passes, transmitting the test data set to the sender of the test data acquisition instruction;
and if the identity verification of the sender of the test data acquisition instruction fails, sending alarm information that the identity verification fails.
8. A batch numbering device, comprising:
the configuration table building module is used for obtaining the demand information of the target test data and building a service scene configuration table of the target test data according to the demand information;
the processing system construction module is used for reading the service interface parameters in the service scene configuration table and determining a target service processing system according to the service interface parameters;
an incoming parameter input module, configured to acquire an incoming parameter of the target test data, and input the incoming parameter into the target service processing system;
and the test data generation module is used for indicating the target service processing system to operate a preset target service processing program and acquiring output data of the target service processing system to obtain a test data set.
9. A computer device comprising a memory having computer readable instructions stored therein and a processor that when executed performs the steps of the batch numbering method of any of claims 1 to 7.
10. A computer-readable storage medium having computer-readable instructions stored thereon which, when executed by a processor, implement the steps of the batch manufacturing method of any of claims 1-7.
CN202211351928.5A 2022-10-31 2022-10-31 Batch number making method and device, computer equipment and storage medium Pending CN115576837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211351928.5A CN115576837A (en) 2022-10-31 2022-10-31 Batch number making method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211351928.5A CN115576837A (en) 2022-10-31 2022-10-31 Batch number making method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115576837A true CN115576837A (en) 2023-01-06

Family

ID=84589534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211351928.5A Pending CN115576837A (en) 2022-10-31 2022-10-31 Batch number making method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115576837A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118210708A (en) * 2024-02-21 2024-06-18 华安证券股份有限公司 Intelligent construction method and device for manufacturing data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118210708A (en) * 2024-02-21 2024-06-18 华安证券股份有限公司 Intelligent construction method and device for manufacturing data

Similar Documents

Publication Publication Date Title
CN112365202B (en) Method for screening evaluation factors of multi-target object and related equipment thereof
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN112860662B (en) Automatic production data blood relationship establishment method, device, computer equipment and storage medium
CN112181835A (en) Automatic testing method and device, computer equipment and storage medium
CN114281552A (en) Task scheduling method, device, equipment and medium based on directed acyclic graph
CN112631884A (en) Pressure measurement method and device based on data synchronization, computer equipment and storage medium
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN115576837A (en) Batch number making method and device, computer equipment and storage medium
CN117057935A (en) Data processing method, device, equipment and storage medium based on field design
CN117217684A (en) Index data processing method and device, computer equipment and storage medium
CN116956326A (en) Authority data processing method and device, computer equipment and storage medium
CN115941712A (en) Method and device for processing submission data, computer equipment and storage medium
CN115292580A (en) Data query method and device, computer equipment and storage medium
CN114372889A (en) Method and device for monitoring underwriting, computer equipment and storage medium
CN115687120A (en) Service line full link testing method, device, equipment and storage medium
CN114428608A (en) Task optimization method based on big data and related equipment
CN115936909A (en) Data processing method and device, computer equipment and storage medium
CN117112383A (en) Performance analysis method, device, equipment and storage medium based on artificial intelligence
CN115080045A (en) Link generation method, apparatus, computer equipment and storage medium
CN119166667A (en) Data playback method, device, computer equipment and storage medium
CN113806372A (en) New data information construction method and device, computer equipment and storage medium
CN116738084A (en) Buried data processing method, buried data processing device, computer equipment and storage medium
CN115511277A (en) Activity task issuing method and device, computer equipment and storage medium
CN115936910A (en) Fee data processing method and device, computer equipment and storage medium
CN117422523A (en) Product online method and device, computer equipment and storage medium

Legal Events

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