CN114880018A - Request processing method and device, storage medium and electronic equipment - Google Patents

Request processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114880018A
CN114880018A CN202210446195.7A CN202210446195A CN114880018A CN 114880018 A CN114880018 A CN 114880018A CN 202210446195 A CN202210446195 A CN 202210446195A CN 114880018 A CN114880018 A CN 114880018A
Authority
CN
China
Prior art keywords
version information
application version
service provider
request
target application
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
CN202210446195.7A
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210446195.7A priority Critical patent/CN114880018A/en
Publication of CN114880018A publication Critical patent/CN114880018A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a request processing method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: receiving a request sent by a calling party; the request contains a distribution rule parameter; determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment; and sending the request to a service provider corresponding to the target application version information. By applying the method provided by the embodiment of the invention, the application of a plurality of versions can be deployed in the same environment, and the requirements of a user on software development, software testing or differential service acquisition can be met.

Description

Request processing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a request processing method and apparatus, a storage medium, and an electronic device.
Background
With the development of information technology, various types of software are widely applied in various industries, and in order to ensure the software quality, software testing becomes an important link in software projects. During software testing, the software version to be tested is deployed in a testing environment so as to test the software version to be tested in the testing environment.
In the process of testing the software of the new version, if the application software of the online version has a program error BUG, the application software of the online version needs to be redeployed to the testing environment.
However, the conventional test environment can only deploy one version of application, and therefore, when a new version of application software exists in the test environment, the new version of application software running in the current test environment needs to be offline to redeploy the online version of application software with BUG in the current test environment, which greatly affects the development cycle of the new version of application software, and results in low software development efficiency.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a request processing method, which can realize the deployment of multiple versions of application service software in the same environment.
The invention also provides a request processing device for ensuring the realization and the application of the method in practice.
A method of request processing, the method comprising:
receiving a request sent by a calling party; the request contains a distribution rule parameter;
determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment;
and sending the request to a service provider corresponding to the target application version information.
Optionally, the method for determining the target application version information from the preset multiple application version information according to the distribution rule parameter includes:
comparing the distribution rule parameters with preset parameter thresholds to obtain comparison results;
and determining application version information corresponding to the comparison result in a plurality of preset application version information as target application version information.
Optionally, the method, before receiving the request sent by the caller, further includes:
receiving registration information sent by a service provider corresponding to each application version information; the registration information of each service provider contains address information of each service provider;
and finishing the registration of each service provider according to the registration information sent by each service provider.
Optionally, the sending the request to the service provider corresponding to the target application version information includes:
and sending the request to the service provider corresponding to the target application version information according to the address information of the service provider corresponding to the target application version information.
Optionally, in the method, after sending the request to the service provider corresponding to the target application version information, the method further includes:
receiving a response message fed back by a service provider corresponding to the target application version information based on the request;
and sending the response message to the caller.
A request processing apparatus, the apparatus comprising:
the receiving unit is used for receiving a request sent by a calling party; the request contains a distribution rule parameter;
the determining unit is used for determining target application version information from a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment;
and the sending unit is used for sending the request to a service provider corresponding to the target application version information.
The above apparatus, optionally, the determining unit includes:
the comparison subunit is used for comparing the distribution rule parameter with a preset parameter threshold value to obtain a comparison result;
and the determining subunit is used for determining the application version information corresponding to the comparison result in a plurality of preset application version information as the target application version information.
The above apparatus, optionally, further comprises:
the first execution unit is used for receiving the registration information sent by the service provider corresponding to each piece of application version information; the registration information of each service provider contains address information of each service provider;
and the second execution unit is used for finishing the registration of each service provider according to the registration information sent by each service provider.
A storage medium comprising stored instructions, wherein the instructions, when executed, control a device on which the storage medium resides to perform a request processing method as described above.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the request processing method as described above.
Compared with the prior art, the invention has the following advantages:
the invention provides a request processing method and device, a storage medium and electronic equipment, wherein the request processing method comprises the following steps: receiving a request sent by a calling party; the request contains a distribution rule parameter; determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information run in the same running environment; the operating environment comprises a hardware environment, a software environment and a network environment; and sending the request to a service provider corresponding to the target application version information. By applying the method provided by the embodiment of the invention, the deployment of a plurality of application version information in the same environment can be realized, and the requirements of software development, test and differentiated service of users can be met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for processing a request according to the present invention;
FIG. 2 is a flowchart of a process for determining target application version information according to the present invention;
FIG. 3 is a flow chart of a method of processing a request according to another embodiment of the present invention;
FIG. 4 is a flow chart of another method for processing a request according to the present invention;
FIG. 5 is a diagram illustrating an exemplary implementation scenario provided by the present invention;
FIG. 6 is a flow chart of a request processing procedure provided by the present invention;
FIG. 7 is a schematic structural diagram of a request processing apparatus according to the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Based on this, an embodiment of the present invention provides a request processing method, which may be applied to an electronic device, where a method flowchart of the method is shown in fig. 1, and specifically includes:
s101: receiving a request sent by a calling party; the request contains distribution rule parameters.
In this embodiment, the caller may be a caller of the application program, and the distribution rule parameter may be a parameter triggered when the caller selects the application version information that needs to be accessed.
S102: determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment includes a hardware environment, a software environment, and a network environment.
In this embodiment, the target application version information may be application version information of a service provider that the caller needs to access, and the service provider may be an application program of various types of services, for example, an application program of services such as social contact, smart home control, shopping, entertainment, or learning.
Optionally, the operating environment may be a software development environment, a software testing environment, a software production environment, a simulation environment, or the like, the operating environment may include environment elements required by various service providers to operate, such as a hardware environment, a software environment, a network environment, and the like, and the service providers corresponding to the multiple pieces of application version information all operate in the same operating environment, that is, the environment elements required by various operations, such as the hardware environment, the software environment, the network environment, and the like, of each service provider are the same.
S103: and sending the request to a service provider corresponding to the target application version information.
In this embodiment, the request may be redirected to the service provider corresponding to the target application version information, and specifically, the address information of the service provider corresponding to the target application version information may be obtained first, and the request may be sent to the service provider corresponding to the target application version information according to the address information of the service provider corresponding to the target application version information.
The embodiment of the invention provides a request processing method, which comprises the following steps: receiving a request sent by a calling party; the request contains a distribution rule parameter; determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment; and sending the request to a service provider corresponding to the target application version information. By applying the method provided by the embodiment of the invention, the service provider running a plurality of application versions in the same environment can be realized, and the requirements of software development, testing and differentiated services of users can be met.
In an embodiment provided by the present invention, based on the implementation process, optionally, the process of determining the target application version information from the preset multiple application version information according to the distribution rule parameter specifically includes, as shown in fig. 2:
s201: and comparing the distribution rule parameters with preset parameter thresholds to obtain comparison results.
In this embodiment, the number of the parameter thresholds may be one or more, and the distribution rule parameter is compared with each parameter threshold to obtain a comparison result between the distribution rule parameter and each parameter threshold.
For example, if the distribution rule parameter is 1 and the parameter threshold is 5, the comparison result between the distribution rule parameter and the parameter threshold is that the distribution rule parameter is smaller than the parameter threshold; if the distribution rule parameter is 6 and the parameter threshold is 5, the comparison result of the distribution rule parameter and the parameter threshold is that the distribution rule parameter is greater than the parameter threshold.
S202: and determining application version information corresponding to the comparison result in a plurality of preset application version information as target application version information.
In this embodiment, a preset rule configuration file may be obtained, the comparison result may be matched with the rule configuration file to determine application version information corresponding to the comparison result, application version information corresponding to the comparison result among the plurality of application version information may be determined as target application version information, and application version information corresponding to different comparison results is recorded in the rule configuration file.
By applying the method provided by the embodiment of the invention, the distribution rule matching parameters are compared with the preset threshold value, and then the distribution rule matching parameters are matched with the application version information according to the comparison result, so that the target application version information can be rapidly and accurately determined.
In an embodiment provided by the present invention, another feasible way for determining the target application version information from the preset multiple application version information according to the distribution rule parameter is further introduced, which is specifically as follows:
determining a threshold interval where the distribution rule parameters are located;
and determining application version information corresponding to the threshold interval in a plurality of preset application version information as target application version information.
In this embodiment, the distribution rule parameter may be compared with each preset threshold, so as to determine the threshold interval in which the distribution rule parameter is located.
Optionally, different threshold intervals correspond to different application version information, a preset configuration file may be specifically queried, a corresponding relationship between each application version information and each threshold interval is recorded in the configuration file, the configuration file is queried through the threshold interval where the distribution rule parameter is located, that is, the application version information corresponding to the threshold interval where the distribution rule parameter is located may be determined, and the application version information corresponding to the threshold interval is determined as the target application version information.
For example, if the distribution rule parameter is 1 and the threshold is 5, determining that the distribution rule parameter is in a threshold interval smaller than 5, determining that the application version information corresponding to the threshold interval is the first application version information, and determining the first application version information as the target application version information; if the distribution threshold parameter is 6, determining that the distribution rule parameter is in a threshold interval which is greater than or equal to 5, wherein the application version information corresponding to the threshold interval is second application version information, and determining the second application version information as target application version information.
Referring to fig. 3, a flowchart of a method of another request processing method provided in the embodiment of the present invention specifically includes:
s301: receiving registration information sent by a service provider corresponding to each application version information; the registration information of each of the service providers includes address information of each of the service providers.
In this embodiment, registration information sent directly by the service provider or sent through the sidecar component may be received, where the registration information includes address information of the service provider, and the address information may be a Uniform Resource Locator (URL).
S302: and finishing the registration of each service provider according to the registration information sent by each service provider.
In this embodiment, the received registration information may be recorded in a registration configuration file set in advance to complete registration with the service provider.
S303: receiving a request sent by a calling party; the request contains distribution rule parameters.
S304: determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment includes a hardware environment, a software environment, and a network environment.
In this embodiment, the implementation processes and principles of S303 to S304 are the same as those of S101 to S102 in the embodiment of fig. 1, and are not described herein again.
S305: and sending the request to the service provider corresponding to the target application version information according to the address information of the service provider corresponding to the target application version information.
By applying the method provided by the embodiment of the invention, the registration information sent by the service provider can be received in advance, so that the caller can be quickly redirected to the service provider when the request sent by the caller is received.
Referring to fig. 4, a flowchart of another method for processing a request according to an embodiment of the present invention specifically includes:
s401: receiving a request sent by a calling party; the request contains distribution rule parameters.
S402: determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment includes a hardware environment, a software environment, and a network environment.
S403: and sending the request to a service provider corresponding to the target application version information.
In this embodiment, the implementation processes and principles of S401 to S403 are consistent with those of S101 to S103 in the embodiment of fig. 1, and are not described herein again.
S404: and receiving a response message fed back by the service provider corresponding to the target application version information based on the request.
In this embodiment, the service provider may respond to the received request, execute an operation corresponding to the request, thereby generating a response message and feeding back the response message, and the service provider may directly feed back the response message or may feed back the response message through the sidecar component.
S405: and sending the response message to the caller.
In this embodiment, after receiving a response message of feedback provided by the service, the response message may be sent to the caller, and after receiving the response message, the caller may obtain a test result of the service provider according to the response message.
In some embodiments, the caller may display the test result on a preset display interface.
By applying the method provided by the embodiment, the response message fed back by the service provider is sent to the caller, and the service requirement of the caller can be met.
Referring to fig. 5, an exemplary diagram of an implementation scenario provided by the embodiment of the present invention may include a caller 501 and a service system 502, where the service system 502 includes a broker and a service provider sevelapp corresponding to multiple application version information, for example, two versions including sevelapp V1.0 and V2.0; service providers of the application version information operate in the same operating environment.
In implementation, the caller shown in fig. 5 may be an electronic device such as a mobile phone, a tablet computer, a personal computer, etc., the agent may be in the same device or different devices with the respective service providers, the caller 501 and the service system 502 establish a communication connection through a network, and the caller may send a request to the agent.
In some embodiments, the application version information of the service required by the caller can be provided by the caller, so that the request of the service required by the caller is generated according to the distribution rule parameter corresponding to the application version information, the request is sent to the proxy, and the proxy redirects the request to the service provider corresponding to the application version information corresponding to the distribution rule parameter.
In some embodiments, the caller includes a plurality of function modules, each function template is bound with a distribution rule parameter, the distribution rule parameters bound by different function templates may be the same or different, and a request may be triggered by one function module, and the request may include the distribution rule parameter bound by the function module, so that the request is processed by a service provider of application version information corresponding to the distribution rule parameter.
Specifically, as shown in fig. 6, a flowchart of a request processing procedure provided in an embodiment of the present invention includes the following specific procedures: the service provider sends registration information to the agent through the sidecar component to complete registration; the agent side receives a request sent by the calling side, obtains a distribution rule parameter cid contained in the request as 1, compares the distribution rule parameter with a preset threshold value 5, and determines target application version information from a plurality of preset application version information according to a comparison result; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment; and sending the request to a service provider corresponding to the target application version information.
Corresponding to the method described in fig. 1, an embodiment of the present invention further provides a request processing apparatus, which is used for specifically implementing the method in fig. 1, where the request processing apparatus provided in the embodiment of the present invention may be applied to a medium electronic device, and a schematic structural diagram of the apparatus is shown in fig. 7, and specifically includes:
a receiving unit 701, configured to receive a request sent by a caller; the request contains a distribution rule parameter;
a determining unit 702, configured to determine, according to the distribution rule parameter, target application version information from a plurality of preset application version information; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment;
a sending unit 703, configured to send the request to a service provider corresponding to the target application version information.
The embodiment of the invention provides a request processing device, wherein a request sent by a calling party can be received; the request contains a distribution rule parameter; determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment; and sending the request to a service provider corresponding to the target application version information. By applying the device provided by the embodiment of the invention, the service provider running a plurality of application versions in the same environment can be realized, and the requirements of software development, testing and differentiated services of users can be met.
In an embodiment provided by the present invention, based on the above scheme, optionally, the determining unit 702 includes:
the comparison subunit is used for comparing the distribution rule parameter with a preset parameter threshold value to obtain a comparison result;
and the determining subunit is used for determining the application version information corresponding to the comparison result in a plurality of preset application version information as the target application version information.
In an embodiment provided in the present invention, based on the above scheme, optionally, the request processing apparatus further includes:
the first execution unit is used for receiving the registration information sent by the service provider corresponding to each piece of application version information; the registration information of each service provider contains address information of each service provider;
and the second execution unit is used for finishing the registration of each service provider according to the registration information sent by each service provider.
In an embodiment provided in the present invention, based on the above scheme, optionally, the sending unit 703 includes:
and the sending subunit is configured to send the request to the service provider corresponding to the target application version information according to the address information of the service provider corresponding to the target application version information.
In an embodiment provided by the present invention, based on the above scheme, optionally, the request processing apparatus further includes:
a third execution unit, configured to receive a response message fed back by a service provider corresponding to the target application version information based on the request;
and the fourth execution subunit is used for sending the response message to the caller.
An embodiment of the present invention further provides a storage medium, where the storage medium includes a stored instruction, where when the instruction runs, a device where the storage medium is located is controlled to execute a request processing method, where the request processing method includes:
receiving a request sent by a calling party; the request contains a distribution rule parameter;
determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information run in the same running environment; the operating environment comprises a hardware environment, a software environment and a network environment;
and sending the request to a service provider corresponding to the target application version information.
Optionally, the determining, according to the distribution rule parameter, the target application version information from the preset multiple application version information includes:
comparing the distribution rule parameters with preset parameter thresholds to obtain comparison results;
and determining application version information corresponding to the comparison result in a plurality of preset application version information as target application version information.
Optionally, the method further includes, before receiving the request sent by the caller:
receiving registration information sent by a service provider corresponding to each application version information; the registration information of each service provider contains address information of each service provider;
and finishing the registration of each service provider according to the registration information sent by each service provider.
Optionally, the sending the request to the service provider corresponding to the target application version information includes:
and sending the request to the service provider corresponding to the target application version information according to the address information of the service provider corresponding to the target application version information.
Optionally, in the method, after sending the request to the service provider corresponding to the target application version information, the method further includes:
receiving a response message fed back by a service provider corresponding to the target application version information based on the request;
and sending the response message to the caller.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 8, which specifically includes a memory 801 and one or more instructions 802, where the one or more instructions 802 are stored in the memory 801 and configured to be executed by the one or more processors 803 to perform the following operations:
receiving a request sent by a calling party; the request contains a distribution rule parameter;
determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment;
and sending the request to a service provider corresponding to the target application version information.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and reference may be made to the partial description of the method embodiment for relevant points.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of software products, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The request processing method provided by the present invention is described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for processing a request, comprising:
receiving a request sent by a calling party; the request contains a distribution rule parameter;
determining target application version information in a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information operate in the same operating environment; the operating environment comprises a hardware environment, a software environment and a network environment;
and sending the request to a service provider corresponding to the target application version information.
2. The method according to claim 1, wherein the determining target application version information among a plurality of preset application version information according to the distribution rule parameter comprises:
comparing the distribution rule parameters with preset parameter thresholds to obtain comparison results;
and determining application version information corresponding to the comparison result in a plurality of preset application version information as target application version information.
3. The method of claim 1, wherein before receiving the request sent by the caller, the method further comprises:
receiving registration information sent by a service provider corresponding to each application version information; the registration information of each service provider contains address information of each service provider;
and finishing the registration of each service provider according to the registration information sent by each service provider.
4. The method according to claim 3, wherein the sending the request to the service provider corresponding to the target application version information comprises:
and sending the request to the service provider corresponding to the target application version information according to the address information of the service provider corresponding to the target application version information.
5. The method according to claim 1, wherein after sending the request to the service provider corresponding to the target application version information, further comprising:
receiving a response message fed back by a service provider corresponding to the target application version information based on the request;
and sending the response message to the caller.
6. A request processing apparatus, comprising:
the receiving unit is used for receiving a request sent by a calling party; the request contains a distribution rule parameter;
the determining unit is used for determining target application version information from a plurality of preset application version information according to the distribution rule parameters; the service providers corresponding to the application version information run in the same running environment; the operating environment comprises a hardware environment, a software environment and a network environment;
and the sending unit is used for sending the request to a service provider corresponding to the target application version information.
7. The apparatus of claim 6, wherein the determining unit comprises:
the comparison subunit is used for comparing the distribution rule parameter with a preset parameter threshold value to obtain a comparison result;
and the determining subunit is used for determining the application version information corresponding to the comparison result in a plurality of preset application version information as the target application version information.
8. The apparatus of claim 6, further comprising:
the first execution unit is used for receiving the registration information sent by the service provider corresponding to each piece of application version information; the registration information of each service provider contains address information of each service provider;
and the second execution unit is used for finishing the registration of each service provider according to the registration information sent by each service provider.
9. A storage medium, comprising a storage instruction, wherein the storage medium is configured to control a device on which the storage medium is located to execute the request processing method according to any one of claims 1 to 5 when the instruction runs.
10. An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the request processing method of any one of claims 1-5.
CN202210446195.7A 2022-04-26 2022-04-26 Request processing method and device, storage medium and electronic equipment Pending CN114880018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210446195.7A CN114880018A (en) 2022-04-26 2022-04-26 Request processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210446195.7A CN114880018A (en) 2022-04-26 2022-04-26 Request processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114880018A true CN114880018A (en) 2022-08-09

