CN115361378A - Test environment file searching method and system and computer equipment - Google Patents

Test environment file searching method and system and computer equipment Download PDF

Info

Publication number
CN115361378A
CN115361378A CN202211000948.8A CN202211000948A CN115361378A CN 115361378 A CN115361378 A CN 115361378A CN 202211000948 A CN202211000948 A CN 202211000948A CN 115361378 A CN115361378 A CN 115361378A
Authority
CN
China
Prior art keywords
file
user side
storage path
name
target server
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
CN202211000948.8A
Other languages
Chinese (zh)
Inventor
王良玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211000948.8A priority Critical patent/CN115361378A/en
Publication of CN115361378A publication Critical patent/CN115361378A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a test environment file searching method, which comprises the following steps: the user side displays a search page; the user side judges whether a search request is acquired, wherein the search request comprises the file name of a file to be searched; when a search request is obtained, a user side obtains a storage path of a file to be searched according to the file name of the file to be searched, the storage path comprises a server name of a target server, the target server is in communication connection with the user side, and the target server comprises a proxy node; the user side acquires the IP address of the target server according to the server name; the user side sends the storage path to a corresponding proxy node according to the IP address; the agent node searches file information of the target server under the storage path according to the storage path and sends the file information to the user side; and the user side displays the file information by searching the page. The test environment file searching method provided by the application can be used for quickly positioning the file.

Description

