CN110659210A - Information acquisition method and device, electronic equipment and storage medium - Google Patents

Information acquisition method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110659210A
CN110659210A CN201910893098.0A CN201910893098A CN110659210A CN 110659210 A CN110659210 A CN 110659210A CN 201910893098 A CN201910893098 A CN 201910893098A CN 110659210 A CN110659210 A CN 110659210A
Authority
CN
China
Prior art keywords
log information
target
historical
version
information
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
CN201910893098.0A
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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Shenzhen Chuangwei RGB Electronics Co Ltd
Original Assignee
Shenzhen Chuangwei RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Chuangwei RGB Electronics Co Ltd filed Critical Shenzhen Chuangwei RGB Electronics Co Ltd
Priority to CN201910893098.0A priority Critical patent/CN110659210A/en
Publication of CN110659210A publication Critical patent/CN110659210A/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/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

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

Abstract

The embodiment of the invention discloses an information acquisition method, an information acquisition device, electronic equipment and a storage medium, wherein the method comprises the following steps: compiling the target software of the current version to obtain corresponding real-time log information; acquiring historical log information of the target software of a historical version; performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information; the target software of the current version is improved based on the target software of the historical version. By adopting the technical scheme, the purpose of automatically acquiring the target information is achieved, a reasonable test strategy can be formulated according to the target information, and the software test efficiency can be improved through the reasonable test strategy.

Description

