CN114896159A - Joint debugging test method and device, storage medium and electronic equipment - Google Patents

Joint debugging test method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114896159A
CN114896159A CN202210572114.8A CN202210572114A CN114896159A CN 114896159 A CN114896159 A CN 114896159A CN 202210572114 A CN202210572114 A CN 202210572114A CN 114896159 A CN114896159 A CN 114896159A
Authority
CN
China
Prior art keywords
transaction data
date
current
year
joint debugging
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
CN202210572114.8A
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 Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210572114.8A priority Critical patent/CN114896159A/en
Publication of CN114896159A publication Critical patent/CN114896159A/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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • 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
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/119Details of migration of file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Human Computer Interaction (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides a joint debugging test method, a joint debugging test device, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring a current natural date and a current service date of a core system; acquiring a current natural date year-month table corresponding to a current natural date in a peripheral system and a current business date year-month table corresponding to a current business date, wherein transaction data generated when a transaction is carried out on the current natural date is recorded in the current natural date year-month table; acquiring transaction data from a current natural date year-month table, and transferring the transaction data to a current business date year-month table; and receiving a data file sent by the core system after the transaction data is subjected to the posting processing, and according to the information in the file, performing the posting processing on the transaction data in the current business date year-month table to complete the joint debugging test. The embodiment of the application can ensure that the peripheral system can normally process the transaction data in the current business date year-month table when entering account, and the transaction data are not lost.

Description

Joint debugging test method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of testing technologies, and in particular, to a joint debugging testing method and apparatus, a storage medium, and an electronic device.
Background
In a test environment, the core system needs to frequently cut or skip lots for rapid verification of the requirement, so that the service date of the core system is far beyond the current natural date. For a peripheral system which performs sub-table processing according to the year and month, processing abnormity is processed when transaction data in the current business date year and month table is subjected to entry processing, partial information of the transaction data is lost, and the performance of joint debugging test is influenced.
Therefore, the prior art has defects and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides a joint debugging test method, a joint debugging test device, a storage medium and electronic equipment, which can ensure that a peripheral system can normally process transaction data in a current business date year-month table when entering account, the transaction data is not lost, and the joint debugging test is normally carried out.
The embodiment of the application provides a joint debugging test method, which comprises the following steps:
acquiring a current natural date and a current service date of a core system;
acquiring a current natural date year-month table corresponding to the current natural date in the peripheral system and a current business date year-month table corresponding to the current business date, wherein transaction data generated when a transaction is carried out on the current natural date is recorded in the current natural date year-month table;
acquiring the transaction data from the current natural date year-month table, and transferring the transaction data to the current business date year-month table;
and receiving a data file sent by a core system after the transaction data is subjected to entry processing, and according to information in the file, performing entry processing on the transaction data in the current business date year-month table to complete joint debugging testing.
In the joint debugging test described in the embodiment of the present application, the receiving core system performs posting processing on the transaction data according to the information in the data file sent after posting processing on the transaction data, and performs posting processing on the transaction data in the current business date year-month table to complete the joint debugging test, including:
receiving a data file sent by a core system after the transaction data is subjected to posting processing;
batching the transaction data in the current business date year-month table to obtain a plurality of batches of transaction data;
and on the basis of the information in the file, sequentially performing entry processing on each batch of transaction data to finish joint debugging test.
In the joint debugging test according to the embodiment of the present application, after the batching the transaction data in the current business date year-month table to obtain a plurality of batches of transaction data, the method further includes:
sequencing a plurality of batches of the transaction data according to a preset sequence;
the said information based on in the said file, carry on the posting to each batch of transaction data sequentially, finish the joint debugging and test, include:
and on the basis of the information in the file and the preset sequence, sequentially performing entry processing on each batch of the transaction data to finish joint debugging test.
In the joint debugging test according to the embodiment of the present application, the acquiring a current natural date and a current service date of a core system includes:
automatically acquiring the current service date of a core system every other first preset time length, and writing the current service date into a parameter file to generate a current service date table corresponding to the current service date;
the current natural date of the core system is obtained.
In the joint debugging test according to the embodiment of the present application, the acquiring the transaction data from the current natural date year-month table and migrating the transaction data to the current business date table includes:
acquiring the transaction data from the current natural date year-month table every second preset time;
and migrating the transaction data to the current business date table.
In the joint debugging test described in the embodiment of the present application, the receiving core system performs the posting process on the transaction data according to the information in the data file sent after the posting process is performed on the transaction data, and before the joint debugging test is completed, the receiving core system further includes:
detecting whether the core system has completely finished the posting processing of the transaction data;
and if so, controlling the core system to send the data file.
In the joint debugging test according to the embodiment of the present application, the detecting whether the core system has completely completed posting the transaction data includes:
and detecting whether the core system finishes the posting processing of the transaction data of the relevant batches every other third preset time.
The embodiment of the present application further provides a joint debugging testing arrangement, the device includes:
the first acquisition module is used for acquiring the current natural date and the current service date of the core system;
the second acquisition module is used for acquiring a current natural date year-month table corresponding to a current natural date in the peripheral system and a current business date year-month table corresponding to the current business date, wherein transaction data generated when a transaction is carried out on the current natural date is recorded in the current natural date year-month table;
the third acquisition module is used for acquiring the transaction data from the current natural date year-month table and transferring the transaction data to the current business date year-month table;
and the processing module is used for receiving a data file sent by the core system after the transaction data is subjected to entry processing, and according to information in the file, performing entry processing on the transaction data in the current business date year-month table to complete the joint debugging test.
The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the joint debugging test method according to any embodiment.
The embodiment of the present application further provides an electronic device, where the electronic device includes a processor and a memory, where a computer program is stored in the memory, and the processor is configured to execute the joint debugging test method according to any embodiment by calling the computer program stored in the memory.
Before data entry processing is carried out on a current business date year-month table according to a data file sent by a core system, a current natural date year-month table corresponding to a current natural date in a peripheral system and the current business date year-month table corresponding to the current business date are obtained, transaction data are obtained from the current natural date year-month table and are transferred to the current business date year-month table, so that the transaction data generated when transaction is carried out on the current natural date exist in the current business date year-month table, and then entry processing is carried out on the transaction data in the current business date year-month table according to the data file sent by the core system, so that the integrity of the transaction data is guaranteed, and the problem that partial information of the transaction data is lost to influence the normal operation of an associated tone test is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flow chart of a joint debugging test method provided in an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a joint debugging test apparatus according to an embodiment of the present application.
Fig. 3 is another schematic structural diagram of a joint debugging testing apparatus according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The embodiment of the application provides a joint debugging test method, which is applied to a peripheral system.
Referring to fig. 1, fig. 1 is a schematic flow chart of a joint debugging testing method according to an embodiment of the present disclosure. The joint debugging test method is applied to a peripheral system, and can comprise the following steps:
step 101, acquiring a current natural date and a current service date of a core system.
The business date is the date on which the core system processes the transaction data.
In some embodiments, the obtaining the current natural date and the current business date of the core system includes:
automatically acquiring the current service date of a core system every other first preset time length, and writing the current service date into a parameter file to generate a current service date table corresponding to the current service date;
the current natural date of the core system is obtained.
Since the service date increases with the batch data of the core system every time the core system runs, the current service date of the core system needs to be automatically acquired at intervals. For example, now at two pm, the current business date is 20250101, and after the three pm core system runs through 20250101 batches of data, the current business date becomes 20250102. The peripheral system does not know when the core system runs out of batch data, so the peripheral system needs to query at intervals, and therefore the peripheral system needs to automatically acquire the current service date of the core system at intervals of a first preset time length.
The first preset time can be 1 hour, and according to the investigation, the requirement can be met and the problem of too frequent acquisition can be avoided when the acquisition is performed once in 1 hour.
102, acquiring a current natural date year-month table corresponding to the current natural date in the peripheral system and a current business date year-month table corresponding to the current business date, wherein transaction data generated when a transaction is performed on the current natural date is recorded in the current natural date year-month table.
The current business date year and month table has the same structure as the current natural date year and month table, but no transaction data exists in the current business date year and month table at the moment.
Step 103, acquiring the transaction data from the current natural date year-month table, and migrating the transaction data to the current business date year-month table.
In some embodiments, said obtaining said transaction data from said current natural date year-month table and migrating said transaction data to said current business date year-month table comprises:
acquiring the transaction data from the current natural date year-month table every second preset time;
and migrating the transaction data to the current business date table.
The second preset time period may be 5 minutes, that is, transaction data is acquired from the current natural date year-month table every 5 minutes, and then the acquired transaction data is migrated to the current service date table. Since new transaction data are generated at intervals in the current natural date year-month table, new transaction data are acquired from the current natural date year-month table at intervals of a second preset duration.
And 104, receiving a data file sent by a core system after the transaction data is subjected to entry processing, and according to information in the data file, performing entry processing on the transaction data in the current business date year-month table to complete the joint debugging test.
The data file is sent to the peripheral system by the core system after the transaction data is subjected to the account posting processing. The core system transmits the transaction data after the posting process to the peripheral system through a file at the latitude of the business date, and tells the peripheral system which transactions have been posted (first stage). The transaction data recorded in the current natural date year-month table is the transaction data that the core system downloads to the peripheral system in the dimension of the natural date through the mq message when the transaction occurs (when the transaction is performed on the current natural date) (the second stage).
The method comprises the steps of performing posting processing on transaction data in a current business date year-month table, namely adding a plurality of pieces of posting-related information in the current business date year-month table, namely finding data which are transmitted to a peripheral system in a first stage of a core system in the current business date year-month table, and then adding related posting information (such as posting amount, posting date and posting serial number).
In some embodiments, the receiving a data file sent by the core system after the posting process is performed on the transaction data, and according to information in the file, performing the posting process on the transaction data in the current business date year-month table to complete the joint debugging test, includes:
receiving a data file sent by a core system after the transaction data is subjected to posting processing;
batching the transaction data in the current business date year-month table to obtain a plurality of batches of transaction data;
and on the basis of the information in the file, sequentially performing entry processing on each batch of transaction data to finish joint debugging test.
The reason why the file contains a plurality of transaction records (for example, 100 ten thousand transaction records) is that there is no way to perform posting processing on all transaction data in the current business date year-month table at one time, but only the transaction data in the current business date year-month table is batched (100 transaction records per batch) to generate a plurality of batches of transaction data, then information corresponding to each batch of transaction data is respectively acquired from the file, and each batch of transaction data is sequentially subjected to posting processing.
In some embodiments, after the batching the transaction data in the current business date year-month table to obtain multiple batches of transaction data, the batching further includes:
sequencing a plurality of batches of the transaction data according to a preset sequence;
the said information based on in the said file, carry on the posting to each batch of transaction data sequentially, finish the joint debugging and test, include:
and on the basis of the information in the file and the preset sequence, sequentially performing entry processing on each batch of the transaction data to finish joint debugging test.
The transaction data may be sorted according to the amount of the transaction data. For example, transaction data with a larger amount of money is arranged in front of the transaction data with a smaller amount of money, and then transaction data arranged in front (with a larger amount of money) is preferentially processed, so that the transaction data can be posted more sequentially.
In some embodiments, the receiving a data file sent by the core system after the posting of the transaction data, according to information in the file, performs posting of the transaction data in the current business date year-month table, and before the joint debugging test is completed, further includes:
detecting whether the core system has completely finished the posting processing of the transaction data;
and if so, controlling the core system to send the data file.
After detecting whether the core system has completely finished the account entry processing of the transaction data, detecting whether the core system has packaged all the transaction data into a file form to form a data file, and controlling the core system to send the data file if the core system has packaged all the transaction data into the file form. Wherein the core system sends the data file to the peripheral system in the dimension of the business date.
In some embodiments, the detecting whether the core system has completely completed the posting process for the transaction data includes:
and detecting whether the core system finishes the posting processing of the transaction data of the relevant batches every other third preset time.
When the core system performs the posting process on the transaction data, batch posting process is performed, each batch has a plurality of transaction data, wherein the third preset time may be 15 minutes, and a person skilled in the art may set the third preset time according to actual situations, which is not specifically limited herein.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, before performing data entry processing on the current business date year-month table according to the data file sent by the core system, the joint debugging testing method provided in the embodiment of the present application first obtains the current natural date year-month table corresponding to the current natural date in the peripheral system and the current business date year-month table corresponding to the current business date, then acquiring transaction data from the current natural date year-month table, transferring the transaction data to the current service date year-month table, thereby ensuring that the current business date year-month table has transaction data generated when the transaction is carried out on the current natural day, then the transaction data in the current business date year-month table is subjected to posting processing according to the data file sent by the core system, therefore, the integrity of the transaction data is ensured, and the problem that the normal operation of joint debugging test is influenced due to the loss of partial information of the transaction data is solved.
The embodiment of the application also provides a joint debugging test device, which can be integrated in electronic equipment.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a joint debugging testing apparatus according to an embodiment of the present disclosure. The joint debugging test apparatus 30 may include:
a first obtaining module 31, configured to obtain a current natural date and a current business date of a core system;
a second obtaining module 32, configured to obtain a current natural date year-month table corresponding to a current natural date in the peripheral system and a current service date year-month table corresponding to the current service date, where transaction data generated when a transaction is performed on the current natural date is recorded in the current natural date year-month table;
a third obtaining module 33, configured to obtain the transaction data from the current natural date year-month table, and migrate the transaction data to the current business date year-month table;
and the processing module 34 is configured to receive a data file sent by the core system after the transaction data is subjected to entry processing, perform entry processing on the transaction data in the current business date year-month table according to information in the data file, and complete the joint debugging test.
In some embodiments, the first obtaining module 31 is configured to automatically obtain a current service date of a core system every first preset time period, and write the current service date into a parameter file to generate a current service date table corresponding to the current service date; the current natural date of the core system is obtained.
In some embodiments, the third obtaining module 33 is configured to obtain the transaction data from the current natural date year-month table every second preset time period; and migrating the transaction data to the current business date table.
In some embodiments, the processing module 34 is configured to receive a data file sent by a core system after performing posting processing on the transaction data; batching the transaction data in the current business date year-month table to obtain a plurality of batches of transaction data; and on the basis of the information in the file, sequentially performing entry processing on each batch of transaction data to finish joint debugging test.
In some embodiments, the processing module 34 is configured to perform posting processing on each batch of the transaction data in sequence based on the information in the file and the preset sequence, so as to complete the joint debugging test.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the joint debugging test apparatus 30 provided in the embodiment of the present application, the first obtaining module 31 obtains the current natural date and the current service date of the core system; acquiring a current natural date year-month table corresponding to a current natural date in the peripheral system and a current service date year-month table corresponding to the current service date through a second acquisition module 32, wherein transaction data generated when a transaction is performed on the current natural date is recorded in the current natural date year-month table; acquiring the transaction data from the current natural date year-month table through a third acquisition module 33, and transferring the transaction data to the current business date year-month table; and receiving a data file sent by the core system after the transaction data is subjected to the entry processing through the processing module 34, and performing the entry processing on the transaction data in the current business date year-month table according to information in the file to complete the joint debugging test.
Referring to fig. 3, fig. 3 is another schematic structural diagram of a joint debugging test apparatus according to an embodiment of the present disclosure, in which the joint debugging test apparatus 30 includes a memory 120, one or more processors 180, and one or more application programs, where the one or more application programs are stored in the memory 120 and configured to be executed by the processors 180; the processor 180 may include a first acquisition module 31, a second acquisition module 32, a third acquisition module 33, and a processing module 34. For example, the structures and connection relationships of the above components may be as follows:
the memory 120 may be used to store applications and data. The memory 120 stores applications containing executable code. The application programs may constitute various functional modules. The processor 180 executes various functional applications and data processing by running the application programs stored in the memory 120. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the device and processes data by running or executing an application program stored in the memory 120 and calling data stored in the memory 120, thereby monitoring the entire device. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the application programs stored in the memory 120, thereby implementing various functions:
a first obtaining module 31, configured to obtain a current natural date and a current business date of a core system;
a second obtaining module 32, configured to obtain a current natural date year-month table corresponding to a current natural date in the peripheral system and a current service date year-month table corresponding to the current service date, where transaction data generated when a transaction is performed on the current natural date is recorded in the current natural date year-month table;
a third obtaining module 33, configured to obtain the transaction data from the current natural date year-month table, and migrate the transaction data to the current business date year-month table;
and the processing module 34 is configured to receive a data file sent by the core system after the transaction data is subjected to entry processing, perform entry processing on the transaction data in the current business date year-month table according to information in the data file, and complete the joint debugging test.
In some embodiments, the first obtaining module 31 is configured to automatically obtain a current service date of a core system every first preset time period, and write the current service date into a parameter file to generate a current service date table corresponding to the current service date; the current natural date of the core system is obtained.
In some embodiments, the third obtaining module 33 is configured to obtain the transaction data from the current natural date year-month table every second preset time period; and migrating the transaction data to the current business date table.
In some embodiments, the processing module 34 is configured to receive a data file sent by a core system after performing posting processing on the transaction data; batching the transaction data in the current business date year-month table to obtain a plurality of batches of transaction data; and on the basis of the information in the file, sequentially performing entry processing on each batch of transaction data to finish joint debugging test.
In some embodiments, the processing module 34 is configured to perform posting processing on each batch of the transaction data in sequence based on the information in the file and the preset sequence, so as to complete the joint debugging test.
The embodiment of the application also provides the electronic equipment. Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device provided in the embodiment of the present application, where the electronic device may be used to implement the joint debugging test method provided in the embodiment.
As shown in fig. 4, the electronic device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the configuration of the electronic device 1200 shown in FIG. 4 is not intended to be limiting of the electronic device 1200 and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be configured to store a software program and a module, such as program instructions/modules corresponding to the joint debugging test method in the foregoing embodiment, and the processor 180 executes various functional applications and data processing by operating the software program and the module stored in the memory 120, so as to ensure that the peripheral system can process the transaction data normally when entering the account of the transaction data in the current business date month table, the transaction data is not lost, and the joint debugging test is performed normally. Memory 120 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, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the electronic device 1200 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 input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device 1200, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 4 touch sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments touch sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The electronic device 1200 may also include at least one sensor 150, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the electronic device 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the electronic device 1200, detailed descriptions thereof are omitted.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the electronic device 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the electronic device 1200.
The electronic device 1200, via the transport module 170 (e.g., Wi-Fi module), may assist the user in emailing, browsing web pages, accessing streaming media, etc., which provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the electronic device 1200, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the electronic device 1200, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the electronic device 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The electronic device 1200 also includes a power supply 190 (e.g., a battery) that powers the various components, and in some embodiments, may be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit 140 of the electronic device 1200 is a touch screen display, and the electronic device 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120 and configured to be executed by the one or more processors 180, and the one or more programs include instructions for:
acquiring a current natural date and a current service date of a core system;
acquiring a current natural date year-month table corresponding to the current natural date in the peripheral system and a current business date year-month table corresponding to the current business date, wherein transaction data generated when a transaction is carried out on the current natural date is recorded in the current natural date year-month table;
acquiring the transaction data from the current natural date year-month table, and transferring the transaction data to the current business date year-month table;
and receiving a data file sent by a core system after the transaction data is subjected to entry processing, and according to information in the file, performing entry processing on the transaction data in the current business date year-month table to complete joint debugging testing.
In some embodiments, the processor 180 is configured to receive a data file sent by the core system after the transaction data is posted; batching the transaction data in the current business date year-month table to obtain a plurality of batches of transaction data; and on the basis of the information in the file, sequentially performing entry processing on each batch of transaction data to finish joint debugging test.
In some embodiments, the processor 180 is configured to sort a plurality of batches of the transaction data according to a preset order; and on the basis of the information in the file and the preset sequence, sequentially performing entry processing on each batch of the transaction data to finish joint debugging test.
In some embodiments, the processor 180 is configured to automatically acquire a current service date of the core system every first preset time period, and write the current service date into a parameter file, so as to generate a current service date table corresponding to the current service date; the current natural date of the core system is obtained.
In some embodiments, the processor 180 is configured to obtain the transaction data from the current natural date year-month table every second preset time period; and migrating the transaction data to the current business date table.
In some embodiments, the processor 180 is configured to detect whether the core system has completely completed posting of the transaction data; and if so, controlling the core system to send the data file.
In some embodiments, the processor 180 is configured to detect whether the core system has completed the posting process of the transaction data of the relevant batch every third preset time period.
As can be seen from the above, an embodiment of the present application provides an electronic device 1200, where the electronic device 1200 performs the following steps: acquiring a current natural date and a current service date of a core system; acquiring a current natural date year-month table corresponding to the current natural date in the peripheral system and a current business date year-month table corresponding to the current business date, wherein transaction data generated when a transaction is carried out on the current natural date is recorded in the current natural date year-month table; acquiring the transaction data from the current natural date year-month table, and transferring the transaction data to the current business date year-month table; and receiving a data file sent by a core system after the transaction data is subjected to entry processing, and according to information in the file, performing entry processing on the transaction data in the current business date year-month table to complete joint debugging testing.
The embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the joint debugging test method according to any one of the above embodiments.
It should be noted that, for the joint debugging test method described in the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the joint debugging test method described in the embodiments of the present application can be implemented by controlling related hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution process, the process of the embodiment of the joint debugging test method can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the joint debugging test device in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The joint debugging test method, the joint debugging test device, the storage medium and the electronic device provided by the embodiment of the application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A joint debugging test method is applied to a peripheral system, and is characterized by comprising the following steps:
acquiring a current natural date and a current service date of a core system;
acquiring a current natural date year-month table corresponding to the current natural date in the peripheral system and a current business date year-month table corresponding to the current business date, wherein transaction data generated when a transaction is carried out on the current natural date is recorded in the current natural date year-month table;
acquiring the transaction data from the current natural date year-month table, and transferring the transaction data to the current business date year-month table;
and receiving a data file sent by a core system after the transaction data is subjected to entry processing, and according to information in the file, performing entry processing on the transaction data in the current business date year-month table to complete joint debugging testing.
2. The joint debugging test method of claim 1, wherein the receiving core system performs the posting process on the transaction data in the current business date year-month table according to the information in the data file sent after performing the posting process on the transaction data to complete the joint debugging test, and the method comprises the following steps:
receiving a data file sent by a core system after the transaction data is subjected to posting processing;
batching the transaction data in the current business date year-month table to obtain a plurality of batches of transaction data;
and on the basis of the information in the file, sequentially performing entry processing on each batch of transaction data to finish joint debugging test.
3. The joint debugging method of claim 2, wherein the step of batching the transaction data in the current business date year-month table to obtain a plurality of batches of transaction data further comprises:
sequencing a plurality of batches of the transaction data according to a preset sequence;
the said information based on in the said file, carry on the posting to each batch of transaction data sequentially, finish the joint debugging and test, include:
and on the basis of the information in the file and the preset sequence, sequentially performing entry processing on each batch of the transaction data to finish joint debugging test.
4. The joint debugging test method of claim 1 wherein said obtaining the current natural date and the current business date of the core system comprises:
automatically acquiring the current service date of a core system every other first preset time length, and writing the current service date into a parameter file to generate a current service date table corresponding to the current service date;
the current natural date of the core system is obtained.
5. The joint debugging method of claim 1, wherein the obtaining the transaction data from the current natural date year-month table and migrating the transaction data to the current business date table comprises:
acquiring the transaction data from the current natural date year-month table every second preset time;
and migrating the transaction data to the current business date table.
6. The joint debugging test method according to claim 1, wherein the receiving core system performs posting processing on the transaction data in the current business date year-month table according to information in a data file sent after performing posting processing on the transaction data, and further comprises, before the joint debugging test is completed:
detecting whether the core system has completely finished the posting processing of the transaction data;
and if so, controlling the core system to send the data file.
7. The joint debugging test method of claim 6, wherein said detecting whether the core system has completely completed posting the transaction data comprises:
and detecting whether the core system finishes the posting processing of the transaction data of the relevant batches every other third preset time.
8. A joint debugging test apparatus, comprising:
the first acquisition module is used for acquiring the current natural date and the current service date of the core system;
the second acquisition module is used for acquiring a current natural date year-month table corresponding to a current natural date in the peripheral system and a current business date year-month table corresponding to the current business date, wherein transaction data generated when a transaction is carried out on the current natural date is recorded in the current natural date year-month table;
the third acquisition module is used for acquiring the transaction data from the current natural date year-month table and transferring the transaction data to the current business date year-month table;
and the processing module is used for receiving a data file sent by the core system after the transaction data is subjected to entry processing, and according to information in the file, performing entry processing on the transaction data in the current business date year-month table to complete the joint debugging test.
9. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the joint debugging test method according to any one of claims 1 to 7.
10. An electronic device, characterized in that the electronic device comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the joint debugging test method according to any one of claims 1 to 7 by calling the computer program stored in the memory.
CN202210572114.8A 2022-05-24 2022-05-24 Joint debugging test method and device, storage medium and electronic equipment Pending CN114896159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210572114.8A CN114896159A (en) 2022-05-24 2022-05-24 Joint debugging test method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210572114.8A CN114896159A (en) 2022-05-24 2022-05-24 Joint debugging test method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114896159A true CN114896159A (en) 2022-08-12

Family

ID=82725211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210572114.8A Pending CN114896159A (en) 2022-05-24 2022-05-24 Joint debugging test method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114896159A (en)

Similar Documents

Publication Publication Date Title
CN108959000B (en) Server pressure testing method, system and terminal
CN109753425B (en) Popup window processing method and device
CN106649126B (en) Method and device for testing application program
CN110196795B (en) Method and related device for detecting running state of mobile terminal application
WO2018161540A1 (en) Fingerprint registration method and related product
CN111078556B (en) Application testing method and device
CN109451130B (en) Mobile terminal testing method and device, mobile terminal and storage medium
CN110069407B (en) Function test method and device for application program
CN112749074B (en) Test case recommending method and device
CN115098468A (en) Flexible data migration method and device, storage medium and electronic equipment
CN106709330B (en) Method and device for recording file execution behaviors
KR20190063177A (en) Electronic device for measuring hydrature using a display and method for the same
CN112199246A (en) Terminal testing method and device, storage medium and mobile terminal
CN115348256A (en) Posting data downloading method and device, storage medium and electronic equipment
CN106933626B (en) Application association method and device
CN108269223B (en) Webpage graph drawing method and terminal
CN114896159A (en) Joint debugging test method and device, storage medium and electronic equipment
CN111027406B (en) Picture identification method and device, storage medium and electronic equipment
CN109558731B (en) Feature code processing method, device and storage medium
CN114490307A (en) Unit testing method, device and storage medium
CN105988801B (en) Method and device for displaying annotation information
CN115344554A (en) Data processing method, device, medium and electronic equipment based on test environment
CN115344574A (en) Flexible data processing method and device, storage medium and electronic equipment
CN111651313B (en) Conversion method and system of identification card, storage medium and terminal equipment
CN115858331A (en) Task testing method and device, storage medium and electronic equipment

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