Family

ID=82671123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210446195.7A Pending CN114880018A (en) 2022-04-26 2022-04-26 Request processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114880018A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149264A (en) * 2023-10-31 2023-12-01 山东浪潮科学研究院有限公司 Multi-lane research and development environment construction method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149264A (en) * 2023-10-31 2023-12-01 山东浪潮科学研究院有限公司 Multi-lane research and development environment construction method, device, equipment and storage medium
CN117149264B (en) * 2023-10-31 2024-01-30 山东浪潮科学研究院有限公司 Multi-lane research and development environment construction method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105099811A (en) Interface testing method and device
US11360737B2 (en) Method and apparatus for providing speech service
CN109376354A (en) Fraud recognition methods, device, electronic equipment and readable storage medium storing program for executing
CN110262851B (en) Interface configuration method and device
CN115065652B (en) Message reply method and device, storage medium and computer equipment
CN112232794A (en) Payment method and device, storage medium and electronic equipment
CN112035309B (en) Automatic testing method, server and automatic testing system for intelligent terminal function
CN113806037A (en) Service calling method and device, storage medium and electronic equipment
CN108563477A (en) A kind of page events response method and device
CN105515887A (en) Application test method, server and system
CN114880018A (en) Request processing method and device, storage medium and electronic equipment
JP2018500670A (en) Handling unstructured messages
CN108345508B (en) Interface call testing method and device
CN111698281B (en) Resource downloading method and device, electronic equipment and storage medium
CN113434384B (en) Pressure testing method and device
CN109951549B (en) Network page access method and device and computer readable storage medium
CN104809122A (en) Method and device for visiting web pages
CN107766232B (en) Plug-in management method and device
CN109034643A (en) Order processing method and device, the method and device of translation on line of translation on line
CN107066380B (en) Authentication method and device for application containing redundancy function
CN113098936A (en) Method, device and equipment for pushing message to mobile terminal
CN112073462A (en) Positioning method and device
CN112882908B (en) Method and device for generating information
CN110659214B (en) Information processing system, method, computing device, and storage medium
CN113360206A (en) Data processing method and device

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