CN115543841A - Data update test method, device, medium and equipment - Google Patents

Data update test method, device, medium and equipment Download PDF

Info

Publication number
CN115543841A
CN115543841A CN202211313886.6A CN202211313886A CN115543841A CN 115543841 A CN115543841 A CN 115543841A CN 202211313886 A CN202211313886 A CN 202211313886A CN 115543841 A CN115543841 A CN 115543841A
Authority
CN
China
Prior art keywords
data
updated
version
matching result
current version
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
CN202211313886.6A
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 CN202211313886.6A priority Critical patent/CN115543841A/en
Publication of CN115543841A publication Critical patent/CN115543841A/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/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a data update test method, a device, a medium and equipment, wherein the method comprises the following steps: receiving a data updating request, and analyzing the data updating request to obtain a current version and a version to be updated of a system to be updated; acquiring current version data and version data to be updated according to the current version and the version to be updated; performing data matching operation from the current version data and the version data to be updated to obtain a matching result; and executing a data updating scheme corresponding to the matching result by the system to be updated according to the matching result, and generating test reports aiming at different matching results. By utilizing the embodiment of the application, the current version data of the system to be updated and the version data to be updated are automatically captured, data matching operation is performed from the current version data and the version data to be updated, a matching result is obtained, the data updating scheme corresponding to the matching result is executed by the system to be updated according to the matching result, and the efficiency and the accuracy can be improved compared with a manual checking mode.

Description

