Data processing method and device, electronic equipment and storage medium

By receiving terminal instruction information from the first server, acquiring environmental data, and determining the target server, the convenience and adaptability issues of static resource uploading are resolved, and a more efficient static resource uploading process is achieved.

CN122248070APending Publication Date: 2026-06-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2024-12-18
Publication Date
2026-06-19

Smart Images

  • Figure CN122248070A_ABST
    Figure CN122248070A_ABST
Patent Text Reader

Abstract

This application relates to data processing methods, apparatuses, electronic devices, and storage media. The method includes, upon receiving resource instruction information from a first terminal, a first server sending an environment data acquisition request to a second server; the second server sending multiple sets of environment data to the first server; the first server sending multiple sets of environment description information to the first terminal, enabling the first terminal to display a candidate environment interface based on the multiple environment description information; upon receiving an environment selection instruction from the first terminal, the first server determining a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction; and the first server sending a resource processing request to the third server. This application provides a more convenient and adaptable static resource uploading solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet communication technology, and in particular to a data processing method, apparatus, electronic device and storage medium. Background Technology

[0002] With the development of internet communication technology, various internet products have emerged, offering users a wealth of functionalities. Static resources are frequently used and uploaded during the development and maintenance of these products, such as to servers deployed with the relevant environment. Currently, this upload process often relies on manual uploads by staff. This method has limitations, requiring staff to be familiar with the target server's specifications. Therefore, a more convenient and adaptable static resource upload solution is needed. Summary of the Invention

[0003] To address at least one of the aforementioned technical problems, this application provides a data processing method, apparatus, electronic device, and storage medium:

[0004] According to a first aspect of this application, a data processing method is provided, applied to a first server, the method comprising:

[0005] Upon receiving resource indication information sent by the first terminal, an environment data acquisition request is sent to the second server. The resource indication information includes the source storage location of the target static resource to be uploaded and the desired storage directory.

[0006] Upon receiving multiple environmental data sent by the second server, multiple environmental description information is sent to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple environmental description information. The multiple environmental data correspond to multiple candidate environments, and the environmental data consists of the environmental description information and environmental guidance information corresponding to the candidate environment.

[0007] Upon receiving an environment selection instruction sent by the first terminal, a third server is determined based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the multiple candidate environments. The environment selection instruction is generated in response to a trigger operation on a target display item of the candidate environment interface. The target display item is any one of multiple preset display items. Each preset display item is generated based on an environment description information.

[0008] A resource processing request is sent to the third server. The resource processing request carries the target static resource and storage location guidance information, which is generated based on the desired storage directory.

[0009] According to a second aspect of this application, a data processing method is provided, the method comprising:

[0010] Upon receiving resource indication information sent by the first terminal, the first server sends an environment data acquisition request to the second server. The resource indication information includes the source storage location and the desired storage directory of the target static resource to be uploaded.

[0011] The second server sends multiple environmental data to the first server. The multiple environmental data correspond to multiple candidate environments. The environmental data consists of environmental description information and environmental guidance information corresponding to the candidate environment.

[0012] The first server sends multiple sets of environment description information to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple sets of environment description information;

[0013] Upon receiving an environment selection instruction sent by the first terminal, the first server determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the multiple candidate environments. The environment selection instruction is generated in response to a trigger operation on a target display item of the candidate environment interface. The target display item is any one of multiple preset display items. Each preset display item is generated based on an environment description information.

[0014] The first server sends a resource processing request to the third server. The resource processing request carries the target static resource and storage location guidance information, which is generated based on the desired storage directory.

[0015] According to a third aspect of this application, a data processing apparatus is provided, configured on a first server, the apparatus comprising:

[0016] Request sending module: used to send an environment data acquisition request to the second server upon receiving resource indication information sent by the first terminal, wherein the resource indication information includes the source storage location of the target static resource to be uploaded and the expected storage directory;

[0017] Information sending module: When receiving multiple environmental data sent by the second server, it sends multiple environmental description information to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple environmental description information. The multiple environmental data correspond to multiple candidate environments, and the environmental data consists of the environmental description information and environmental guidance information corresponding to the candidate environment.

[0018] Server determination module: When receiving an environment selection instruction sent by the first terminal, it determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the multiple candidate environments. The environment selection instruction is generated in response to a trigger operation on a target display item of the candidate environment interface. The target display item is any one of multiple preset display items. Each preset display item is generated based on an environment description information.

[0019] Request sending module: used to send a resource processing request to the third server. The resource processing request carries the target static resource and storage location guidance information, and the storage location guidance information is generated based on the desired storage directory.

[0020] According to a fourth aspect of this application, an electronic device is provided, the electronic device including at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by the at least one processor to implement the data processing method as described in the first aspect or the data processing method as described in the second aspect.

[0021] According to a fifth aspect of this application, a computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored therein, the at least one instruction or at least one program being loaded and executed by a processor to implement the data processing method as described in the first aspect or the data processing method as described in the second aspect.

[0022] According to a sixth aspect of this application, a computer program product is provided, the computer program product comprising at least one instruction or at least one program segment, the at least one instruction or at least one program segment being loaded and executed by a processor to implement the data processing method as described in the first aspect or the data processing method as described in the second aspect.

[0023] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this application.

[0024] Implementing this application will have the following beneficial effects:

