CN115145555A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN115145555A
CN115145555A CN202110334890.XA CN202110334890A CN115145555A CN 115145555 A CN115145555 A CN 115145555A CN 202110334890 A CN202110334890 A CN 202110334890A CN 115145555 A CN115145555 A CN 115145555A
Authority
CN
China
Prior art keywords
developer
development
code
group
space
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
CN202110334890.XA
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110334890.XA priority Critical patent/CN115145555A/en
Publication of CN115145555A publication Critical patent/CN115145555A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a data processing method and device, and relates to the technical field of computers and communication. The method comprises the following steps: acquiring a developer identifier, and determining a group to which the developer belongs based on the developer identifier; acquiring a preset group development environment in a cloud server cluster corresponding to a group; based on a group development environment, creating a development space of a developer at a cloud end by using a cloud server cluster; and generating a development interface based on the development space, and sending the development interface to the developer so that the developer can use the development interface for data processing. The data processing is carried out in the automatically created development space through the development interface, the step that a developer manually configures a development environment is omitted, and convenience is provided for remote office of the developer.

Description

Data processing method and device
Technical Field
The present application relates to the field of computer and communication technologies, and in particular, to a data processing method and apparatus.
Background
In the prior art, a software developer may establish a connection between a current development machine and a remote development machine through a Virtual Private Network (VPN), and build a development environment in the current development machine, so as to perform remote software development in the current development machine.
However, much effort is required to build a development environment, and the performance of the current development machine also limits software development, so that a software developer is very inconvenient to work remotely.
Disclosure of Invention
The application aims to provide a data processing method and device, and the development environment is automatically built so as to provide convenience for remote office of developers at least to a certain extent.
According to an aspect of an embodiment of the present application, there is provided a data processing method, including: acquiring a developer identifier, and determining a group to which a developer belongs based on the developer identifier; acquiring a preset group development environment in a cloud server cluster corresponding to the group; creating a development space of the developer in a cloud end by using the cloud server cluster based on the group development environment; and generating a development interface based on the development space, and sending the development interface to the developer so that the developer uses the development interface to process data.
According to an aspect of an embodiment of the present application, there is provided a data processing apparatus including: the first acquisition module is configured to acquire a developer identifier and determine a group to which the developer belongs based on the developer identifier; the second acquisition module is configured to acquire a group development environment preset in the cloud server cluster corresponding to the group; a creating module configured to create a development space of the developer in a cloud using the cloud server cluster based on the group development environment; and the sending module is configured to generate a development interface based on the development space and send the development interface to the developer so that the developer can use the development interface to perform data processing.
In an embodiment of the application, based on the above scheme, the creating module is configured to: acquiring the space resource amount corresponding to the developer identification; creating a preparation space of the developer in a cloud based on the space resource amount; and configuring the development environment in the preparation space based on the group development environment to obtain the configured preparation space as the development space.
In an embodiment of the present application, based on the above scheme, the creating module is configured to: acquiring developer information corresponding to the developer identification; and determining the resource amount occupied by the development space of the developer in the cloud service cluster based on the developer information, wherein the resource amount is used as the space resource amount corresponding to the developer identification.
In an embodiment of the present application, based on the above scheme, the data processing apparatus further includes: a processing module configured to: acquiring code data input by the developer in the development interface; sending the code data into the development space; executing the code data in the development space to process the code data.
In an embodiment of the application, based on the above scheme, the processing module is further configured to: acquiring a link of an actuator in the development space recorded in the development interface; and sending the code data to an executor corresponding to the execution link so as to execute the code data through the executor.
In an embodiment of the application, based on the above scheme, the processing module is further configured to: acquiring a project creating instruction of the developer; based on the type of the project creating instruction, pushing a template corresponding to the type for the developer; if the developer is not detected to edit the template, taking the template as the code data; and if the fact that the developer edits the template is detected, acquiring the template edited by the developer and serving as the code data.
In an embodiment of the present application, based on the above scheme, the processing module is further configured to: acquiring an opening instruction of the development interface; if the opening instruction carries code library information, acquiring a code library key corresponding to the code library information based on the developer identification; based on the code library key, library code data are pulled from a code library corresponding to the code library information; displaying the code library data in the development interface to enable the developer to process the library code data using the development interface.
In an embodiment of the present application, based on the above scheme, the processing module is further configured to: sending a data acquisition instruction to a code base through the development interface, wherein the data acquisition instruction carries code base information of the code base; acquiring a code base key corresponding to the code base information based on the developer identification; based on the code library key, pulling the library code data from the code library; displaying the library code data in the development interface to enable the developer to process the library code data through the development interface.
In an embodiment of the present application, based on the above scheme, the processing module is further configured to: responding to the project integration instruction aiming at the group, and acquiring data processing results obtained respectively based on development spaces corresponding to the identifiers of all developers in the group; and integrating the data processing results corresponding to the group to obtain the project development data of the group.
According to an aspect of embodiments of the present application, there is provided a computer-readable program medium storing computer program instructions which, when executed by a computer, cause the computer to perform the method of any one of the above.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: a processor; a memory having computer readable instructions stored thereon which, when executed by the processor, implement the method of any of the above.
According to an aspect of embodiments herein, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the methods provided in the various alternative embodiments described above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the technical scheme provided by some embodiments of the application, a group to which a developer belongs is determined by acquiring a developer identifier and based on the developer identifier; acquiring a preset group development environment in a cloud server cluster corresponding to a group; based on a group development environment, a cloud server cluster is used for creating a development space of a developer at the cloud end, so that the development space of the developer is automatically created based on a preset group development environment, and the group can centrally manage the development space in the group through the cloud server cluster; and then generating a development interface based on the development space, and sending the development interface to the developer so that the developer uses the development interface to perform data processing, the developer does not need to configure the development environment in the current development machine, and performs data processing in the automatically created development space through the development interface, thereby avoiding the step of manually configuring the development environment by the developer, and providing convenience for the remote office of the developer.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
FIG. 1 shows a schematic diagram of an exemplary system architecture to which aspects of embodiments of the present application may be applied;
FIG. 2 schematically shows a flow diagram of a data processing method according to an embodiment of the present application;
FIG. 3 schematically illustrates a developer usage flow diagram according to an embodiment of the present application;
FIG. 4 schematically shows a flow diagram of a data processing method according to an embodiment of the present application;
FIG. 5 schematically shows a block diagram of a data processing apparatus according to an embodiment of the present application;
FIG. 6 is a hardware diagram illustrating an electronic device according to an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
Cloud technology (Cloud technology) is based on a general term of network technology, information technology, integration technology, management platform technology, application technology and the like applied in a Cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
The scheme provided by the embodiment of the application relates to the field of cloud computing in cloud technology, wherein cloud computing (cloud computing) refers to a delivery and use mode of an IT infrastructure, and refers to acquiring required resources in an on-demand and easily-extensible mode through a network; the generalized cloud computing refers to a delivery and use mode of a service, and refers to obtaining a required service in an on-demand and easily-extensible manner through a network. Such services may be IT and software, internet related, or other services. Cloud Computing is a product of development and fusion of traditional computers and Network Technologies, such as Grid Computing (Grid Computing), distributed Computing (distributed Computing), parallel Computing (Parallel Computing), utility Computing (Utility Computing), network Storage (Network Storage Technologies), virtualization (Virtualization), load balancing (Load Balance), and the like.
With the development of diversification of internet, real-time data stream and connecting equipment and the promotion of demands of search service, social network, mobile commerce, open collaboration and the like, cloud computing is rapidly developed. Different from the prior parallel distributed computing, the generation of cloud computing can promote the revolutionary change of the whole internet mode and the enterprise management mode in concept. The cloud computing technology can provide a cloud server cluster for the data processing method of the present application, and is specifically described by the following embodiments:
fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which the technical solutions of the embodiments of the present application can be applied.
As shown in fig. 1, system architecture 100 may include clients 101, network 102, and server 103. Network 102 serves as a medium for providing communication links between clients 101 and servers 103. Network 102 may include various types of connections, such as wired communication links, wireless communication links, and so forth, which are not limiting in this application.
It should be understood that the number of clients 101, networks 102, and servers 103 in fig. 1 is merely illustrative. There may be any number of clients 101, networks 102, and servers 103, as desired for an implementation. For example, the server 103 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform. The client 101 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto, and the client 101 may be a local development machine.
In an embodiment of the present application, a developer logs in through a client 101, so that a server 103 obtains a developer identifier from the client 101, and determines a group to which the developer belongs based on the developer identifier; acquiring a preset group development environment in a cloud server cluster corresponding to a group; based on a group development environment, a cloud server cluster is used for creating a development space of a developer at the cloud end, so that the automatic creation of the development space of the developer based on a preset group development environment is realized, and the group can perform centralized management on the development space in the group through the cloud server cluster; and then generating a development interface based on the development space, and sending the development interface to the developer so that the developer uses the development interface to perform data processing, the developer does not need to configure the development environment in the current development machine, and performs data processing in the automatically created development space through the development interface, thereby avoiding the step of manually configuring the development environment by the developer, and providing convenience for the remote office of the developer.
It should be noted that the data processing method provided in the embodiment of the present application is generally executed by the server 103, and accordingly, the data processing apparatus is generally disposed in the server 103. However, in other embodiments of the present application, the client 101 may also have a similar function as the server 103, so as to execute the data processing method provided by the embodiments of the present application.
The implementation details of the technical solution of the embodiment of the present application are set forth in detail below:
fig. 2 schematically shows a flowchart of a data processing method according to an embodiment of the present application, an execution subject of the data processing method may be a server, such as the server 103 shown in fig. 1.
Referring to fig. 2, the data processing method at least includes steps S210 to S240, which are described in detail as follows:
in step S210, a developer identifier is obtained, and a group to which the developer belongs is determined based on the developer identifier. In one embodiment of the present application, the developer may be a user or a machine, and the developer identification may be obtained by the developer from login information in a development interface. The developer can check login information input by the developer when logging in so as to perform identity authentication on the identity of the developer, wherein the login information can comprise a login account number, a nickname, a password and the like, and the identity authentication rule can be a unified rule or corresponds to the identity of the developer.
In an embodiment of the application, the developer identification may also be identity information of the developer, such as a name, a job number, a custom developer name, or a developer identification assigned to the developer by a group, and the identity information of the developer may be obtained through login information of the developer; the developer identifier may also be device information of the client 101 used by the developer, such as a device number, a device hardware address (MAC), and the like, where the client 101 may refer to a current developer of the developer or a remote developer of the developer, and the developer identifier may be obtained through a developer login device.
In one embodiment of the present application, the developer identifications belonging to the same group may have a certain characteristic, and if the developer identifications are in a character format, the developer identifications belonging to the same group may combine characters using the same rule, while the developer identifications not belonging to the same group cannot combine characters using the same rule, so that the server can determine the group where the developer is located according to the character combination rule, for example, the first letter or the last letter of the developer identifications belonging to the same group may be kept consistent.
In one embodiment of the present application, a group identification record table may be looked up based on developer identification to determine the group to which the developer belongs. When a group is established in a cloud server cluster, developer identifications in the same group can be stored in the same group identification record table, and after the developer identifications are obtained, one or more group identification record tables in the cloud server cluster are traversed, so that the group to which the developer belongs is determined according to the group identification record table to which the developer identifications belong.
In an embodiment of the application, when a group sets up a cloud server cluster, the number of developers in the group and the developer information of each developer in the group can be comprehensively considered, and the size of cluster resources can be determined. For example, the predicted resource amount of each developer can be determined based on the developer information of each developer, and then the predicted resource amount is multiplied by an expansion coefficient to serve as the resource amount occupied by the development space of each developer in the cloud service cluster, so that sufficient used resources can be provided for each developer. After determining the used resources of each developer, each developer may be stored in correspondence with its corresponding used resource value, and the developers in the same group and the used resource amount of the developers in this group may be stored in a group identification record table, and the name of the group identification record table may be a group name.
In an embodiment of the application, the group may be a software development team or a project development team, a group administrator may join the group with the same developer, and a cloud server cluster of the group may be a web integrated development environment service cluster (WebIDE service cluster). Each developer must belong to a group, so that the used resources can be obtained, of course, only one developer can exist in the group, the group can uniformly manage the development space of each developer in the cluster developers through the cloud server cluster, each developer does not need to set a cloud server, and the step of configuring the cloud server of each developer is omitted.
In one embodiment of the present application, the developer information may include a developer ability score, a development task for which the developer is responsible, a role of the developer in a group, a development habit of the developer, and the like. The used resources of the developer may include memory capacity occupied by the developer, used Central Processing Unit (CPU) resources, and the like.
In one embodiment of the present application, the number of development spaces may be the same as the number of developers, each developer identification may correspond to a development space. In other embodiments, one development space may correspond to multiple developer identifications, so as to implement collaborative development by multiple developers; and the plurality of development spaces can also correspond to one developer identification, so that one developer can use the plurality of development spaces.
With continued reference to fig. 2, in step S220, a group development environment preset in the cloud server cluster corresponding to the group is obtained.
In an embodiment of the present application, the group development environment may be preset in the cloud server cluster when the cloud server cluster is set up, and the group development environment may include development tools and the like. The group development environment of each group can be configured according to the needs of each group, so as to better meet the needs of developers in the group.
In this embodiment, the group development environment preset in the cloud server cluster is acquired, and compared with the case that the group development environment is directly acquired from the cloud end every time data processing is performed, time for a developer to acquire the development environment can be saved.
In step S230, a development space of the developer in the cloud is created using the cloud server cluster based on the group development environment.
In an embodiment of the application, a space resource amount corresponding to a developer identifier can be obtained, and a preparation space of the developer is created at a cloud terminal based on the space resource amount; and configuring the development environment in the preparation space based on the group development environment to obtain the configured preparation space as the development space so as to automatically and quickly create the development space.
In an embodiment of the application, the group development environment can be copied and stored in the preparation space, so that the development environment in the preparation space can be configured, the development space is obtained, when each developer logs in the development space, the development space configuration of each developer is the same, and the developer can change the development space configuration of the developer based on the group development environment according to the requirement of the developer.
In an embodiment of the application, a development tool corresponding to developer information can be acquired from a group development environment based on the developer information and copied to a preparation space to obtain a development space of the developer, and a development environment required by each developer is preset through a cloud server cluster of a group without installing any development-related object locally by the developer.
In an embodiment of the application, developer information corresponding to a developer identification may be obtained; based on the developer information, determining the resource amount occupied by the development space of the developer in the cloud service cluster, wherein the resource amount is used as the space resource amount corresponding to the developer identification, and the developer can only use the resources in the development space, so that the resource upper limit is set for the developer, and the developer is prevented from excessively using the resources. In one embodiment of the application, the developer information and the developer use record can be acquired each time the developer logs in, and the resources are re-allocated to the developer based on the developer information and the developer use record, so that the space resource amount of the developer is automatically adjusted, and the resource use is relatively reasonable.
In one embodiment of the present application, the resources in the development space may be determined based on the number of containers occupied by the development space, and the more the number of containers occupied by the development space is, the more the resources in the development space are.
In one embodiment of the present application, a container (Docker) may be managed using an orchestration management tool (kubernets, k8 s) of portable containers to enable tuning of the amount of space resources of a developer.
In one embodiment of the application, the resources in the development space can adopt persistence processing, and personal data loss caused by the fact that a developer exits from cluster crash is avoided. Specifically, the data in the development space can be stored in the hard disk, and even if the container is destroyed, the data can be restored according to the storage of the hard disk.
Still referring to fig. 2, in step S240, a development interface is generated based on the development space and transmitted to the developer so that the developer performs data processing using the development interface.
In one embodiment of the application, the development tool in the development space can be displayed in the development interface as a command, and the development tool can also be displayed in the development interface as a plug-in, so that a developer can use the development tool to perform data processing through the development interface, and the developer can perform software development through a browser.
In one embodiment of the present application, the data processed by the developer through the development interface may be code data input in the development interface by the developer or library code data pulled from a code library, and the processing on the data may be performing, compiling, checking, and the like on the code data. And the developer processes the data by using the development interface and the development space corresponding to the development interface so as to realize data processing by using the development interface.
In the embodiment of fig. 2, a group to which a developer belongs is determined by obtaining a developer identifier and based on the developer identifier; acquiring a preset group development environment in a cloud server cluster corresponding to a group; based on a group development environment, a cloud server cluster is used for creating a development space of a developer at the cloud end, so that the development space of the developer is automatically created based on a preset group development environment, and the group can centrally manage the development space in the group through the cloud server cluster; and then generating a development interface based on the development space, and sending the development interface to the developer so that the developer uses the development interface to perform data processing, the developer does not need to configure the development environment in the current development machine, and performs data processing in the automatically created development space through the development interface, thereby avoiding the step of manually configuring the development environment by the developer, and providing convenience for the remote office of the developer.
Fig. 3 schematically illustrates a developer use flow diagram according to an embodiment of the present application, in the embodiment of fig. 3, a developer can enter a development space through a development interface for data processing after performing identity authentication on the development interface, and the developer can directly perform development and deployment of a software development project in a browser without manually configuring an environment required for data processing.
In an embodiment of the application, after the development interface is sent to the developer, the data processing method of the application may further obtain code data input in the development interface by the developer; sending the code data to a development space; the code data is executed in the development space to be processed, and other necessary processing may be performed on the code data in the development space.
In an embodiment of the present application, the data processing method in fig. 2 may be executed based on WebIDE provided by a one-stop software development management collaboration platform (CODING) to generate a development interface, the WebIDE may be edited in a browser of a developer to synchronize code data to a remote development space in real time, and the code data is executed at a remote end instead of a local end, and by combining engineering with the WebIDE, the WebIDE is closer to the developer, and is ready to use when opening a box. Each team can personalize its development environment.
In one embodiment of the application, a link of an executor in a development space recorded in a development interface may be obtained; and sending the code data to an executor corresponding to the execution link so as to execute the code data through the executor.
In one embodiment of the present application, the actuator connection may be configured in a specification file (readme).
In one embodiment of the present application, the step of obtaining the code data input by the developer in the development interface may include: acquiring a project creating instruction of a developer; pushing a template corresponding to the type for the developer based on the type of the project creating instruction; if the fact that the developer edits the template is not detected, the template is used as code data; and if the template edited by the developer is detected, acquiring the template edited by the developer as code data.
In one embodiment of the present application, a development instruction, an issue instruction, a check instruction, and the like of the developer may also be acquired, and the template before or after editing by the developer may be processed as the code data according to the development instruction, the issue instruction, and the check instruction of the developer.
In one embodiment of the present application, front-end workflow (nonflow) may be used to acquire and process code data, specifically, the method can perform basic development functions such as software project creation, development and inspection through Front-end workflow, and can integrate various tools in a user-defined mode to achieve the purpose of unifying technology stacks and expand development basic capability. The front-end workflow can be operated as a development interface plug-in, and can also be used as a command line of a development interface, so that the development requirements of most people are met.
In an embodiment of the application, a code management tool may be used to obtain library code data, specifically, an open instruction of a development interface may be obtained, and if the open instruction carries code library information, a code library key (Secure Shell, SSH) corresponding to the code library information is obtained based on a developer identifier; based on the code library key, pulling library code data from a code library corresponding to the code library information; the code library data is displayed in a development interface for a developer to process the library code data using the development interface.
In an embodiment of the application, if a developer jumps from a certain code library to a development interface, an open instruction of the development interface carries code library information of the code library.
In an embodiment of the application, the code library information can be displayed in a command line of a development interface, and a data acquisition instruction can be sent to the code library through the development interface by clicking the code library information, wherein the code library information of the code library is carried in the data acquisition instruction; acquiring a code base key corresponding to the code base information based on the developer identification; based on the code library key, pulling library code data from a code library corresponding to the code library information; the library code data is displayed in a development interface so that a developer processes the library code data through the development interface.
In one embodiment of the present application, the code library information may include one or more of a code library address, a code library identification, and a code library name.
In an embodiment of the application, the code library may be a Git repository, the Git repository and the WebIDE are opened by opening the Git repository and the WebIDE, the key information of the developer is acquired by the identity authentication of the developer in Git, when the Git jumps to the development interface, the repository information and the developer key carried in the opening instruction of the development interface are opened by jumping, and the code is pulled in the background, so that the developer can directly jump to the development interface through the code repository to process data. The developer may also obtain the warehouse code in the command line of the development interface by directly opening the development interface.
In one embodiment of the present application, after the library code data is pulled from the code library, the library code data may be directly sent into the development space to process the library code data in the development space.
In an embodiment of the present application, the data processing method may further include: responding to a project integration instruction aiming at the group, and acquiring data processing results obtained respectively based on development spaces corresponding to each developer identifier in the group; and integrating the data processing results corresponding to the group to obtain the project development data of the group, thereby forming a complete development project.
In an embodiment of the application, a warehouse hook (git hooks) may be used in combination with an existing Continuous Integration (CI) tool and a Continuous Delivery (CD) tool to obtain a data processing result in a development space corresponding to a developer identifier included in a group, so that deployment of a software development project may be implemented, and requirements of the entire process on a local environment are greatly reduced.
Fig. 4 schematically shows a flowchart of a data processing method according to an embodiment of the present application, in the embodiment of fig. 4, after a developer performs identity authentication on a development interface, a WebIDE service cluster performs resource allocation, and then displays the development interface to a client by using a WebIDE, in a process that the developer performs data processing through the development interface, plug-ins configured in a development space, such as development, deployment, inspection, and the like, may provide development capability for the development interface, where in the process that the WebIDE service cluster performs resource allocation, resources may be regulated and controlled, and data in the development space may be subjected to persistence processing. Specifically, the regulating resource may include allocating a space resource amount of the development space, changing a development tool in the development space, and the like.
Embodiments of the apparatus of the present application are described below, which may be used to perform the data processing method in the above embodiments of the present application. For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the data processing method described above in the present application.
Fig. 5 schematically shows a block diagram of a data processing device according to an embodiment of the present application.
Referring to fig. 5, a data processing apparatus 500 according to an embodiment of the present application includes a first obtaining module 501, a second obtaining module 502, a creating module 503, and a sending module 504.
In some embodiments of the present application, based on the foregoing solution, the first obtaining module 501 is configured to obtain a developer identifier, and determine a group to which a developer belongs based on the developer identifier; the second obtaining module 502 is configured to obtain a group development environment preset in a cloud server cluster corresponding to the group; the creating module 503 is configured to create a development space of the developer in a cloud end by using the cloud server cluster based on the group development environment; the sending module 504 is configured to generate a development interface based on the development space and send the development interface to the developer, so that the developer performs data processing using the development interface.
In an embodiment of the present application, based on the above scheme, the creating module 503 is configured to: acquiring the space resource amount corresponding to the developer identification; creating a preparation space of a developer at the cloud based on the space resource amount; and configuring the development environment in the preparation space based on the group development environment, and obtaining the configured preparation space as the development space.
In an embodiment of the present application, based on the above scheme, the creating module 503 is configured to: acquiring developer information corresponding to the developer identification; and determining the resource amount occupied by the development space of the developer in the cloud service cluster based on the developer information, wherein the resource amount is used as the space resource amount corresponding to the developer identification.
In an embodiment of the present application, based on the above scheme, the data processing apparatus further includes: a processing module configured to: acquiring code data input by a developer in a development interface; sending the code data to a development space; the code data is executed in the development space to process the code data.
In an embodiment of the application, based on the above scheme, the processing module is further configured to: acquiring a link of an actuator in a development space recorded in a development interface; and sending the code data to an executor corresponding to the execution link so as to execute the code data through the executor.
In an embodiment of the application, based on the above scheme, the processing module is further configured to: acquiring a project creating instruction of a developer; pushing a template corresponding to the type for the developer based on the type of the project creating instruction; if the fact that the developer edits the template is not detected, the template is used as code data; and if the template edited by the developer is detected, acquiring the template edited by the developer as code data.
In an embodiment of the present application, based on the above scheme, the processing module is further configured to: acquiring an opening instruction of a development interface; if the opening instruction carries the code library information, acquiring a code library key corresponding to the code library information based on the developer identification; based on the code library key, pulling library code data from a code library corresponding to the code library information; the code library data is displayed in a development interface so that a developer processes the library code data using the development interface.
In an embodiment of the present application, based on the above scheme, the processing module is further configured to: sending a data acquisition instruction to the code base through a development interface, wherein the data acquisition instruction carries code base information of the code base; acquiring a code base key corresponding to the code base information based on the developer identification; based on the code base key, pulling the base code data from the code base; the library code data is displayed in a development interface so that a developer processes the library code data through the development interface.
In an embodiment of the present application, based on the above scheme, the processing module is further configured to: responding to a project integration instruction aiming at the group, and acquiring data processing results obtained respectively based on development spaces corresponding to each developer identifier in the group; and integrating the data processing results corresponding to the group to obtain the project development data of the group.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 60 according to this embodiment of the present application is described below with reference to fig. 6. The electronic device 60 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the electronic device 60 is in the form of a general purpose computing device. The components of the electronic device 60 may include, but are not limited to: the at least one processing unit 61, the at least one memory unit 62, a bus 63 connecting different system components (including the memory unit 62 and the processing unit 61), and a display unit 64.
Wherein the storage unit stores program code executable by the processing unit 61 to cause the processing unit 61 to perform the steps according to various exemplary embodiments of the present application described in the section "example methods" above in this specification.
The storage unit 62 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 621 and/or a cache memory unit 622, and may further include a read only memory unit (ROM) 623.
The storage unit 62 may also include a program/utility 624 having a set (at least one) of program modules 625, such program modules 625 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 63 may be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 60 may also communicate with one or more external devices (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 60, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 60 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 65. Also, the electronic device 60 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 66. As shown, network adapter 66 communicates with the other modules of electronic device 60 via bus 63. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 60, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present application.
According to an embodiment of the present application, there is also provided a computer-readable storage medium having a program product stored thereon, wherein the program product is capable of implementing the above-mentioned method of the present specification. In some possible embodiments, various aspects of the present application may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present application described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
According to one embodiment of the present application, a program product for implementing the above method may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present application, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A data processing method, comprising:
acquiring a developer identifier, and determining a group to which a developer belongs based on the developer identifier;
acquiring a preset group development environment in a cloud server cluster corresponding to the group;
creating a development space of the developer in a cloud end by using the cloud server cluster based on the group development environment;
and generating a development interface based on the development space, and sending the development interface to the developer so that the developer uses the development interface to process data.
2. The data processing method of claim 1, wherein the creating a development space of the developer in a cloud using the cloud server cluster based on the group development environment comprises:
acquiring the space resource amount corresponding to the developer identification;
creating a preparation space of the developer at a cloud based on the space resource amount;
and configuring the development environment in the preparation space based on the group development environment to obtain the configured preparation space as the development space.
3. The data processing method according to claim 2, wherein the obtaining of the amount of space resources corresponding to the developer identifier comprises:
acquiring developer information corresponding to the developer identification;
and determining the resource amount occupied by the development space of the developer in the cloud service cluster based on the developer information, wherein the resource amount is used as the space resource amount corresponding to the developer identification.
4. The data processing method of claim 1, wherein after sending the development interface to the developer, the method further comprises:
acquiring code data input by the developer in the development interface;
sending the code data into the development space;
executing the code data in the development space to process the code data.
5. The data processing method of claim 4, wherein after obtaining the code data entered by the developer in the development interface, the method further comprises:
acquiring links of actuators in the development space recorded in the development interface;
and sending the code data to an actuator corresponding to the execution link so as to execute the code data through the actuator.
6. The data processing method of claim 4, wherein the obtaining code data entered by the developer in the development interface comprises:
acquiring a project creating instruction of the developer;
pushing a template corresponding to the type for the developer based on the type of the project creating instruction;
if the developer is not detected to edit the template, taking the template as the code data;
and if the fact that the developer edits the template is detected, acquiring the template edited by the developer to serve as the code data.
7. The data processing method of claim 1, wherein after sending the development interface to the developer, the method further comprises:
acquiring an opening instruction of the development interface;
if the opening instruction carries code library information, acquiring a code library key corresponding to the code library information based on the developer identification;
based on the code library key, pulling library code data from a code library corresponding to the code library information;
displaying the code library data in the development interface to enable the developer to process the library code data using the development interface.
8. The data processing method of claim 1, wherein after sending the development interface to the developer, the method further comprises:
sending a data acquisition instruction to a code base through the development interface, wherein the data acquisition instruction carries code base information of the code base;
acquiring a code base key corresponding to the code base information based on the developer identification;
based on the code library key, pulling the library code data from the code library;
displaying the library code data in the development interface to enable the developer to process the library code data through the development interface.
9. The data processing method of claim 1, wherein the method further comprises:
responding to the project integration instruction aiming at the group, and acquiring data processing results obtained respectively based on development spaces corresponding to the identifiers of all developers in the group;
and integrating the data processing results corresponding to the group to obtain the project development data of the group.
10. A data processing apparatus, comprising:
the first acquisition module is configured to acquire a developer identifier and determine a group to which the developer belongs based on the developer identifier;
the second acquisition module is configured to acquire a group development environment preset in the cloud server cluster corresponding to the group;
a creating module configured to create a development space of the developer in a cloud using the cloud server cluster based on the group development environment;
and the sending module is configured to generate a development interface based on the development space and send the development interface to the developer so that the developer can use the development interface to perform data processing.
CN202110334890.XA 2021-03-29 2021-03-29 Data processing method and device Pending CN115145555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110334890.XA CN115145555A (en) 2021-03-29 2021-03-29 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110334890.XA CN115145555A (en) 2021-03-29 2021-03-29 Data processing method and device

Publications (1)

Publication Number Publication Date
CN115145555A true CN115145555A (en) 2022-10-04

Family

ID=83403348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110334890.XA Pending CN115145555A (en) 2021-03-29 2021-03-29 Data processing method and device

Country Status (1)

Country Link
CN (1) CN115145555A (en)

Similar Documents

Publication Publication Date Title
WO2022160707A1 (en) Human-machine interaction method and apparatus combined with rpa and ai, and storage medium and electronic device
US20180101371A1 (en) Deployment manager
US11762634B2 (en) Systems and methods for seamlessly integrating multiple products by using a common visual modeler
CN108304201B (en) Object updating method, device and equipment
CN103336705B (en) Automatic transcoding between script process and Workflow system and semantic self adaptation
US9912759B2 (en) Dynamically generating solution stacks
US11089000B1 (en) Automated source code log generation
CN103093034A (en) Product collaborative design method based on cloud computing
CN113094125B (en) Business process processing method, device, server and storage medium
CN115202729A (en) Container service-based mirror image generation method, device, equipment and medium
Bhattacharjee et al. A model-driven approach to automate the deployment and management of cloud services
CN115392501A (en) Data acquisition method and device, electronic equipment and storage medium
CN114912897A (en) Workflow execution method, workflow arrangement method and electronic equipment
CN114489954A (en) Tenant creation method based on virtualization platform, tenant access method and equipment
US8683425B2 (en) System for generating application architecture design work products
CN114546583A (en) Containerized computing environment
CN112256760A (en) Data prediction method and device, computer equipment and storage medium
CN108604226A (en) For the cross-platform system and method for keeping the comment to electronic document synchronous
US9787552B2 (en) Operation process creation program, operation process creation method, and information processing device
JP5915735B2 (en) Operation process creation program, operation process creation method, and information processing apparatus
CN115145555A (en) Data processing method and device
US10432700B2 (en) Conversation connected visualization of items based on a user created list
CN114066398A (en) Business model management method and device, storage medium and terminal equipment
US10606939B2 (en) Applying matching data transformation information based on a user's editing of data within a document
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium

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