Order price modification method, system and electronic equipment for testing platform

By acquiring the environment or business scenarios based on the order business type and modifying the order price based on the seller's information, the problem of being unable to pay due to inconsistent prices in the existing technology is solved, and the consistency of order prices and the reduction of test time is achieved.

CN114282978BActive Publication Date: 2025-03-11JIANGSU YINCHENG NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111639638.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2025-03-11
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

In the prior art, it cannot be paid due to inconsistent order prices, and the service fee occupies test time.

Method used

By determining the business type of the price change order, obtaining the corresponding environment or business scenario, receiving seller information, and modifying the order price based on the seller information.

Benefits of technology

The consistency of order prices is achieved, and the problem of being unable to pay due to inconsistent prices is avoided. At the same time, the test time is reduced and the testing efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114282978B_ABST
    Figure CN114282978B_ABST
Patent Text Reader

Abstract

The present invention discloses an order price modification method, system and electronic device for a test platform, wherein the method comprises: determining the business type of the price modification order, wherein the business type comprises a first price modification type and a second price modification type; if the business type of the price modification order is the first price modification type, obtaining the environment of the price modification order; if the business type of the price modification order is the second price modification type, obtaining the business scenario of the price modification order; according to the environment or order scenario of the price modification order obtained, receiving the seller information corresponding to the price modification order, and modifying the price of the order based on the seller information. The present invention obtains different environments or business scenarios of price modification orders according to different business types, increases business scenarios, facilitates online link testing by testers, and reduces testing time; and modifies the order price based on the received seller information to keep the order price consistent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of order management, and in particular to an order price modification method, system and electronic equipment of a test platform. Background Art

[0002] In enterprise business orders, business orders require payment of a large amount of real funds. Testers need to frequently modify order prices during business order transaction testing. Moreover, with the modification and increase of business types, the existing background price modification entry can no longer meet current needs.

[0003] When faced with additional business types in the existing interface, the existing fields cannot be modified according to the newly added price fields, resulting in the modified prices being inconsistent with the original prices and unable to pay; and when paying, the existing background needs to deduct the service fee and check the service fee according to the newly added service fee field, which takes up testing time. Summary of the invention

[0004] The main purpose of the present invention is to provide a method and system for changing the order price of a test platform to solve the problems in the prior art of being unable to pay due to inconsistent prices and the fact that checking service fees takes up test time.

[0005] In order to achieve the above object, a first aspect of the present invention provides an order price modification method of a test platform, comprising:

[0006] Determine a business type of the price change order, wherein the business type includes a first price change type and a second price change type;

[0007] If the business type of the price change order is the first price change type, obtaining the environment of the price change order;

[0008] If the business type of the price change order is the second price change type, obtaining the business scenario of the price change order;

[0009] According to the environment or order scenario of the acquired price change order, seller information corresponding to the price change order is received, and the price of the order is modified based on the seller information.

[0010] Optionally, the environment for obtaining the price change order includes:

[0011] It is determined that the environment of the price change order is a test environment or a pre-production environment.

[0012] Further, receiving seller information corresponding to the price change order according to the environment or order scenario of the obtained price change order, and modifying the price of the order based on the seller information, includes:

[0013] If the environment is a test environment, determining the seller information corresponding to the price change order, and receiving the seller's mobile phone number and password;

[0014] After receiving the seller's mobile phone number and password, the order number and modified price of the price change order are received, and the price of the price change order is directly modified to the modified price through SQL.

[0015] Further, receiving seller information corresponding to the price change order according to the environment or order scenario of the obtained price change order, and modifying the price of the order based on the seller information, includes:

[0016] If the environment is a pre-production environment, add a price change interface;

[0017] The order number and the modified price of the price modification order are received, and the price of the price modification order is modified to the modified price by calling the price modification interface.

[0018] Optionally, the business scenario for obtaining the price change order includes:

[0019] Determine the business scenario of the price change order;

[0020] The business scenarios include selling the first price change type and buying the second price change type, selling the second price change type and buying the first price change type, asking for prices or increasing prices.

[0021] Further, receiving seller information corresponding to the price change order according to the environment or order scenario of the obtained price change order, and modifying the price of the order based on the seller information, includes:

[0022] If the business scenario is selling with the first price change type and buying with the second price change type, the actual paid price of the first order corresponding to the first price change type is set to 0.01, and the actual paid price of the second order corresponding to the second price change type is set to 0.02;