[0025] This application provides a more convenient and adaptable static resource uploading solution. Upon receiving resource indication information from a first terminal, the first server sends an environment data acquisition request to a second server. The resource indication information includes the source storage location of the target static resource to be uploaded and the desired storage directory. Then, the second server sends multiple environment data to the first server. These environment data consist of environment description information and environment guidance information corresponding to candidate environments. Next, the first server sends multiple environment description information to the first terminal, enabling the first terminal to display a candidate environment interface based on these descriptions. Furthermore, upon receiving an environment selection instruction from the first terminal, the first server determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The third server deploys the target environment, and the environment selection instruction is generated in response to a trigger operation on the target display item of the candidate environment interface. Finally, the first server sends a resource processing request to the third server. This request carries the target static resource and storage location guidance information, which is generated based on the desired storage directory. In this application, the first terminal is responsible for interacting with the user, the first server is responsible for interacting with the first terminal, the second server, and the third server, the second server is responsible for providing the environment data, and the third server is responsible for deploying the relevant environments. This allows different terminals to focus on their respective tasks, facilitating maintenance. Introducing user-side interaction into multi-terminal communication allows for more flexible selection of target testing environments for static resources. When a user selects a target environment, multiple candidate environments are displayed intuitively through a candidate environment interface, with the corresponding environment data provided by a second server. This reduces the need for users to know about each candidate server and its deployed environments; users can conveniently select the target environment through the candidate environment interface provided by the first terminal. Furthermore, the second server provides environment data after receiving the environment data request from the first server, allowing it to prepare more timely environment descriptions and guidance information, improving the adaptability of target environment selection and thus enhancing the adaptability of static resource uploading.

[0026] Other features and aspects of this application will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0027] To more clearly illustrate the technical solutions and advantages in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This diagram illustrates an application environment according to an embodiment of the present application.

[0029] Figure 2 A flowchart illustrating a data processing method according to an embodiment of this application is shown;

[0030] Figure 3 This diagram illustrates a process for sending multiple environmental description information messages to a first terminal according to an embodiment of this application.

[0031] Figure 4 A flowchart illustrating a data processing method according to an embodiment of this application is also shown;

[0032] Figure 5 A flowchart illustrating a data processing method according to an embodiment of this application is also shown;

[0033] Figure 6 This diagram illustrates a device block diagram according to an embodiment of the present application;

[0034] Figure 7 A schematic diagram illustrating a candidate environment according to an embodiment of this application is shown;

[0035] Figure 8 A schematic diagram is shown when the environment selected by the staff is unavailable, according to an embodiment of this application.

[0036] Figure 9 A schematic diagram illustrating the progress of resource upload according to an embodiment of this application;

[0037] Figure 10 A schematic diagram of the interface of a candidate environment shown according to an embodiment of this application is provided.

[0038] Figure 11 A schematic diagram illustrating the environment configuration interface according to an embodiment of this application is provided.

[0039] Figure 12 A flowchart illustrating a data processing method according to an embodiment of this application is also shown;

[0040] Figure 13 A schematic diagram of an electronic device according to an embodiment of this application is shown. Detailed Implementation

[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0042] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0043] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0044] Various exemplary embodiments, features, and aspects of this application will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0045] The term “exemplary” as used herein means “serving as an example or embodiment.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0046] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0047] Furthermore, to better illustrate this application, numerous specific details are provided in the following detailed description. Those skilled in the art should understand that this application can be implemented without certain specific details. In some instances, methods, means, components, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the main points of this application.

[0048] Please see Figure 1 , Figure 1 The diagram illustrates an application environment according to an embodiment of this application. The application environment may include a first terminal, a first server, a second server, and a third server. The first server can be directly or indirectly connected to the other three terminals via wired or wireless communication. Upon receiving resource indication information from the first terminal, the first server sends an environment data acquisition request to the second server. The resource indication information includes the source storage location of the target static resource to be uploaded and the desired storage directory. Then, the second server sends multiple environment data sets to the first server. These multiple environment data sets correspond to multiple candidate environments, and each set consists of an environment description and guidance information corresponding to the candidate environment. Next, the first server sends multiple environment descriptions to the first terminal, enabling the first terminal to display a candidate environment interface based on these descriptions. Furthermore, upon receiving an environment selection instruction from the first terminal, the first server determines a third server based on the environment guidance information corresponding to the target environment indicated by the instruction. The third server hosts the target environment, which is any one of the multiple candidate environments. The environment selection instruction is generated in response to a trigger operation on the target display item of the candidate environment interface. The target display item is any one of multiple preset display items, each generated based on an environment description. Finally, the first server sends a resource processing request to the third server. This request carries the target static resource and storage location guidance information, which is generated based on the desired storage directory. It should be noted that... Figure 1 This is just one example.

[0049] The first terminal can be a physical device such as a smartphone, computer (e.g., desktop computer, tablet computer, laptop computer), augmented reality (AR) / virtual reality (VR) device, digital assistant, intelligent voice interaction device (e.g., smart speaker), smart wearable device, smart home appliance, in-vehicle terminal, etc. The operating system of the first terminal can be Android, iOS (a mobile operating system developed by Apple), Linux, Microsoft Windows, etc.

[0050] For any of the first, second, and third servers, it can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. A server may include network communication units, processors, and memory, etc.

[0051] In practical applications, target static resources often serve the development and maintenance of related Internet products. These related Internet products can be applications, such as browser applications, news feed applications, video applications, game applications, navigation applications, etc.

[0052] It should be noted that for static resources that are associated with user information, when the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0053] Figure 2 , 12 This diagram illustrates a data processing method according to an embodiment of the present application. The data processing method can be executed by a first server, and the method includes:

[0054] S201: Upon receiving resource indication information sent by the first terminal, send an environment data acquisition request to the second server. The resource indication information includes the source storage location and desired storage directory of the target static resource to be uploaded.

