CN112699038A - Version testing method, device and system and computer equipment - Google Patents

Version testing method, device and system and computer equipment Download PDF

Info

Publication number
CN112699038A
CN112699038A CN202011620232.9A CN202011620232A CN112699038A CN 112699038 A CN112699038 A CN 112699038A CN 202011620232 A CN202011620232 A CN 202011620232A CN 112699038 A CN112699038 A CN 112699038A
Authority
CN
China
Prior art keywords
version
server
tested
formal
program package
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
CN202011620232.9A
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.)
Hangzhou Beidu Technology Co ltd
Original Assignee
Hangzhou Beidu Technology 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 Hangzhou Beidu Technology Co ltd filed Critical Hangzhou Beidu Technology Co ltd
Priority to CN202011620232.9A priority Critical patent/CN112699038A/en
Publication of CN112699038A publication Critical patent/CN112699038A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Abstract

The application relates to a version test method, a version test device, a version test system and computer equipment, wherein the version test method is applied to a server group of a clothing customization platform and comprises the following steps: the method comprises the steps of obtaining an instruction for starting a test environment and a version program package to be tested, dividing a server group of the clothing customization platform into a gray scale server and a formal server according to the instruction, wherein the gray scale server is accessed by testers, the formal server is accessed by users, issuing the version program package to be tested to the gray scale server, and issuing the version program package to be tested to the formal server after the version program package to be tested passes a test so as to solve the problems that in the related art, after the user uses a new version to update a clothing customization platform client, the product function is incomplete frequently and the problem that large-scale service exists when the new version of the clothing customization platform which is not verified is directly exposed to the user.

Description