Test environment file searching method and system and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a test environment file searching method, a test environment file searching system, and a computer device.
Background
The bank core system mostly uses file interaction, the number of files is large, the file positions and the file formats are not consistent, and a large amount of time is spent for positioning the file positions and searching the files in daily tests. In the multi-system connection and debugging process, when files interacted between an upstream system and a downstream system need to be checked, the relevant responsible persons of the upstream system and the downstream system need to be frequently contacted, and the testing interaction cost is high. In the single system test problem troubleshooting process, the log needs to be checked, the problem of server access authority and the problem of log content positioning are frequently encountered, so that the problem troubleshooting is blocked, and the test progress is delayed.
Disclosure of Invention
The application provides a test environment file searching method, a test environment file searching system and computer equipment, which can be used for quickly positioning the position of a file.
In a first aspect, an embodiment of the present application provides a method for searching a test environment file, where the method for searching a test environment file includes:
the user side displays a search page;
the user side judges whether a search request is acquired, wherein the search request comprises the file name of a file to be searched;
when the search request is obtained, the user side obtains a storage path of the file to be searched according to the file name of the file to be searched, wherein the storage path comprises a server name of a target server, the target server is in communication connection with the user side, and the target server comprises a proxy node;
the user side acquires the IP address of the target server according to the server name;
the user side sends the storage path to a corresponding proxy node according to the IP address;
the agent node searches the file information of the target server under the storage path according to the storage path and sends the file information to the user side; and
and the user side displays the file information through the search page.
In a second aspect, an embodiment of the present application provides a computer device, including:
a memory for storing program instructions; and
a processor for executing the program instructions to implement the test environment file lookup method as described above.
In a third aspect, an embodiment of the present application provides a test environment file searching system, where the test environment file searching system includes a user side and a target server that are connected in a communication manner, and the target server includes a proxy node;
the user side is used for displaying a search page and judging whether a search request is obtained or not, wherein the search request comprises a file name of a file to be searched;
the user side is further used for acquiring a storage path of the file to be searched according to the file name of the file to be searched when the search request is acquired, wherein the storage path comprises a server name of a target server;
the user side is further used for acquiring the IP address of the target server according to the server name and sending the storage path to the corresponding proxy node according to the IP address;
the agent node is used for searching the file information of the target server under the storage path according to the storage path and sending the file information to the user side;
the user side is also used for displaying the file information through the search page.
In a fourth aspect, an embodiment of the present application provides a method for searching a test environment file, where the method for searching a test environment file includes:
displaying the search page;
judging whether a search request is acquired, wherein the search request comprises a file name of a file to be searched;
when the search request is obtained, obtaining a storage path of the file to be searched according to the file name of the file to be searched, wherein the storage path comprises a server name of a target server, and the target server comprises a proxy node;
acquiring the IP address of the target server according to the server name;
sending the storage path to a corresponding proxy node according to the IP address;
receiving file information of the target server under the storage path, which is sent by the agent node; and
and displaying the file information through the search page.
According to the test environment file searching method, the test environment file searching system and the computer equipment, the user side provides the searching page for the user to input the searching request. The user only needs to input the file name, and the user side can obtain the corresponding storage path according to the file name. And the user side finds the target server where the file is located according to the storage path, and realizes the functions of downloading and checking the file by interacting with the proxy node arranged in the target server. The user can quickly check the file through the search page provided by the user side, the user side can quickly locate the target server where the file is located, the proxy node is used as a part of the target server and used for achieving checking and downloading of the file, and the efficiency of searching the file in the test environment is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a flowchart of a test environment file searching method according to a first embodiment of the present application.
Fig. 2 is a first sub-flowchart of a test environment file searching method according to a first embodiment of the present application.
Fig. 3 is a second sub-flowchart of the test environment file searching method according to the first embodiment of the present application.
Fig. 4 is a third sub-flowchart of the test environment file searching method according to the first embodiment of the present application.
Fig. 5 is a schematic view of an application scenario of the test environment file searching method according to the embodiment of the present application.
Fig. 6 is a first diagram illustrating a search page at the user end shown in fig. 5.
Fig. 7 is a second schematic diagram of the user-side lookup page shown in fig. 5.
Fig. 8 is a schematic internal structural diagram of a computer device according to an embodiment of the present application.
Fig. 9 is a schematic internal structural diagram of a test environment file searching system according to an embodiment of the present disclosure.
Fig. 10 is a flowchart of a test environment file searching method according to a second embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. 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 application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar items and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged under appropriate circumstances, in other words, the described embodiments may be practiced other than as illustrated or described herein. Moreover, the terms "comprises," "comprising," and any variations thereof, may also encompass other things, such as processes, methods, systems, articles, or apparatus that comprise a list of steps or elements, but not necessarily limited to only those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such processes, methods, articles, or apparatus.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
Referring to fig. 1 and fig. 5 in combination, fig. 1 is a flowchart of a method for searching for a test environment file according to a first embodiment of the present application, and fig. 5 is a schematic view of an application scenario of the method for searching for a test environment file according to the embodiment of the present application. The test environment file searching method is used for searching and positioning files. Taking the application scenario shown in fig. 5 as an example, the client 30 is communicatively connected to the target server 40, and the target server 40 includes a proxy node (agent) 41. Wherein the proxy node 41 is pre-deployed on the target server 40. The method for searching for a test environment file provided by the first embodiment specifically includes the following steps.
Step S102, the user terminal displays the search page. It is understood that the client 30 may provide the lookup page 31 (shown in fig. 6). When a user needs to search for a document, the user terminal 30 can open a search page 31 for searching. The user terminal 30 includes, but is not limited to, an electronic device with a display screen, such as a monitor, a mobile phone, a tablet computer, and the like.
The search page 31 is provided with a search bar 311 and a corresponding search button 312. The user may enter the file name of the desired file in the search bar 311 and click the search button 312 to search.
Step S104, the user side judges whether a search request is acquired.
When the user inputs a file name of a file desired to be searched in the search bar 311 and clicks the search button 312 after the input is completed, a corresponding search request is generated. It will be appreciated that the lookup request includes the file name of the file to be looked up.
When the search request is acquired, step S106 is executed.
Step S106, the user side obtains the storage path of the file to be searched according to the file name of the file to be searched. Wherein the storage path includes the server name of the target server 40. In the present embodiment, the storage path is an absolute path of the file to be searched in the target server 40. It will be appreciated that the file to be looked up is stored in the corresponding target server 40.
The method for the user side 30 to search the storage path of the file to be searched according to the file name of the file to be searched is the same as the prior art, and is not described herein again.
Step S108, the user end obtains the IP address of the target server according to the server name.
In this embodiment, the user terminal 30 stores the server names and corresponding IP addresses of all the target servers 40. It will be appreciated that the server name and corresponding IP address of the same target server 40 are associated.
Step S110, the user side sends the storage path to the corresponding proxy node according to the IP address.
In this embodiment, the user terminal 30 may find the corresponding target server 40 according to the IP address, and send the storage path to the proxy node 41 of the target server 40. Preferably, the user terminal 30 sends the storage path to the proxy node 41 in a parameter manner. The proxy node 41 includes a search interface, and the user terminal 30 can call the proxy node 41 through the search interface.
Step S112, the agent node searches the file information of the target server under the storage path according to the storage path and sends the file information to the user side.
In the present embodiment, the proxy node 41 searches for a storage path in the corresponding target server 40, and acquires file information under the storage path. The file information includes, but is not limited to, file names, file IDs, and the like of all files in the storage path. The agent node 41 sends the file information of all the files acquired in the storage path to the user terminal 30 through the search interface.
Step S114, the user side displays the file information by searching the page.
In this embodiment, the user terminal 30 receives the document information and displays the corresponding document information through the search page 31. Preferably, the user terminal 30 presents the file information in the form of a list (as shown in fig. 6).
The user can look up the specific document information by looking up the document information presented on the page 31. Specifically, the user may click on a document to be viewed in the list, and the user terminal 30 pops up an information window 313 on the search page 31 in response to the user operation (as shown in fig. 7). The information window 313 displays corresponding detailed information including, but not limited to, a file ID, a file owner, a file name, a storage path, and the like.
In the above embodiment, the user side provides the search page for the user to input the search request. The user only needs to input the file name, and the user side can obtain the corresponding storage path according to the file name. And the user side finds the target server where the file is located according to the storage path, and realizes the functions of downloading and checking the file by interacting with the proxy node arranged in the target server. The user can quickly check the file through the search page provided by the user side, the user side can quickly locate the target server where the file is located, the proxy node is used as a part of the target server and used for achieving checking and downloading of the file, and the efficiency of searching the file in the test environment is effectively improved.
In addition, the test environment file searching method can also be used for realizing the intelligent screening function of the log files, and a user can quickly position error reporting information and display the error reporting information by searching the log files.
Please refer to fig. 2, which is a first sub-flowchart of a test environment file searching method according to a first embodiment of the present application. After step S114 is executed, the test environment file searching method further includes the following steps.
In step S202, the user determines whether a download request is received.
In this embodiment, the user may download a desired file by looking up the file information displayed on the page 31. It can be understood that, since the search page 31 shows the file information of all files in the storage path corresponding to the file to be searched, the user can download not only the file to be searched but also other files in the storage path.
The find page 31 shows a list of files each corresponding to a download button 314. When the user needs to download the file, the download button 314 corresponding to the file may be clicked to generate a download request. The downloading request comprises a file name and a downloading path of the file to be downloaded. It is understood that the file to be downloaded may be a file to be searched, and may also be another file in the storage path. The download path is a path in which the user wants to store a file to be downloaded. That is, the download path is the path of the user terminal 30.
When the download request is received, step S204 is performed.
Step S204, the user side sends the file name of the file to be downloaded to the agent node.
In this embodiment, the client 30 sends the file name of the file to be downloaded to the corresponding proxy node 41. The proxy node 41 further includes a download interface, and the user terminal 30 can call the proxy node 41 through the download interface.
In step S206, the agent node obtains the file content of the file to be downloaded according to the file name of the file to be downloaded, and sends the file content of the file to be downloaded to the user side.
In this embodiment, the proxy node 41 searches for the file to be downloaded under the storage path of the corresponding target server 40, obtains the file content of the file to be downloaded, and sends the file content of the file to be downloaded to the user terminal 30 through the download interface.
Step S208, the user side stores the file content of the file to be downloaded to the download path.
In this embodiment, the user terminal 30 receives the file content of the file to be downloaded, and stores the file content in the download path. The user can view the file content of the file to be downloaded in the download path.
In the above embodiment, by looking up the download button provided by the page, the user can download the required file from the target server to the user side. The client can directly download the file content from the target server to the local through calling the download interface of the proxy node.
Referring to fig. 3 and fig. 4 in combination, fig. 3 is a second sub-flowchart of the method for searching for a test environment file according to the first embodiment of the present application, and fig. 4 is a third sub-flowchart of the method for searching for a test environment file according to the first embodiment of the present application. After step S114 is executed, the test environment file searching method further includes the following steps.
In step S302, the user side determines whether a check request is received.
In this embodiment, the user can look up the specific file content by looking up the file information displayed on the page 31. It can be understood that, since the search page 31 shows the file information of all files in the storage path corresponding to the file to be searched, the user can view not only the file content of the file to be searched, but also the file contents of other files in the storage path.
The find page 31 shows a list with one view button 315 for each file. When the user needs to view the content of the file, the user can click the view button 315 corresponding to the file to generate a view request. Wherein, the viewing request comprises the file name of the file to be viewed. It is understood that the file to be viewed may be a file to be searched, and may also be other files in the storage path.
When the viewing request is received, step S304 is executed.
Step S304, the user side sends the file name of the file to be checked to the proxy node.
In this embodiment, the user terminal 30 sends the file name of the file to be viewed to the corresponding proxy node 41. The proxy node 41 further includes a viewing interface, and the user terminal 30 can call the proxy node 41 through the viewing interface.
Step S306, the agent node obtains the file content of the file to be checked according to the file name of the file to be checked and sends the file content of the file to be checked to the user side.
In this embodiment, the agent node 41 searches for the file to be viewed under the storage path of the corresponding target server 40, obtains the file content of the file to be viewed, and sends the file content of the file to be viewed to the user terminal 30 through the viewing interface.
Step S308, the user side displays the file content of the file to be viewed through the search page. The user can view the document contents of the document to be viewed on the search page 31.
In this embodiment, the step of displaying the document content of the document to be viewed by the user terminal 30 through the search page 31 specifically includes the following steps.
Step S402, the user terminal analyzes the file content of the file to be viewed into a table.
In step S404, the user displays the table by searching the page.
In the above embodiment, by looking up the viewing button provided by the page, the user can directly view the document content at the user side. The client can cache the file content from the target server interface by calling the agent node for viewing.
Please refer to fig. 8, which is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application. The computer device 10 comprises a memory 11 and a processor 12. The memory 11 is used for storing program instructions and the processor 12 is used for executing the program instructions to implement the test environment file lookup method described above.
Processor 12, which in some embodiments may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip, executes program instructions stored in memory 11.
The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the computer device, for example a hard disk of the computer device. The memory 11 may also be an external storage device of the computer device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the computer device. The memory 11 may be used not only to store application software installed in the computer device and various types of data, such as codes implementing a test environment file search method, etc., but also to temporarily store data that has been output or will be output.
Please refer to fig. 9, which is a schematic diagram of an internal structure of the test environment file lookup system according to the embodiment of the present application. The testing environment file searching system 20 comprises a user terminal 21 and a target server 22 which are connected in a communication way, and the target server 22 comprises an agent node 220. In the embodiment, the testing environment file searching system 20 includes a plurality of clients 21 and a plurality of target servers 22, and the plurality of target servers 22 are communicatively connected to each client 21. Each target server 22 includes a proxy node 220, and the proxy nodes 220 are in one-to-one correspondence with the target servers 22.
The user side 21 is configured to display a search page and determine whether a search request is obtained. The searching request comprises the file name of the file to be searched.
It is understood that the user terminal 21 may provide the search page. When a user needs to search for a file, a search page can be opened at the user end 21 for searching. The user 21 includes, but is not limited to, an electronic device with a display screen, such as a display, a mobile phone, a tablet computer, and the like.
In this embodiment, the search page is provided with a search bar and a corresponding search button. The user may enter the file name of the desired file in the search field and click the search button to perform the search.
When a user inputs a file name of a file to be searched in a search bar and clicks a search button after the input is finished, a corresponding search request is generated. It will be appreciated that the lookup request includes the file name of the file to be looked up.
The user end 21 is further configured to, when the search request is obtained, obtain a storage path of the file to be searched according to the file name of the file to be searched. Where the storage path includes the server name of the target server 22. In the present embodiment, the storage path is an absolute path of the file to be searched in the target server 22. It will be appreciated that the file to be looked up is stored in the corresponding target server 22.
The user end 21 is further configured to obtain an IP address of the target server 22 according to the server name, and send the storage path to the corresponding proxy node 220 according to the IP address.
In this embodiment, the user side 21 stores the server names and corresponding IP addresses of all the target servers 22. It will be appreciated that the server name and corresponding IP address of the same target server 22 are associated.
The user 21 can find the corresponding target server 22 according to the IP address, and send the storage path to the proxy node 220 of the target server 22. Preferably, the user terminal 21 sends the storage path to the proxy node 220 in a parameter manner. The agent node 220 includes a search interface, the search interface is used for the user side 21 to search for the file to be searched, and the user side 21 can call the agent node 220 through the search interface.
The agent node 220 is configured to search the file information of the target server 22 in the storage path according to the storage path, and send the file information to the user side 21.
In this embodiment, the proxy node 220 searches the storage path in the corresponding target server 22, and obtains the file information under the storage path. The file information includes, but is not limited to, file names, file IDs, and the like of all files under the storage path. The agent node 220 sends the file information of all files acquired in the storage path to the user side 21 through the search interface.
The user terminal 21 is also used to display the document information by searching the page.
In this embodiment, the user end 21 receives the document information and displays the corresponding document information by searching the page. Preferably, the user terminal 21 presents the file information in the form of a list.
The user can check specific file information by searching the file information displayed on the page. Specifically, the user may click on a document to be viewed in the list, and the user terminal 21 pops up an information window on the search page in response to the user operation. The information window displays corresponding detailed information including, but not limited to, a file ID, a file owner, a file name, a storage path, etc.
In other possible embodiments, the proxy node 220 further includes a download interface, and the download interface is used for the user end 21 to download the file to be downloaded, and the user end 21 can call the proxy node 200 through the download interface. The file to be downloaded may be a file to be searched, or may be another file in the storage path.
Please refer to fig. 10, which is a flowchart illustrating a method for searching a test environment file according to a second embodiment of the present application. The difference between the test environment file searching method provided by the second embodiment and the test environment file searching method provided by the first embodiment is that the test environment file searching method provided by the second embodiment is applied to a user side, and the user side is provided with a search page. The user side includes, but is not limited to, an electronic device with a display screen, such as a display, a mobile phone, and a tablet computer. The method for searching for a test environment file provided by the second embodiment specifically includes the following steps.
And step S1002, displaying the search page.
The user side provides a search page, and when a user needs to search for a file, the search page can be opened at the user side for searching. In this embodiment, the search page is provided with a search bar and a corresponding search button. The user may enter the file name of the desired file in the search field and click the search button to perform the search.
Step S1004, determining whether a search request is acquired.
When a user inputs a file name of a file to be searched in a search bar and clicks a search button after the input is finished, a corresponding search request is generated. It will be appreciated that the lookup request includes the file name of the file to be looked up.
When the search request is acquired, step S1006 is executed.
Step S1006, the storage path of the file to be searched is obtained according to the file name of the file to be searched. Wherein the storage path includes a server name of the target server.
In this embodiment, the storage path is an absolute path of the file to be searched in the target server. It is understood that the file to be searched is stored in the corresponding target server. The target server includes a proxy node.
Step S1008, the IP address of the target server is obtained according to the server name.
In this embodiment, the user side stores server names and corresponding IP addresses of all target servers. It will be appreciated that the server name and corresponding IP address of the same target server are associated.
And step S1010, sending the storage path to a corresponding proxy node according to the IP address. Preferably, the user terminal sends the storage path to the proxy node in a parameter manner. The agent node comprises a search interface, the search interface is used for a user side to search for a file to be searched, and the user side can call the agent node through the search interface.
Step S1012, receiving the file information of the target server in the storage path sent by the proxy node.
And the proxy node searches the storage path in the corresponding target server and acquires the file information under the storage path. The file information includes, but is not limited to, file names, file IDs, and the like of all files in the storage path. And the agent node sends the file information of all the files acquired under the storage path to the user side through the search interface.
Step 1014, the file information is displayed by searching the page. And the user side receives the file information and displays the corresponding file information through the search page. Preferably, the user terminal displays the file information in a list form.
In this embodiment, the user can check specific file information by searching the file information displayed on the page. Specifically, the user may click on a file to be viewed in the list, and the user side pops up an information window on a search page in response to a user operation. The information window displays corresponding detailed information including, but not limited to, a file ID, a file owner, a file name, a storage path, and the like.
In other possible embodiments, the proxy node further includes a download interface, where the download interface is used for a user to download a file to be downloaded, and the user can call the proxy node through the download interface. The file to be downloaded may be a file to be searched, or may be another file in the storage path.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, to the extent that such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, it is intended that the present application also encompass such modifications and variations.
The above-mentioned embodiments are only examples of the present invention, and the scope of the claims of the present invention should not be limited by these examples, so that the claims of the present invention should be construed as equivalent and still fall within the scope of the present invention.