[0055] In this embodiment, upon receiving resource indication information from the first terminal, the first server sends an environmental data acquisition request to the second server. The first terminal is responsible for interacting with the user. The first terminal can provide a user interface, through which staff can provide information. Accordingly, the first terminal generates resource indication information based on the information provided by the user, and then sends the resource indication information to the first server. Alternatively, the first terminal sends the information provided by the user as resource indication information to the first server. For example, 1) staff can upload target static resources through relevant controls in the user interface, and simultaneously input the desired storage directory and the target static resource's destination storage location on the first server through relevant controls in the user interface. On one hand, the target static resource, after being uploaded, will be stored on the first server according to the destination storage location; on the other hand, the destination storage location is confirmed as the source storage location, and the resource indication information is generated together with the desired storage directory and sent to the first server. 2) staff can input the source storage location and desired storage directory through relevant inputs in the user interface, and the source storage location and desired storage directory will be sent to the first server as resource indication information. In this case, the storage location of the target static resource is the source storage location. The source storage location can indicate the first terminal, the first server, or other devices besides the first terminal and the first server.

[0056] The first server is responsible for interacting with the first terminal, the second server, and the third server. The resource indication information received from the first terminal relates to the target static resource, which is the resource to be uploaded. The source storage location refers to the current storage location of the target static resource, and the desired storage directory specifies the exact location of the target static resource on the destination server, which is the server where the target test environment is deployed. After receiving the resource indication information, the first server sends an environment data retrieval request to the second server, as the second server is responsible for providing the environment data.

[0057] Static resources can be files that are determined not to be frequently updated. Static resources can include at least one of the following: HTML files, CSS files, JavaScript files, image files, video files, audio files, font files, and document files.

[0058] S202: Upon receiving multiple environmental data sent by the second server, multiple environmental description information is sent to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple environmental description information. The multiple environmental data correspond to multiple candidate environments, and the environmental data consists of the environmental description information and environmental guidance information corresponding to the candidate environment.

[0059] In this embodiment, upon receiving multiple environmental data from the second server, the first server sends multiple environmental description information to the first terminal, enabling the first terminal to display a candidate environment interface based on the multiple environmental description information. (See reference...) Figure 10 The second server sends multiple environment data sets to the first server. It should be understood that the third server, mentioned later, is any one of multiple candidate servers. Each candidate server deploys one candidate environment. The candidate environments deployed on different candidate servers can be the same or different. One candidate environment can correspond to at least one candidate server. Considering that the multiple candidate environments deployed on multiple candidate servers may be updated, the multiple environment data sets prepared by the second server can correspond to multiple candidate environments at the current time, thus improving the timeliness of the sent environment data sets.

[0060] Multiple environment data points correspond to multiple candidate environments. The environment data consists of environment description information and environment guidance information for each candidate environment. The environment description information aims to describe the candidate environment and may include at least one of the following: environment identifier, the management object of the candidate environment, and relevant information about the cloud platform running the candidate environment (such as version, console master domain address, Master IP, etc.). (Reference) Figure 11 Environmental signs can indicate Figure 11 The environment ID or environment name in the candidate environment can indicate the management object. Figure 11 The environment manager is responsible for the candidate environment. The environment description information may also include the current availability of the candidate environment. Current availability indicates whether the candidate environment supports testing uploaded static resources within it. After a static resource is uploaded to a candidate server, it needs to be tested in the candidate environment. The environment guidance information is intended to instruct candidate servers that have deployed candidate environments. The environment guidance information allows you to locate candidate servers with deployed candidate environments. The environment guidance information may include at least one of the following: server identifier, server address. If one candidate environment corresponds to one candidate server, then the above environment guidance information is for that candidate server. If one candidate environment corresponds to at least two candidate servers, then the above environment guidance information includes at least two sub-guidance information, each corresponding to one of the at least two candidate servers. The sub-guidance information may include at least one of the following: server identifier, server address.

[0061] Upon receiving multiple environmental data sets, the first server sends multiple environmental descriptions to the first terminal. Compared to sending multiple environmental data sets, sending multiple environmental descriptions improves data transmission efficiency, enhances the security of candidate server dimensional information, and allows the first terminal to improve the efficiency of displaying the candidate environment interface based on accurate data.

[0062] As one possible implementation, such as Figure 3 As shown, for the aforementioned step S201, before sending the environmental data acquisition request to the second server, the method may further include the following steps: receiving the description information of the target static resource sent by the first terminal, wherein the description information includes at least one of the following: object information associated with the static resource, an overview of the static resource, and details of the static resource;

[0063] For step S202, sending multiple environmental description information to the first terminal includes:

[0064] S301: For each candidate environment, at least one historical static resource corresponding to the candidate environment is determined from the resource upload log, and the environment relevance of the candidate environment is determined based on at least one resource relevance, wherein the resource relevance represents the relevance between the description information of the historical static resource and the description information of the target static resource, and the resource upload log records historical resource processing requests and preset environments that have a relationship.

[0065] S302: Based on preset rules and the environmental relevance of the candidate environments, determine a plurality of first candidate environments from the plurality of candidate environments;

[0066] S303: Send the environment description information corresponding to each of the plurality of first candidate environments to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the plurality of first candidate environments.

[0067] The first server uses historical data to filter candidate environments, thus preparing the environment description information to be sent. Based on this, the first server sends the prepared environment description information to the first terminal. Compared to sending environment description information for each of multiple candidate environments individually, sending environment description information for multiple first-selection environments within multiple candidate environments takes into account the relevance between static resources tested in the candidate environments and the target static resources, which is beneficial for selecting the first-selection environment that is more suitable for the target static resources. Simultaneously, the display of the candidate environment interface depends on the environment description information corresponding to each of the multiple first-selection environments, thus supporting the display efficiency of the candidate environment interface; the range of environment candidates provided by multiple first-selection environments also supports staff in achieving more accurate and efficient environment selection.