Version testing method, device and system and computer equipment
Technical Field
The present application relates to the field of testing technologies, and in particular, to a version testing method, apparatus, system, and computer device.
Background
With the development of internet technology, the number of users of application programs is increasing, and the functions of the application programs are also becoming richer. For the clothing customization platform, along with the increasing of the number of users, the user experience and quality requirements of the clothing customization platform also need to be improved.
In the related art, when the garment customization platform releases a new version, the new version is released to the market in a large scale, namely, to all users. However, after the user uses the new version to update the client of the clothing customization platform, the problems of incomplete product functions and the like often occur, and the user experience is affected. Moreover, because the number of users facing the new version is large, the released new version is corrected and released to all users again, and therefore the difficulty of releasing and maintaining is increased.
At present, in the related art, an effective solution is not provided for the problem that the function of a product is incomplete frequently after a user updates a client of a clothing customization platform by using a new version.
Disclosure of Invention
The embodiment of the application provides a version testing method, a version testing device, a version testing system and computer equipment, and aims to solve the problem that in the related art, after a user updates a clothing customization platform client by using a new version, the product function is often incomplete.
In a first aspect, an embodiment of the present application provides a version testing method, which is applied to a server group of a garment customization platform, and the method includes:
acquiring an instruction for starting a test environment and a version program package to be tested;
according to the instruction, dividing a server group of the clothing customization platform into a gray server and a formal server, wherein the gray server is accessed by a tester, and the formal server is accessed by a user;
issuing the version program package to be tested to the gray scale server;
and if the test of the version program package to be tested passes, releasing the version program package to be tested to the formal server.
In some embodiments, dividing the server group of the garment customization platform into a grayscale server and a formal server includes:
acquiring the version number of the version to be tested and the version number of the formal version, wherein a formal version program package is issued in the formal server;
and respectively issuing the version number of the version to be tested to the gray scale server and issuing the version number of the formal version to the formal server through a configuration center.
In some embodiments, after the package of the version to be tested is released to the grayscale server, the method further includes:
acquiring an access IP;
and forwarding the IP of the tester in the access IP to a service interface of the gray server by a nginx forwarding technology.
In some embodiments, forwarding the tester IP in the access IPs to the grayscale server through nginx forwarding technology comprises:
acquiring an appointed IP library, wherein a plurality of testing personnel IPs are stored in the appointed IP library;
and forwarding the IP matched with the IP library in the access IP to a service interface of the gray server by utilizing a nginx forwarding technology.
In some embodiments, obtaining the instruction for starting the testing environment and the version package to be tested comprises:
acquiring an instruction for starting a test environment;
and acquiring a version program package to be tested corresponding to the test instruction according to the instruction.
In some of these embodiments, the method further comprises:
and if the test of the version program package to be tested passes, dividing the gray server into the formal servers.
In a second aspect, an embodiment of the present application provides a version testing apparatus, which is applied to a server group of a garment customization platform, and the version testing apparatus includes: the system comprises an acquisition module, a dividing module and a release module;
the acquisition module is used for acquiring an instruction for starting a test environment and a version program package to be tested;
the dividing module is used for dividing the server group of the clothing customizing platform into a gray server and a formal server according to the instruction, wherein the gray server is accessed by a tester, and the formal server is accessed by a user;
the release module is used for releasing the to-be-tested version program package to the gray scale server; and if the test of the version program package to be tested passes, releasing the version program package to be tested to the formal server.
In a third aspect, an embodiment of the present application provides a version test system, where the version test system includes a server group and a processor of a garment customization platform;
the processor is used for acquiring an instruction for starting a test environment and a version program package to be tested, and dividing a server group of the clothing customization platform into a gray server and a formal server according to the instruction, wherein the gray server is accessed by testers, and the formal server is accessed by users;
the processor is further used for issuing the version program package to be tested to the gray scale server; and if the test of the version program package to be tested passes, releasing the version program package to be tested to the formal server.
In a fourth aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the version test method according to the first aspect when executing the computer program.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the version testing method according to the first aspect.
Compared with the related art, the version testing method, the device, the system and the computer equipment provided by the application divide the server group of the clothing customization platform into the gray scale server and the formal server according to the instruction by acquiring the instruction for starting the testing environment and the version program package to be tested, wherein the gray scale server is accessed by testers, the formal server is accessed by users, the version program package to be tested is issued to the gray scale server, and if the version program package to be tested passes the test, the version program package to be tested is issued to the formal server, so that the problem that the product function is incomplete frequently caused after the user updates the client of the clothing customization platform by using the new version in the related art is solved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a first flowchart of a version testing method according to an embodiment of the present application;
FIG. 2 is a flow chart diagram II of a version testing method according to an embodiment of the present application;
FIG. 3 is a flow chart diagram III of a version test method according to an embodiment of the present application;
FIG. 4 is a flow chart diagram four of a version testing method according to an embodiment of the present application;
FIG. 5 is a flow chart diagram of a version test method according to an embodiment of the present application;
FIG. 6 is a sixth flowchart of a version test method according to an embodiment of the present application;
FIG. 7 is a block diagram of a version testing apparatus according to an embodiment of the present application;
FIG. 8 is a block diagram of a version test system according to an embodiment of the present application;
fig. 9 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated 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 obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
In the related art, a garment customization platform, such as a garment customization app, in a version upgrading process, a developer issues a new version of a package or a source code to a formal environment corresponding to the garment customization platform, and then a tester can test the formal environment. However, a problem is caused in that an unverified program package or source code of a new-level version is directly exposed to a user, and after the user updates the client of the clothing customization platform by using the new version, problems such as product function imperfection and the like often occur, for example, if a BUG occurs, a large-scale service of the clothing customization platform is unavailable, and the user experience is affected; moreover, because the number of users facing the new version is large, if the released new version is modified and released to all users again, the difficulty of release and maintenance is increased. The application provides a version testing method, which is applied to a server group of a clothing customization platform, under the condition that an instruction for starting a testing environment and a version program package to be tested are obtained, the server group of the clothing customization platform is divided into a gray scale server for testers to access and a formal server for users to access, the new version or the version program package to be tested is issued to the gray scale server, and after the version program package to be tested passes a test, the version program package to be tested is issued to the formal server, so that the problem that in the related technology, after a user updates a client of the clothing customization platform by using the new version, the product function is incomplete frequently occurs.
The embodiment provides a version testing method, which is applied to a server group of a garment customization platform, fig. 1 is a first flowchart of the version testing method according to the embodiment of the application, and as shown in fig. 1, the version testing method includes the following steps:
step S101, acquiring a command for starting a test environment and a version program package to be tested;
the instruction for starting the test environment may include a start time for starting the test environment and a duration of the test environment.
Step S102, dividing a server group of the clothing customization platform into a gray server and a formal server according to an instruction, wherein the gray server is accessed by a tester, and the formal server is accessed by a user;
it should be noted that, the server group of the clothing customization platform includes at least two servers, and under the condition that the test environment is not started, the servers in the server group have no difference, and all the servers provide access service for the user of the clothing customization platform;
specifically, after an instruction for starting a test environment and a version program package to be tested are obtained, a server group of the clothing customization platform is divided into a gray scale server and a formal server, the gray scale server is accessed by a tester to provide access service for the tester, wherein the tester can be an internal worker of a company, so that the gray scale server is only contacted and accessed by the internal worker of the company, external workers cannot be contacted and accessed, and the gray scale server can be composed of one or more servers; the formal server is used for the user of the clothing customization platform to access;
step S103, issuing the version program package to be tested to a gray scale server;
it should be noted that the version program package to be tested contains the code of the version to be tested, specifically, the code of the version to be tested or the new version of the clothing customization platform is issued to the gray scale server, that is, after the testing environment is started, the construction version of the clothing customization platform in the gray scale server is higher than the construction version of the clothing customization platform in the formal server;
step S104, if the version program package to be tested passes the test, the version program package to be tested is released to a formal server;
during the starting of the test environment, a service request of a tester to the clothing customization platform is forwarded to the gray scale server, a service request of a user of the clothing customization platform to the clothing customization platform is forwarded to the formal server, and after the version to be tested of the clothing customization platform or the new version program package passes the test or the duration time of the test environment is over, the new version program package is released to the formal server, so that the built version of the clothing customization platform in the current formal server is higher than the previous built version, and the formal server provides the access service of the new version of the clothing customization platform for the user;
through the steps S101 to S104, the server group applied to the clothing customization platform divides the server group of the clothing customization platform into the gray scale server for testers to access and the formal server for users to access under the condition that the instruction for starting the test environment and the version program package to be tested are obtained, so that the aim of the users to access is isolated by the gray scale server, further, the version to be tested or the new version program package is released to the gray scale server, the constructed version of the clothing customization platform in the gray scale server is higher than the constructed version of the clothing customization platform in the formal server, further, on the basis that the normal access of the formal server by the testers is not influenced, the testers test the new version of the clothing customization platform by accessing the gray scale server, and after the new version program package passes the test, the new version program package is released to the formal server for the users of the clothing customization platform to access the new version, the method and the system solve the problem that in the related art, after a user updates the clothing customization platform client by using a new version, the product function is often incomplete, and the problem that large-scale service is unavailable because the unverified clothing customization platform new version is directly exposed to the user is solved.
In some embodiments, fig. 2 is a flowchart of a second version testing method according to an embodiment of the present application, and as shown in fig. 2, dividing a server group of a garment customization platform into a grayscale server and a formal server includes the following steps:
step S201, acquiring a version number of a version to be tested and a version number of a formal version, wherein a formal version program package is issued in a formal server;
step S202, the version number of the version to be tested is issued to the gray scale server and the version number of the formal version is issued to the formal server through the configuration center.
It should be noted that the purpose of distinguishing the gray level environment and the formal environment by the server group of the clothing customization platform is achieved by the configuration center issuing different version numbers to the gray level server and the formal server.
In some embodiments, fig. 3 is a flowchart three of a version testing method according to an embodiment of the present application, and as shown in fig. 3, after the version package to be tested is issued to the grayscale server, the version testing method further includes the following steps:
step S301, obtaining an access IP;
step S302, forwarding the IP of the tester in the accessed IP to a service interface of a gray server through nginx forwarding technology; fig. 4 is a fourth flowchart of a version testing method according to an embodiment of the present application, and as shown in fig. 4, forwarding tester IPs in the visited IPs to the grayscale server through nginx forwarding technology includes the following steps:
step S401, acquiring an appointed IP library, wherein a plurality of testers' IPs are stored in the appointed IP library;
step S402, forwarding the IP matched with the IP library in the accessed IP to a service interface of the gray scale server through nginx forwarding technology; specifically, the IP library is assigned to access the gray environment through the nginx forwarding technology, so that the tester and the user can access different servers.
In some embodiments, fig. 5 is a flowchart five of a version testing method according to an embodiment of the present application, and as shown in fig. 5, acquiring an instruction for starting a testing environment and a package of a version to be tested includes:
step S501, acquiring an instruction for starting a test environment;
step S502, acquiring a program package of a version to be tested corresponding to the test instruction according to the instruction;
specifically, the instruction for starting the test environment may include an instruction for acquiring the version package to be tested, and may also include time for acquiring the package or address information for acquiring the package.
In some embodiments, fig. 6 is a flowchart six of a version testing method according to an embodiment of the present application, and as shown in fig. 6, the version testing method includes the following steps:
step S601, if the test of the program package of the version to be tested passes, dividing the gray server into formal servers;
it should be noted that, after the version package to be tested passes the test, the grayscale server is divided into formal servers, that is, the test environment is closed, and further, there is no difference between servers in the server group corresponding to the current clothing customization platform, which all provides access service for the user of the clothing customization platform.
In some embodiments, the configuration of different environments and different clusters applied by the clothing customization platform can be managed in a centralized manner by means of a configuration management center, such as apollo, and the configuration can be pushed to the application end in real time after being modified. Specifically, a configuration item is arranged under a general configuration group of the configuration management center, the value of the configuration item determines the construction version of the application terminal, the configuration item can be inherited and used by the application terminal and the service terminal, and the construction version value in the configuration item can be defaulted to 1. When the service of the clothing customizing platform is started, the configuration is obtained from the configuration management center and is registered to the server side and the client side of the clothing customizing platform, and when the client side obtains the service node from the server side, the self construction version value of the client side is compared with the construction version value of the service node, so that the client side only obtains the service node which is equal to the self construction version value, and the gray level environment and the formal environment are completely distinguished.
After the test environment is started, the constructed version value obtained by the gray server is 2, the constructed version value obtained by the formal server is still 1, the user item takes app as an example, and the test item takes order as an example for explanation: and under the condition that the program package of the version to be tested is issued to the gray server, the order is restarted, the construction version registered at the gray server is 2, and the formal server is 1. And the project entrance nginx forwards the ip access of the tester to the gray scale server, and the constructed version of the clothing customization platform on the gray scale server is 2, so that the project entrance screens out the service node of the gray scale server after acquiring the service node and returns the service node to the tester, namely the client corresponding to the tester.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment further provides a version testing apparatus, which is used to implement the foregoing embodiments and preferred embodiments, and the description of the version testing apparatus is omitted here. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
In some embodiments, fig. 7 is a block diagram of a version testing apparatus according to an embodiment of the present application, and as shown in fig. 7, the version testing apparatus is applied to a server group of a garment customization platform, and the version testing apparatus includes: an acquisition module 71, a dividing module 72 and a publishing module 73;
an obtaining module 71, configured to obtain an instruction for starting a test environment and a package of a version to be tested;
the dividing module 72 is used for dividing the server group of the clothing customizing platform into a gray server and a formal server according to the instruction, wherein the gray server is accessed by a tester, and the formal server is accessed by a user;
a distribution module 73 for distributing the program package to the grayscale server; and if the version to be tested passes the test, the release module is also used for releasing the program package to the formal server.
In some embodiments, the obtaining module 71, the dividing module 72, and the issuing module 73 are further configured to implement steps in the version testing method provided in each of the above embodiments, and are not described herein again.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
Fig. 8 is a block diagram of a version test system according to an embodiment of the present application, and as shown in fig. 8, the version test system includes a server group 81 and a processor 82 of a garment customization platform;
the processor 82 is configured to obtain an instruction for starting a testing environment and a program package of a version to be tested, and divide the server group 81 of the clothing customization platform into a grayscale server and a formal server according to the instruction, where the grayscale server is accessed by a tester and the formal server is accessed by a user;
the processor 82 is further configured to issue the test package to the grayscale server, and issue the test package to the formal server if the version to be tested passes the test.
In some of the embodiments, the processor 82 is further configured to implement the steps in the version test method provided in each of the above embodiments, and details are not described here again.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a version testing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In an embodiment, fig. 9 is a schematic internal structural diagram of a computer device according to an embodiment of the present application, and as shown in fig. 9, there is provided a computer device, which may be a server, and its internal structural diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of version testing.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program to implement the steps of the version testing method provided in the above embodiments.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps in the method of version testing provided by the various embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A version test method is applied to a server group of a garment customization platform, and the method comprises the following steps:
acquiring an instruction for starting a test environment and a version program package to be tested;
according to the instruction, dividing a server group of the clothing customization platform into a gray server and a formal server, wherein the gray server is accessed by a tester, and the formal server is accessed by a user;
issuing the version program package to be tested to the gray scale server;
and if the test of the version program package to be tested passes, releasing the version program package to be tested to the formal server.
2. The version testing method of claim 1, wherein dividing the server group of the garment customization platform into a grayscale server and a formal server comprises:
acquiring the version number of the version to be tested and the version number of the formal version, wherein a formal version program package is issued in the formal server;
and respectively issuing the version number of the version to be tested to the gray scale server and issuing the version number of the formal version to the formal server through a configuration center.
3. The version test method according to claim 2, wherein after the version package to be tested is released to the grayscale server, the method further comprises:
acquiring an access IP;
and forwarding the IP of the tester in the access IP to a service interface of the gray server by a nginx forwarding technology.
4. The version test method of claim 3, wherein forwarding tester IPs in the access IPs to the grayscale server through nginx forwarding technology comprises:
acquiring an appointed IP library, wherein a plurality of testing personnel IPs are stored in the appointed IP library;
and forwarding the IP matched with the IP library in the access IP to a service interface of the gray server by utilizing a nginx forwarding technology.
5. The version test method of claim 1, wherein obtaining the instruction to start the test environment and the version package to be tested comprises:
acquiring an instruction for starting a test environment;
and acquiring a version program package to be tested corresponding to the test instruction according to the instruction.
6. The version test method of claim 2, further comprising:
and if the test of the version program package to be tested passes, dividing the gray server into the formal servers.
7. A version testing device applied to a server group of a garment customization platform, the version testing device comprising: the system comprises an acquisition module, a dividing module and a release module;
the acquisition module is used for acquiring an instruction for starting a test environment and a version program package to be tested;
the dividing module is used for dividing the server group of the clothing customizing platform into a gray server and a formal server according to the instruction, wherein the gray server is accessed by a tester, and the formal server is accessed by a user;
the release module is used for releasing the to-be-tested version program package to the gray scale server; and if the test of the version program package to be tested passes, releasing the version program package to be tested to the formal server.
8. A version test system is characterized by comprising a server group of a garment customization platform and a processor;
the processor is used for acquiring an instruction for starting a test environment and a version program package to be tested, and dividing a server group of the clothing customization platform into a gray server and a formal server according to the instruction, wherein the gray server is accessed by testers, and the formal server is accessed by users;
the processor is further used for issuing the version program package to be tested to the gray scale server; and if the test of the version program package to be tested passes, releasing the version program package to be tested to the formal server.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the version testing method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the version testing method according to any one of claims 1 to 6.
CN202011620232.9A 2020-12-30 2020-12-30 Version testing method, device and system and computer equipment Pending CN112699038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011620232.9A CN112699038A (en) 2020-12-30 2020-12-30 Version testing method, device and system and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011620232.9A CN112699038A (en) 2020-12-30 2020-12-30 Version testing method, device and system and computer equipment