Claims (10)

1. A method for searching a test environment file is characterized by comprising the following steps:
the user side displays a search page;
the user side judges whether a search request is acquired, wherein the search request comprises the file name of a file to be searched;
when the search request is obtained, the user side obtains a storage path of the file to be searched according to the file name of the file to be searched, wherein the storage path comprises a server name of a target server, the target server is in communication connection with the user side, and the target server comprises a proxy node;
the user side acquires the IP address of the target server according to the server name;
the user side sends the storage path to a corresponding agent node according to the IP address;
the agent node searches the file information of the target server under the storage path according to the storage path and sends the file information to the user side; and
and the user side displays the file information through the search page.
2. The method of claim 1, wherein after the user side displays the document information through the search page, the method further comprises:
the user side judges whether a downloading request is received, wherein the downloading request comprises a file name and a downloading path of a file to be downloaded;
when the downloading request is received, the user side sends the file name of the file to be downloaded to the agent node;
the agent node acquires the file content of the file to be downloaded according to the file name of the file to be downloaded and sends the file content of the file to be downloaded to the user side; and
and the user side stores the file content of the file to be downloaded to the downloading path.
3. The method for searching for test environment files according to claim 1, wherein after the user side displays the file information through the search page, the method for searching for test environment files further comprises:
the user side judges whether a checking request is received or not, wherein the checking request comprises a file name of a file to be checked;
when the viewing request is received, the user side sends the file name of the file to be viewed to the proxy node;
the agent node acquires the file content of the file to be viewed according to the file name of the file to be viewed and sends the file content of the file to be viewed to the user side; and
and the user side displays the file content of the file to be viewed through the search page.
4. The method for searching for test environment files according to claim 3, wherein the displaying, by the user side through the search page, the file content of the file to be viewed specifically includes:
the user side analyzes the file content of the file to be viewed into a table; and
and the user side displays the table through the search page.
5. A computer device, characterized in that the computer device comprises:
a memory for storing program instructions; and
a processor for executing the program instructions to implement the test environment file lookup method of any one of claims 1 to 4.
6. The test environment file searching system is characterized by comprising a user side and a target server which are in communication connection, wherein the target server comprises a proxy node;
the user side is used for displaying a search page and judging whether a search request is acquired, wherein the search request comprises a file name of a file to be searched;
the user side is further used for acquiring a storage path of the file to be searched according to the file name of the file to be searched when the search request is acquired, wherein the storage path comprises a server name of a target server;
the user side is also used for acquiring the IP address of the target server according to the server name and sending the storage path to the corresponding proxy node according to the IP address;
the agent node is used for searching the file information of the target server under the storage path according to the storage path and sending the file information to the user side;
the user side is also used for displaying the file information through the search page.
7. The test environment file retrieval system of claim 6, wherein the test environment file retrieval system comprises a plurality of clients and a plurality of target servers, each of the plurality of target servers being communicatively coupled to each of the clients.
8. The test environment file lookup system as claimed in claim 6 wherein the agent node comprises a lookup interface for the user side to lookup the file to be looked up and a download interface for the user side to download the file to be downloaded.
9. The test environment file lookup system as claimed in claim 6 wherein the proxy nodes are in a one-to-one correspondence with the target servers.
10. A method for searching a test environment file is characterized by comprising the following steps:
displaying a search page;
judging whether a search request is acquired, wherein the search request comprises a file name of a file to be searched;
when the search request is obtained, obtaining a storage path of the file to be searched according to the file name of the file to be searched, wherein the storage path comprises a server name of a target server, and the target server comprises a proxy node;
acquiring the IP address of the target server according to the server name;
sending the storage path to a corresponding proxy node according to the IP address;
receiving file information of the target server under the storage path, which is sent by the agent node; and
and displaying the file information through the search page.
CN202211000948.8A 2022-08-19 2022-08-19 Test environment file searching method and system and computer equipment Pending CN115361378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211000948.8A CN115361378A (en) 2022-08-19 2022-08-19 Test environment file searching method and system and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211000948.8A CN115361378A (en) 2022-08-19 2022-08-19 Test environment file searching method and system and computer equipment