[0068] The descriptive information here refers to static resources. Taking the development and maintenance of applications using static resources as an example, the object information related to static resources can indicate the application's developers, target audience, etc. For example, in the front-end development scenario of application x, after the requirements are developed or bugs are fixed, static resource x is determined. The object information related to static resource x can indicate the developers who developed the requirements or fixed the bugs, or the testers or specific user groups who need to experience application x. A summary of static resources provides a general overview. The summary focuses on reflecting the relationship between static resources and the applications they serve, such as the relationship in developing a certain type of requirement or fixing a certain type of bug. Details of static resources provide a detailed understanding of their internal structure. The details focus on reflecting the composition of files within the static resource and the characteristic features of related files. The characteristic features of related files aim to reflect their representative features and functions. For example, static resource y includes CSS file i and image file i. The details of static resource y can indicate that static resource y involves CSS files and image files, or it can indicate a certain type of page style defined by CSS file i, or a representative image i in image file i.

[0069] Taking N candidate environments as an example, candidate environment i is the i-th candidate environment among the N candidate environments, and the value of i ranges from 1 to N. The resource upload log includes multiple historical records. Each historical record involves a related historical resource processing request and a preset environment. The purpose of a historical resource processing request is to send the historical static resource it carries to a server with a preset environment, and then store it according to the historical storage location guidance information it carries. For candidate environment i, at least one target historical record i that matches candidate environment i can be determined from the resource upload log. The preset environment involved in the target historical record i is candidate environment i. Then, at least one historical static resource i is determined based on at least one target historical record i. Resource relevance i represents the relevance between historical static resource i and target static resource in the dimension of descriptive information. When calculating resource relevance i, it is necessary to consider the information items contained in the descriptive information. If there is only one information item, then the relevance between historical static resource i and target static resource under that information item can be calculated; if there are at least two information items, then the sub-relevance under each information item can be calculated separately, and then the at least two sub-relevances can be preprocessed. The first preprocessing step can indicate averaging, weighted processing, etc. When determining environmental relevance i based on at least one resource relevance i, a second preprocessing step can be performed on the at least one resource relevance i. The second preprocessing step can indicate averaging, weighted processing, etc. In the weighted processing, the current time can be used as a benchmark, assigning higher weights to historical static resources i with more recent recording times than to historical static resources i with more distant recording times. Alternatively, the second preprocessing step can be performed on at least one resource relevance i, and an additional relevance can be determined based on the number of at least one resource relevance i. Thus, environmental relevance i = the second preprocessing result of at least one resource relevance i + the additional relevance.

[0070] Preset rules can provide a lower limit for environmental relevance, thus filtering out candidate environments whose environmental relevance is lower than the lower limit. Preset rules can also provide a preset number of constraints on candidate environments, allowing multiple candidate environments to be sorted in descending order of environmental relevance, and then the top preset number of candidate environments in the sequence to form multiple first candidate environments.

[0071] Furthermore, after determining multiple first candidate environments from the multiple candidate environments based on preset rules and the environmental relevance of the candidate environments, the method may further include the following steps: First, for each first candidate environment, determine the expected availability of the first candidate environment based on the expected availability of the server deploying the candidate environment; then, based on the expected availability of the first candidate environment, select multiple second candidate environments from the multiple first candidate environments that meet the expected availability requirements.

[0072] Accordingly, sending the environment description information corresponding to each of the plurality of first candidate environments to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the plurality of first candidate environments, may include the following steps: sending the environment description information corresponding to each of the plurality of second candidate environments to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the plurality of second candidate environments.

[0073] The first candidate environment is further screened based on whether the expected availability meets the expected availability requirements. This avoids sending the environment description information of the first candidate environment that does not meet the expected availability requirements to the first terminal, thus preventing the existence of a first candidate environment in the environment candidate range that does not meet the expected availability requirements. This enables staff to select environments more accurately and efficiently, and also supports timely and effective testing of target static resources.

[0074] Taking a candidate server with a first candidate environment as an example, after a static resource is uploaded to a candidate server, it needs to be tested in the first candidate environment. Expected availability characterizes the responsiveness of the first candidate environment in supporting the testing of the uploaded static resource. Expected availability can be determined based on the estimated time the static resource is expected to wait for testing. If one first candidate environment corresponds to one candidate server, then the expected availability is determined based on the estimated time corresponding to that candidate server. If one first candidate environment corresponds to at least two candidate servers, then the expected availability is determined based on the estimated time corresponding to each of the at least two candidate servers, such as taking the average, median, or both the maximum and minimum values ​​of the at least two estimated times.

[0075] The preset rules can provide a minimum duration, thus filtering out first-selection environments whose durations are less than the minimum duration. If a first-selection environment corresponds to one candidate server, the expected duration for that candidate server is the representative duration. If a first-selection environment corresponds to at least two candidate servers, the mean, median, or minimum of the expected durations for each of the at least two candidate servers is used as the representative duration.

[0076] Of course, if the environment description information includes the current availability of the candidate environment, it can also be considered that the corresponding first candidate environment does not meet the expected availability requirements if the current availability indicates that the candidate environment does not support testing the uploaded static resources in it.

[0077] S203: Upon receiving an environment selection instruction sent by the first terminal, a third server is determined based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the plurality of candidate environments. The environment selection instruction is generated in response to a trigger operation for a target display item on the candidate environment interface. The target display item is any one of a plurality of preset display items. Each preset display item is generated based on an environment description information.