Publications (1)

Publication Number Publication Date
CN112699038A true CN112699038A (en) 2021-04-23

Family

ID=75512879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011620232.9A Pending CN112699038A (en) 2020-12-30 2020-12-30 Version testing method, device and system and computer equipment

Country Status (1)

Country Link
CN (1) CN112699038A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051182A (en) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 Gray scale publishing method, device and equipment based on distributed transaction
CN113377400A (en) * 2021-06-16 2021-09-10 广州博冠信息科技有限公司 Software upgrading method and device, storage medium and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051182A (en) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 Gray scale publishing method, device and equipment based on distributed transaction
CN113051182B (en) * 2021-04-30 2024-02-09 中国工商银行股份有限公司 Gray level publishing method, device and equipment based on distributed transaction
CN113377400A (en) * 2021-06-16 2021-09-10 广州博冠信息科技有限公司 Software upgrading method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US9229702B1 (en) Systems and methods for application plugin deployment for websites
CN110609732B (en) Application program deployment method and device, computer equipment and storage medium
US7814465B2 (en) Method and apparatus for application verification
CN109726099B (en) Application gray level publishing method, device and equipment
US8938648B2 (en) Multi-entity test case execution workflow
CN112965700B (en) Routing-based micro-service processing method and device, computer equipment and medium
CN112699038A (en) Version testing method, device and system and computer equipment
CN107193607B (en) Method and apparatus for updating code file, storage medium, processor, and terminal
CN110532025B (en) Data processing method, device and equipment based on micro-service architecture and storage medium
CN112165461A (en) Zero-trust dynamic authorization method and device and computer equipment
CN108874403A (en) Dissemination method, device, equipment and the storage medium of rule file
CN110221845A (en) Using dispositions method, device, equipment and medium
CN112637008A (en) Link simulation test method, device, system, computer equipment and storage medium
CN114168179A (en) Micro-service management method, device, computer equipment and storage medium
CN114401187B (en) Gray scale issuing method, device, computer equipment and storage medium
CN111562952B (en) Dynamic loading method and dynamic loading device for double-core intelligent ammeter management unit
Straesser et al. A systematic approach for benchmarking of container orchestration frameworks
CN111831567B (en) Application test environment configuration method, device, system and medium
CN111162946B (en) Method for constructing model inference network, data processing method, data processing device and storage medium
CN111176986A (en) Thread script debugging method and device, computer equipment and storage medium
CN111966461A (en) Virtual machine cluster node guarding method, device, equipment and storage medium
Petkovich et al. DataMill: A distributed heterogeneous infrastructure forrobust experimentation
CN111865927A (en) Vulnerability processing method and device based on system, computer equipment and storage medium
CN114328275A (en) System testing method, device, computer equipment and storage medium
Sokolowski et al. Change is the only constant: dynamic updates for workflows

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