[0023] If the business scenario is selling with the second price change type and buying, asking for price or increasing the price with the first price change type, the actual paid price of the second order corresponding to the second price change type is set to 0.01, and the actual paid price of the first order corresponding to the first price change type is set to 0.02.

[0024] Furthermore, the method further comprises:

[0025] After obtaining the business scenario of the price change order, add a price change interface;

[0026] Determine the seller information corresponding to the price change order, and receive the seller's mobile phone number and password;

[0027] The order number of the price change order is received, and the price of the price change order is modified by calling the price change interface.

[0028] A second aspect of the present invention provides an order price modification system for a test platform, comprising:

[0029] A business type determination unit, configured to determine a business type of a price change order, wherein the business type includes a first price change type and a second price change type;

[0030] an environment acquisition unit, configured to acquire the environment of the price change order if the business type of the price change order is the first price change type;

[0031] A business scenario acquisition unit, configured to acquire a business scenario of the price change order if the business type of the price change order is the second price change type;

[0032] The order price modification unit is used to receive the seller information corresponding to the price change order according to the environment or order scenario of the acquired price change order, and modify the price of the order based on the seller information.

[0033] A third aspect of the present invention provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the order price modification method of the test platform provided in any one of the first aspects.

[0034] The fourth aspect of the present invention provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the order price modification method of the test platform provided in any one of the first aspects.

[0035] In the order price change method of the test platform provided in the embodiment of the present invention, the business type of the price change order is determined, wherein the business type includes a first price change type and a second price change type; if the business type of the price change order is the first price change type, the environment of the price change order is obtained; if the business type of the price change order is the second price change type, the business scenario of the price change order is obtained; according to the environment or order scenario of the obtained price change order, the seller information corresponding to the price change order is received, and the price of the order is modified based on the seller information. The present invention obtains different environments or business scenarios of price change orders according to different business types, increases business scenarios, facilitates online link testing for testers, and reduces testing time; and modifies the order price based on the received seller information to keep the order price consistent, solving the problem in the prior art that payment cannot be made due to inconsistent prices and that the verification of service fees takes up testing time. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A schematic diagram of a method for modifying order prices on a test platform provided in an embodiment of the present invention;

[0038] Figure 2 A block diagram of an order price modification system of a test platform provided in an embodiment of the present invention;

[0039] Figure 3 A block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0041] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to describe the embodiments of the present invention described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0042] In the present invention, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present invention and its embodiments, and are not used to limit the indicated systems, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.

[0043] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those skilled in the art, the specific meanings of these terms in the present invention can be understood according to specific circumstances.

[0044] In addition, the terms "installed", "set", "provided with", "connected", "connected", and "socketed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two systems, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0045] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0046] The old backend price change entrance currently does not support the following business scenarios: 1. Previously, a service fee needed to be deducted during the payment process, so the old interface required testers to enter the service fee amount. Now the service fee is directly deducted during the order-taking process, resulting in cumbersome operations using the old interface or input errors leading to bean refund or return errors; 2. The current order-taking process has added the use of various types of coupons and new service fee-related fields, which requires the calculation and verification of service fees, taking up testing time; 3. New transaction business between the Huicheng system and the same-city system, a new Huicheng price field is added to the order. The old interface cannot modify this field, resulting in inconsistent Huicheng prices in the same city and inability to pay.

[0047] In order to solve the above problems, the embodiment of the present invention provides an order price modification method of a test platform, such as Figure 1 As shown, the method includes the following steps S101 to S104:

[0048] Step S101: Determine the business type of the price change order, wherein the business type includes a first price change type and a second price change type; the first price change type may be a same-city price change, and the second price change type business type may be a Huicheng price change.

[0049] Step S102: If the business type of the price change order is the first price change type, then the environment of the price change order is obtained.

[0050] Specifically, the environment for obtaining the price change order in step S102 includes:

[0051] It is determined that the environment of the price change order is a test environment or a pre-production environment.

[0052] Further, receiving seller information corresponding to the price change order according to the environment or order scenario of the obtained price change order, and modifying the price of the order based on the seller information, includes:

[0053] If the environment is a test environment, determining the seller information corresponding to the price change order, and receiving the seller's mobile phone number and password;

[0054] After receiving the seller's mobile phone number and password, the order number and modified price of the price change order are received, and the price of the price change order is directly modified to the modified price through SQL.