[0078] In this embodiment, upon receiving an environment selection instruction from a first terminal, the first server determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The candidate environment interface displayed by the first terminal based on multiple environment descriptions involves multiple preset display items. Each preset display item is generated based on one environment description. Correspondingly, each preset display item provides an introduction to a candidate environment, such as by displaying at least one of the following: the environment identifier of the candidate environment, the management object of the candidate environment, and relevant information about the cloud platform running on the candidate environment. Alternatively, it can be introduced by displaying the current availability of the candidate environment. After a staff member triggers the target display item on the candidate environment interface, an environment selection instruction is generated, where the target display item is any one of the multiple preset display items. It can be considered that the candidate environment corresponding to the target display item is the target environment selected by the staff member, and the target environment is any one of the multiple candidate environments.

[0079] Upon receiving an environment selection instruction, the first server can determine the third server based on the environment guidance information corresponding to the target environment. Referring to the description in step S202 above, the third server is any one of multiple candidate servers. Each candidate server deploys a candidate environment. A candidate environment can correspond to at least one candidate server. If the target environment corresponds to one candidate server, since the environment guidance information is directed to that candidate server, that candidate server can be designated as the third server based on the environment guidance information. If the target environment corresponds to at least two candidate servers, since the environment guidance information contains sub-guidance information for each of the at least two candidate servers, the target sub-guidance information can be randomly determined from the at least two sub-guidance information, and the candidate server corresponding to the target sub-guidance information can then be determined as the third server. Alternatively, the target sub-guidance information can be determined from the at least two sub-guidance information based on the guidance performance data used to locate the candidate server by the sub-guidance information, and the candidate server corresponding to the target sub-guidance information can then be determined as the third server. The guidance performance data can include at least one of the following: the time when the sub-guidance information was last used, and the number of times the sub-guidance information was used within the current time period. Generally, the sub-guide information that was last used earliest is selected as the target sub-guide information, and the sub-guide information that has been used less often is selected as the target sub-guide information.

[0080] S204: Send a resource processing request to the third server. The resource processing request carries the target static resource and storage location guidance information, which is generated based on the desired storage directory.

[0081] In this embodiment, the first server sends a resource processing request to the third server. After the target static resource in the resource processing request arrives at the third server, it needs to be stored by the third server according to the storage location guidance information. Since the expected storage directory is used to limit the specific storage location of the target static resource on the destination server (where the third server is the destination server), the storage location guidance information generated based on the expected storage directory will limit the specific storage location of the target static resource on the third server. For example, if the expected storage directory is " / test / user", ideally the target static resource will be stored in the " / test / user" directory on the third server.

[0082] As a possible implementation, for step S204, the environment guidance information corresponding to the target environment records the port of the third server and the access token for the third server. Before sending the resource processing request to the third server, the method may further include the following steps: first, obtaining the target static resource based on the source storage location; then, generating the resource processing request based on the target static resource, the storage location guidance information, and the access token. Accordingly, sending the resource processing request to the third server may include the following step: sending the resource processing request to the third server through the port.

[0083] Based on the environmental guidance information described in step S202 above, the port of the third server can be considered part of the server address information. The introduction of an access token for the third server improves the security and reliability of locating it using environmental guidance information. According to the relevant description in step S201 above, the target static resource may be stored on the first server, the first terminal, or other devices besides the first terminal and the first server. Here, the target static resource is obtained based on its source storage location. Based on this, a resource processing request is generated using the target static resource, storage location guidance information, and access token, and then sent to the third server via the port. Using the access token in the resource processing request as a pass and the port as the entry point provided to the third server, the resource storage intention in the resource processing request is successfully transmitted to the third server. (Reference) Figure 11 The port can indicate Figure 11 The port in the access token can indicate Figure 11 The username and password in the file.

[0084] As one possible implementation, such as Figure 4 As shown, after sending the resource processing request to the third server, the method further includes:

[0085] S205: Upon receiving the upload feedback notification returned by the third server, an upload progress overview data is generated based on the source storage location, the storage location guidance information, and the upload feedback notification. The upload progress overview data is then sent to the first terminal, so that the first terminal displays an upload progress overview interface based on the upload progress overview data. The upload feedback notification is used to indicate whether the upload was successful, failed, or is in progress.

[0086] refer to Figure 9 In the upload progress overview interface displayed based on the upload progress overview data, the first display item indicating the source storage location (corresponding to...) Figure 9 The source path in the text), and the second display item indicating the storage location guidance information (corresponding to) Figure 9 The upload progress overview interface displays the target path, the desired upload location, and the third item indicating the upload feedback notification. Regardless of whether the target static resource is successfully uploaded, failed to upload, or is in progress, staff can clearly understand the upload status of the target static resource through the upload progress overview interface, including the source storage location, the desired storage location, and the upload progress. Timely understanding of the target static resource's upload status allows staff to promptly re-upload the target static resource if it times out and fails to upload successfully.

[0087] As a possible implementation, for step S204, the environment selection instruction further instructs the first object to perform the triggering operation, and the step of sending the resource processing request to the third server may include the following steps: first, obtaining the object set corresponding to the target environment, the object set consisting of at least one preset object having usage rights to the target environment; then, if the object set includes the first object, sending the resource processing request to the third server.

[0088] The system manages predefined objects with usage permissions to the target environment at the object set level. Based on this, it determines whether a first object has usage permissions for the target environment. This allows for timely and accurate determination of whether the first object selected for the target environment can use it, thus deciding whether to send a resource processing request to the third server. If the first object has usage permissions for the target environment, a resource processing request is sent to the third server; otherwise, an environment reselection message is sent to the first terminal. The environment reselection message aims to guide staff to reselect the environment through a user interface on the first terminal. This helps maintain the security and flexibility of the target environment's use, restricting objects without usage permissions and preventing the target environment from being abused or misused. In practical applications, the object set corresponding to the target environment can be provided by a second server, which can flexibly adjust the object set based on business needs.

