Multi-terminal cooperation computerized system verification graph management method, system and server
By sorting and storing screenshots according to the naming update rules of the verification use case in multi-terminal collaborative computerized system verification, the problem of low screenshot efficiency and chaotic picture summary is solved, and an efficient and accurate picture management and verification process is achieved. .
Patent Information
- Application Number
- CN202410560739.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-08-27
AI Technical Summary
In a computerized system verification environment where multiple people collaborate, screenshots are inefficient and prone to confusing image summarization, which affects subsequent search and comparison work.
By receiving the screenshots uploaded by each terminal and sorting and storing them according to the naming update rules of the verification use case, it ensures that the pictures in the picture file library are named according to the step serial number and verification use case identification information, achieving systematic and comprehensive management.
It improves the efficiency and accuracy of computerized system verification for multi-terminal collaboration, avoids the confusion of repeated screenshots and screenshot summary, and simplifies the image management and search process.
Smart Images

Figure CN118551069A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a method, system and server for managing graphics used in computerized system verification for multi-terminal collaboration. Background Art
[0002] Computerized system verification with multi-person collaboration is a common situation in computerized system verification. During the verification process, each terminal needs to continuously take screenshots of each step of the verification case, and summarize the screenshots into the same file for saving and renaming for subsequent comparison with the system screenshots. However, due to the high complexity and flexibility of computer systems with multi-person collaboration, the various screenshot and summary operations in the verification process are also very cumbersome and fragmented. The screenshot tools currently on the market do not support automatic summary of screenshots. In the computerized system verification environment with multi-person collaboration, the screenshot efficiency is very low and it is easy to have chaotic image summaries, which affects the subsequent search and comparison work. Summary of the invention
[0003] In view of the deficiencies in the prior art, the present invention discloses a method for managing a computerized system verification diagram for multi-terminal collaboration, comprising the following steps:
[0004] S1, receiving a first picture sent by a first terminal after taking a screenshot of a selected area of an interface of a computerized system verification case running on the first terminal;
[0005] S2. Obtain a name of a second image stored in the image file library, where the second image is an image sent by the second terminal and obtained by taking a screenshot of another selected area of the interface of the same computerized system verification case running on the second terminal;
[0006] S3. After sorting the first picture and the second picture according to the corresponding naming update rule of the verification case, the pictures are stored in the corresponding sorting positions of the picture file library.
[0007] Preferably, the naming update rules corresponding to the verification case include at least one, wherein the first naming update rule is configured to name the picture obtained by taking a screenshot of the selected area of the verification case interface according to a first name format, wherein the first name format includes a first field content, a second field content and a third field content arranged in sequence, and a preset auxiliary format content filling; wherein the first field content is configured as the verification case identification information, the second field content is configured as the step number of the verification case, and the third field content is configured as the picture number belonging to the current step number of the verification case; the first naming update rule also includes an incremental interval for the adjacent step numbers before and after the second field content, and an incremental interval for the adjacent picture numbers before and after the third field content.
[0008] Preferably, the step S3 also includes: S31, identifying the contents of each field in the received first picture name according to the first naming update rule, and if there is a second picture with the same step sequence number as the first picture name, obtaining the first picture sequence number in the first picture name and the second picture sequence number in the second picture name; S32, if the first picture sequence number is before the second picture sequence number, saving it to the picture file library, if the first picture sequence number is after the second picture sequence number or is the same as the second picture sequence number, sending a verification step repeat reminder to the first terminal, and if a confirmation save instruction is received from the first terminal, sorting the first picture and the second picture in the order of the picture sequence numbers, and storing them in the corresponding sorting position of the picture file library.
[0009] Preferably, the step S32 also includes: if the first picture sequence number is located after the second picture sequence number or is the same as the second picture sequence number, then querying the picture file library for the step sequence numbers to which the picture names with the same verification case identification information belong to form a verified step sequence, and sending a verification step repeat reminder to the first terminal, wherein the verification step repeat reminder includes the step sequence number to which the current picture judged to be repeated belongs, and replacement step suggestion information containing the verified step sequence.
[0010] Preferably, the first naming update rule includes a second field content update rule for updating the second step sequence number, and a third field content update rule for updating the third picture sequence number, wherein the step S32 further specifically includes: if the first picture sequence number is after the second picture sequence number and according to the third field content update rule, there is a third picture sequence number between the first picture sequence number and the second picture sequence number, and the step screenshot picture with the third picture sequence number has not yet been stored in the picture file library, then sending picture supplement information to the first terminal, the picture supplement information including the step sequence number and picture sequence number to which the missing picture belongs.
[0011] Preferably, step S3 also includes: identifying the contents of each field in the received first picture name, and if the first verification case identification information in the first picture name is different from the verification case identification information field in each current picture stored in the picture file library, then creating a separate picture folder in the picture file library for storing pictures with the first verification case identification information.
[0012] The present invention also discloses a management system for computerized system verification images for multi-terminal collaboration, comprising a first acquisition module, a second acquisition module and a sorting storage module, wherein the first acquisition module is used to receive a first image obtained by taking a screenshot of a selected area of an interface of a computerized system verification case running on the first terminal, sent by a first terminal; the second acquisition module is used to obtain the image name of a second image stored in an image file library, wherein the second image is an image obtained by taking a screenshot of another selected area of an interface of the same computerized system verification case running on the second terminal, sent by a second terminal; the sorting storage module is used to sort the first image and the second image according to the corresponding naming update rules of the verification case, and store them in the corresponding sorting positions of the image file library.
[0013] Preferably, the naming update rules corresponding to the verification case include at least one, wherein the first naming update rule is configured to name the picture obtained by taking a screenshot of the selected area of the verification case interface according to a first name format, wherein the first name format includes a first field content, a second field content and a third field content arranged in sequence, and a preset auxiliary format content filling; wherein the first field content is configured as the verification case identification information, the second field content is configured as the step number of the verification case, and the third field content is configured as the picture number belonging to the current step number of the verification case; the first naming update rule also includes an incremental interval for the adjacent step numbers before and after the second field content, and an incremental interval for the adjacent picture numbers before and after the third field content.
[0014] The present invention also discloses a server, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for managing drawings used for computerized system verification of multi-terminal collaboration as described in any of the above are implemented.
[0015] The present invention also discloses a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the steps of the method for managing a diagram used for verifying a computerized system for multi-terminal collaboration are performed as described in any of the above.
[0016] The present invention discloses a method, system and server for managing images used for verification of a computerized system with multi-terminal collaboration. After receiving a screenshot image of a verification case uploaded by a terminal, the system determines the accuracy of the currently acquired image and its name by searching and comparing the screenshot images of the verification case uploaded by other terminals stored in the image folder, and stores the image in the corresponding position of the image folder according to the corresponding naming update rules of the corresponding verification case, thereby realizing systematic and comprehensive management of the screenshots uploaded by different terminals, improving the efficiency and accuracy of the verification of the computerized system with multi-terminal collaboration, and avoiding the occurrence of repeated screenshots and chaotic screenshot summaries.
[0017] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0019] Figure 1 The present invention is a schematic diagram of the steps of a method for managing a verification diagram for a computerized system for multi-terminal collaboration disclosed in an embodiment of the present invention.
[0020] Figure 2 A schematic diagram of a terminal control interface disclosed in an embodiment of the present invention.
[0021] Figure 3 This is a schematic diagram of specific steps of step S3 disclosed in one embodiment of the present invention.
[0022] Figure 4 This is a structural block diagram of a diagram management system for computerized system verification of multi-terminal collaboration disclosed in another embodiment of the present invention.
[0023] Figure 5 A structural block diagram of a server of a diagram management system for executing computerized system verification for multi-terminal collaboration disclosed in another embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Unless otherwise defined, the technical or scientific terms used herein shall have the common meanings understood by persons with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the patent application specification and claims of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one" or "a" do not indicate a quantity limitation, but indicate the existence of at least one.
[0026] Computerized system verification with multi-person collaboration is a common situation in computerized system verification. During the verification process, each terminal needs to continuously take screenshots of each step of the verification case, and summarize the screenshots into the same file for saving and renaming for subsequent comparison with the system screenshots. However, due to the high complexity and flexibility of computer systems with multi-person collaboration, the various screenshot and summary operations in the verification process are also very cumbersome and fragmented. The screenshot tools currently on the market do not support automatic summary of screenshots. In the computerized system verification environment with multi-person collaboration, the screenshot efficiency is very low and it is easy to have chaotic image summaries, which affects the subsequent search and comparison work.
[0027] Therefore, this embodiment discloses a method for managing a computerized system verification diagram for multi-terminal collaboration, as shown in the attached figure. Figure 1 As shown, the following steps are included.
[0028] Step S1, receiving a first picture sent by a first terminal, which is obtained by taking a screenshot of a selected area of an interface of a computerized system verification case running on the first terminal.
[0029] Specifically, after receiving the image acquisition instruction sent by the user, each terminal of the computerized system verification takes a screenshot of the specified area in the interface of the computerized system verification case to obtain the target image, and after the screenshot is completed, the captured image is named and uploaded to the receiving end. The receiving end saves the received image to the corresponding location in the local image file library according to the name number of the received image for archiving, so as to realize the aggregation of the images captured by different terminals, which is convenient for subsequent search and comparison.
[0030] Among them, different terminals name the captured pictures according to the naming update rules of the corresponding verification case. In this embodiment, the naming update rules of the corresponding verification case include at least one, wherein the first naming update rule is configured to name the pictures obtained by taking a screenshot of the selected area of the verification case interface according to the first name format, and the first name format includes the first field content, the second field content and the third field content arranged in sequence, and the preset auxiliary format content filling composition; wherein the first field content is configured as the verification case identification information, the second field content is configured as the step number of the verification case, and the third field content is configured as the picture number belonging to the current step number of the verification case. For example: OQ-TC05-4-18.jpg, wherein OQ-TC05 is the verification case identification information, which is used to identify and distinguish different verification cases, 4 represents step 4, 18 represents picture number 18, and the picture with the name number OQ-TC05-4-18 represents the 18th picture of the 4th step captured in the OQ-TC05 verification case. In this way, each picture is distinguished.
[0031] In this embodiment, each terminal is connected as shown in the attached Figure 2 The control interface shown names the captured images according to the naming update rules of the corresponding verification use case, wherein the first naming update rule also includes a second field content update rule for updating the second step sequence number, and a third field content update rule for updating the third image sequence number. The screenshot and naming process of each terminal specifically includes the following content.
[0032] Step S101, after receiving the user's picture acquisition instruction, a screenshot operation is performed on a designated area of the screen to acquire a target picture. The picture acquisition instruction is configured to capture a screenshot picture of a designated area in the computerized system verification case interface.
[0033] Step S102, obtaining field information in the current multiple text components, wherein the multiple text components at least include a first text component for displaying and entering the first field content, a second field content in a second text component, and a third field content in a third text component, and combining the obtained first field content, second field content, and third field content according to a set name format to form a picture name for the current target picture. Figure 2 As shown in the figure, the prefix is displayed by the first text component, the step number is displayed by the second text component, and the figure number is displayed by the third text component.
[0034] Step S103, naming the target image according to the image name and saving it to a local image folder, modifying the current second field content according to a preset second field content update rule, and saving and displaying it on the second text component.
[0035] Specifically, after each screenshot is completed, the terminal automatically saves the image to the disk and automatically updates the step number according to the user configuration. In this embodiment, the step number increases in natural number sequence, and step S103 also includes the following content.
[0036] Step S201, name the target image according to the image name and save it to a local image folder, and determine whether there is a configured image upload requirement. If so, obtain the configured upload address and send the named target image to the upload address.
[0037] Step S202, after obtaining and / or naming the screenshot in response to the user's picture acquisition instruction, the current picture sequence number displayed in the third text component is incrementally updated to the next sequence number according to the preset third field content update rule, and the verification case identification information in the first text component and the step number in the second text component are kept unchanged. Through this incremental method, the automation of picture renaming is realized, avoiding human errors caused by manual renaming.
[0038] In addition, the first naming update rule also includes an increment interval for the sequence numbers of the adjacent steps before and after the second field content, and an increment interval for the sequence numbers of the adjacent pictures before and after the third field content. In this embodiment, the increment interval is 1, and in other embodiments, it can be configured as needed.
[0039] Furthermore, the picture acquisition instruction also includes a first picture acquisition instruction and a second picture acquisition instruction, wherein the first picture acquisition instruction is attached Figure 2 The step-by-step button indicates that the current screenshot is at a different step from the previous one, and the steps need to be switched at the same time. The user can capture pictures of different steps in sequence by triggering the step-by-step button multiple times. The second picture acquisition instruction is attached. Figure 2 The one-step multi-picture button indicates that the current screenshot and the previous screenshot are in the same step. The user triggers the one-step multi-picture button multiple times to take multiple screenshots in the same step. Then, when the instruction sent by the user is the first picture acquisition instruction, the different terminals name the captured pictures according to the naming update rules of the corresponding verification use case, which also includes the following content.
[0040] Step S301, after receiving a screenshot instruction from the user, a screenshot operation is performed on a designated area of the screen to obtain a target image.
[0041] Step S302, the current step number displayed in the second text component is incrementally updated to the next step number according to the preset second field content update rule, and it is determined whether the current picture sequence number in the third text component is the initial value. If it is not the initial value, the picture sequence number is restored to the initial value according to the third field content update rule, and then the verification case identification information of the first text component, the step number of the second text component and the picture sequence number of the third text component are obtained, and the obtained verification case identification information, step number and picture sequence number are arranged according to the set name format and filled with auxiliary format content to form a picture name for naming the target picture this time.
[0042] Step S303, name the target image according to the image name and save it to a local image folder, increment the current image sequence number displayed in the third text component to the next sequence number according to the preset third field content update rule, and keep the verification case identification information in the first text component and the image sequence number in the second text component unchanged.
[0043] In this embodiment, the screenshot program and configuration file in the terminal can also be moved between different terminals through a mobile device, so that the name codes of the pictures captured by the user between different terminals are continuous, specifically including the following contents.
[0044] Step S401, the terminal execution program responds to the user's screenshot instruction on the current device, performs a screenshot operation on the specified area of the screen of the current device, collects the first text information group in the first control interface and combines them according to the set name format to form a first file name for this screenshot, updates the content of the first text information group according to the naming update rule, obtains the second text information group and records it in the configuration file.
[0045] Step S402, after transferring the terminal execution program and configuration file from the current device to the second device, the client execution program responds to the user's first wake-up command on the second device, displays the second control interface on the second device according to the configuration file, and presents each information in the second text information group to multiple text components corresponding to the second control interface.
[0046] Furthermore, step S402 also includes the following content.
[0047] Step S501, after the execution program and the configuration file are transferred to the second device, the execution program responds to the first wake-up instruction of the user on the second device and displays the second control interface on the second device according to the configuration file.
[0048] Step S502, parsing each text message in the second text message group and filling it into the corresponding text component of the second control interface.
[0049] Step S503, identify whether there is a historical screenshot folder in the configuration file, if so, obtain the address of the historical screenshot folder and send information whether to confirm to continue to use the current historical screenshot folder for storing new screenshots, if not, create a new screenshot folder for storing new screenshots. After the device is replaced, reconfirm the address where the picture is saved, so as to select the best way to save the picture according to the content of different test cases, and improve the flexibility and systematicness of picture saving.
[0050] In this embodiment, step S402 also includes the following content.
[0051] Step S601, the execution program responds to the user's first wake-up command on the second device, obtains the first step number corresponding to the second text component in the second text information group, and obtains the second step number according to the second field content update rule stored in the configuration file, where the second step number is the step number located next to the first step number obtained according to the second field content update rule.
[0052] Specifically, device switching usually means switching of verification use case steps. To avoid image naming errors caused by operator errors, this embodiment automatically updates the step number after device switching to improve the accuracy of naming.
[0053] Step S602, sending information on whether to update the step number in the second text component. If the user confirms the update instruction, the second step number is filled into the second text component, and the image number in the third text component is restored to the initial value according to the third field content update rule.
[0054] Step S603: if a user confirmation instruction not to update is received, each text message in the second text message group is filled into a corresponding text component of the second control interface.
[0055] Automatic update of the step number after device switching and user confirmation avoids image naming errors caused by failure to update the step number in time during device switching.
[0056] Step S403, the execution program responds to the screenshot instruction of the user on the second device, performs a screenshot operation on the specified area of the screen of the second device, collects the second text information group in the second control interface and combines them according to the set name format to form a second file name for this screenshot.
[0057] In this embodiment, step S403 specifically includes:
[0058] Step S701, obtaining the last tail picture name arranged in the historical screenshot folder, and determining whether the second file name is continuous with the tail picture name according to the naming update rule.
[0059] Step S702, if the second file name is different from the first field content of the tail picture name, determine whether the second field content and the third field content in the second picture name are initial values, and if not, issue a screenshot naming error reminder.
[0060] Specifically, when the content of the first field is changed, it indicates that the verification use case has changed, and the content of the second and third fields needs to start again from the initial value. If the content of the second and third fields is not the initial value at this time, it indicates that the system screenshot is named incorrectly.
[0061] Step S703, if the second file name is the same as the first field content of the tail picture name, determine whether the second field content in the second picture name is the same as the second field content of the tail picture name; if the second field is also the same, determine whether the third field is the adjacent previous and next values arranged according to the third field content update rule, if not the adjacent previous and next values, issue a screenshot naming error reminder; if the second field is different, determine whether the second field is the adjacent previous and next values arranged according to the second field content update rule, if not the adjacent previous and next values, issue a screenshot naming error reminder, if it is the adjacent previous and next values, issue a screenshot naming error reminder when the third field of the second file name is not the initial value.
[0062] Step S2, obtaining the image name of a second image stored in the image file library, wherein the second image is an image sent by the second terminal and obtained by taking a screenshot of another selected area of an interface of the same computerized system verification case running on the second terminal.
[0063] In this embodiment, the second picture is also configured as a picture located at the end of the sorting position in the picture file library among the pictures sent by the second terminal.
[0064] Step S3, after sorting the first picture and the second picture according to the corresponding naming update rule of the verification case, store them in the corresponding sorting position of the picture file library.
[0065] Specifically, since there may be a sequential relationship between the operations of different terminals in the same verification use case of the system, and different terminals have different screenshot efficiency or working hours, it is often the case that the order of images uploaded by different terminals does not conform to the actual system workflow order. Therefore, when receiving screenshots uploaded by a certain terminal, it is also necessary to comprehensively refer to the screenshots uploaded by other terminals to reorder and modify the names of images that do not meet the order requirements, improve the neatness and sequence of image storage in the image file library, and avoid unnecessary naming duplication or screenshot duplication caused by the inability of different terminals to communicate information in a timely manner.
[0066] In this embodiment, as shown in the attached Figure 3 As shown, step S3 specifically also includes the following contents.
[0067] Step S31, identify the contents of each field in the received first picture name according to the first naming update rule, and if there is a second picture with the same step sequence number as the first picture name, obtain the first picture sequence number in the first picture name and the second picture sequence number in the second picture name.
[0068] Specifically, if the first picture and the second picture have the same step number at the same time, it means that in the verification use case, different terminals simultaneously perform screenshot verification operations on the step. This process may be due to the verification personnel's mistake that leads to repeated screenshots of the step. In this case, the verification personnel needs to be reminded of the mistake in time. It may also be a pre-arranged and required multi-terminal verification within the step. For example, in permission verification, multiple users are required to enter the permission password at the same time. At this time, it is necessary to take screenshots of the permission verification step through different terminals and verify the picture numbers of pictures uploaded by different terminals to avoid image storage confusion caused by complete duplication of picture names.
[0069] Step S32, if the first picture sequence number is before the second picture sequence number, it is saved in the picture file library; if the first picture sequence number is after the second picture sequence number or is the same as the second picture sequence number, a reminder to repeat the verification step is sent to the first terminal; if a confirmation save instruction is received from the first terminal, the first picture and the second picture are sorted in the order of the picture sequence numbers and stored in the corresponding sorting position of the picture file library.
[0070] When the first picture number is before the second picture number, it indicates that the picture uploaded by the first terminal is not repeated with the pictures uploaded by other terminals and the other terminals have reserved the position of the picture captured by the terminal. At this time, the picture is directly saved in the corresponding position in the picture file library.
[0071] When the first picture sequence number is the same as the second picture sequence number or is located after the second picture sequence number, it indicates that the picture uploaded by the first terminal is repeated with the pictures uploaded by other terminals or may be repeated with the pictures uploaded by other terminals in the future. The duplication may be a duplication of picture capture or a duplication of picture naming, and a duplication reminder is sent to the first terminal. If the duplication is a duplication of picture capture, the verification personnel sends a cancel save instruction after receiving the reminder at the first terminal and takes screenshots of other steps to avoid time waste and screenshot confusion caused by invalid screenshots. If the duplication is a duplication of picture naming, the verification personnel sends a confirm save instruction after receiving the reminder at the first terminal. After receiving the confirm save instruction, the receiving end reorders and names the first picture and the second picture, thereby improving the picture file library's ability to manage and aggregate multi-terminal pictures.
[0072] In this embodiment, when sending a verification step repetition reminder to the first terminal, step replacement recommendation information can also be sent to the first terminal at the same time to help the first terminal select subsequent steps, then step S32 also includes: if the first picture sequence number is after the second picture sequence number or is the same as the second picture sequence number, then query the picture file library with the same verification case identification information to belong to the step sequence to form a verified step sequence, and send a verification step repetition reminder to the first terminal, the verification step repetition reminder includes the step sequence number of the current picture that is judged to be repeated, and the replacement step recommendation information containing the verified step sequence. By providing the first terminal with a verified step sequence, the first terminal is prevented from selecting the verified step multiple times, thereby improving the verification efficiency.
[0073] In this embodiment, the step S32 of sorting the first picture and the second picture according to the picture sequence number of the first picture specifically includes the following content.
[0074] Step S801: If the first picture sequence number is the same as the second picture sequence number, a collaborative confirmation message is sent to the first terminal. If the collaborative confirmation message of the first terminal is received, an identifier is added to the end of the names of the first picture and the second picture. Otherwise, according to the third field update rule, the first picture sequence number is changed to a subsequent sequence number and a name change information is sent to the first terminal.
[0075] Specifically, when this step is a task that is performed by multiple terminals simultaneously, and there is an association relationship such as multi-terminal permission verification, the images can be further distinguished by identifiers, such as: OQ-TC05-4-18-1, OQ-TC05-4-18-2, so that the images are easy to manage, identify and compare. When this step is a task that is completed by multiple terminals in a division of labor, such as editing files on multiple terminals, the images can be sorted by renaming the first image, for example, changing the first image name OQ-TC05-4-18 to OQ-TC05-4-19, so as to facilitate the management and storage of the images in this step when the number of images in the subsequent step continues to increase.
[0076] Step S802: If the first picture sequence number is after the second picture sequence number and there is a third picture sequence number between the first picture sequence number and the second picture sequence number according to the third field content update rule, and the screenshot picture of the step with the third picture sequence number has not been stored in the picture file library, then send picture supplement information to the first terminal, and the picture supplement information includes the step sequence number and picture sequence number to which the missing picture belongs. By querying the missing picture sequence number and sending the missing information and supplementary information to the first device, the picture loss phenomenon caused by transmission errors in the previous picture transmission process is screened and supplemented, so as to avoid incomplete picture acquisition during the verification process.
[0077] In this embodiment, the second field content update rule and the third field content update rule are configured to increase in sequence according to natural numbers.
[0078] In another embodiment, the second field content update rule is further configured to include but not limited to the first terminal second field content update rule and the second terminal second field content update rule; the third field content update rule is further configured to include but not limited to the first terminal third field content update rule and the second terminal third field content update rule, etc. By further subdividing the first field and the second field content update rule, the verification task can be pre-assigned to different terminals and the reserved picture name encoding area can be used to improve the computer system verification efficiency.
[0079] In addition, when the verification case identification information of the received pictures is different, it can be stored separately by creating a separate picture folder, specifically including: identifying the contents of each field in the received first picture name, if the first verification case identification information in the first picture name is different from the verification case identification information field in each current picture stored in the picture file library, then creating a separate picture folder in the picture file library for storing pictures with the first verification case identification information. By creating a new folder, the receiving end can simultaneously receive and distinguish screenshots of different test cases, thereby improving the system receiving efficiency and universality of application.
[0080] In this embodiment, the naming update rule corresponding to the verification case also includes a second naming update rule, which is configured to name the picture obtained by taking a screenshot of the selected area of the verification case interface according to a second name format, and the second name format includes the first field content and the second field content arranged in sequence, and a preset auxiliary format content; wherein the first field content is configured as the verification case identification information, and the second field content is configured as the step number of the verification case; the second naming update rule also includes an incremental interval for the adjacent step numbers before and after the second field content.
[0081] The present invention discloses a method, system and server for managing images used for verification of a computerized system with multi-terminal collaboration. After receiving a screenshot image of a verification case uploaded by a terminal, the system determines the accuracy of the currently acquired image and its name by searching and comparing the screenshot images of the verification case uploaded by other terminals stored in the image folder, and stores the image in the corresponding position of the image folder according to the corresponding naming update rules of the corresponding verification case, thereby realizing systematic and comprehensive management of the screenshots uploaded by different terminals, improving the efficiency and accuracy of the verification of the computerized system with multi-terminal collaboration, and avoiding the occurrence of repeated screenshots and chaotic screenshot summaries.
[0082] In another embodiment, as shown in the attached Figure 4As shown, a computerized system verification image management system for multi-terminal collaboration is also disclosed, including a first acquisition module 1, a second acquisition module 2 and a sorting storage module 3. The first acquisition module is used to receive a first image sent by a first terminal and obtained by taking a screenshot of a selected area of an interface of a computerized system verification case running on the first terminal. The second acquisition module is used to obtain the image name of a second image stored in an image file library, wherein the second image is an image sent by a second terminal and obtained by taking a screenshot of another selected area of an interface of the same computerized system verification case running on the second terminal. The sorting storage module is used to sort the first image and the second image according to the corresponding naming update rules of the verification case, and store them in the corresponding sorting positions of the image file library.
[0083] In this embodiment, the naming update rules corresponding to the verification case include at least one, wherein the first naming update rule is configured to name the picture obtained by taking a screenshot of the selected area of the verification case interface according to a first name format, wherein the first name format includes a first field content, a second field content and a third field content arranged in sequence, and a preset auxiliary format content filling; wherein the first field content is configured as the verification case identification information, the second field content is configured as the step number of the verification case, and the third field content is configured as the picture number belonging to the current step number of the verification case; the first naming update rule also includes an incremental interval for the adjacent step numbers before and after the second field content, and an incremental interval for the adjacent picture numbers before and after the third field content.
[0084] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and similar parts between the various embodiments can be referred to each other. For the management device for multi-terminal collaboration computerized system verification diagrams disclosed in the embodiment, since it corresponds to the management method for multi-terminal collaboration computerized system verification diagrams disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the aforementioned method part.
[0085] In other embodiments, as shown in the attached Figure 5 As shown, a server is also provided, including a memory 904, a processor 903, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, each step of the method for managing a computerized system verification diagram for multi-terminal collaboration as described in the above embodiments is implemented. The server may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of a server and does not constitute a limitation on the server, and may include more or fewer components than shown in the diagram, or a combination of certain components, or different components.
[0086] If the computerized system verification diagram management system for multi-terminal collaboration is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned computerized system verification diagram management method for multi-terminal collaboration can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
[0088] In conclusion, the above is only a preferred embodiment of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the patent of the present invention.
Claims
1. A method for managing a verification diagram for a computerized system for multi-terminal collaboration, characterized in that: The steps include: S1, receiving a first picture sent by a first terminal after taking a screenshot of a selected area of an interface of a computerized system verification case running on the first terminal; S2. Obtain a name of a second image stored in the image file library, where the second image is an image sent by the second terminal and obtained by taking a screenshot of another selected area of the interface of the same computerized system verification case running on the second terminal; S3. After sorting the first picture and the second picture according to the corresponding naming update rule of the verification case, the pictures are stored in the corresponding sorting positions of the picture file library.
2. The method for managing diagrams for computerized system verification of multi-terminal collaboration according to claim 1, characterized in that: The naming update rule corresponding to the verification case includes at least one, wherein the first naming update rule is configured to name the image obtained by taking a screenshot of the selected area of the verification case interface according to a first name format, wherein the first name format includes the first field content, the second field content and the third field content arranged in sequence, and a preset auxiliary format content filling; The content of the first field is configured as verification case identification information, the content of the second field is configured as the step number of the verification case, and the content of the third field is configured as the image number belonging to the current step number of the verification case; the first naming update rule also includes the incremental interval of the adjacent step numbers before and after the content of the second field, and the incremental interval of the adjacent image numbers before and after the content of the third field.
3. The method for managing diagrams for computerized system verification of multi-terminal collaboration according to claim 2, characterized in that: The step S3 further comprises: S31, identifying the contents of each field in the received first picture name according to the first naming update rule, and if there is a second picture with the same step sequence number as the first picture name, obtaining the first picture sequence number in the first picture name and the second picture sequence number in the second picture name; S32, if the first picture sequence number is before the second picture sequence number, it is saved in the picture file library; if the first picture sequence number is after the second picture sequence number or is the same as the second picture sequence number, a reminder to repeat the verification step is sent to the first terminal; if a confirmation save instruction is received from the first terminal, the first picture and the second picture are sorted in the order of the picture sequence numbers and stored in the corresponding sorting position of the picture file library.
4. The method for managing diagrams for computerized system verification of multi-terminal collaboration according to claim 3, characterized in that: The step S32 further includes: If the first picture sequence number is after or the same as the second picture sequence number, the step sequence numbers of the picture names with the same verification case identification information in the picture file library are queried to form a verified step sequence, and a verification step repeat reminder is sent to the first terminal. The verification step repeat reminder includes the step sequence number of the current picture that is judged to be repeated, and replacement step suggestion information containing the verified step sequence.
5. The method for managing diagrams for computerized system verification of multi-terminal collaboration according to claim 4, characterized in that: The first naming update rule includes a second field content update rule for updating the second step sequence number and a third field content update rule for updating the third picture sequence number, wherein the step S32 further specifically includes: If the first picture sequence number is located after the second picture sequence number and according to the third field content update rule, there is a third picture sequence number between the first picture sequence number and the second picture sequence number, and the step screenshot picture with the third picture sequence number has not yet been stored in the picture file library, then picture supplementary information is sent to the first terminal, and the picture supplementary information includes the step sequence number and picture sequence number to which the missing picture belongs.
6. The method for managing diagrams for computerized system verification of multi-terminal collaboration according to claim 5, characterized in that: The step S3 further comprises: Identify the contents of each field in the received first picture name. If the first verification case identification information in the first picture name is different from the verification case identification information field in each current picture stored in the picture file library, create a separate picture folder in the picture file library for storing pictures with the first verification case identification information.
7. A diagram management system for multi-terminal collaborative computerized system verification, characterized in that: include: A first acquisition module is used to receive a first picture sent by a first terminal and obtained by taking a screenshot of a selected area of an interface of a computerized system verification case running on the first terminal; A second acquisition module is used to acquire a picture name of a second picture stored in the picture file library, where the second picture is a picture sent by the second terminal and obtained by taking a screenshot of another selected area of the interface of the same computerized system verification case running on the second terminal; The sorting storage module is used to sort the first picture and the second picture according to the corresponding naming update rule of the verification case, and store them in the corresponding sorting position of the picture file library.
8. The method for managing diagrams for computerized system verification of multi-terminal collaboration according to claim 7, characterized in that: The naming update rule corresponding to the verification case includes at least one, wherein the first naming update rule is configured to name the image obtained by taking a screenshot of the selected area of the verification case interface according to a first name format, wherein the first name format includes the first field content, the second field content and the third field content arranged in sequence, and a preset auxiliary format content filling; The content of the first field is configured as verification case identification information, the content of the second field is configured as the step number of the verification case, and the content of the third field is configured as the image number belonging to the current step number of the verification case; the first naming update rule also includes the incremental interval of the adjacent step numbers before and after the content of the second field, and the incremental interval of the adjacent image numbers before and after the content of the third field.
9. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Test report generation method and device, computer device and storage medium
CN109324969A
Screenshot efficiency improving method and system based on writing case automatic testing and medium
CN115422093A
UI automatic test system and method, computer equipment and storage medium
CN117472754A
Automatic software-testing method and device
WO2017005148A1
