CN114860247A - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114860247A
CN114860247A CN202210379246.9A CN202210379246A CN114860247A CN 114860247 A CN114860247 A CN 114860247A CN 202210379246 A CN202210379246 A CN 202210379246A CN 114860247 A CN114860247 A CN 114860247A
Authority
CN
China
Prior art keywords
target
data
program
information
code
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
CN202210379246.9A
Other languages
Chinese (zh)
Inventor
张勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210379246.9A priority Critical patent/CN114860247A/en
Publication of CN114860247A publication Critical patent/CN114860247A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • G06F9/548Object oriented; Remote method invocation [RMI]

Landscapes

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

Abstract

The disclosure provides a data processing method, a data processing device, data processing equipment and a storage medium, and relates to the technical field of data processing, in particular to the field of cloud computing. The specific implementation scheme is as follows: the method comprises the steps that a server receives configuration request information, wherein the configuration request information comprises first program version information of a target application program; the server acquires target configuration data associated with first program version information of the target application program; the server generates an object code product for the object application based on the object configuration data in an object development environment matched with the object application. Therefore, automatic generation of codes is realized at the server side, the labor cost is reduced, and the development efficiency is improved; meanwhile, the unification of the code style is effectively ensured.

Description

Data processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to the field of cloud computing.
Background
The existing demand configuration aiming at the application program is realized at a terminal side, namely, a data request, a data analysis, a data persistence process and the like are completed at the terminal side, and the process is realized by a developer through code compiling, so that the labor cost is high.
Disclosure of Invention
The disclosure provides a data processing method, a device, equipment and a storage medium.
According to an aspect of the present disclosure, there is provided a data processing method including:
the method comprises the steps that a server receives configuration request information, wherein the configuration request information comprises first program version information of a target application program;
the server acquires target configuration data associated with first program version information of the target application program;
the server generates an object code product for the object application based on the object configuration data in an object development environment matched with the object application.
According to another aspect of the present disclosure, there is provided a data processing apparatus including:
the information receiving unit is used for receiving configuration request information, and the configuration request information contains first program version information of a target application program;
a data acquisition unit configured to acquire target configuration data associated with first program version information of the target application program;
and the code generation unit is used for generating an object code product aiming at the object application program based on the object configuration data in an object development environment matched with the object application program.
According to still another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described above.
According to yet another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method described above.
According to yet another aspect of the disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method described above.
Therefore, the automatic generation of the codes can be realized at the server side, the labor cost is reduced, and the development efficiency is improved; meanwhile, the unification of the code style is effectively ensured.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram of development requirements for configuration data;
fig. 2 is a schematic diagram of a development flow of existing terminal-side configuration data;
FIG. 3 is a first schematic flow chart of an implementation of a data processing method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a second implementation flow of a data processing method according to an embodiment of the present disclosure;
FIG. 5 is a block diagram illustrating an embodiment of a data processing method according to the present disclosure;
FIG. 6 is a schematic flow chart diagram of a data processing method in one embodiment according to an embodiment of the present disclosure;
FIG. 7 is a flow diagram of interaction of a data processing method in a specific example according to an embodiment of the disclosure;
FIG. 8 is a first schematic diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 9 is a second block diagram of a data processing apparatus according to an embodiment of the present disclosure;
fig. 10 is a block diagram of an electronic device for implementing a data processing method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
For a clearer introduction of the present disclosure, the following terms are briefly introduced, specifically including:
configuration (Configuration) refers to a process flow, in software development or system implementation, encapsulating some data that may change into a structural entity, which implements function adjustment or control behavior without depending on software update or release, and the main feature of Configuration is that data can be directly updated without depending on a reissue program. The data encapsulated by the configuration flow may be referred to as configuration data.
In a software architecture, various types of configuration data may be required by client software. Typically, these configuration data are stored locally at the client after processing, for example, in a database or extensible markup language (XML) file. In a general operation type project, configuration requirements are maintained and updated without depending on release of a new version client, at this time, configuration related information is stored on a server, and corresponding personnel maintain and update the configuration related information.
An entity refers to an object or thing that exists objectively and can be distinguished from each other; in the context of a database, an entity often refers to a collection of something. For purposes of this disclosure, an entity refers to a class to which data belongs in a business.
Serialization (Serialization) is the process of converting state information of an object (or object data) into a form that can be stored or transmitted. During serialization, the object writes its current state to a temporary or persistent store. The object may be recreated by reading or deserializing the state information of the object from storage.
Deserialization is the reverse process of serialization, which refers to the process of reading the data of a storage area and recreating an object.
Persistence refers to the mechanism by which program data is transitioned between a persistent state and a transient state. Colloquially, it refers to the process of persisting (i.e., converting) transient data (e.g., data in memory that cannot be persisted) into persistent data (e.g., persisting into a database that can be persisted for a long time).
Generally, for the configuration class requirement of an operation type, a developer needs to perform data configuration on a visualization configuration platform, for example, the developer performs code development based on a data format of data to be configured, as shown in fig. 1, to complete entity construction, serialization processing, persistence processing, deserialization processing, and the like; for example, as shown in fig. 2, the terminal needs to set a request module, an analysis module, and a persistence module, and complete code development through the three modules; here, the request module is configured to initiate a request to a server, the server responds to the request, and returns difference data between configuration data corresponding to the current version information indicated by the request and historical configuration data, the terminal analyzes data returned by the server based on the analysis module, and manually writes a code to complete an entity structure, and then completes serialization processing, persistence processing, and the like by using the persistence module. In other words, the request module, the analysis module and the persistence module all need developers to write codes, so that the development cost is high, and moreover, since the configuration class is artificially written codes every time, the unification of the code style cannot be ensured.
Based on this, in order to improve the efficiency of configuration requirements, and improve the reliability of codes and the uniformity of code specifications, the present disclosure provides a data processing scheme that can be automatically implemented in the cloud, and can be applied to all requirements with high dynamic requirements, and is not limited to the development environment of application programs, such as an android system, an ios (iphone Operating system) system, and the like; and the terminal using the application program is not limited, such as a personal computer or a smart television.
Specifically, the present disclosure provides a data processing method, as shown in fig. 3, including:
step S301: the server receives configuration request information, wherein the configuration request information comprises first program version information of a target application program.
The target application program in the scheme of the disclosure can be a computer program for completing a certain function, can interact with a user, and has a visual user interface and the like; in practical applications, the target application program according to the present disclosure may be a computer program corresponding to one or more functional components in application software, or may be all computer programs for implementing the application software, and the present disclosure is not limited thereto.
Step S302: the server obtains target configuration data associated with first program version information of the target application program.
It is to be understood that the target configuration data according to the present disclosure is data encapsulated by the configuration process described above, and the present disclosure does not limit the data type of the target configuration data.
Step S303: the server generates an object code product for the object application based on the object configuration data in an object development environment matched with the object application.
It can be understood that the present disclosure does not limit the type of the specific server, for example, the server described in the present disclosure may be specifically a cloud server or the like. Likewise, the subject application is not particularly limited by the disclosed aspects.
In a specific example, the configuration request information is generated by the terminal side, for example, the terminal side needs to perform configuration processing on the target application. At this time, the terminal may initiate configuration request information to the server side, and the server side automatically generates a code (i.e., a target code product) required by the current configuration requirement.
Therefore, the server side realizes automatic generation of codes, reduces labor cost and improves development efficiency; moreover, the code is automatically generated, and manual intervention is not needed, so that the unification of the code style can be effectively ensured, the code standardization is ensured, and a foundation is laid for improving the code robustness and the fault tolerance.
In a specific example of the present disclosure, the configuration request information further includes a type characteristic of the target application; the method further comprises the following steps:
creating the target development environment matching the type characteristics of the target application.
That is, in a specific example, as shown in fig. 4, the method includes:
step S401: the server receives configuration request information, wherein the configuration request information comprises first program version information of a target application program.
Step S402: the server obtains target configuration data associated with first program version information of the target application program.
Step S403: the server creates the target development environment matching the type characteristics of the target application.
For example, the type feature may be specifically a type of the target application program, a product line corresponding to the target application program, and the like, for example, the type feature may indicate that the target application program is instant messaging software supporting an android system, and the like.
It is understood that the execution order of step S402 and step S403 may be exchanged, and the disclosure is not limited thereto.
Step S404: the server generates an object code product for the object application based on the object configuration data in an object development environment matched with the object application.
In this way, the scheme of the present disclosure can determine the target development environment of the target application program through the type characteristics of the target application program, that is, the scheme of the present disclosure fully considers the development environment required by the application program, and promotes the practicability of the automatically generated target code product. And further lays a foundation for further reducing the labor cost, improving the development efficiency and improving the fault tolerance and the robustness of the automatically generated code.
In a specific example of the present disclosure, the following manner may be adopted to obtain the target code product, specifically, the generating the target code product for the target application based on the target configuration data in the target development environment matched with the target application as described above specifically includes:
generating code data for the target application based on the target configuration data in a target development environment matched with the target application; and carrying out preset processing on the generated code data to obtain a target code product. That is, the target code product is data obtained by processing the generated code data.
In practical application, a preset code template can be preset, so that in a target development environment matched with the target application program, the preset code template is used, code data for the target application program are generated based on the target configuration data, and the generated code data are compressed and packaged to obtain a target code product.
Therefore, a specific mode for obtaining the target code product is provided, the mode is simple and feasible, the generation mode of the existing code product is fully compatible, and a foundation is laid for large-scale engineering application of the scheme.
Moreover, because the automatic generation of the codes is realized in the server, the labor cost is reduced, and the development efficiency is improved; moreover, the code is automatically generated, and manual intervention is not needed, so that the unification of the code style can be effectively ensured, the code standardization is ensured, and a foundation is laid for improving the code robustness and the fault tolerance.
In a specific example of the scheme disclosed by the disclosure, after a target code product is obtained, renaming is performed on the target code product based on a preset naming rule, so that version information and the product correspond to each other one by one, and support is provided for subsequent development iteration, error positioning and the like. Specifically, generating version information of the target code product; for example, based on a preset naming rule, version information of a target code product is generated, and the version information of the target code product is used as second program version information of the target application program. That is, the generated version information of the target code product is the latest version information of the target application program.
Therefore, the information maintenance process of development iteration is standardized, convenience is provided for subsequent development, and a foundation is laid for improving the development efficiency.
In a specific example of the present disclosure, after determining the latest program version information (i.e., the second program version information) of the target application program, the server transmits the second program version information of the target application program. For example, the server sends the second program version information of the target application program to the terminal initiating the configuration request information, so that the terminal can perform subsequent development processing based on the second program version information of the target application program.
Therefore, in the whole automatic code generation process of the scheme, a developer does not need to write codes at the terminal, and a target code product can be obtained.
In a specific example of the disclosure, the server generates a prompt message when determining that the preset abnormal information exists; here, the preset exception information at least indicates that the data type of the configuration data used by the target code product does not match the data type of the target configuration data. For example, in order to further improve the intelligence, the server may further analyze the target code product, for example, set a timing task, and when the timing task is started, compare the data type of the configuration data in the generated target code product with the data type of the acquired target configuration data, and determine whether the data types of the two are consistent; if the target code is consistent with the target code, the generated target code product is considered to be normal; otherwise, the generated target code product is considered to have errors, at the moment, the server generates prompt information and sends the prompt information in a mail mode to remind corresponding developers.
Here, the prompt information may specifically be preset prompt content, or include difference information between a data type of configuration data used by the target code product and a data type of the target configuration data, and the like.
Therefore, automatic testing can be realized without the participation of testers, the reliability of target code products is ensured, and a foundation is further laid for improving the development efficiency.
Therefore, the automatic generation of the codes can be realized at the server side, the labor cost is reduced, and the development efficiency is improved; moreover, the code is automatically generated, and manual intervention is not needed, so that the unification of the code style can be effectively ensured, the code standardization is ensured, and a foundation is laid for improving the code robustness and the fault tolerance.
The following describes the present disclosure in further detail with reference to the panoramic architecture diagram shown in fig. 5, and as shown in fig. 5, the present disclosure relates to a database side, a configuration service side, and a terminal side; the data warehouse side and the configuration service side can be realized on a cloud server; it can be understood that the database side and the configuration service side may be located in the same cloud server or in different cloud servers, and the present disclosure is not limited thereto.
The terminal is internally integrated with an adaptation layer, a preset script is arranged in the adaptation layer, and processing such as request Identification (ID) construction, file operation, configuration request and product pulling can be realized through the preset script. Moreover, the development environment of the terminal can be an android (android) system, an iOS system, or the like; alternatively, the terminal may be a mobile terminal, a Personal Computer (PC), a smart Television (TV), or the like. Specifically, when the configuration class needs to be run, the following steps are automatically executed only by triggering the preset script: reading current program version information (namely first program version information) of a target application program to be processed and type characteristics of a terminal, constructing a request Identifier (ID) according to an Internet Protocol (IP) address and a current timestamp of the terminal, generating configuration request information, and sending the configuration request information to a configuration service side, wherein the configuration request information comprises the current program version information of the target application program.
Correspondingly, the configuration service side can perform template management (for example, managing a preset code template), code generation, product construction, product analysis, flow control and the like besides basic capability (for example, log, automatic test, message synchronization and persistence processing); specifically, after receiving the configuration request information, the configuration service side obtains, based on type features of the target application (for example, a product line corresponding to the target application, for example, based on the type features, that may determine that the target application is a timely communication software supporting an android system, etc.), full configuration data (that is, target configuration data) that matches both the type features of the target application and the first program version information, and determines a target development environment that matches the type features of the target application; in the target development environment, automatically generating codes based on the full configuration data, and compressing and packaging all the generated codes to obtain a target code product; meanwhile, based on a naming rule, the target code product is renamed to obtain the latest program version information (i.e., the second program version information) of the target code product, and the target code product is sent to a maven (maiden) warehouse (not shown in fig. 5) in the configuration service side. The configuration service sends the program version information (i.e., the second program version information) of the target code product to the adaptation layer
Here, it is understood that the configuration service is provided with a preset code template, so that a code can be automatically generated based on the preset code template.
Correspondingly, after the configuration service side automatically generates the target code product, the adaptation layer acquires the latest program version information (namely, second program version information) of the target code product and modifies the current program version information (namely, first program version information) of the adaptation layer, for example, the second program version information replaces the original first program version information to complete version updating; further, the adaptation layer may also pull (i.e., download) a target code product corresponding to the latest program version information through a maven repository, so as to facilitate maintenance and development by developers.
At this time, it can be understood that the target code product pulled by the adaptation layer is automatically generated by the configuration service side, so that on one hand, the development cost can be solved, and on the other hand, the uniformity of the code style is ensured.
It is understood that, in practical applications, different program version information may correspond to different configuration requirements, and the present disclosure is not limited thereto.
In practical application, in order to further improve the intelligence, the configuration service may further analyze the target code product, for example, set a timing task, when the timing task is started, compare configuration data in the generated target code product with the acquired full configuration data, determine whether data types of the configuration data and the full configuration data are consistent, and if so, consider that the generated target code product is normal; otherwise, the generated target code product is considered to have errors, and at the moment, a message notification function is called to send an email to remind corresponding developers.
And the data warehouse side can be used for storing configured data through the visual configuration platform.
Further, a detailed description is given to a specific interaction flow of the scheme of the present disclosure with reference to fig. 6 and fig. 7, which includes:
step 1: executing the script; namely, when the configuration requirement exists, the preset script is operated.
Step 2: the type characteristics of the current terminal and the current program version (i.e. the first program version information) of the target application program are read.
And step 3: and constructing a request ID according to the IP address of the terminal and the current timestamp, and generating configuration request information.
And 4, step 4: the terminal sends configuration request information to the configuration service.
Here, steps 1 to 4 are the whole process triggered after running the preset script; in practical application, the process can be completed in about 10 seconds.
And 5: after receiving the configuration request information, the configuration service side analyzes the configuration request information to obtain the current version information (i.e. the first program version information) of the target application program.
In practical application, the configuration service side also judges whether concurrent requests exist (namely whether a plurality of configuration request information exist) at the same time, if so, the configuration service enters a concurrent control flow, for example, the configuration service responds to each configuration request information based on a preset rule to generate a target code product matched with each configuration request information; if not, judging whether a code product of the latest version corresponding to the target application program exists locally, if so, directly returning, and automatically generating the code again is not needed.
Step 6: the configuration service requests the data warehouse to acquire the full configuration data matched with the current version information and the type characteristics of the target application program.
And 7: the configuration service receives a full amount of configuration data sent by the data warehouse.
And 8: the configuration service selects a development template to create a project (i.e., create a target development environment) based on the type characteristics of the target application.
And step 9: the configuration service is under the project and generates code based on the full configuration data.
Step 10: the configuration service constructs a code product, namely an object code product, based on the generated code, and names the object code product according to a naming rule to obtain the latest program version information (namely second program version information) of the object code product, so that the uniqueness is ensured. And then, pushing to a maven warehouse.
In practical application, the project is deleted after the whole process is executed, and resources are released.
Step 11: the configuration service sends the latest program version information of the object code product to the terminal.
Step 12: and the terminal updates the version information of the target application program, for example, takes the latest program version information of the target code product as the latest version information of the target application program, and downloads the target code product.
In practical application, the configuration service may further analyze the target code product, for example, to obtain difference information between the target code product and the code product of the previous version of the target application program, and send the difference information to the terminal, so that a developer can conveniently check the difference information.
Further, the configuration service may also perform an automated test, for example, read the data type of the configuration data of the current target code product, compare the data type of the configuration data of the target code product with the data type of the target configuration data, and generate a prompt message to prompt a developer if the data types are determined to be different.
Thus, for the terminal configuration requirement, the development cost can be greatly reduced, for example, the configuration requirement can be reduced to within a few minutes from about 0.5 day. Moreover, under the condition that a tester is not required to perform testing, the reliability of a target code product is guaranteed, meanwhile, the unification of the code style is effectively guaranteed, the code standardization is guaranteed, and then a foundation is laid for improving the code robustness and fault tolerance.
The present disclosure also provides a data processing apparatus, as shown in fig. 8, including:
an information receiving unit 801, configured to receive configuration request information, where the configuration request information includes first program version information of a target application program;
a data acquisition unit 802 configured to acquire target configuration data associated with first program version information of the target application program;
a code generating unit 803, configured to generate an object code product for the target application based on the object configuration data in an object development environment matching the target application.
In a specific example of the present disclosure, the configuration request information further includes a type characteristic of the target application;
the code generation unit is also used for creating the target development environment matched with the type characteristics of the target application program.
In a specific example of the present disclosure, the code generating unit is specifically configured to generate, in a target development environment matched with the target application, code data for the target application based on the target configuration data; and carrying out preset processing on the generated code data to obtain a target code product.
In a specific example of the present disclosure, as shown in fig. 9, the method further includes:
a version information processing unit 901 for generating version information of the target code product; and taking the version information of the target code product as second program version information of the target application program.
In a specific example of the present disclosure, as shown in fig. 9, the method further includes:
an information sending unit 902, configured to send second program version information of the target application program.
In a specific example of the present disclosure, as shown in fig. 9, the method further includes:
a prompt information processing unit 903, configured to generate prompt information when it is determined that preset abnormal information exists;
the preset abnormal information at least represents that the data type of the configuration data used by the target code product is not matched with the data type of the target configuration data.
The specific functions of the units in the above device can be described with reference to the above method, and are not described again here.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 10 illustrates a schematic block diagram of an example electronic device 1000 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 10, the apparatus 1000 includes a computing unit 1001 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)1002 or a computer program loaded from a storage unit 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for the operation of the device 1000 can also be stored. The calculation unit 1001, the ROM 1002, and the RAM 1003 are connected to each other by a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
A number of components in device 1000 are connected to I/O interface 1005, including: an input unit 1006 such as a keyboard, a mouse, and the like; an output unit 1007 such as various types of displays, speakers, and the like; a storage unit 1008 such as a magnetic disk, an optical disk, or the like; and a communication unit 1009 such as a network card, a modem, a wireless communication transceiver, or the like. The communication unit 1009 allows the device 1000 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
Computing unit 1001 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 1001 executes the respective methods and processes described above, such as the data processing method. For example, in some embodiments, the data processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 1008. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 1000 via ROM 1002 and/or communications unit 1009. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to perform the data processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A method of data processing, comprising:
the method comprises the steps that a server receives configuration request information, wherein the configuration request information comprises first program version information of a target application program;
the server acquires target configuration data associated with first program version information of the target application program;
the server generates an object code product for the object application based on the object configuration data in an object development environment matched with the object application.
2. The method of claim 1, wherein the configuration request information further includes a type characteristic of the target application; the method further comprises the following steps:
creating the target development environment matching the type characteristics of the target application.
3. The method of claim 1 or 2, wherein the generating, in a target development environment matched to the target application, a target code product for the target application based on the target configuration data comprises:
generating code data for the target application based on the target configuration data in a target development environment matched with the target application;
and carrying out preset processing on the generated code data to obtain a target code product.
4. The method of any of claims 1 to 3, further comprising:
generating version information of the target code product;
and taking the version information of the target code product as second program version information of the target application program.
5. The method of claim 4, further comprising:
and sending second program version information of the target application program.
6. The method of any of claims 1 to 5, further comprising:
generating prompt information under the condition that the preset abnormal information is determined to exist;
the preset abnormal information at least represents that the data type of the configuration data used by the target code product is not matched with the data type of the target configuration data.
7. A data processing apparatus comprising:
the information receiving unit is used for receiving configuration request information, and the configuration request information contains first program version information of a target application program;
a data acquisition unit configured to acquire target configuration data associated with first program version information of the target application program;
and the code generation unit is used for generating an object code product aiming at the object application program based on the object configuration data in an object development environment matched with the object application program.
8. The apparatus of claim 7, wherein the configuration request information further includes a type characteristic of the target application;
the code generation unit is also used for creating the target development environment matched with the type characteristics of the target application program.
9. The apparatus according to claim 7 or 8, wherein the code generation unit is specifically configured to generate code data for the target application based on the target configuration data in a target development environment matching the target application; and carrying out preset processing on the generated code data to obtain a target code product.
10. The apparatus of any of claims 7 to 9, further comprising:
the version information processing unit is used for generating the version information of the target code product; and taking the version information of the target code product as second program version information of the target application program.
11. The apparatus of claim 10, further comprising:
and the information sending unit is used for sending second program version information of the target application program.
12. The apparatus of any of claims 7 to 11, further comprising:
the prompt information processing unit is used for generating prompt information under the condition that the preset abnormal information is determined to exist;
the preset abnormal information at least represents that the data type of the configuration data used by the target code product is not matched with the data type of the target configuration data.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
15. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-6.
CN202210379246.9A 2022-04-06 2022-04-06 Data processing method, device, equipment and storage medium Pending CN114860247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210379246.9A CN114860247A (en) 2022-04-06 2022-04-06 Data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210379246.9A CN114860247A (en) 2022-04-06 2022-04-06 Data processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114860247A true CN114860247A (en) 2022-08-05