[0089] The data processing method provided in this application embodiment can interact with the user side via a command-line interface on the first terminal. (See also...) Figure 7-9 . refer to Figure 7 After staff input the resource upload command, candidate environments are displayed in the command-line interface. For example... Figure 8 As shown, if the environment selected by the staff is not a candidate environment, the command line interface will display a "This environment is prohibited from being updated" message, which is intended to remind the staff that the environment is currently unavailable. Figure 9 This provides an example of successfully uploading four static resources. Figure 9The table in the table can be viewed as an overview of the upload progress of these four static resources. In practical applications, resource information can be stored in the form of a JSON file. The first server provides a Node.js environment.

[0090] As can be seen from the technical solutions provided by the embodiments of this application above, this application provides a more convenient and adaptable static resource uploading solution. In this application, upon receiving resource indication information sent by a first terminal, the first server sends an environment data acquisition request to a second server. The resource indication information includes the source storage location of the target static resource to be uploaded and the desired storage directory. Then, the second server sends multiple environment data to the first server. The environment data consists of environment description information and environment guidance information corresponding to candidate environments. Next, the first server sends multiple environment description information to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple environment description information. Furthermore, upon receiving an environment selection instruction sent by the first terminal, the first server determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The third server deploys the target environment, and the environment selection instruction is generated in response to a trigger operation for the target display item on the candidate environment interface. Finally, the first server sends a resource processing request to the third server. The resource processing request carries the target static resource and storage location guidance information, which is generated based on the desired storage directory. In this application, the first terminal is responsible for interacting with the user, the first server is responsible for interacting with the first terminal, the second server, and the third server, the second server is responsible for providing environment data, and the third server is responsible for deploying the relevant environment. This allows different terminals to focus on their respective tasks, facilitating maintenance. Introducing interaction with the user in the multi-terminal interaction allows for more flexible selection of target testing environments for static resources. When the user selects a target environment, multiple candidate environments are intuitively displayed through a candidate environment interface, and the environment data corresponding to the candidate environments is provided by the second server. This reduces the requirement for the user to understand the details of each candidate server and its deployed environments; the user can conveniently select the target environment through the candidate environment interface provided by the first terminal. Furthermore, the second server's provision of environment data, occurring after receiving the environment data retrieval request from the first server, provides the second server with more timely environment description and guidance information, improving the adaptability of target environment selection and thus enhancing the adaptability of static resource uploading.

[0091] Figure 5 , 12 This diagram illustrates a data processing method according to an embodiment of the present application. The method includes:

[0092] S501: Upon receiving resource indication information sent by the first terminal, the first server sends an environment data acquisition request to the second server. The resource indication information includes the source storage location of the target static resource to be uploaded and the desired storage directory.

[0093] S502: The second server sends multiple environmental data to the first server. The multiple environmental data correspond to multiple candidate environments. The environmental data consists of environmental description information and environmental guidance information corresponding to the candidate environment.

[0094] S503: The first server sends multiple sets of environment description information to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple sets of environment description information;

[0095] S504: Upon receiving an environment selection instruction sent by the first terminal, the first server determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the plurality of candidate environments. The environment selection instruction is generated in response to a trigger operation for a target display item on the candidate environment interface. The target display item is any one of a plurality of preset display items. Each preset display item is generated based on an environment description information.

[0096] S505: The first server sends a resource processing request to the third server. The resource processing request carries the target static resource and storage location guidance information, and the storage location guidance information is generated based on the desired storage directory.

[0097] The data processing methods provided in steps S501-S505 are based on the same inventive concept as the data processing methods provided in steps S201-S204. The division of labor among the first terminal, first server, second server, and third server is described above and will not be repeated here.

[0098] In one embodiment, the environment data can be generated through the following steps: in response to an environment configuration instruction sent by a received second terminal, the second server generates the environment data. The environment configuration instruction is generated in response to a configuration operation of multiple configurable items in the environment configuration interface displayed by the second terminal. The multiple configurable items include at least one first item and at least one second item. The first item is used to guide the configuration of the environment description, and the content of the environment description indicates the first type of basic information and current availability of the candidate environment. The second item is used to guide the configuration of the environment guidance, and the content of the environment guidance indicates the second type of basic information of the server deploying the candidate environment.

[0099] This section describes the process of generating environment data through configuration. The second server and the second terminal can be directly or indirectly connected via wired or wireless communication. The second terminal can provide a user interface through which staff can provide information. Here, staff can configure the environment by performing configuration operations on multiple configurable items in the environment configuration interface, thereby generating environment configuration instructions on the second terminal and sending them to the second server. Correspondingly, the second server generates environment data based on the received environment configuration instructions. Combining with the description in step S202 above, the first type of basic information can indicate the environment identifier, the management object of the candidate environment, and relevant information about the cloud platform running on the candidate environment; the second type of basic information can indicate the server identifier and server address. Current availability indicates whether the candidate environment supports testing uploaded static resources within it. (Refer to the environment configuration interface for details.) Figure 11 This guides staff in configuring the environment, taking into account environmental information from different dimensions, which helps improve the convenience of staff participation in information provision.

[0100] In practical applications, the second terminal here and the aforementioned first terminal can refer to the same terminal or different terminals.

[0101] This application also provides a data processing apparatus, such as... Figure 6 As shown, the data processing device 60 is configured on the first server, and the data processing device 60 includes:

[0102] Request sending module 601: When receiving resource indication information sent by the first terminal, it sends an environment data acquisition request to the second server, wherein the resource indication information includes the source storage location of the target static resource to be uploaded and the expected storage directory.

[0103] Information sending module 602: When receiving multiple environmental data sent by the second server, it sends multiple environmental description information to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple environmental description information. The multiple environmental data correspond to multiple candidate environments, and the environmental data consists of the environmental description information and environmental guidance information corresponding to the candidate environment.