Information acquisition method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of software development, in particular to an information acquisition method and device, electronic equipment and a storage medium.
Background
With the diversification of market demands and the innovation of technologies, the functions of television and other electronic products are changing day by day. It will be appreciated that in order to support the implementation of new functionality, the original system software of the product needs to be upgraded. Before upgrading, related engineering personnel carry out work such as software development, software testing and the like. The software testing pressure is increasingly prominent as the frequency of software version update iterations is higher and higher.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
when testing the target software of the current version, related engineering personnel are required to manually acquire the log information of the previous version of the target software, so that a reasonable testing strategy is formulated according to the log information of the previous version and the log information generated during compiling of the current version.
Disclosure of Invention
The embodiment of the invention provides an information acquisition method, an information acquisition device, electronic equipment and a storage medium, which are used for achieving the purpose of automatically acquiring target information and further improving software testing efficiency.
In a first aspect, an embodiment of the present invention provides an information obtaining method, where the method includes:
compiling the target software of the current version to obtain corresponding real-time log information;
acquiring historical log information of the target software of a historical version;
performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information;
the target software of the current version is improved based on the target software of the historical version.
Further, obtaining historical log information of the historical version of the target software includes:
judging whether the entry parameter of the version import function is empty, if so, acquiring the log information of the target software of the previous version adjacent to the current version, and determining the log information as the historical log information;
if the entry parameter of the version transfer-in function is not empty, acquiring the historical log information based on the entry parameter;
wherein the entries are filled or not filled by the engineer according to the improved function of the target software.
Further, the obtaining of the log information of the target software of the previous version adjacent to the current version includes:
sequencing the file directories generated by compiling according to the compiling time;
determining the file directory which is closest to the current time after sequencing as a target file directory;
determining historical compilation time from the target files in the target file directory;
acquiring log information generated between the historical compiling time and the current time;
and determining the log information as the log information of the target software of the previous version.
Further, acquiring the historical log information based on the participation includes:
determining a target file directory generated by compiling based on the participation;
determining historical compilation time from the target files in the target file directory;
acquiring log information generated between the historical compiling time and the current time;
and determining the log information as the historical log information.
Further, the performing associated storage on the real-time log information and the historical log information to obtain target log information includes:
and carrying out format normalization processing on the real-time log information and the historical log information to obtain target log information conforming to a set format.
Further, performing format normalization processing on the real-time log information and the historical log information, including:
determining a target information item from the real-time log information and the historical log information based on a key field identification technology;
and correspondingly storing the target information item and a preset information field.
Further, the preset information field includes at least one of the following: problem solving, test attention, test results, problem item identification, operation type, importance level and influence product.
In a second aspect, an embodiment of the present invention provides an information acquiring apparatus, where the apparatus includes:
the compiling module is used for compiling the target software of the current version to obtain corresponding real-time log information;
the acquisition module is used for acquiring historical log information of the target software in a historical version;
the storage module is used for performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information;
the target software of the current version is improved based on the target software of the historical version.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the information obtaining method according to the embodiment of the present invention.
In a fourth aspect, the present invention provides a storage medium containing computer-executable instructions, which when executed by a computer processor implement the information acquisition method according to the present invention.
According to the information acquisition method provided by the embodiment of the invention, the corresponding real-time log information is obtained by compiling the target software of the current version; acquiring historical log information of the target software of a historical version; performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information; the target software of the current version is a technical means obtained by improving the target software based on the historical version, the purpose of automatically acquiring target information is achieved, a reasonable test strategy can be formulated according to the target information, and the software test efficiency can be improved through the reasonable test strategy.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an information obtaining method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an information obtaining method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an information acquisition apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be further described in detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, and not embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a schematic flow chart of an information obtaining method according to an embodiment of the present invention. The information acquisition method provided by the embodiment is suitable for the software development stage involved in the software updating process. The information acquisition method disclosed in the present embodiment may be executed by an information acquisition apparatus, wherein the apparatus may be implemented by software and/or hardware, and is generally integrated in a terminal, such as a computer for software development. Referring specifically to fig. 1, the method comprises the steps of:
and step 110, compiling the target software of the current version to obtain corresponding real-time log information.
And the target software of the current version refers to software which is developed and waits for testing. The correctness of the target software code can be checked by compiling the target software of the current version, and meanwhile, the real-time log information corresponding to the target software of the current version can be obtained, wherein the real-time log information comprises the problems solved by the current target software, the modification key points for improving the target software in the current development and the like. Therefore, in the embodiment of the present invention, the historical log information of the historical version of the target software is obtained through step 120.
And step 120, acquiring historical log information of the target software of the historical version.
The target software of the historical version refers to software on which the target software of the current version is developed, or can be understood as the target software of the current version which is improved on the basis of the target software of the historical version. The improvement may be that some functions are added on the basis of the functions of the target software in the historical version, or that some BUGs (or BUGs) in the target software in the historical version are revised. The historical log information comprises the test result of the target software of the historical version, the test attention and other information. A reasonable and efficient test strategy can be formulated for the target software of the current version according to the test result of the target software of the historical version in the historical log information, the modification key points of the target software of the current version listed in the real-time log information and other information.
Illustratively, obtaining historical log information of a historical version of the target software includes:
judging whether the entry parameter of the version import function is empty, if so, acquiring the log information of the target software of the previous version adjacent to the current version, and determining the log information as the historical log information;
if the entry parameter of the version transfer-in function is not empty, acquiring the historical log information based on the entry parameter;
the entry is filled or not filled by an engineer according to the improved function of the target software, for example, the target software of the current version is obtained by improving the target software of the previous version adjacent to the current version, so that the engineer does not fill the specific entry in the version entry function; if the target software of the current version is obtained by modifying the skip version, an engineer fills a specific entry parameter into the version entry function, where the entry parameter is usually a version identification number of the target software, for example, the version identification number of the current version is 3, the target software includes two historical versions, corresponding version numbers are 1 and 2, respectively, the target software of the version number 1 is developed first, the target software of the version number 2 is obtained by modifying the target software of the version number 1, and the target software of the version number 3 is obtained by modifying the target software of the version number 1 instead of the target software of the version number 2, so that the target software of the current version is considered to be obtained by modifying the skip version, and at this time, the engineer needs to fill the specific entry parameter into the version entry function according to actual conditions, for example, the entry is version number 1. The target software with the version number of 2 is the target software of the previous version adjacent to the current version (the version number of 3).
Illustratively, the obtaining log information of the target software of the previous version adjacent to the current version includes:
sequencing the file directories generated by compiling according to the compiling time;
determining the file directory which is closest to the current time after sequencing as a target file directory;
determining historical compilation time from the target files in the target file directory;
acquiring log information generated between the historical compiling time and the current time;
and determining the log information as the log information of the target software of the previous version.
Namely, the log information generated by the last compilation of the target software (excluding the current compilation) is determined as the log information of the target software of the previous version adjacent to the current version. The target file may be different according to different service scenarios, for example, in a system software development process of a television, the target file generated during software compilation may be specifically a build _ step. The specific expression of the historical compiling time can be as follows: wed May 2917: 30:49 CST 2019. The current time may specifically be the time for compiling the current version of the target software, and may also be real-time universal time.
Illustratively, obtaining the historical log information based on the participation includes:
determining a target file directory generated by compiling based on the participation;
determining historical compilation time from the target files in the target file directory;
acquiring log information generated between the historical compiling time and the current time;
and determining the log information as the historical log information.
Specifically, the storage directory of the log information corresponding to the version number is searched in the log information warehouse through the version number of the target software represented by the entry.
In the information acquisition method provided by the embodiment, the purpose of capturing log information log submitted by gerrit in a target time period is realized by embedding a timestamp between a current version and a historical version in the compiling process of the target software of the current version, a reasonable test strategy can be formulated by referring to the captured log information, and the test efficiency of the target software is improved by the reasonable test strategy.
And step 130, performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information.
In the information acquisition method provided by this embodiment, the corresponding real-time log information is obtained by compiling the target software of the current version; acquiring historical log information of the target software of a historical version; performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information; the target software of the current version is a technical means obtained by improving the target software based on the historical version, the purpose of automatically acquiring target information is achieved, a reasonable test strategy can be formulated according to the target information, and the software test efficiency can be improved through the reasonable test strategy.
Example two
Fig. 2 is a schematic flow chart of an information obtaining method according to a second embodiment of the present invention, which is further optimized based on the above embodiments, specifically, a normalized processing operation on the captured target log information is added, so that the optimization is beneficial to a person who does not understand the code to understand or understand the captured target log information, and a reasonable test policy is quickly made according to the target log information. Referring specifically to fig. 2, the method includes:
and step 210, compiling the target software of the current version to obtain corresponding real-time log information.
And step 220, acquiring historical log information of the target software of the historical version.
The target software of the current version is improved based on the target software of the historical version.
Step 230, determining a target information item from the real-time log information and the historical log information based on a key field identification technology.
The key field includes a set symbol such as "start", "end", or "%", for example, and identification of the target information item can be realized by identifying the key field. For example, if the newly added code is circled with the key fields "start" and "end" as compared with the historical version of the target software, the newly added code can be identified by identifying the key fields "start" and "end".
And 240, correspondingly storing the target information item and a preset information field.
Wherein the preset information field comprises at least one of the following: problem solving, test attention, test results, problem item identification, operation type, importance level and influence product. Taking the target software as system software of a television as an example, the following example of correspondingly storing a target information item and a preset information field can be specifically seen:
GIT_LOG_START
[ problem ] to solve: modifying 50Q 605805 configuration
[ test attention ]: in the presence of a boot video: 1. starting the video without sound; 2. starting up the machine and entering the channel to clamp the black screen for a period of time; 3. directly enters a channel when the machine is started and is silent at the beginning
[ test results ]: self-test OK
[ problem item identification (BUG _ ID) ]: null
[ operation type ]: mod
[ degree of importance ]: important
[ influence on product ]: 9H90
Change-Id:Ia097le75d402f
GIT_LOG_END
According to the information acquisition method provided by the embodiment, the target information item is determined from the real-time log information and the historical log information based on the key field identification technology, and the target information item and the preset information field are correspondingly stored, so that format normalization processing is performed on the real-time log information and the historical log information, the target log information conforming to the set format is obtained, readability of the target log information can be improved by storing the target log information in the set format, a person who does not know a code can understand the target log information, a purpose of rapidly making a reasonable test strategy according to the target log information is achieved, and test efficiency is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an information acquisition apparatus according to a third embodiment of the present invention. Referring to fig. 3, the apparatus comprises: a compiling module 410, an obtaining module 420 and a storing module 430;
the compiling module 410 is configured to compile target software of a current version to obtain corresponding real-time log information; an obtaining module 420, configured to obtain historical log information of the target software in a historical version; the storage module 430 is configured to perform associated storage on the real-time log information and the historical log information to obtain target log information, and determine a test strategy for testing the target software of the current version according to the target log information; the target software of the current version is improved based on the target software of the historical version.
Further, the obtaining module 420 includes:
the judging unit is used for judging whether the input parameter of the version import function is empty or not;
the acquisition unit is used for acquiring the log information of the target software of the previous version adjacent to the current version if the entry parameter of the version transfer-in function is null, and determining the log information as the historical log information; if the entry parameter of the version transfer-in function is not empty, acquiring the historical log information based on the entry parameter;
wherein the entries are filled or not filled by the engineer according to the improved function of the target software.
Further, the acquiring unit specifically includes:
the ordering subunit is used for ordering the file directory generated by compiling according to the compiling time;
the target file directory determining subunit is used for determining the file directory which is closest to the current time after the sorting as the target file directory;
a historical compiling time determining subunit, configured to determine historical compiling time from the target file in the target file directory;
the obtaining subunit is used for obtaining the log information generated between the historical compiling time and the current time; and determining the log information as the log information of the target software of the previous version.
Further, the target file directory determination subunit is further configured to: determining a target file directory generated by compiling based on the participation;
the historical compile time determination subunit is further to: determining historical compilation time from the target files in the target file directory;
further, the storage module 430 includes:
and the processing unit is used for carrying out format normalization processing on the real-time log information and the historical log information so as to obtain target log information conforming to a set format.
Further, the processing unit specifically includes:
a determining subunit, configured to determine a target information item from the real-time log information and the historical log information based on a key field identification technique;
and the storage subunit is used for correspondingly storing the target information item and a preset information field.
Further, the preset information field includes at least one of the following: problem solving, test attention, test results, problem item identification, operation type, importance level and influence product.
The information acquisition device provided by this embodiment compiles the target software of the current version to obtain corresponding real-time log information; acquiring historical log information of the target software of a historical version; performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information; the target software of the current version is a technical means obtained by improving the target software based on the historical version, the purpose of automatically acquiring target information is achieved, a reasonable test strategy can be formulated according to the target information, and the software test efficiency can be improved through the reasonable test strategy.
The information acquisition device provided by the embodiment of the invention can execute the information acquisition method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in the above embodiments, reference may be made to the information acquisition method provided in any embodiment of the present invention.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 4, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set of program modules (e.g., compiling module 410, obtaining module 420, and storing module 430 of the information obtaining apparatus) configured to perform the functions of embodiments of the present invention.
A program/utility 40 having a set of program modules 42 (information acquisition device compilation module 410, acquisition module 420, and storage module 430) may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement an information acquisition method provided by an embodiment of the present invention, the method including:
compiling the target software of the current version to obtain corresponding real-time log information;
acquiring historical log information of the target software of a historical version;
performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information;
the target software of the current version is improved based on the target software of the historical version.
The processing unit 16 executes various functional applications and data processing, for example, implementing an information acquisition method provided by an embodiment of the present invention, by executing a program stored in the system memory 28.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the information obtaining method provided by any embodiment of the present invention.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the information obtaining method provided in the embodiment of the present invention, where the method includes:
compiling the target software of the current version to obtain corresponding real-time log information;
acquiring historical log information of the target software of a historical version;
performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information;
the target software of the current version is improved based on the target software of the historical version.
Of course, the computer program stored on the computer-readable storage medium provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the information acquisition method provided by any embodiments of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An information acquisition method, comprising:
compiling the target software of the current version to obtain corresponding real-time log information;
acquiring historical log information of the target software of a historical version;
performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information;
the target software of the current version is improved based on the target software of the historical version.
2. The method of claim 1, wherein obtaining historical log information of historical versions of the target software comprises:
judging whether the entry parameter of the version import function is empty, if so, acquiring the log information of the target software of the previous version adjacent to the current version, and determining the log information as the historical log information;
if the entry parameter of the version transfer-in function is not empty, acquiring the historical log information based on the entry parameter;
wherein the entries are filled or not filled by the engineer according to the improved function of the target software.
3. The method of claim 2, wherein obtaining log information of a previous version of target software adjacent to a current version comprises:
sequencing the file directories generated by compiling according to the compiling time;
determining the file directory which is closest to the current time after sequencing as a target file directory;
determining historical compilation time from the target files in the target file directory;
acquiring log information generated between the historical compiling time and the current time;
and determining the log information as the log information of the target software of the previous version.
4. The method of claim 2, wherein obtaining the historical log information based on the participation comprises:
determining a target file directory generated by compiling based on the participation;
determining historical compilation time from the target files in the target file directory;
acquiring log information generated between the historical compiling time and the current time;
and determining the log information as the historical log information.
5. The method according to any one of claims 1 to 4, wherein the performing associated storage of the real-time log information and the historical log information to obtain target log information comprises:
and carrying out format normalization processing on the real-time log information and the historical log information to obtain target log information conforming to a set format.
6. The method of claim 5, wherein performing format normalization on the real-time log information and the historical log information comprises:
determining a target information item from the real-time log information and the historical log information based on a key field identification technology;
and correspondingly storing the target information item and a preset information field.
7. The method of claim 6, wherein the predetermined information field comprises at least one of: problem solving, test attention, test results, problem item identification, operation type, importance level and influence product.
8. An information acquisition apparatus, characterized in that the apparatus comprises:
the compiling module is used for compiling the target software of the current version to obtain corresponding real-time log information;
the acquisition module is used for acquiring historical log information of the target software in a historical version;
the storage module is used for performing associated storage on the real-time log information and the historical log information to obtain target log information, and determining a test strategy for testing the target software of the current version according to the target log information;
the target software of the current version is improved based on the target software of the historical version.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the information acquisition method according to any one of claims 1 to 7 when executing the computer program.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor implement the information acquisition method of any one of claims 1-7.
CN201910893098.0A 2019-09-20 2019-09-20 Information acquisition method and device, electronic equipment and storage medium Pending CN110659210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910893098.0A CN110659210A (en) 2019-09-20 2019-09-20 Information acquisition method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910893098.0A CN110659210A (en) 2019-09-20 2019-09-20 Information acquisition method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110659210A true CN110659210A (en) 2020-01-07