[0055] Further, receiving seller information corresponding to the price change order according to the environment or order scenario of the obtained price change order, and modifying the price of the order based on the seller information, includes:

[0056] If the environment is a pre-production environment, a price change interface is added; price changes in different environments are supported through the newly developed price change interface;

[0057] The order number and the modified price of the price modification order are received, and the price of the price modification order is modified to the modified price by calling the price modification interface.

[0058] Step S103: if the business type of the price change order is the second price change type, obtaining the business scenario of the price change order;

[0059] Specifically, the business scenarios for obtaining the price change order in step S103 include:

[0060] Determine the business scenario of the price change order;

[0061] The business scenarios include selling the first price change type and buying the second price change type, selling the second price change type and buying the first price change type, asking for prices or increasing prices.

[0062] Step S104: According to the environment or order scenario of the obtained price-changing order, the seller information corresponding to the price-changing order is received, and the price of the order is modified based on the seller information. The present invention avoids testers from accidentally modifying non-test orders by adding an order seller account and password login verification; it adds a variety of environments and business scenarios to facilitate online testing by Huicheng order testers, eliminating the need to apply for database modification procedures.

[0063] Specifically, the step S104 includes:

[0064] If the business scenario is selling with the first price change type and buying with the second price change type, the actual paid price of the first order corresponding to the first price change type is set to 0.01, and the actual paid price of the second order corresponding to the second price change type is set to 0.02;

[0065] If the business scenario is selling with the second price change type and buying, asking for price or increasing the price with the first price change type, the actual paid price of the second order corresponding to the second price change type is set to 0.01, and the actual paid price of the first order corresponding to the first price change type is set to 0.02.

[0066] Specifically, if it is determined that the price is changed, the order scenario will be further determined, including:

[0067] If the scenario is intra-city foreign exchange selling and buying, totalPrice is set to 0.01 and hcLastedPrice is set to 0.02;

[0068] If the selected scenario is Huichengmai intra-city purchase, inquiry or price increase, totalPrice is set to 0.02 and hcLastedPrice is set to 0.01.

[0069] In an optional embodiment of the present invention, the method further comprises:

[0070] After obtaining the business scenario of the price change order, add a price change interface; support price changes in different business scenarios through the newly developed price change interface;

[0071] Determine the seller information corresponding to the price change order, and receive the seller's mobile phone number and password;

[0072] The order number of the price change order is received, and the price of the price change order is modified by calling the price change interface.

[0073] Enter the local mobile phone number, password, and order number, modify the order price by calling the price change interface, and click Submit.

[0074] The present invention does not require the input of service fees, thus saving testing time; adds order seller account and password login verification to prevent testers from mistakenly changing non-test orders; adds a variety of environments and business scenarios to facilitate online testing by Huicheng order testers, eliminating the need to apply for database modification procedures; and the set of function addresses required for testing facilitates testing.

[0075] From the above description, it can be seen that the present invention achieves the following technical effects:

[0076] The present invention obtains different environments or business scenarios of price change orders according to different business types, thereby increasing business scenarios, facilitating online link testing for testers, and reducing testing time;

[0077] In addition, the order price is modified based on the received seller information to keep the order price consistent, which solves the problem in the prior art that payment cannot be made due to inconsistent prices and the verification of service fees takes up testing time;

[0078] The price change function and other tools are integrated into one testing platform for easy management and use; fields that do not need to be updated are removed to reduce testing time and errors; new business interfaces are added to facilitate testing.

[0079] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0080] The embodiment of the present invention also provides a test platform order price modification system for implementing the above test platform order price modification method, such as Figure 2 As shown, the system includes:

[0081] A business type determination unit 21, configured to determine a business type of a price change order, wherein the business type includes a first price change type and a second price change type;

[0082] An environment acquisition unit 22, configured to acquire the environment of the price change order if the business type of the price change order is the first price change type;

[0083] A business scenario acquisition unit 23, configured to acquire a business scenario of the price change order if the business type of the price change order is the second price change type;

[0084] The order price modification unit 24 is used to receive the seller information corresponding to the price modification order according to the environment or order scenario of the acquired price modification order, and modify the price of the order based on the seller information.

[0085] The embodiment of the present invention further provides an electronic device, such as Figure 3As shown, the electronic device includes one or more processors 31 and a memory 32. Figure 3 A processor 31 is taken as an example.

[0086] The controller may further include: an input device 33 and an output device 34 .

[0087] The processor 31, the memory 32, the input device 33 and the output device 34 may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.