[0104] Server determination module 603: When receiving an environment selection instruction sent by the first terminal, it determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the plurality of candidate environments. The environment selection instruction is generated in response to a trigger operation for a target display item on the candidate environment interface. The target display item is any one of a plurality of preset display items. Each preset display item is generated based on an environment description information.

[0105] Request sending module 604: Used to send a resource processing request to the third server. The resource processing request carries the target static resource and storage location guidance information, and the storage location guidance information is generated based on the desired storage directory.

[0106] In one embodiment, the environment guidance information corresponding to the target environment records the port of the third server and the access token for the third server, and the device further includes a request generation module;

[0107] The request generation module is used to: obtain the target static resource based on the source storage location; and generate the resource processing request based on the target static resource, the storage location guidance information, and the access token.

[0108] Sending the resource processing request to the third server includes: sending the resource processing request to the third server through the port.

[0109] In one embodiment, the apparatus further includes an overview data transmission module;

[0110] The overview data sending module is used to generate upload progress overview data based on the source storage location, the storage location guidance information, and the upload feedback notification when receiving the upload feedback notification returned by the third server, and to send the upload progress overview data to the first terminal so that the first terminal can display an upload progress overview interface based on the upload progress overview data. The upload feedback notification is used to indicate whether the upload was successful, failed, or is in progress.

[0111] In one embodiment, the environment selection instruction further instructs a first object to perform the triggering operation, and the step of sending a resource processing request to the third server includes: obtaining a set of objects corresponding to the target environment, the set of objects consisting of at least one preset object having usage rights to the target environment; and, if the set of objects includes the first object, sending the resource processing request to the third server.

[0112] In one embodiment, the device further includes an information receiving module;

[0113] The information receiving module is used to receive description information of the target static resource sent by the first terminal. The description information includes at least one of the following: object information associated with the static resource, an overview of the static resource, and details of the static resource.

[0114] Sending multiple environment description information to the first terminal includes: for each candidate environment, determining at least one historical static resource corresponding to the candidate environment from the resource upload log, and determining the environment relevance of the candidate environment based on at least one resource relevance, wherein the resource relevance represents the relevance between the description information of the historical static resource and the description information of the target static resource, and the resource upload log records historical resource processing requests and preset environments that have an association relationship; determining multiple first candidate environments from the multiple candidate environments based on preset rules and the environment relevance of the candidate environments; and sending the environment description information corresponding to each of the multiple first candidate environments to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the multiple first candidate environments.

[0115] In one embodiment, the device further includes an environmental screening unit;

[0116] The environment filtering unit is used to: determine the expected availability of each first candidate environment based on the expected availability of the server deploying the candidate environment; and filter out multiple second candidate environments that meet the expected availability requirements from the multiple first candidate environments based on the expected availability of the first candidate environments.

[0117] Sending the environment description information corresponding to each of the plurality of first candidate environments to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the plurality of first candidate environments, includes: sending the environment description information corresponding to each of the plurality of second candidate environments to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the plurality of second candidate environments.

[0118] It should be noted that the apparatus and method embodiments described in the device embodiments are based on the same inventive concept.

[0119] In some embodiments, the functions or modules of the apparatus provided in this application can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0120] This application also provides a computer-readable storage medium storing at least one instruction or at least one program segment, which is loaded and executed by a processor to implement the above-described method. The computer-readable storage medium may be a non-volatile computer-readable storage medium.

[0121] This application also provides an electronic device, which includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the at least one processor to implement the above method.

[0122] Electronic devices can be provided as terminals, servers, or other forms of devices.

[0123] Figure 13 A block diagram of an electronic device according to an embodiment of this application is shown. (Refer to...) Figure 13 The electronic device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions executable by the processing component 1922. Furthermore, the processing component 1922 is configured to execute instructions to perform the methods described above.

[0124] Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input / output (I / O) interface 1958. Electronic device 1900 can operate on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0125] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by a processing component 1922 of an electronic device 1900 to perform the above-described method.

[0126] This application may be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having on it at least one instruction or at least a program segment for causing a processor to implement various aspects of this application.

[0127] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0128] At least one instruction or program segment described herein may be downloaded from a computer-readable storage medium to various computing / processing devices, or downloaded via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives at least one instruction or at least one program segment from the network and forwards the instruction or program segment to a computer-readable storage medium in the respective computing / processing device.

[0129] At least one instruction or at least one program segment used to perform the operations of this application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C+, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. At least one instruction or at least one program segment may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuits, such as programmable logic circuits, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), are personalized by utilizing state information of at least one instruction or at least one program to implement various aspects of this application.

[0130] Various aspects of this application are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by at least one instruction or at least a piece of program.

[0131] The at least one instruction or at least one program segment can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, it creates means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. The at least one instruction or at least one program segment can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0132] At least one instruction or at least one program may be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0133] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions specified in the blocks may occur in a different order than those specified in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0134] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technological improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A data processing method, characterized in that, Applied to a first server, the method includes: Upon receiving resource indication information sent by the first terminal, an environment data acquisition request is sent to the second server. The resource indication information includes the source storage location of the target static resource to be uploaded and the desired storage directory. Upon receiving multiple environmental data sent by the second server, multiple environmental description information is sent to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple environmental description information. The multiple environmental data correspond to multiple candidate environments, and the environmental data consists of the environmental description information and environmental guidance information corresponding to the candidate environment. Upon receiving an environment selection instruction sent by the first terminal, a third server is determined based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the multiple candidate environments. The environment selection instruction is generated in response to a trigger operation on a target display item of the candidate environment interface. The target display item is any one of multiple preset display items. Each preset display item is generated based on an environment description information. A resource processing request is sent to the third server. The resource processing request carries the target static resource and storage location guidance information, which is generated based on the desired storage directory.