Data updating test method, device, medium and equipment
Technical Field
The present application relates to the field of electronic communications technologies, and in particular, to a data update testing method, apparatus, medium, and device.
Background
In order to enable a user to have better use experience for the system application, a system developer needs to perform system updating operation on the system application at an irregular time, so that the old system with updated new version data can solve the problems existing in the history, and the user can have better use experience. In order to enable the updated system to operate normally and achieve the effect expected to be achieved by the data packet to be updated, the data packet to be updated needs to be complete and accurate and important data in old version data cannot be lost, so that the data packet to be updated often needs to be subjected to a large number of testing links before being online, most of the existing testing modes are manually performed, a large amount of manpower is required, and mistakes are easily made.
Disclosure of Invention
The embodiment of the application provides a data updating test method, a device, a medium and equipment, by utilizing the data updating test provided by the embodiment of the application, the current version data and the version data to be updated of a system to be updated are automatically captured, data matching operation is performed from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result, a data updating scheme corresponding to the matching result is executed on the system to be updated according to the matching result, namely, different schemes can be selected for data updating operation according to different problems occurring in an intelligent verification process, and compared with a manual verification mode, the efficiency can be improved, and the accuracy can be improved.
An embodiment of the present application provides a data update test method, where the data update test includes:
receiving a data updating request, and analyzing the data updating request to obtain a current version and a version to be updated of a system to be updated;
according to the current version and the version to be updated, asynchronously calling databases corresponding to the current version and the version to be updated respectively, and acquiring data of the current version and the version to be updated;
performing data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result;
and executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result, and generating test reports aiming at different matching results.
In the data update test according to the embodiment of the present application, the executing a data update scheme corresponding to the matching result on the system to be updated according to the matching result includes:
according to the matching result, if the matching result is that first target data are missing in the current version data compared with the version data to be updated in the same-level target directory, calling a pre-created updating rule;
searching whether the corresponding notice exists in the updating rule according to the keyword of the target directory;
and if the notice is to delete the first target data, skipping the data updating operation aiming at the first target data in the system to be updated.
In the data update test according to the embodiment of the present application, after the searching whether there is a corresponding note from the update rule according to the keyword of the target directory, the method further includes:
and if the notice does not contain the related description information aiming at the first target data, inserting the first target data into the target directory of the version to be updated, and executing data updating operation on the system to be updated.
In the data update test according to the embodiment of the present application, the executing a data update scheme corresponding to the matching result on the system to be updated according to the matching result includes:
and according to the matching result, if the matching result is that newly added level data exists in the version data to be updated compared with the current version data, generating a report containing the newly added level data and sending the report to a manual processing system.
In the data update test described in the embodiment of the present application, the method further includes:
and performing data matching operation on the current version data and the version data to be updated based on the preset mapping rule, and performing data recording operation to obtain recorded data capable of executing data playback operation.
In the data update test described in the embodiment of the present application, the method further includes:
providing an operation interface comprising a search area and a display area;
responding to a keyword search operation aiming at the search area, and obtaining keyword information according to the keyword search operation;
searching operation is carried out from the recorded data according to the keyword information so as to determine whether second target data corresponding to the keyword information exists in the recorded data;
and if the second target data exists in the recorded data, displaying a data segment containing the second target data in the display area.
In the data update test described in the embodiment of the present application, the method further includes:
and marking and displaying the second target data in the data segment.
Correspondingly, another aspect of the embodiments of the present application further provides a data update testing apparatus, where the data update testing apparatus includes:
the receiving module is used for receiving the data updating request and analyzing the data updating request to obtain the current version and the version to be updated of the system to be updated;
the calling module is used for asynchronously calling databases corresponding to the current version and the version to be updated according to the current version and the version to be updated to acquire current version data and version data to be updated;
the matching module is used for performing data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result;
and the updating module is used for executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result and generating a test report aiming at different matching results.
Accordingly, another aspect of the embodiments of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the data update test as described above.
Correspondingly, another aspect of the embodiment of the present application further provides a terminal device, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions to perform the data update test as described above.
The embodiment of the application provides a data updating test method, a device, a medium and equipment, wherein the method receives a data updating request, and analyzes the data updating request to obtain a current version and a version to be updated of a system to be updated; according to the current version and the version to be updated, asynchronously calling databases corresponding to the current version and the version to be updated respectively, and acquiring data of the current version and the version to be updated; performing data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result; and executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result, and generating test reports aiming at different matching results. By utilizing the data updating test provided by the embodiment of the application, the current version data and the version data to be updated of the system to be updated are automatically captured, data matching operation is performed from the current version data and the version data to be updated based on the preset mapping rule to obtain the matching result, and the data updating scheme corresponding to the matching result is executed by the system to be updated according to the matching result, namely, different schemes can be selected for data updating operation aiming at different problems occurring in the intelligent verification process.
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 also be derived from them without inventive effort.
Fig. 1 is a schematic flow chart of a data update testing method according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a data update testing apparatus according to an embodiment of the present application.
Fig. 3 is another schematic structural diagram of a data update testing apparatus according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a terminal 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.
It should be noted that the following is a brief introduction to the background of the present solution:
the scheme is mainly developed around the technical problem that the abnormal problem existing in a new system developed on the basis of an old system cannot be efficiently and accurately identified due to the adoption of a manual verification mode. It can be understood that, in order to enable the user to have a better use experience for the system application, the system developer needs to perform system update operation on the system application at an irregular time, so that the old system with updated new version data can solve the problems existing in the history, and enable the user to have a better use experience. In order to enable the updated system to operate normally and achieve the expected effect of the data packet to be updated, the point to be met is that the data packet to be updated needs to be complete and accurate and important data in old version data cannot be lost, so that the data packet to be updated often needs to be subjected to a large number of testing links before being online, most of the existing testing modes are performed manually, and not only a large amount of manpower is consumed, but also errors are easily caused.
In order to solve the above technical problem, an embodiment of the present application provides a data update testing method. By utilizing the data updating test provided by the embodiment of the application, the current version data and the version data to be updated of the system to be updated are automatically captured, data matching operation is performed from the current version data and the version data to be updated based on the preset mapping rule to obtain the matching result, the data updating scheme corresponding to the matching result is executed by the system to be updated according to the matching result, namely, different schemes can be selected for different problems occurring in the intelligent verification process to perform data updating operation, compared with a manual verification mode, the efficiency can be improved, and the accuracy can be improved.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a data update testing method according to an embodiment of the present disclosure. And the data updating test is applied to the terminal equipment. Optionally, the terminal device is a terminal or a server. Optionally, the server is an independent physical server, or a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), big data and artificial intelligence platform. Optionally, the terminal is a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart voice interaction device, a smart home appliance, a vehicle-mounted terminal, and the like, but is not limited thereto.
In an embodiment, the method may comprise the steps of:
step 101, receiving a data updating request, and analyzing the data updating request to obtain a current version and a version to be updated of a system to be updated.
In this embodiment, when a system tester needs to perform test verification on a data update package to be online, the data update test method provided by the present solution may send a data update request to the terminal device, and provide a current version and a version to be updated of the data update system, so that the terminal device can locate the respective corresponding databases according to the current version and the version to be updated to perform data acquisition operation.
And 102, asynchronously calling databases corresponding to the current version and the version to be updated according to the current version and the version to be updated, and acquiring data of the current version and the version to be updated.
The terminal equipment obtains the current version data and the version data to be updated from the databases corresponding to the current version and the version to be updated by asynchronously calling the databases corresponding to the current version and the version to be updated according to the provided current version and the version to be updated. It should be noted that, the data acquisition efficiency can be improved by adopting the asynchronous data calling mode in the scheme.
And 103, performing data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result.
The mapping rule refers to that a mapping relation is established between the current version data and the version data to be updated in advance, so that whether the version data to be updated with the mapping relation exists can be quickly judged through the current version data, and the next data matching operation is carried out under the existence condition to obtain a matching result.
In some embodiments, a data matching operation step may be performed on the current version data and the version data to be updated based on a preset mapping rule, and a data recording operation is performed to obtain recorded data that can perform a data playback operation. The tester can confirm whether the abnormal data updating factor is caused by the error of the data matching operation through recording data.
In some embodiments, an operation interface including a search area and a display area may be provided for a tester to quickly locate whether important verification data exists in the recorded data.
When the terminal equipment receives a keyword search word search request initiated by a tester, the terminal equipment responds to the keyword search operation aiming at the search area, obtains keyword information according to the keyword search operation, performs search operation from the recorded data according to the keyword information to determine whether second target data corresponding to the keyword information exists in the recorded data, and displays a data segment containing the second target data in the display area if the second target data exists in the recorded data.
In some embodiments, the second target data may also be displayed in a label in the data segment.
And 104, executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result, and generating test reports aiming at different matching results.
In an example, if the matching result is that the current version data in the same-level target directory has first target data missing compared with the version data to be updated, calling a pre-created update rule, searching whether a corresponding note exists in the update rule according to a keyword of the target directory, and if the note is deleting the first target data, skipping data update operation aiming at the first target data in the system to be updated; and if the notice does not contain the related description information aiming at the first target data, inserting the first target data into the target directory of the version to be updated, and executing data updating operation on the system to be updated. And generating test reports for different matching results.
In another example, if the matching result is that the version data to be updated has new hierarchy data compared with the current version data, a report containing the new hierarchy data is generated and sent to the manual processing system, and a system developer further confirms that a problem, for example, whether the new hierarchy data is abnormal data, should not be added into the data packet to be updated. And generating test reports for different matching results.
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, the data update test method provided in the embodiment of the present application obtains the current version and the version to be updated of the system to be updated by receiving the data update request and analyzing the data update request; according to the current version and the version to be updated, asynchronously calling databases corresponding to the current version and the version to be updated respectively, and acquiring data of the current version and the version to be updated; performing data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result; and executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result, and generating test reports aiming at different matching results. By utilizing the data updating test provided by the embodiment of the application, the current version data and the version data to be updated of the system to be updated are automatically captured, data matching operation is performed from the current version data and the version data to be updated based on the preset mapping rule to obtain the matching result, the data updating scheme corresponding to the matching result is executed by the system to be updated according to the matching result, namely, different schemes can be selected for different problems occurring in the intelligent verification process to perform data updating operation, compared with a manual verification mode, the efficiency can be improved, and the accuracy can be improved.
The embodiment of the application also provides a data updating test device, and the data updating test device can be integrated in the terminal equipment.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a data update testing apparatus according to an embodiment of the present disclosure. The data update test device 30 may include:
the receiving module 31 is configured to receive a data update request, and analyze the data update request to obtain a current version and a version to be updated of the system to be updated;
the retrieving module 32 is configured to asynchronously retrieve the databases corresponding to the current version and the version to be updated according to the current version and the version to be updated, and acquire current version data and version data to be updated;
the matching module 33 is configured to perform data matching operation on the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result;
and the updating module 34 is configured to execute a data updating scheme corresponding to the matching result on the system to be updated according to the matching result, and generate a test report for different matching results.
In some embodiments, the matching module 32 is configured to, according to the matching result, invoke a pre-created update rule if the matching result indicates that first target data is missing in the current version data in the same-level target directory compared with the version data to be updated; searching whether the corresponding notice exists in the updating rule according to the keyword of the target directory; and if the notice is that the first target data is deleted, skipping the data updating operation aiming at the first target data in the system to be updated.
In some embodiments, the apparatus further includes an execution module, configured to insert the first target data into the target directory of the to-be-updated version if the notice does not include related description information for the first target data, and perform a data update operation on the to-be-updated system.
In some embodiments, the apparatus further includes a recording module, configured to perform a data matching operation step on the current version data and the version data to be updated based on the preset mapping rule, and perform a data recording operation to obtain recorded data capable of performing a data playback operation.
In some embodiments, the apparatus further comprises a search module for providing an operation interface including a search area and a display area; responding to a keyword search operation aiming at the search area, and obtaining keyword information according to the keyword search operation; searching operation is carried out from the recorded data according to the keyword information so as to determine whether second target data corresponding to the keyword information exists in the recorded data; and if the second target data exists in the recorded data, displaying a data segment containing the second target data in the display area.
In some embodiments, the apparatus further comprises a display module for displaying the second target data in a tag in the data segment.
In some embodiments, the matching module 32 is configured to, according to the matching result, generate a report including new hierarchy data and send the report to a manual processing system if the matching result indicates that the version data to be updated has the new hierarchy data compared with the current version data.
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 data update testing apparatus 30 provided in the embodiment of the present application, the receiving module 31 is configured to receive a data update request, and analyze the data update request to obtain a current version and a version to be updated of the system to be updated; the retrieving module 32 is configured to asynchronously retrieve the databases corresponding to the current version and the version to be updated according to the current version and the version to be updated, and acquire data of the current version and data of the version to be updated; the matching module 33 is configured to perform data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result; the updating module 34 is configured to execute a data updating scheme corresponding to the matching result on the system to be updated according to the matching result, and generate a test report for different matching results.
Referring to fig. 3, fig. 3 is another schematic structural diagram of a data update testing apparatus according to an embodiment of the present disclosure, in which the data update testing apparatus 30 includes a memory 120, one or more processors 180, and one or more applications, where the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a receiving module 31, a retrieving module 32, a matching module 33, and an updating 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:
the system comprises a receiving instruction, a sending instruction and a receiving instruction, wherein the receiving instruction is used for receiving a data updating request and analyzing the data updating request to obtain a current version and a version to be updated of a system to be updated;
the calling instruction is used for asynchronously calling the databases corresponding to the current version and the version to be updated according to the current version and the version to be updated to acquire current version data and version data to be updated;
a matching instruction, configured to perform data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result;
and the updating instruction is used for executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result and generating a test report aiming at different matching results.
In some embodiments, the matching instruction is configured to, according to the matching result, invoke a pre-created update rule if the matching result indicates that first target data is missing in the current version data compared with the version data to be updated in the same-level target directory; searching whether the corresponding notice exists in the updating rule according to the keyword of the target directory; and if the notice is that the first target data is deleted, skipping the data updating operation aiming at the first target data in the system to be updated.
In some embodiments, the program further includes an execution instruction, configured to insert the first target data into the target directory of the to-be-updated version if the notice does not include the related description information for the first target data, and perform a data update operation on the to-be-updated system.
In some embodiments, the program further includes a recording instruction, configured to perform a data matching operation step from the current version data and the version data to be updated based on the preset mapping rule, perform a data recording operation, and obtain recorded data that can perform a data playback operation.
In some embodiments, the program further comprises search instructions for providing an operation interface comprising a search area and a display area; responding to a keyword search operation aiming at the search area, and obtaining keyword information according to the keyword search operation; searching operation is carried out from the recorded data according to the keyword information so as to determine whether second target data corresponding to the keyword information exists in the recorded data; and if the second target data exists in the recorded data, displaying a data segment containing the second target data in the display area.
In some embodiments, the program further comprises display instructions for displaying a marker in the data segment for the second target data.
In some embodiments, the matching instruction is configured to, according to the matching result, generate a report including new hierarchy data and send the report to a manual processing system if the matching result indicates that the version data to be updated has new hierarchy data compared with the current version data.
The embodiment of the application also provides the terminal equipment. The terminal device can be a server, a smart phone, a computer, a tablet computer and the like.
Referring to fig. 4, fig. 4 shows a schematic structural diagram of a terminal device provided in the embodiment of the present application, where the terminal device may be used to implement the data update test provided in the embodiment. The terminal device 1200 may be a smart phone or a tablet computer.
As shown in fig. 4, the terminal device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown in the figure), 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 in the figure), and a power supply 190. Those skilled in the art will appreciate that the terminal device 1200 configuration shown in fig. 4 does not constitute a limitation of terminal device 1200, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and implementing 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 data update test 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, and may automatically select a vibration alert mode according to a current scene where the terminal device is located to update data, so as to ensure that scenes such as a conference are not disturbed, ensure that a user can perceive an incoming call, and improve intelligence of the terminal device. 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 can further include memory located remotely from the processor 180, which can be connected to the terminal device 1200 through 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-sensitive 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 any suitable object or attachment such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch-sensitive surface 131 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects a 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 detection 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 graphic user interfaces of the terminal apparatus 1200, which may be configured by 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, touch sensitive surface 131 may overlay display panel 141, and when touch sensitive surface 131 detects a touch operation on or near touch sensitive surface 131, it may be transmitted to processor 180 to determine the type of touch event, and then processor 180 may provide a corresponding visual output on display panel 141 according to the type of 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 terminal 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 terminal 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 terminal device 1200, detailed descriptions thereof are omitted.
The audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and the terminal 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 terminal device 1200.
The terminal device 1200, which may assist the user in sending and receiving e-mails, browsing web pages, accessing streaming media, etc., through the transmission module 170 (e.g., wi-Fi module), 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 terminal 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 terminal device 1200, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal device 1200 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. 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.
Terminal device 1200 also includes a power supply 190 for powering the various components, which in some embodiments may be logically coupled to processor 180 via a power management system to manage power discharge and power consumption 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 terminal 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 terminal device 1200 is a touch screen display, and the terminal 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:
the system comprises a receiving instruction, a data updating request processing module and a data updating module, wherein the receiving instruction is used for receiving the data updating request and analyzing the data updating request to obtain a current version and a version to be updated of a system to be updated;
the calling instruction is used for asynchronously calling the databases corresponding to the current version and the version to be updated according to the current version and the version to be updated to acquire current version data and version data to be updated;
a matching instruction, configured to perform data matching operation from the current version data and the version data to be updated based on a preset mapping rule, so as to obtain a matching result;
and the updating instruction is used for executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result and generating a test report aiming at different matching results.
In some embodiments, the matching instruction is configured to, according to the matching result, invoke a pre-created update rule if the matching result indicates that first target data is missing in the current version data in the same-level target directory compared with the version data to be updated; searching whether a corresponding notice exists in the updating rule according to the keyword of the target directory; and if the notice is that the first target data is deleted, skipping the data updating operation aiming at the first target data in the system to be updated.
In some embodiments, the program further includes an execution instruction, configured to insert the first target data into the target directory of the to-be-updated version if the notice does not include related description information for the first target data, and perform a data update operation on the to-be-updated system.
In some embodiments, the program further includes a recording instruction, configured to perform a data matching operation step from the current version data and the version data to be updated based on the preset mapping rule, and perform a data recording operation to obtain recorded data capable of performing a data playback operation.
In some embodiments, the program further comprises search instructions for providing an operation interface comprising a search area and a display area; responding to a keyword search operation aiming at the search area, and obtaining keyword information according to the keyword search operation; searching operation is carried out from the recorded data according to the keyword information so as to determine whether second target data corresponding to the keyword information exists in the recorded data; and if the second target data exists in the recorded data, displaying a data segment containing the second target data in the display area.
In some embodiments, the program further comprises display instructions for displaying a marker in the data segment for the second target data.
In some embodiments, the matching instruction is configured to, according to the matching result, generate a report including new hierarchy data and send the report to a manual processing system if the matching result indicates that the version data to be updated has the new hierarchy data compared with the current version data.
The embodiment of the application further provides the terminal equipment. The terminal equipment can be equipment such as a smart phone and a computer.
As can be seen from the above, an embodiment of the present application provides a terminal device 1200, where the terminal device 1200 executes the following steps:
receiving a data updating request, and analyzing the data updating request to obtain a current version and a version to be updated of a system to be updated;
according to the current version and the version to be updated, asynchronously calling databases corresponding to the current version and the version to be updated respectively, and acquiring data of the current version and the version to be updated;
performing data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result;
and executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result, and generating test reports aiming at different matching results.
An 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 data update testing method according to any of the above embodiments.
It should be noted that, for the data update testing 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 data update testing 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 a terminal device, and executed by at least one processor in the terminal device, and during the execution process, the process of the embodiment of the data update testing 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.
In the data update testing apparatus according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into 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 data update test method, device, medium, and apparatus provided in the embodiments of the present 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, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A data update test method is characterized by comprising the following steps:
receiving a data updating request, and analyzing the data updating request to obtain a current version and a version to be updated of a system to be updated;
according to the current version and the version to be updated, asynchronously calling databases corresponding to the current version and the version to be updated respectively, and acquiring data of the current version and the version to be updated;
performing data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result;
and executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result, and generating test reports aiming at different matching results.
2. The data update testing method of claim 1, wherein the executing a data update scheme corresponding to the matching result on the system to be updated according to the matching result comprises:
according to the matching result, if the matching result is that first target data are missing in the current version data compared with the version data to be updated in the same-level target directory, calling a pre-created updating rule;
searching whether the corresponding notice exists in the updating rule according to the keyword of the target directory;
and if the notice is that the first target data is deleted, skipping the data updating operation aiming at the first target data in the system to be updated.
3. The data update testing method of claim 2, wherein after the searching whether the attention item corresponding to the target directory exists from the update rule according to the keyword of the target directory, the method further comprises:
and if the notice does not contain the related description information aiming at the first target data, inserting the first target data into the target directory of the version to be updated, and executing data updating operation on the system to be updated.
4. The data update testing method as claimed in claim 1, wherein the executing a data update scheme corresponding to the matching result on the system to be updated according to the matching result comprises:
and according to the matching result, if the matching result is that newly added level data exists in the version data to be updated compared with the current version data, generating a report containing the newly added level data and sending the report to a manual processing system.
5. The data update testing method of claim 1, wherein the method further comprises:
and performing data matching operation on the current version data and the version data to be updated based on the preset mapping rule, and performing data recording operation to obtain recorded data capable of executing data playback operation.
6. The data update testing method of claim 5, wherein the method further comprises:
providing an operation interface comprising a search area and a display area;
responding to a keyword search operation aiming at the search area, and obtaining keyword information according to the keyword search operation;
searching operation is carried out from the recorded data according to the keyword information so as to determine whether second target data corresponding to the keyword information exists in the recorded data;
and if the second target data exists in the recorded data, displaying a data segment containing the second target data in the display area.
7. The data update testing method of claim 6, wherein the method further comprises:
and marking and displaying the second target data in the data segment.
8. A data update test apparatus, comprising:
the receiving module is used for receiving the data updating request and analyzing the data updating request to obtain the current version and the version to be updated of the system to be updated;
the transferring module is used for asynchronously transferring the databases corresponding to the current version and the version to be updated according to the current version and the version to be updated to obtain the data of the current version and the data of the version to be updated;
the matching module is used for performing data matching operation from the current version data and the version data to be updated based on a preset mapping rule to obtain a matching result;
and the updating module is used for executing a data updating scheme corresponding to the matching result on the system to be updated according to the matching result and generating a test report aiming at different matching results.
9. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform a data update test as claimed in any one of claims 1 to 7.
10. A terminal device comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading the instructions to perform the data update test of any of claims 1 to 7.
CN202211313886.6A 2022-10-25 2022-10-25 Data update test method, device, medium and equipment Pending CN115543841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211313886.6A CN115543841A (en) 2022-10-25 2022-10-25 Data update test method, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211313886.6A CN115543841A (en) 2022-10-25 2022-10-25 Data update test method, device, medium and equipment