Publications (1)

Publication Number Publication Date
CN115361378A true CN115361378A (en) 2022-11-18

Family

ID=84003587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211000948.8A Pending CN115361378A (en) 2022-08-19 2022-08-19 Test environment file searching method and system and computer equipment

Country Status (1)

Country Link
CN (1) CN115361378A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116932555A (en) * 2023-08-14 2023-10-24 合芯科技有限公司 Target object slice position determining method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116932555A (en) * 2023-08-14 2023-10-24 合芯科技有限公司 Target object slice position determining method, device, equipment and storage medium
CN116932555B (en) * 2023-08-14 2024-04-30 合芯科技有限公司 Target object slice position determining method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103491543A (en) Method for detecting malicious websites through wireless terminal, and wireless terminal
CN113687974B (en) Client log processing method and device and computer equipment
US20190372878A1 (en) Web site reachability management for content browsing
CN110457097B (en) Page response control method and device, computer equipment and storage medium
CN112685211B (en) Error information display method and device, electronic equipment and medium
CN115361378A (en) Test environment file searching method and system and computer equipment
CN112000518A (en) Application program fault risk processing method, device and system, terminal and equipment
CN113542418A (en) File management method and device, electronic equipment and storage medium
CN111078437B (en) Remote calling method and device for verification codes, electronic equipment and readable storage medium
CN112115103A (en) File address display method and device, electronic equipment and readable storage medium
CN110838929B (en) System error checking method and system error checking device
CN115269424A (en) Automatic regression testing method, device, equipment and storage medium for production flow
CN107766232B (en) Plug-in management method and device
CN112416875B (en) Log management method, device, computer equipment and storage medium
CN114185804A (en) Interface testing method and device and terminal equipment
CN114116388A (en) Applet data acquisition method, device and equipment and readable storage medium
EP3151519A1 (en) An intelligent system of unified content posting
CN112383434A (en) Interface simulation method and device for network request, electronic equipment and storage medium
CN113778780A (en) Application stability determination method and device, electronic equipment and storage medium
CN112671615A (en) Method, system and storage medium for collecting operation behavior data of front-end user
CN112486509A (en) Jar package assembly heat deployment method and system
CN111367703A (en) Troubleshooting method and device
US7409591B2 (en) Method and system for managing programs for web service system
CN110806902B (en) Data processing method, application portrait method and device
CN116881119A (en) Login-free method, device, equipment and storage medium for interface test

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