2. The method according to claim 1, characterized in that, The environment guidance information corresponding to the target environment records the port of the third server and the access token for the third server. Before sending the resource processing request to the third server, the method further includes: The target static resource is obtained based on the source storage location; The resource processing request is generated based on the target static resource, the storage location guidance information, and the access token. Sending the resource processing request to the third server includes: sending the resource processing request to the third server through the port.

3. The method according to claim 1, characterized in that, After sending the resource processing request to the third server, the method further includes: Upon receiving the upload feedback notification returned by the third server, upload progress overview data is generated based on the source storage location, the storage location guidance information, and the upload feedback notification. The upload progress overview data is then sent to the first terminal, so that the first terminal can display an upload progress overview interface based on the upload progress overview data. The upload feedback notification is used to indicate whether the upload was successful, failed, or is in progress.

4. The method according to any one of claims 1-3, characterized in that, The environment selection instruction further instructs the first object to perform the triggering operation, and the sending of the resource processing request to the third server includes: Obtain the object set corresponding to the target environment, wherein the object set consists of at least one preset object that has the right to use the target environment; If the set of objects includes the first object, the resource processing request is sent to the third server.

5. The method according to any one of claims 1-3, characterized in that: Before sending the environment data acquisition request to the second server, the method further includes: The system receives description information of the target static resource sent by the first terminal, wherein the description information includes at least one of the following: object information associated with the static resource, an overview of the static resource, and details of the static resource; Sending multiple environmental description information to the first terminal includes: For each candidate environment, at least one historical static resource corresponding to the candidate environment is determined from the resource upload log, and the environment relevance of the candidate environment is determined based on at least one resource relevance. The resource relevance represents the relevance between the description information of the historical static resource and the description information of the target static resource. The resource upload log records historical resource processing requests and preset environments that have a relationship. Based on preset rules and the environmental relevance of the candidate environments, a number of first candidate environments are determined from the multiple candidate environments; The environment description information corresponding to each of the plurality of first candidate environments is sent to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the plurality of first candidate environments.

6. The method according to claim 5, characterized in that, After determining multiple first candidate environments from the multiple candidate environments based on preset rules and the environmental relevance of the candidate environments, the method further includes: For each of the first candidate environments, the expected availability of the first candidate environment is determined based on the expected availability of the servers that deploy the candidate environment. Based on the expected availability of the first candidate environment, a plurality of second candidate environments that meet the expected availability requirements are selected from the plurality of first candidate environments; Sending the environment description information corresponding to each of the plurality of first candidate environments to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the plurality of first candidate environments, includes: The environment description information corresponding to each of the plurality of second candidate environments is sent to the first terminal, so that the first terminal displays the candidate environment interface based on the environment description information corresponding to each of the plurality of second candidate environments.

7. A data processing method, characterized in that, The method includes: Upon receiving resource indication information sent by the first terminal, the first server sends an environment data acquisition request to the second server. The resource indication information includes the source storage location and the desired storage directory of the target static resource to be uploaded. The second server sends multiple environmental data to the first server. The multiple environmental data correspond to multiple candidate environments. The environmental data consists of environmental description information and environmental guidance information corresponding to the candidate environment. The first server sends multiple sets of environment description information to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple sets of environment description information; Upon receiving an environment selection instruction sent by the first terminal, the first server determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the multiple candidate environments. The environment selection instruction is generated in response to a trigger operation on a target display item of the candidate environment interface. The target display item is any one of multiple preset display items. Each preset display item is generated based on an environment description information. The first server sends a resource processing request to the third server. The resource processing request carries the target static resource and storage location guidance information, which is generated based on the desired storage directory.

8. The method according to claim 7, characterized in that, The environmental data is generated through the following steps: In response to an environment configuration instruction sent by a second terminal, the second server generates the environment data. The environment configuration instruction is generated in response to configuration operations on multiple configurable items in the environment configuration interface displayed by the second terminal. The multiple configurable items include at least one first item and at least one second item. The first item is used to guide the configuration of the environment description, and the content of the environment description indicates the first type of basic information and current availability of the candidate environment. The second item is used to guide the configuration of the environment guidance, and the content of the environment guidance indicates the second type of basic information of the server deploying the candidate environment.

9. A data processing apparatus, characterized in that, Configured on a first server, the device includes: Request sending module: used to send an environment data acquisition request to the second server upon receiving resource indication information sent by the first terminal, wherein the resource indication information includes the source storage location of the target static resource to be uploaded and the expected storage directory; Information sending module: When receiving multiple environmental data sent by the second server, it sends multiple environmental description information to the first terminal, so that the first terminal displays a candidate environment interface based on the multiple environmental description information. The multiple environmental data correspond to multiple candidate environments, and the environmental data consists of the environmental description information and environmental guidance information corresponding to the candidate environment. Server determination module: When receiving an environment selection instruction sent by the first terminal, it determines a third server based on the environment guidance information corresponding to the target environment indicated by the environment selection instruction. The target environment is deployed on the third server. The target environment is any one of the multiple candidate environments. The environment selection instruction is generated in response to a trigger operation on a target display item of the candidate environment interface. The target display item is any one of multiple preset display items. Each preset display item is generated based on an environment description information. Request sending module: used to send a resource processing request to the third server. The resource processing request carries the target static resource and storage location guidance information, and the storage location guidance information is generated based on the desired storage directory.

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 at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by the at least one processor to implement the data processing method as described in any one of claims 1-6, or the data processing method as described in any one of claims 7-8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the data processing method as described in any one of claims 1-6 or any one of claims 7-8.