Family

ID=69038319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910893098.0A Pending CN110659210A (en) 2019-09-20 2019-09-20 Information acquisition method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110659210A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112540805A (en) * 2020-12-24 2021-03-23 北京百度网讯科技有限公司 Integrated item packaging method, device, equipment, storage medium and program product
CN112685275A (en) * 2020-12-30 2021-04-20 北京迈格威科技有限公司 Algorithm strategy searching method and device, electronic equipment and storage medium
CN113535558A (en) * 2021-07-14 2021-10-22 中国工商银行股份有限公司 Software version transmission method and device
CN114244564A (en) * 2021-11-16 2022-03-25 北京网宿科技有限公司 Attack defense method, device, equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556550A (en) * 2009-05-22 2009-10-14 北京星网锐捷网络技术有限公司 Analysis method for automatic test log and device
US20150242431A1 (en) * 2014-02-25 2015-08-27 Ca, Inc. Computer system log file analysis based on field type identification
CN109358898A (en) * 2018-10-24 2019-02-19 网易(杭州)网络有限公司 A kind of information processing method, device, electronic equipment and storage medium
CN109359026A (en) * 2018-08-15 2019-02-19 中国平安人寿保险股份有限公司 Log reporting method, device, electronic equipment and computer readable storage medium
CN109426516A (en) * 2017-06-21 2019-03-05 北京信威通信技术股份有限公司 Software version management method and device
CN109960653A (en) * 2019-02-18 2019-07-02 天津五八到家科技有限公司 Regression testing method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556550A (en) * 2009-05-22 2009-10-14 北京星网锐捷网络技术有限公司 Analysis method for automatic test log and device
US20150242431A1 (en) * 2014-02-25 2015-08-27 Ca, Inc. Computer system log file analysis based on field type identification
CN109426516A (en) * 2017-06-21 2019-03-05 北京信威通信技术股份有限公司 Software version management method and device
CN109359026A (en) * 2018-08-15 2019-02-19 中国平安人寿保险股份有限公司 Log reporting method, device, electronic equipment and computer readable storage medium
CN109358898A (en) * 2018-10-24 2019-02-19 网易(杭州)网络有限公司 A kind of information processing method, device, electronic equipment and storage medium
CN109960653A (en) * 2019-02-18 2019-07-02 天津五八到家科技有限公司 Regression testing method, device, equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112540805A (en) * 2020-12-24 2021-03-23 北京百度网讯科技有限公司 Integrated item packaging method, device, equipment, storage medium and program product
CN112540805B (en) * 2020-12-24 2023-11-14 北京百度网讯科技有限公司 Integrated item packaging method, integrated item packaging device, integrated item packaging apparatus, integrated item packaging device, integrated item packaging storage medium, and integrated item packaging program product
CN112685275A (en) * 2020-12-30 2021-04-20 北京迈格威科技有限公司 Algorithm strategy searching method and device, electronic equipment and storage medium
CN113535558A (en) * 2021-07-14 2021-10-22 中国工商银行股份有限公司 Software version transmission method and device
CN114244564A (en) * 2021-11-16 2022-03-25 北京网宿科技有限公司 Attack defense method, device, equipment and readable storage medium
CN114244564B (en) * 2021-11-16 2024-04-16 北京网宿科技有限公司 Attack defense method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US8495612B2 (en) Systems and methods for upgrading a version of software
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
CN113384896A (en) Unity-based resource packaging method, device, equipment and medium
CN113760306A (en) Method and device for installing software, electronic equipment and storage medium
CN113050984A (en) Resource calling method and device, electronic equipment and storage medium
CN110727476B (en) Method, device, equipment and storage medium for generating authorization configuration file
CN114003269A (en) Component processing method and device, electronic equipment and storage medium
CN111694684A (en) Abnormal construction method and device of storage equipment, electronic equipment and storage medium
US9075679B1 (en) Creating a prerequisite checklist corresponding to a software application
CN112748930B (en) Compilation detection method, device, equipment and storage medium
CN114090514A (en) Log retrieval method and device for distributed system
CN111124423B (en) Compiling detection method, device, server and medium based on multiple platforms
CN112988192A (en) Version updating method and device, electronic equipment and storage medium
CN109634636B (en) Application processing method, device, equipment and medium
CN113821486A (en) Method and device for determining dependency relationship between pod libraries and electronic equipment
CN109918231B (en) Data reforming abnormity repairing method, device, equipment and storage medium
CN112114811A (en) Compiling method, device and equipment
CN108628909B (en) Information pushing method and device
CN113342431A (en) Function call stack backtracking and program exception handling method, device, equipment and medium
CN113760317A (en) Page display method, device, equipment and storage medium
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN113590225B (en) Mapping detection method and device, electronic equipment and storage medium
CN111399844B (en) Secure compiling method, secure compiling device, electronic equipment and computer readable medium
CN111209225B (en) Method, device, medium and electronic equipment for acquiring real address

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200107