[0088] The processor 31 may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips. The general-purpose processor may be a microprocessor or any conventional processor.

[0089] The memory 32 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the control method in the embodiment of the present invention. The processor 31 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 32, that is, the order price modification method of the test platform of the above method embodiment is realized.

[0090] The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of a processing device operated by the server, etc. In addition, the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 32 may optionally include a memory remotely arranged relative to the processor 31, and these remote memories may be connected to a network connection device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0091] The input device 33 can receive input digital or character information, and generate key signal input related to user settings and function control of the processing device of the server. The output device 34 can include display devices such as a display screen.

[0092] One or more modules are stored in the memory 32, and when executed by one or more processors 31, the execution is as follows: Figure 1 The method shown.

[0093] Those skilled in the art can understand that the implementation of all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned motor control methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FM), a hard disk drive (HDD), or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0094] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for changing the order price of a test platform, characterized in that: include: Determine a business type of the price change order, wherein the business type includes a first price change type and a second price change type; If the business type of the price change order is the first price change type, obtaining the environment of the price change order; If the business type of the price change order is the second price change type, the business scenario of the price change order is obtained, and after the business scenario of the price change order is obtained, a price change interface is added; and price changes in different business scenarios are supported by the newly developed price change interface; According to the environment or order scenario of the acquired price change order, seller information corresponding to the price change order is received, and the price of the order is modified based on the seller information.

2. The method according to claim 1, characterized in that The environment for obtaining the price change order includes: It is determined that the environment of the price change order is a test environment or a pre-production environment.

3. The method according to claim 2, characterized in that The receiving, according to the environment or order scenario of the obtained price change order, the seller information corresponding to the price change order, and modifying the price of the order based on the seller information, includes: If the environment is a test environment, determining the seller information corresponding to the price change order, and receiving the seller's mobile phone number and password; After receiving the seller's mobile phone number and password, the order number and modified price of the price change order are received, and the price of the price change order is directly modified to the modified price through SQL.

4. The method according to claim 2, characterized in that: The receiving, according to the environment or order scenario of the obtained price change order, the seller information corresponding to the price change order, and modifying the price of the order based on the seller information, includes: If the environment is a pre-production environment, add a price change interface; The order number and the modified price of the price modification order are received, and the price of the price modification order is modified to the modified price by calling the price modification interface.

5. The method according to claim 1, characterized in that The business scenarios for obtaining the price change order include: Determine the business scenario of the price change order; The business scenarios include selling the first price change type and buying the second price change type, selling the second price change type and buying the first price change type, asking for prices or increasing prices.

6. The method according to claim 5, characterized in that The receiving, according to the environment or order scenario of the obtained price change order, the seller information corresponding to the price change order, and modifying the price of the order based on the seller information, includes: If the business scenario is selling with the first price change type and buying with the second price change type, the actual paid price of the first order corresponding to the first price change type is set to 0.01, and the actual paid price of the second order corresponding to the second price change type is set to 0.02; If the business scenario is selling with the second price change type and buying, asking for price or increasing the price with the first price change type, the actual paid price of the second order corresponding to the second price change type is set to 0.01, and the actual paid price of the first order corresponding to the first price change type is set to 0.

02.

7. The method according to claim 6, characterized in that The method further comprises: Determine the seller information corresponding to the price change order, and receive the seller's mobile phone number and password; The order number of the price change order is received, and the price of the price change order is modified by calling the price change interface.

8. An order price modification system for a test platform, characterized in that: include: A business type determination unit, configured to determine a business type of a price change order, wherein the business type includes a first price change type and a second price change type; an environment acquisition unit, configured to acquire the environment of the price change order if the business type of the price change order is the first price change type; A business scenario acquisition unit, configured to acquire the business scenario of the price change order if the business type of the price change order is the second price change type, and to add a price change interface after acquiring the business scenario of the price change order; and to support price changes in different business scenarios through the newly developed price change interface; The order price modification unit is used to receive the seller information corresponding to the price change order according to the environment or order scenario of the acquired price change order, and modify the price of the order based on the seller information.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the order price modification method of the test platform described in any one of claims 1-7.

10. An electronic device, characterized in that: The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the order price modification method of the test platform described in any one of claims 1-7.

Citation Information

Patent Citations

  • Custom script-based automated interface test method and platform

    CN107577599A

  • Order modification method, system and device and storage medium

    CN109741150A