Family

ID=82630006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210379246.9A Pending CN114860247A (en) 2022-04-06 2022-04-06 Data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114860247A (en)

Similar Documents

Publication Publication Date Title
CN109684188B (en) Test method and device
CN109299124B (en) Method and apparatus for updating a model
CN113468067B (en) Application program debugging method and device, electronic equipment and computer readable medium
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN114430366A (en) Information acquisition application issuing method, related device and computer program product
CN113296796A (en) Project release method, device, system, storage medium and electronic equipment
CN112597134A (en) Configuration method and device of distributed configuration center, electronic equipment and medium
CN114860247A (en) Data processing method, device, equipment and storage medium
CN115599438A (en) Method, device, equipment and medium for constructing application program publishing package
CN114116487A (en) Pressure testing method and device, electronic equipment and storage medium
CN110750424B (en) Resource inspection method and device
CN114579175A (en) Method and device for converting public cloud operator into privatization, electronic equipment and medium
CN114218313A (en) Data management method, device, electronic equipment, storage medium and product
CN113434382A (en) Database performance monitoring method and device, electronic equipment and computer readable medium
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN112948195A (en) Interface testing method and device, electronic equipment and storage medium
CN112084114A (en) Method and apparatus for testing an interface
CN112084115A (en) Software defect flow operation method and device
CN113835893B (en) Data processing method, device, equipment, storage medium and program product
US20240264818A1 (en) Systems and methods for synchronizing a user application on a remote device with a server application on a server
CN115469882A (en) Software project management method and device, electronic equipment and storage medium
CN117290342A (en) Distributed database version information management method, device, electronic equipment and medium
CN118626320A (en) Test method, device, equipment, medium and product
CN116010260A (en) Code coverage rate acquisition method, device and equipment
CN114238149A (en) Batch testing method of accounting system, electronic device 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