CN111984305B - Application configuration method and device and computer equipment - Google Patents

Application configuration method and device and computer equipment Download PDF

Info

Publication number
CN111984305B
CN111984305B CN202010847351.1A CN202010847351A CN111984305B CN 111984305 B CN111984305 B CN 111984305B CN 202010847351 A CN202010847351 A CN 202010847351A CN 111984305 B CN111984305 B CN 111984305B
Authority
CN
China
Prior art keywords
data
application
definition
format
client
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.)
Active
Application number
CN202010847351.1A
Other languages
Chinese (zh)
Other versions
CN111984305A (en
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 Shanghai Co Ltd
Original Assignee
Tencent Technology Shanghai 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 Shanghai Co Ltd filed Critical Tencent Technology Shanghai Co Ltd
Priority to CN202010847351.1A priority Critical patent/CN111984305B/en
Publication of CN111984305A publication Critical patent/CN111984305A/en
Application granted granted Critical
Publication of CN111984305B publication Critical patent/CN111984305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/69Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by enabling or updating specific game elements, e.g. unlocking hidden features, items, levels or versions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application development terminal in the method does not directly maintain and configure an application server or an application client, but provides an independent intermediate device, the device automatically converts object data provided by an application developer into full data comprising the object data in a corresponding format of the application server and the object data in a corresponding format of the application client according to the application server and the application client, and then sends corresponding parts in the full data to the application server or the application client.

Description

Application configuration method and device and computer equipment
Technical Field
The application relates to the field of application maintenance, in particular to an application configuration method and device and computer equipment.
Background
With the development of cloud technology, various applications based on cloud technology, such as game applications and instant messaging applications, have been increasingly scaled up, and the number of users, online time, application programs and data complexity of game players or software users have become higher.
In order to ensure high availability and user viscosity of an application, application developers need to perform various maintenance configurations such as adding, deleting and modifying object data of objects in the application (e.g., virtual characters in a game application, virtual objects in an instant messaging application, etc.) during application pre-research, development, testing and online operation.
In practical application, the application server and the application client are often built by using different development environments, for example, the object data in the server is in bin format, the object data in the client is in Json format, and because the object data in the application server and the application client need to be kept consistent, the application developer needs to configure the object data in different formats for the application server and the application client respectively, and the application development efficiency is low.
Content of the application
The embodiment of the application provides an application configuration method, an application configuration device and computer equipment, which at least solve the technical problem that an existing application developer needs to configure the same data in different formats for an application server and an application client respectively.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
the embodiment of the application provides an application configuration method, which is applied to an application development terminal, and comprises the following steps:
receiving a configuration maintenance request, wherein the configuration maintenance request is used for configuring object data of an object in an application;
displaying an object configuration window of a first data format according to the data configuration parameters;
acquiring object data in a first data format based on the object configuration window;
generating full data of the object data according to the object data in the first data format, wherein the full data comprises the object data in a second data format corresponding to an application server and the object data in a third data format corresponding to an application client;
sending the object data in the second data format to an application server so that the application server performs object parameter updating based on the object data in the second data format;
and sending the object data in the third data format to an application client so that the application client updates object parameters based on the object data in the third data format.
The embodiment of the application provides an application configuration device, which is applied to an application development terminal, and comprises:
the receiving module is used for receiving a configuration maintenance request, wherein the configuration maintenance request is used for configuring object data of an object in an application;
the display module is used for displaying an object configuration window in a first data format according to the data configuration parameters;
the acquisition module is used for acquiring object data in a first data format based on the object configuration window;
the conversion module is used for generating full data of the object data according to the object data in the first data format, wherein the full data comprises the object data in the second data format corresponding to the application server and the object data in the third data format corresponding to the application client;
the server communication module is used for sending the object data in the second data format to an application server so that the application server can update object parameters based on the object data in the second data format;
and the client communication module is used for sending the object data in the third data format to an application client so that the application client can update the object parameters based on the object data in the third data format.
Embodiments of the present application provide a computer device comprising a processor and a memory storing a plurality of instructions adapted to be loaded by the processor to perform the steps of the above-described method.
Embodiments of the present application provide a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the above-described method.
Embodiments of the present application provide 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, so that the computer device performs the steps of the above-described method.
The embodiment of the application provides an application configuration method, an application configuration device and computer equipment, wherein after receiving a configuration maintenance request, an application development terminal displays an object configuration window of a first data format according to data configuration parameters, obtains object data of the first data format based on the object configuration window, generates full data of the object data according to the object data of the first data format, wherein the full data comprises object data of a second data format corresponding to an application server and object data of a third data format corresponding to an application client, and then sends the object data of the second data format to the application server so that the application server can update object parameters based on the object data of the second data format, and sends the object data of the third data format to the application client so that the application client can update object parameters based on the object data of the third data format; because the application development terminal in the application development terminal does not directly maintain and configure an application server or an application client, the device automatically converts object data provided by an application developer into full data comprising the object data in a corresponding format of the application server and the object data in a corresponding format of the application client according to the application server and the application client, and then sends the corresponding part of the full data to the application server or the application client, the application developer is not required to repeatedly configure the same data in different formats, the development difficulty of the application developer is reduced, the application development efficiency is improved, meanwhile, the object configuration window in the first data format can be a format window which can be edited by a common user, such as a window in a form xlsx format, so that the common user can participate in application development test, the development efficiency is quickened, and the technical problem that the existing application developer needs to configure the same data in different formats respectively for the application server and the application client is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a networking schematic diagram of an application system provided in an embodiment of the present application.
Fig. 2 is a first flowchart of an application configuration method provided in an embodiment of the present application.
Fig. 3 is a second flowchart of an application configuration method according to an embodiment of the present application.
Fig. 4 is a third flowchart of an application configuration method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an application configuration device provided in an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Fig. 7a to 7c are schematic views of interfaces provided in embodiments of the present application.
Fig. 8a to 8e are schematic views of a gear shifting tool and a gear shifting process according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In this embodiment of the present application, the object in the application may be all virtual objects in the application that can edit parameters, for example, virtual game characters, virtual objects in a game scene, and the like, and the object data of the object may be some presentation data, interaction data, and the like related to the object, for example, display data displayed in red, and various interaction data, such as whether the display data can be destroyed, character blood volume, attack force, and the like. The data definition data may be definition data that specifies which object data types the object includes, and may be, for example, interactive data definition data that defines the object data types of the character including a defensive value, blood volume, character identification, and the like. The rule definition data may be some data specifying application rules, such as injury rule definition data defining the proportion of cancellation between attack forces and defenses. The custom data may refer to definition data that has no association with objects, for example, definition data that may define that the blood upper limit of all virtual characters cannot exceed 1000, etc., and that may be effective for all objects of a certain type within an application after the death of a character, etc.
In this embodiment of the present application, the application development terminal is different from the working environment of the application server/application client, for example, the application development terminal may be a windows system generally, the working environment of the application server may be a red flag linux system, the working environment of the application client may be an android system or a hong-and-mong system, and the different working environments may cause the storage and the operation formats of the object data, the definition data or the custom data to be different, which will be described in detail in a specific scenario below.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of an application system provided in an embodiment of the present application, where the system may include a user side device and a service side device, and the user side device and the service side device are connected by means of an internet formed by various gateways, and are not described in detail, where the user side device includes a plurality of terminals 11, and the service side device includes a plurality of servers 12; wherein:
the terminal 11 includes, but is not limited to, portable terminals such as mobile phones and tablet computers, and fixed terminals such as computers, inquiry machines and advertisement machines, and is a service port that can be used and operated by a user, in this application, the terminal provides the user with a working scenario of various functional clients (i.e. application clients in the above) such as games and chat; for convenience of the following description, the terminal 11 is defined as an application development terminal 11a and a user terminal 11b, where the application development terminal 11a (i.e., the application development terminal in the present application) is used for a user such as an application developer to perform configuration of data such as configuration, data definition, and rule definition of object data, and the user terminal 11b is installed with various application clients for the user to implement services corresponding to the application clients;
the server 12 provides various business services or service support for users, including a business server 12a, an interface server 12b, etc., wherein the business server 12a is used for providing various services such as games, instant messaging services, etc., and the interface server 12b is used for providing data forwarding services, data support for other services, etc.
In the present application, when configuration maintenance needs to be performed on corresponding object data in an application, for example, when an application developer considers that an attack force of a hero character in a game is too high according to user reflection, the application developer may perform configuration maintenance on an attack force value in the hero object data, at this time, the application developer uses an application development terminal 11a to perform configuration on object data in a first data format, the application development terminal 11a generates full data of the object data according to the object data in the first data format, where the full data includes object data in a second data format corresponding to an application server and object data in a third data format corresponding to an application client, and then sends the object data in the second data format to the application server through an interface server, so that the application server performs object parameter update based on the object data in the second data format, and sends the object data in the third data format to the application client through the interface server, so that the application client performs object parameter update based on the object data in the third data format.
In the application, when configuration maintenance such as new addition, deletion, modification and the like is required to be performed on some rules in an application, for example, when an application developer considers that the attack force and the defense force of a certain game are unreasonable according to user reflection, for example, when the attack force and the defense force counteracting proportion of a current game is 1:1, the user generally reflects that the attack force is greatly increased to cause the character to drop blood, the attack force and the defense force counteracting proportion of the game can be adjusted to be 1.5:1, at this time, configuration maintenance can be performed on the injury rules in the game, at this time, the application developer uses the application development terminal 11a to perform configuration of rule definition data in a fourth data format, and the application development terminal 11a converts the definition data in the fourth data format into general definition data in a cross-platform data format; transmitting the general definition data to an application server through an interface server, so that the application server generates definition data under a corresponding system based on the general definition data and generates cross detection data for detecting the validity of object data according to at least one of the definition data and the custom data; and sending the general definition data to an application client through an interface server, so that the application client generates definition data under a corresponding system based on the general definition data.
In the present application, when configuration maintenance needs to be performed on the type and the like of the object data of the object in the application, for example, when the application developer considers that different speeds need to be set for different heros according to user reflection, the configuration maintenance may be performed on the data type of the object data of the object in the game, at this time, the application developer uses the application development terminal 11a to perform configuration of the data definition data in the fourth data format, and the application development terminal 11a converts the definition data in the fourth data format into general definition data in the cross-platform data format; transmitting the general definition data to an application server through an interface server, so that the application server generates definition data under a corresponding system based on the general definition data and generates cross detection data for detecting the validity of object data according to at least one of the definition data and the custom data; and sending the general definition data to an application client through an interface server, so that the application client generates definition data under a corresponding system based on the general definition data.
It should be noted that, the schematic system scenario shown in fig. 1 is only an example, and the servers and the scenarios described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application, and those skilled in the art can know that, with the evolution of the system and the appearance of a new service scenario, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
Fig. 2 is a first flowchart of an application configuration method provided in an embodiment of the present application, please refer to fig. 2, the application configuration method includes the following steps:
201: a configuration maintenance request is received.
In one embodiment, the configuration maintenance request is used to configure object data of an object within an application; for example, the application development terminal presents a user interface as shown in fig. 7a to the application developer, where the user interface includes an object data configuration control S1 and a data definition/rule definition configuration control S2, and when the developer clicks the object data configuration control S1, the application development terminal determines that a configuration maintenance request is received, and at this time, the application developer needs to configure object data of an object in the application.
202: and displaying an object configuration window in the first data format according to the data configuration parameters.
In one embodiment, the data configuration parameters may be directly configured by the data definition data, for example, at a certain moment, the content of the data definition data of the game is that the hero-defining object data includes hero identification, blood volume, attack force and defense force, and then an object configuration window is shown at this moment, and the configuration items in the configuration window are implemented based on the table xlsx format, that is, the first data format is xlsx format.
203: and acquiring object data in a first data format based on the object configuration window.
In one embodiment, the developer completes the data configuration in the window shown in fig. 7b, and at this time, the application development terminal obtains the object data of hero 1 in the first data format based on the object configuration window: hero 1, blood volume 60, aggression 80, defensive power 12.
204: and generating full data of the object data according to the object data in the first data format.
In one embodiment, the full-size data includes object data in a second data format corresponding to the application server, and object data in a third data format corresponding to the application client, such as object data (suffix. Bin) of protobuf serialization data corresponding to the application server, and object data (suffix. Json) in json data format corresponding to the application client.
In one embodiment, the step includes: converting the object data in the first data format into structured data under the operating system corresponding to the application development terminal; converting the structured data into object data in the second data format according to the configuration data format of the application server under the corresponding operating system; and converting the structured data into object data in the third data format according to the configuration data format of the application client corresponding to the operating system. For example, the data local to the application development terminal is binary data, and this step includes: the method comprises the steps of converting object data (hero 1, blood volume 60, attack force 80 and defense force 12) in an xlsx format into local binary data, then distributing handles for the local binary data in a container, taking the local binary data as a managed object, sealing the local binary data into the managed object, performing type conversion on the local binary data in the managed object, releasing the handles after converting the local binary data into structure type data, obtaining structured data corresponding to an operating system of an application development terminal, compiling the structured data according to the requirement of an application server and an application client on the data, obtaining object data in a second data format corresponding to the application server and object data in a third data format corresponding to the application client, and the detailed description of the object data in the third data format is provided below with reference to the accompanying drawings.
In an embodiment, when there are multiple application development terminals, corresponding to the situation that there will be multiple application developers performing configuration maintenance on data definitions and rule definitions by using different terminals, in order to make the object data of the current terminal conform to the definitions of all the developers, the embodiment of the present application further introduces a mechanism of cross detection, where this step further includes, after the step of converting the object data in the first data format into structured data under the operating system corresponding to the application development terminal: acquiring cross detection data, wherein the cross detection data comprises executable data generated by the application server according to rule definition data, data definition data and custom data; running the cross detection data to detect the structured data under the operating system corresponding to the application development terminal; if the detection is passed, executing the conversion step corresponding to the object data in the second data format and the object data in the third data format; if the detection is not passed, the developer is reminded that the data definition or the rule definition has update, and the configuration of the object data needs to be carried out again.
205: and sending the object data in the second data format to an application server so that the application server performs object parameter updating based on the object data in the second data format.
The step involves the sending of object data, which may be actively requested by an application server or may be pushed periodically or in real time by a development terminal, and in one embodiment, the step includes: when the pushing condition is met, for example, the pushing condition is real-time pushing, then the pushing condition is met after new object data are generated, and the object data in the second data format are sent to the application server according to the pre-stored communication address of the application server; or after receiving the server object data change acquisition request sent by the application server, sending the object data in the second data format to the application server based on a request response corresponding to the server object data change acquisition request.
206: and sending the object data in the third data format to an application client so that the application client updates object parameters based on the object data in the third data format.
The step involves the sending of object data, which may be actively requested by an application client or may be pushed periodically or in real time by a development terminal, and in one embodiment, the step includes: when the pushing condition is met, according to the pre-stored communication address of the application client, sending the object data in the third data format to the application client; or after receiving the client object data change acquisition request sent by the application client, sending the object data in the third data format to the application client based on a request response corresponding to the client object data change acquisition request.
The above steps complete the configuration maintenance of the object data, which occupies a large proportion in the actual application development maintenance, but there are also some scenes in which the configuration maintenance is performed on the data definition/rule definition, and these scenes will be described.
In one embodiment, the embodiment shown in FIG. 2 further comprises the steps of:
a define maintenance request is received.
In one embodiment, the definition maintenance request is for configuring at least one of a data definition or a rule definition of a data configuration parameter of an object within an application. For example, the application development terminal presents a user interface as shown in fig. 7a to the application developer, where the user interface includes an object data configuration control S1 and a data definition/rule definition configuration control S2, and when the developer clicks the data definition/rule definition configuration control S2, the application development terminal determines that a definition maintenance request is received, and at this time, the application developer needs to perform configuration maintenance on the data definition/rule definition of the application.
A defined configuration window of a fourth data format is shown.
In one embodiment, the application development terminal exposes a defined configuration window as shown in fig. 7c, the configuration items within the configuration window being implemented based on the extensible markup language xml format, i.e. the fourth data format is an xml format. The application developer may perform data definition or rule-defined configuration maintenance based on xml format.
And acquiring definition data in a fourth data format based on the definition configuration window.
In one embodiment, the definition data includes at least one of data definition data or provisioning definition data; the application development terminal may acquire data definition data or prescribed definition data in xml format based on the definition configuration window shown in fig. 7 c.
And converting the definition data in the fourth data format into general definition data in a cross-platform data format.
In one embodiment, the application development terminal automatically converts xml format data definition data or specified definition data into protobuf format (cross-language, cross-platform serialization format data expression form and its extension mechanism developed by Google) data definition and rule definition data (suffix is a file of proto) to form corresponding macros, data types and structure objects.
And sending the general definition data to an application server, so that the application server generates definition data under a corresponding system based on the general definition data and generates cross detection data for detecting the validity of object data according to at least one of the definition data and the custom data.
The step involves the transmission of definition data, which may be actively requested by an application server or may be pushed periodically or in real time by a development terminal, and in one embodiment, the step includes: when the pushing condition is met, the general definition data is sent to the application server according to the pre-stored communication address of the application server; or after receiving the server definition data change acquisition request sent by the application server, sending the general definition data to the application server based on a request response corresponding to the server definition data change acquisition request. On the basis, the application server converts the received data definition data/rule definition data in the new protobuf format into a locally readable protocol code, such as a file in a parallel programming language (Golang) format used by the server for practical realization, then the server adds the newly added data file into a data management module of the server to automatically generate a corresponding data management code, and if the data definition or rule definition which is specially required to be manually intervened exists, the corresponding interface content is inherited and expanded to edit on the basis of automatically generating the code to obtain the latest cross detection rule, so that the data definition and the rule definition are completed on the data maintenance of the application server.
And sending the general definition data to an application client so that the application client generates definition data under a corresponding system based on the general definition data.
The step involves the transmission of definition data, which may be actively requested by an application client or may be pushed periodically or in real time by a development terminal, and in one embodiment, the step includes: when the pushing condition is met, the universal definition data is sent to the application client according to the pre-stored communication address of the application client; or after receiving the client definition data change acquisition request sent by the application client, sending the general definition data to the application client based on a request response corresponding to the client definition data change acquisition request. On this basis, the application client converts the data definition and rule definition into a file in a locally readable protocol code, such as JavaScript (programming language used by client development), by using a protocol conversion tool, and data maintenance of the data definition and rule definition at the application client is completed.
The application development terminal in the application does not directly maintain and configure the application server or the application client, but provides an independent intermediate device, the device automatically converts object data provided by an application developer into full data comprising the object data in a format corresponding to the application server and the object data in a format corresponding to the application client according to the application server and the application client, and then sends the corresponding part of the full data to the application server or the application client, so that the application developer is not required to repeatedly configure the same data in different formats, the development difficulty of the application developer is reduced, and the application development efficiency is improved.
For the purpose of facilitating the following description, the present application will be further explained with reference to the accompanying drawings and specific application scenarios.
As shown in fig. 8a, in a specific application scenario, the shift tool (i.e. the application configuration device above) provided in the present application implements an object data content conversion workflow, a cross check workflow, a data definition/rule definition data conversion workflow, etc., and specifically, the shift tool exposes editing interfaces of data definition/rule definition modification and object data modification, i.e. "document editing entry portion" (implemented through the windows shown in fig. 7a to 7 c) to game designers (i.e. application developers above). The game designer needs to edit the content of two parts, namely, data definition and rule definition, wherein the part is formatted data defined by various xml definitions, such as data defining hero attribute, including hero ID, aggression, blood volume, defense and the like, and the other part is xlsx data, such as relevant attribute values of hero 1 and hero 2, specifically filled in.
After the program corresponding to the shift tool operates, the data definition/rule definition data conversion workflow firstly automatically converts an xml file containing the data definition data/rule definition data into a data definition/rule definition data file (proto file) in a protobuf format to form a corresponding macro, data type and structure object. If there is a change in the data definition/rule definition data file, then both the game server and the game client pull the corresponding data definition/rule definition data file (.proto file), convert to locally readable protocol code using a protocol conversion tool in the respective environment (e.g., the server converts to a. Go file corresponding to Golang software, and the client converts to a. Js file corresponding to JavaScript software). Meanwhile, as shown in fig. 8a, if there is a newly added data definition/rule definition data file (. Proto file), the server start code generation automation workflow adds the newly added data file into the data management module of the server, and automatically generates a corresponding data management code, if there is a logic which requires human intervention, then human inherits and expands the corresponding interface content on the basis of the automatically generated code to obtain a server data file management class file (. Go). For a new data configuration file or under the condition of a new checking rule, for example, hero blood volume must not exceed 1000, a code module corresponding to cross checking is manually added at a server side, and the cross checking module can check across different data configuration files, and generates a cross checking rule through cross compiling (a shift tool is generally operated under Windows environment when a server is operated under a Linux system at present, so cross compiling is required).
The shift tool pulls the cross check rules into the cross check workflow and may not go to the server pull if only the object data changes, but not the cross check rules (e.g., other development terminals or users do not generate new data definitions/rule definitions or custom rules). The gear shifting tool converts xlsx data into structured data through cross check workflow, generates full data (including protobuf serialization data or Json data) and provides the full data for a server and a client to run, wherein the data is full data, and in data definition and rule definition data, the range of data required by the server and the client is defined and is a subset of the full data.
Specifically, the data definition/rule definition data is expressed in xml structured language.
The rule definition data obtained by the shift tool may be shown in fig. 8b, where ConvList nodes are root nodes, in each rule definition data file, commnode nodes represent a group of data files, each Resnode node represents a data file, meta node is an associated data definition, entryMapfile node is an associated data definition file, excelFile represents an Xlsx file corresponding to the data content of the data file, includeHeet is a tab in the Xlsx file, and binFile is a structured data file after conversion.
The data definition in the cs_res.xml file may be as shown in fig. 8c, where the data definition data acquired by the shift tool may be that a meta node is a root node, a macro node is an enumeration definition, a macro node is a macro definition, and a struct node is a structured data, where an entry node represents a field in the structured data. Under each macro node or entry node, the name node represents a field name in the structured data, desc is annotation description information, value is a numerical value, type is a data type, and cname represents a column name in the associated xslx file. The data definition supports complex structures such as arrays, object nesting, etc.
Then, the shift tool converts the data definition data and rule definition data into a protocol file in a protobuf format, and the content of the converted protocol file can be shown in fig. 8 d. This step of conversion may fail directly if the data definition has errors with the xml file of the rule definition data. The protobuf is used in this embodiment to make use of the cross-language and cross-platform characteristics, so that the server and the client both use the same set of data protocols. After the conversion is successful, the server and the client pull the generated protobuf file (proto file) and convert the protobuf file into a file of a corresponding programming language, for example, the server adopts Golang language and converts the protobuf file into a. Go file, and the client adopts JavaScript language and converts the protobuf file into a. Js file.
After the server pulls the data definition and rule file, if there is a newly added data definition or rule definition or an original data definition or rule definition is modified, automatically generating a data management code according to the data definition or rule definition and the code template, wherein the code template can be shown in fig. 8 e; the code can automatically generate classes, data structures and methods required by data management, such as an initial method, a cross check method, a LoadConfigs method registered by a data configuration file, and the like, if the self-defined content exists, a server programmer is required to inherit the automatically generated base class, and the related method is rewritten, so that the working cost of developing and writing repeated codes by the server is greatly reduced, and the developer can only pay attention to the functional content which needs special processing.
After the server automatically generates the data processing code, a cross check rule can be added in the cross filecheck, and when cross check is performed, collaborative check can be performed across different data files. The code of the crossover check is validated both when the game server is initialized and when the shift tool is running. If the cross check does not pass when the game server is initialized, an error is reported. When the shift tool runs, the cross check is not passed, and the error is reported and the shift process is terminated.
The server generates an independent cross checking tool through cross compiling, and the independent cross checking tool is used when the object data is shifted after being pulled by a shift tool.
Specifically, the processing for the object data includes: the shift tool converts xlsx files in editable text form into structured data, such as a bin file or a Json file of protobuf, according to data definitions and rule definitions. The server and client read the structured data, i.e. the data can be used at run-time. If the data needs to be modified in the running process, the structured data is generated again through the gear shifting tool, the server and the client program inform the running process of reloading new data in a mode of interrupt signals and the like, and therefore the purpose of not stopping hot updating is achieved.
In one embodiment, the shift tool may support more data interaction formats, and more client or server programming languages, such as python, c++, etc.; the shift tool may run independently, and the entire data file (including object data, data definition/rule definition data) shift workflow may run fully automatically, such as based on a pipeline or an automated pipeline, except for data editing, and server custom data manipulation; the shift tool may have more refined functions, such as automatic error correction, version control related functions, and the like.
In the above embodiments, the game designer may add data definition and rule definition data, add or modify data configuration files, and then automatically initiate a shift procedure, converting xml format data definition and rule definition into program readable data definition and rule definition protocol files. If the data definition and the rule definition change, the game server and the client need to update the data definition and rule protocol, the server side can automatically generate a new data processing module code, if the rule needing human intervention exists, the server side also needs human intervention, a cross checking tool is generated after compiling, and a shift program pulls the cross checking tool to carry out cross checking. The gear shifting tool generates structured data readable by a program according to the data definition and the rule definition and the cross checking tool; the game server and the client acquire data which need to be read from the converted full data set according to rules, the data are used in the running process of the program, if the data change occurs in the running process of the program of the server and the client, the data are regenerated according to the previous steps, the program reloads new data, old data are replaced, and hot updating is completed.
Based on the above description, the beneficial effects of the embodiments of the present application include: the client and the server share the same independent tool, so that data consistency is ensured, and data modification cost is minimized. The data editing adopts a text format, so that the method has better readability and maintainability. The program runs and uses the formatted data after conversion, so that the performance cost is reduced; the data files can be subjected to custom conversion rules, such as data formats, special or shared client/server, data association relations and the like, different data files can be multiplexed with the same data format definition, and rule complexity is reduced; the server automatically generates a data management code, can meet the requirement of use by adding few custom functions, custom writes and generates a cross check rule according to actual use conditions, and can reversely provide the cross check rule for a data configuration file tool for use, so that the validity and the correctness of data configuration are ensured; the operation is convenient, the automation integration level is high, automatic pipeline operation can be formed, the bottom layer details are shielded for game designers, and the effect of changing data by one key is achieved.
Based on the above description, embodiments of the present application will be described in detail with reference to scenarios corresponding to different phases of application development.
Scene 1
In this embodiment, taking an example that an application such as a game is in an internal testing stage, an application developer team needs to perform configuration maintenance on game data collectively, and different developers often perform configuration on data definition/rule definition, object data, custom data and the like of the same type of object. The application development terminal already stores the communication addresses of the application server and the application client.
In this embodiment, an example will be described in which an application server is a game server, an application client is a game client, and a plurality of application development terminals are present.
Fig. 3 is a second flowchart of an application configuration method according to an embodiment of the present application, please refer to fig. 3, wherein the application configuration method includes the following steps:
step 301 to step 305: the application development terminal 1 generates general definition data corresponding to the definition data according to user settings, and sends the general definition data to the game server and the game client, respectively.
Specifically, the application development terminal 1 displays a user interface shown in fig. 7a to the game developer 1, where the user interface includes an object data configuration control S1 and a data definition/rule definition configuration control S2, and when the developer clicks the data definition/rule definition configuration control S2, the application development terminal determines that a definition maintenance request is received, and at this time, the application developer needs to perform configuration maintenance on the data definition/rule definition of the application. After that, the application development terminal 1 displays a definition configuration window as shown in fig. 7c, the configuration items in the configuration window are realized based on the xml format of the extensible markup language, the application developer can perform configuration maintenance of data definition or rule definition based on the xml format, and the application development terminal can acquire data definition data or specified definition data in the xml format based on the definition configuration window shown in fig. 7 c. The application development terminal 1 automatically converts xml format data definition data or prescribed definition data into protobuf format data definition and rule definition data to form corresponding macros, data types and structure objects. Since the application development terminal 1 stores communication addresses of the game server and the game client, the application development terminal 1 transmits data definition and rule definition data in the protobuf format to the game server and the game client, respectively.
Step 306 to step 309: the game server generates a local code according to the new definition data and generates a cross check rule, and then synchronizes to all application development terminals.
Specifically, after the server acquires new protobuf definition data, the protobuf definition data is converted into a go file corresponding to Golang software by using a protocol conversion tool in a local environment, meanwhile, an automatic code generation workflow is started to add the newly added data file into a data management module of the server, a corresponding data management code is automatically generated, and if a logic requiring human intervention is special, updated contents based on the automatic code generation are acquired to obtain a server data file management class file (. Go). For a new data configuration file or under the condition that a new checking rule exists, for example, hero blood volume must not exceed 1000, custom data added by a developer is acquired at a server side to obtain a code module corresponding to cross checking, and the cross checking module can check across different data configuration files, generate the cross checking rule through cross compiling and synchronously send the cross checking rule to all application development terminals.
Step 310: after the game client acquires the new protobuf definition data, the protobuf definition data is converted into a js file corresponding to JavaScript software by using a protocol conversion tool in a local environment, and the data definition and rule definition updating is completed.
Step 311 to step 316: the application development terminal 2 generates full-volume data corresponding to the object data according to the user setting, and transmits the full-volume data to the game server and the game client, respectively.
Specifically, the application development terminal 2 displays a user interface shown in fig. 7a to an application developer, and when the developer clicks the object data configuration control S1, the application development terminal determines that a configuration maintenance request is received, and at this time, the application developer needs to configure object data of an object in the application. The application development terminal 2 then displays an object configuration window as shown in fig. 7b, the configuration items in the configuration window are implemented based on the table xlsx format, and at this time, the application development terminal obtains the object data of hero 1 of xlsx based on the object configuration window: hero 1, blood volume 60, aggression 80, defensive power 12; then the application development terminal 2 converts the object data (hero 1, blood volume 60, attack force 80 and defense force 12) in xlsx format into local binary data and obtains corresponding structured data, then the structured data is subjected to cross check according to a cross check rule, if the check passes, full data (including the. Bin object data of the protobuf serialization data and the. Json object data in json data format) are generated, and if the check does not pass, a configuration failure response is directly returned. And then, the application development terminal 2 sends the bin object data to the game server according to the communication address of the game server, the game server can use the bin object data when running after receiving the data, the application development terminal 2 sends the json object data to the game client according to the communication address of the game client, and the game client can use the data when running after receiving the json object data to finish the hot update of the object data.
Scene 2
In this embodiment, taking an example that an application such as a game is in a public test stage, only one application developer is required to perform configuration maintenance on game data, and configuration maintenance is often performed on object data of an object in the game. Because of the large public measurement range, only the address of the application server and the communication address of the application store server are stored in the application development terminal.
In this embodiment, an application server is a game server, an application client is a game client, and an application store server is used as an example.
Fig. 4 is a third flowchart of an application configuration method according to an embodiment of the present application, please refer to fig. 4, wherein the application configuration method includes the following steps:
step 401 to step 407: and the application development terminal generates full data corresponding to the object data according to the user setting and sends the full data to the game server and the application store server respectively.
Specifically, the application development terminal displays a user interface shown in fig. 7a to the application developer, and when the developer clicks the object data configuration control S1, the application development terminal determines that a configuration maintenance request is received, and at this time, the application developer needs to configure object data of an object in the application. The application development terminal then displays an object configuration window as shown in fig. 7b, the configuration items in the configuration window are implemented based on the table xlsx format, and at this time, the application development terminal acquires the object data of hero 1 of xlsx based on the object configuration window: hero 1, blood volume 60, aggression 80, defensive power 12; and then the application development terminal converts the object data (hero 1, blood volume 60, attack force 80 and defense force 12) in the xlsx format into local binary data and obtains corresponding structured data, then the structured data is subjected to cross check according to a cross check rule, if the structured data passes the cross check, full data (including the bin object data of the protobuf serialization data and the json object data in the json data format) are generated, and if the structured data does not pass the cross check, a configuration failure response is directly returned. And the application development terminal sends the json object data to the application store server according to the communication address of the game client, and the application store server can add the json object data in a game application update package after receiving the json object data to complete the update of the game data.
Step 408 to step 409: the game client acquires the updated game installation package from the application store server and performs game update.
Specifically, when the game client is started or when the game client runs, the updated game installation package is obtained from the application store server, and then json object data can be used when the game client runs, so that the hot update of the object data is completed.
In order to implement the method, the application configuration device is provided correspondingly, and the application configuration device provided by the application is described with reference to the accompanying drawings.
Accordingly, fig. 5 is a schematic structural diagram of an application configuration device provided in an embodiment of the present application, please refer to fig. 5, and the application configuration device includes the following modules:
a receiving module 501, configured to receive a configuration maintenance request, where the configuration maintenance request is used to configure object data of an object in an application;
the display module 502 is configured to display an object configuration window in a first data format according to the data configuration parameter;
an obtaining module 503, configured to obtain object data in a first data format based on the object configuration window;
a conversion module 504, configured to generate full-size data of the object data according to the object data in the first data format, where the full-size data includes object data in a second data format corresponding to an application server and object data in a third data format corresponding to an application client;
A server communication module 505, configured to send the object data in the second data format to an application server, so that the application server performs object parameter update based on the object data in the second data format;
the client communication module 506 is configured to send the object data in the third data format to an application client, so that the application client performs object parameter update based on the object data in the third data format.
In one embodiment, the conversion module 504 is specifically configured to: converting the object data in the first data format into structured data under the operating system corresponding to the application development terminal; converting the structured data into object data in the second data format according to the configuration data format of the application server under the corresponding operating system; and converting the structured data into object data in the third data format according to the configuration data format of the application client corresponding to the operating system.
In one embodiment, the conversion module 504 is further configured to, after the step of converting the object data in the first data format into the structured data under the operating system corresponding to the application development terminal: acquiring cross detection data, wherein the cross detection data comprises executable data generated by the application server according to rule definition data, data definition data and custom data; running the cross detection data to detect the structured data under the operating system corresponding to the application development terminal; and if the detection is passed, executing the conversion step corresponding to the object data in the second data format and the object data in the third data format.
In one embodiment, the server communication module 505 is specifically configured to implement at least one of the following: when the pushing condition is met, according to the pre-stored communication address of the application server, sending the object data in the second data format to the application server; or after receiving the server object data change acquisition request sent by the application server, sending the object data in the second data format to the application server based on a request response corresponding to the server object data change acquisition request.
In one embodiment, the client communication module 506 is specifically configured to implement at least one of the following: when the pushing condition is met, according to the pre-stored communication address of the application client, sending the object data in the third data format to the application client; or after receiving the client object data change acquisition request sent by the application client, sending the object data in the third data format to the application client based on a request response corresponding to the client object data change acquisition request.
In one embodiment, the receiving module 501 is further configured to receive a definition maintenance request, where the definition maintenance request is used to configure at least one of a data definition or a rule definition of a data configuration parameter of an object in an application; the display module 502 is further configured to display a defined configuration window of a fourth data format; the obtaining module 503 is further configured to obtain definition data in a fourth data format based on the definition configuration window, where the definition data includes at least one of data definition data or specified definition data; the conversion module 504 is further configured to convert the definition data in the fourth data format into general definition data in a cross-platform data format; the server communication module 505 is further configured to send the generic definition data to an application server, so that the application server generates definition data under a corresponding system based on the generic definition data and generates cross detection data for detecting validity of object data according to at least one of the definition data and custom data; the client communication module 506 is further configured to send the generic definition data to an application client, so that the application client generates definition data under a corresponding system based on the generic definition data.
In one embodiment, the server communication module 505 is specifically configured to implement at least one of the following: when the pushing condition is met, the general definition data is sent to the application server according to the pre-stored communication address of the application server; or after receiving the server definition data change acquisition request sent by the application server, sending the general definition data to the application server based on a request response corresponding to the server definition data change acquisition request.
In one embodiment, the client communication module 506 is specifically configured to implement at least one of the following: when the pushing condition is met, the universal definition data is sent to the application client according to the pre-stored communication address of the application client; or after receiving the client definition data change acquisition request sent by the application client, sending the general definition data to the application client based on a request response corresponding to the client definition data change acquisition request.
Correspondingly, the embodiment of the application also provides a computer device, which comprises a server or a terminal (provided with a client) and the like, so as to realize the application configuration device in any embodiment.
As shown in fig. 6, the computer device may include Radio Frequency (RF) circuitry 601, memory 602 including one or more computer readable storage media, input unit 603, display unit 604, sensor 605, audio circuitry 606, wireless fidelity (WiFi, wireless Fidelity) module 607, processor 608 including one or more processing cores, and power supply 609. Those skilled in the art will appreciate that the computer device structure shown in FIG. 6 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. The memory 602 may be used to store software programs and modules that are stored in the memory 602 for execution by the processor 608 to perform various functional applications and data processing. The input unit 603 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The display unit 604 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof.
The computer device may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. The audio circuit 606 includes a speaker and the microphone can provide an audio interface between the user and the computer device.
WiFi belongs to a short-distance wireless transmission technology, and computer equipment can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 607, so that wireless broadband Internet access is provided for the user. Although fig. 6 shows a WiFi module 607, it is understood that it does not belong to the necessary constitution of the computer device, and can be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 608 is the control center of the computer device and utilizes various interfaces and lines to connect the various parts of the overall handset, performing various functions of the computer device and processing data by running or executing software programs and/or modules stored in the memory 602, and invoking data stored in the memory 602, thereby performing overall monitoring of the handset.
The computer device also includes a power supply 609 (e.g., a battery) for powering the various components, which may be logically connected to the processor 608 via a power management system so as to perform functions such as managing charge, discharge, and power consumption via the power management system.
Although not shown, the computer device may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the processor 608 in the computer device loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 executes the application programs stored in the memory 602, so as to implement the following functions:
receiving a configuration maintenance request, wherein the configuration maintenance request is used for configuring object data of an object in an application;
displaying an object configuration window of a first data format according to the data configuration parameters;
acquiring object data in a first data format based on the object configuration window;
generating full data of the object data according to the object data in the first data format, wherein the full data comprises the object data in a second data format corresponding to an application server and the object data in a third data format corresponding to an application client;
Sending the object data in the second data format to an application server so that the application server performs object parameter updating based on the object data in the second data format;
and sending the object data in the third data format to an application client so that the application client updates object parameters based on the object data in the third data format.
Or the following functions are realized:
receiving a definition maintenance request, wherein the definition maintenance request is used for configuring at least one of data definition or rule definition of data configuration parameters of objects in an application;
displaying a definition configuration window of a fourth data format;
acquiring definition data in a fourth data format based on the definition configuration window, wherein the definition data comprises at least one of data definition data or specified definition data;
converting the definition data of the fourth data format into general definition data in a cross-platform data format;
transmitting the general definition data to an application server, so that the application server generates definition data under a corresponding system based on the general definition data and generates cross detection data for detecting the validity of object data according to at least one of the definition data and the custom data;
And sending the general definition data to an application client so that the application client generates definition data under a corresponding system based on the general definition data.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of an embodiment that are not described in detail in the foregoing embodiments may be referred to in the foregoing detailed description, which is not repeated herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the following functions:
receiving a configuration maintenance request, wherein the configuration maintenance request is used for configuring object data of an object in an application;
displaying an object configuration window of a first data format according to the data configuration parameters;
acquiring object data in a first data format based on the object configuration window;
generating full data of the object data according to the object data in the first data format, wherein the full data comprises the object data in a second data format corresponding to an application server and the object data in a third data format corresponding to an application client;
Sending the object data in the second data format to an application server so that the application server performs object parameter updating based on the object data in the second data format;
and sending the object data in the third data format to an application client so that the application client updates object parameters based on the object data in the third data format.
Or the following functions are realized:
receiving a definition maintenance request, wherein the definition maintenance request is used for configuring at least one of data definition or rule definition of data configuration parameters of objects in an application;
displaying a definition configuration window of a fourth data format;
acquiring definition data in a fourth data format based on the definition configuration window, wherein the definition data comprises at least one of data definition data or specified definition data;
converting the definition data of the fourth data format into general definition data in a cross-platform data format;
transmitting the general definition data to an application server, so that the application server generates definition data under a corresponding system based on the general definition data and generates cross detection data for detecting the validity of object data according to at least one of the definition data and the custom data;
And sending the general definition data to an application client so that the application client generates definition data under a corresponding system based on the general definition data.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Because the instructions stored in the storage medium may perform steps in any of the methods provided in the embodiments of the present application, the beneficial effects that any of the methods provided in the embodiments of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
To this end, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described above. For example, the following functions are implemented:
Receiving a configuration maintenance request, wherein the configuration maintenance request is used for configuring object data of an object in an application;
displaying an object configuration window of a first data format according to the data configuration parameters;
acquiring object data in a first data format based on the object configuration window;
generating full data of the object data according to the object data in the first data format, wherein the full data comprises the object data in a second data format corresponding to an application server and the object data in a third data format corresponding to an application client;
sending the object data in the second data format to an application server so that the application server performs object parameter updating based on the object data in the second data format;
and sending the object data in the third data format to an application client so that the application client updates object parameters based on the object data in the third data format.
Or the following functions are realized:
receiving a definition maintenance request, wherein the definition maintenance request is used for configuring at least one of data definition or rule definition of data configuration parameters of objects in an application;
Displaying a definition configuration window of a fourth data format;
acquiring definition data in a fourth data format based on the definition configuration window, wherein the definition data comprises at least one of data definition data or specified definition data;
converting the definition data of the fourth data format into general definition data in a cross-platform data format;
transmitting the general definition data to an application server, so that the application server generates definition data under a corresponding system based on the general definition data and generates cross detection data for detecting the validity of object data according to at least one of the definition data and the custom data;
and sending the general definition data to an application client so that the application client generates definition data under a corresponding system based on the general definition data.
The foregoing has described in detail the application configuration method, apparatus and computer device provided by the embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, where the foregoing description of the embodiments is only for aiding in understanding the method and core idea of the present application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the contents of the present specification should not be construed as limiting the present application in summary.

Claims (9)

1. An application configuration method, which is applied to an application development terminal, comprises the following steps:
receiving a configuration maintenance request, wherein the configuration maintenance request is used for configuring object data of an object in an application;
displaying an object configuration window of a first data format according to the data configuration parameters;
acquiring object data in a first data format based on the object configuration window;
converting the object data in the first data format into data local to the application development terminal;
distributing handles to the data local to the application development terminal to obtain a managed object;
in the managed object, performing type conversion on the data local to the application development terminal to obtain structured data under the operating system corresponding to the application development terminal;
generating full data of the object data according to the structured data under the operating system corresponding to the application development terminal, wherein the full data comprises the object data in a second data format corresponding to the application server and the object data in a third data format corresponding to the application client;
sending the object data in the second data format to an application server so that the application server performs object parameter updating based on the object data in the second data format;
Sending the object data in the third data format to an application client so that the application client updates object parameters based on the object data in the third data format;
receiving a definition maintenance request, wherein the definition maintenance request is used for configuring at least one of data definition or rule definition of data configuration parameters of objects in an application;
displaying a definition configuration window of a fourth data format;
acquiring definition data in a fourth data format based on the definition configuration window, wherein the definition data comprises at least one of data definition data or specified definition data;
converting the definition data of the fourth data format into general definition data in a cross-platform data format;
transmitting the general definition data to an application server, so that the application server generates definition data under a corresponding system based on the general definition data and generates cross detection data for detecting the validity of object data according to at least one of the definition data and the custom data;
and sending the general definition data to an application client so that the application client generates definition data under a corresponding system based on the general definition data.
2. The application configuration method according to claim 1, wherein the generating the full data of the object data according to the structured data under the operating system corresponding to the application development terminal includes:
converting the structured data into object data in the second data format according to the configuration data format of the application server under the corresponding operating system;
and converting the structured data into object data in the third data format according to the configuration data format of the application client corresponding to the operating system.
3. The application configuration method according to claim 1, wherein, after the step of performing type conversion on the data local to the application development terminal in the managed object to obtain the structured data under the operating system corresponding to the application development terminal, the method further comprises:
acquiring cross detection data, wherein the cross detection data comprises executable data generated by the application server according to rule definition data, data definition data and custom data;
running the cross detection data to detect the structured data under the operating system corresponding to the application development terminal;
And if the detection is passed, executing the conversion step corresponding to the object data in the second data format and the object data in the third data format.
4. The application configuration method according to claim 1, wherein the step of transmitting the object data of the second data format to an application server includes at least one of:
when the pushing condition is met, according to the pre-stored communication address of the application server, sending the object data in the second data format to the application server;
or after receiving the server object data change acquisition request sent by the application server, sending the object data in the second data format to the application server based on a request response corresponding to the server object data change acquisition request.
5. The application configuration method according to claim 1, wherein the step of transmitting the object data of the third data format to an application client includes at least one of:
when the pushing condition is met, according to the pre-stored communication address of the application client, sending the object data in the third data format to the application client;
Or after receiving the client object data change acquisition request sent by the application client, sending the object data in the third data format to the application client based on a request response corresponding to the client object data change acquisition request.
6. The application configuration method according to claim 1, wherein the step of transmitting the general definition data to an application server includes at least one of:
when the pushing condition is met, the general definition data is sent to the application server according to the pre-stored communication address of the application server;
or after receiving the server definition data change acquisition request sent by the application server, sending the general definition data to the application server based on a request response corresponding to the server definition data change acquisition request.
7. The application configuration method according to claim 1, wherein the step of transmitting the generic definition data to an application client comprises at least one of:
when the pushing condition is met, the universal definition data is sent to the application client according to the pre-stored communication address of the application client;
Or after receiving the client definition data change acquisition request sent by the application client, sending the general definition data to the application client based on a request response corresponding to the client definition data change acquisition request.
8. An application configuration apparatus, which is applied to an application development terminal, comprising:
the receiving module is used for receiving a configuration maintenance request, wherein the configuration maintenance request is used for configuring object data of an object in an application;
the display module is used for displaying an object configuration window in a first data format according to the data configuration parameters;
the acquisition module is used for acquiring object data in a first data format based on the object configuration window;
the conversion module is used for converting the object data in the first data format into the data local to the application development terminal; distributing handles to the data local to the application development terminal to obtain a managed object; in the managed object, performing type conversion on the data local to the application development terminal to obtain structured data under the operating system corresponding to the application development terminal; generating full data of the object data according to the structured data under the operating system corresponding to the application development terminal, wherein the full data comprises the object data in a second data format corresponding to the application server and the object data in a third data format corresponding to the application client;
The server communication module is used for sending the object data in the second data format to an application server so that the application server can update object parameters based on the object data in the second data format;
the client communication module is used for sending the object data in the third data format to an application client so that the application client can update object parameters based on the object data in the third data format;
the receiving module is further configured to receive a definition maintenance request, where the definition maintenance request is used to configure at least one of a data definition or a rule definition of a data configuration parameter of an object in an application;
the display module is further used for displaying a definition configuration window of a fourth data format;
the acquiring module is further configured to acquire definition data in a fourth data format based on the definition configuration window, where the definition data includes at least one of data definition data or specified definition data;
the conversion module is further configured to convert the definition data in the fourth data format into general definition data in a cross-platform data format;
the server communication module is further configured to send the general definition data to an application server, so that the application server generates definition data under a corresponding system based on the general definition data and generates cross detection data for detecting validity of object data according to at least one of the definition data and the custom data;
The client communication module is further configured to send the general definition data to an application client, so that the application client generates definition data under a corresponding system based on the general definition data.
9. A computer device comprising a processor and a memory storing a plurality of instructions adapted to be loaded by the processor to perform the steps of the method according to any of claims 1 to 7.
CN202010847351.1A 2020-08-21 2020-08-21 Application configuration method and device and computer equipment Active CN111984305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010847351.1A CN111984305B (en) 2020-08-21 2020-08-21 Application configuration method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010847351.1A CN111984305B (en) 2020-08-21 2020-08-21 Application configuration method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN111984305A CN111984305A (en) 2020-11-24
CN111984305B true CN111984305B (en) 2023-08-08

Family

ID=73442744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010847351.1A Active CN111984305B (en) 2020-08-21 2020-08-21 Application configuration method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN111984305B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691812B (en) * 2021-10-25 2022-03-08 广州朗国电子科技股份有限公司 Hongmon system-based distributed video processing method, terminal and readable medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003091827A2 (en) * 2002-04-26 2003-11-06 Fluency Voice Technology Limited A system and method for creating voice applications
CN103593173A (en) * 2012-10-29 2014-02-19 百度在线网络技术(北京)有限公司 Integration development system, integration development method and integration development device for application programs
CN105531672A (en) * 2013-07-12 2016-04-27 起元科技有限公司 Parser generation
CN105872083A (en) * 2016-05-19 2016-08-17 湖州微未信息科技有限公司 Method and system supporting server access by different types of clients as well as server
CN105915389A (en) * 2016-06-02 2016-08-31 苏州乐麟无线信息科技有限公司 Data configuration and loading method and device
CN108292231A (en) * 2015-11-09 2018-07-17 微软技术许可有限责任公司 It generates and applies from data
CN108647283A (en) * 2018-05-04 2018-10-12 武汉灵动在线科技有限公司 A kind of configuration of game data is quick to be generated and analytic method
CN110297631A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 Client development approach, device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2847927C (en) * 2011-09-07 2019-08-27 Digital Rapids Corporation Systems and methods for computing applications

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003091827A2 (en) * 2002-04-26 2003-11-06 Fluency Voice Technology Limited A system and method for creating voice applications
CN103593173A (en) * 2012-10-29 2014-02-19 百度在线网络技术(北京)有限公司 Integration development system, integration development method and integration development device for application programs
CN105531672A (en) * 2013-07-12 2016-04-27 起元科技有限公司 Parser generation
CN108292231A (en) * 2015-11-09 2018-07-17 微软技术许可有限责任公司 It generates and applies from data
CN105872083A (en) * 2016-05-19 2016-08-17 湖州微未信息科技有限公司 Method and system supporting server access by different types of clients as well as server
CN105915389A (en) * 2016-06-02 2016-08-31 苏州乐麟无线信息科技有限公司 Data configuration and loading method and device
CN108647283A (en) * 2018-05-04 2018-10-12 武汉灵动在线科技有限公司 A kind of configuration of game data is quick to be generated and analytic method
CN110297631A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 Client development approach, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111984305A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN109976667B (en) Mirror image management method, device and system
US20110010613A1 (en) System and method for building mixed mode execution environment for component applications
US20160070541A1 (en) Conversion of business suite solutions
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
US9612804B2 (en) Business suite framework for developing software applications
CN111556158B (en) Access method, access device, access equipment and storage medium of Internet of things platform
US20120102414A1 (en) Distributed controller of a user interface framework for web applications
CN112257135A (en) Model loading method and device based on multithreading, storage medium and terminal
EP4131054A1 (en) Document editing method and apparatus, computer device and storage medium
US20230229406A1 (en) Page rendering method, apparatus, electronic device, computer-readable storage medium, and computer program product
CN111026014A (en) Automatic control system and method for field device
CN112347545A (en) Building model processing method and device, computer equipment and storage medium
CN113742014A (en) Interface rendering method and device, electronic equipment and storage medium
CN111984305B (en) Application configuration method and device and computer equipment
CN114398023A (en) File generation method and page configuration method and device
CN113835700A (en) Activity online method and device, electronic equipment and computer readable storage medium
CN114222003A (en) Service calling method, system, device, equipment and storage medium
US20140250386A1 (en) Method and system for client side user interface generation
US20180121441A1 (en) Accessing application services from forms
CN112163174A (en) Message display method and device, storage medium and computer equipment
CN115774573A (en) Application integration method and device, electronic equipment and storage medium
CN115964042A (en) Menu generation method and device, storage medium and electronic equipment
CN113110920B (en) Operation method, device, equipment and storage medium of block chain system
CN112755534B (en) Data processing method, device and storage medium
CN114429145A (en) Entry translation method and device, electronic equipment and computer readable 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
GR01 Patent grant
GR01 Patent grant