Publications (1)

Publication Number Publication Date
CN115543841A true CN115543841A (en) 2022-12-30

Family

ID=84718300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211313886.6A Pending CN115543841A (en) 2022-10-25 2022-10-25 Data update test method, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN115543841A (en)

Similar Documents

Publication Publication Date Title
CN108039963B (en) Container configuration method and device and storage medium
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN106502703B (en) Function calling method and device
CN110196795B (en) Method and related device for detecting running state of mobile terminal application
CN111078556B (en) Application testing method and device
CN112148579B (en) User interface testing method and device
CN106953898B (en) Method and device for acquiring software package
US20160308879A1 (en) Application-Based Service Providing Method, Apparatus, and System
CN112231144A (en) Data processing method and device and electronic equipment
CN112749074B (en) Test case recommending method and device
CN110196662B (en) Method, device, terminal and storage medium for displaying synchronization state
CN105631059B (en) Data processing method, data processing device and data processing system
CN115589432A (en) Message push management method, device, medium and equipment
CN115828845A (en) Multimedia data viewing method, device, medium and equipment
CN115600213A (en) Vulnerability management method, device, medium and equipment based on application program
US11567822B2 (en) Method of monitoring closed system, apparatus thereof and monitoring device
CN115543841A (en) Data update test method, device, medium and equipment
CN112667868A (en) Data detection method and device
CN114363406B (en) Push message processing method, device, equipment and storage medium
CN106970814B (en) Processing method, device and system for software upgrading
CN108959073B (en) Method and device for testing algorithm library, storage medium and electronic equipment
CN114911994A (en) Database-based data matching method, device, medium and equipment
CN115509936A (en) Program testing method, device, medium and equipment
CN115658419A (en) Model data monitoring method, device, medium and equipment
CN115801715A (en) Message automatic sending method, device, medium and equipment based on instant messaging

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