CN115408031A - Application updating method and related equipment - Google Patents

Application updating method and related equipment Download PDF

Info

Publication number
CN115408031A
CN115408031A CN202211198828.3A CN202211198828A CN115408031A CN 115408031 A CN115408031 A CN 115408031A CN 202211198828 A CN202211198828 A CN 202211198828A CN 115408031 A CN115408031 A CN 115408031A
Authority
CN
China
Prior art keywords
information
data model
application
target
structure data
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.)
Granted
Application number
CN202211198828.3A
Other languages
Chinese (zh)
Other versions
CN115408031B (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.)
Beijing Wellintech Co Ltd
Original Assignee
Beijing Wellintech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wellintech Co Ltd filed Critical Beijing Wellintech Co Ltd
Priority to CN202211198828.3A priority Critical patent/CN115408031B/en
Publication of CN115408031A publication Critical patent/CN115408031A/en
Application granted granted Critical
Publication of CN115408031B publication Critical patent/CN115408031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The application relates to an application updating method and related equipment, relates to the technical field of software, and can enable an application program to continuously run in the process of maintenance and upgrading. The method comprises the following steps: the target application is run. And acquiring a first instruction, wherein the first instruction is used for indicating to update the target application. And acquiring the updated application data according to the first instruction. And if the first information of the target structure data model is the same as the updated first information of the target structure data model and the first information of other structure data models is the same as the updated first information of other structure data models, determining that the running state information of the target application is first state information, wherein the first state information is used for indicating that the target application is in a running state, and the first information is updating information of the function information of the structure data model. And continuing to run the target application, and updating the target application according to the updated application data.

Description

Application updating method and related equipment
Technical Field
The present application relates to the field of software technologies, and in particular, to an application updating method and related device.
Background
An Application (APP), also called an application, refers to a computer program that can run in a user mode to interact with a user and may have a visual user interface for performing one or more specific tasks.
At present, an electronic device is integrally maintained and upgraded for each application, and the electronic device may acquire data corresponding to all functions of an application after upgrading, and update the data corresponding to all functions of the application before upgrading into data corresponding to all functions of the application after upgrading, so as to complete maintenance and upgrading of the application. However, in the current technical solution, when the electronic device maintains and upgrades the application, the data that needs to be updated may be data corresponding to part of functions in all functions of the application, and may affect functions that do not need to be updated in the running application of the electronic device. Therefore, how to maintain and upgrade part of the functions of the application by the electronic device does not affect other functions of the application run by the electronic device becomes a technical problem to be solved urgently.
Disclosure of Invention
The application updating method and the related equipment can enable the application program to continue to run in the process of maintenance and upgrading.
The technical scheme of the application is as follows:
in a first aspect, the present application provides an application updating method, including:
the deployment control system runs the target application. The deployment control system acquires a first instruction, and the first instruction is used for indicating to update the target application. And the deployment control system acquires the updated application data according to the first instruction. If the first information of the target structure data model is the same as the updated first information of the target structure data model, and the first information of the other structure data models is the same as the updated first information of the other structure data models, the deployment control system determines that the running state information of the target application is the first state information, the first state information is used for indicating that the target application is in a running state, and the first information is the update information of the function information of the structure data model. And the deployment control system continues to run the target application and updates the target application according to the updated application data.
Optionally, the application data further includes: the method for the deployment control system to update the target application according to the updated application data further includes: and the deployment control system updates the target configuration information into the updated target configuration information. And the deployment control system updates the identification of the target structure data model according to the updated identification of the target structure data model. And the deployment control system updates the identifiers of the other structural data models according to the updated identifiers of the other structural data models.
Optionally, other structural data models include: and the sub-structure data model is a structure data model of the sub-application. The application updating method further comprises the following steps: and if the second information of the substructure data model is the same as the updated second information of the substructure data model, determining the running state information of the target application as the second state information by the deployment control system. The second information is update information of the structural data model, the second state information is used for indicating that the target application can call the sub-application, and the second state information comprises the first state information.
Optionally, the other structural data model further includes: the method comprises the steps of obtaining a grandchild structure data model, wherein the grandchild structure data model is a structure data model of a grandchild application, the child application is an application which is not called by other applications except a target application, and the grandchild application is an application which is called by the target application through the child application. And under the condition that the second information of the sub-structure data model is the same as the updated second information of the sub-structure data model, the second state information is also used for indicating that the target application can call the grandchild application.
Optionally, the method for updating the application further includes: if the first information of the target structure data model is the same as the updated first information of the target structure data model and the first information of the substructure data model is the same as the updated first information of the substructure data model, the deployment control system determines whether the second information of the substructure data model is the same as the updated second information of the substructure data model. And if the second information of the sub-structure data model is not the same as the updated second information of the sub-structure data model, the deployment control system determines whether the first information of the grandchild structure data model is the same as the updated first information of the grandchild structure data model. And if the first information of the grandchild structure data model is the same as the updated first information of the grandchild structure data model, the deployment control system determines the running state information of the target application according to the second information of the grandchild structure data model and the updated second information of the grandchild structure data model.
Optionally, the target structure data model includes: the method for updating the target application by the deployment control system according to the updated application data further comprises the following steps: and the deployment control system updates the sub-configuration information into the updated sub-configuration information.
Optionally, the method for updating the application further includes: and if the first information of the grandchild structure data model is different from the updated first information of the grandchild structure data model, determining that the running state information of the target application is third state information by the deployment control system, wherein the third state information is used for indicating that the target application cannot call the child application and comprises the first state information.
Optionally, the functional information of the structure data model includes at least one of: the function, the preset configuration item and the configuration item of the sub-configuration information. Wherein, if the function information is updated, the first information is changed.
In a second aspect, the present application provides a method for updating an application. The method comprises the following steps:
and the application development system acquires a second instruction, and the second instruction is used for indicating the update of the target structure data model. And if the second instruction is used for indicating the configuration value of the sub-configuration information of the updated target structure data model, the application development system updates the second information of the target structure data model, and the second information is the updating information of the structure data model.
Optionally, the method for updating the application further includes: and if the second instruction is used for indicating the function information of the updated target structure data model, the application development system updates the first information and the second information of the target structure data model. The first information is update information of function information of the structure data model, and the function information comprises at least one of the following items: the method comprises the steps of function, preset configuration items and configuration items of sub-configuration information, wherein the sub-configuration information has an incidence relation with a target structure data model.
Optionally, the first information is function version information, and the second information is edit version information. The method for updating the first information of the target structure data model by the application development system further comprises the following steps: and the application development system updates the functional version information of the target structure data model according to a preset updating algorithm, wherein the updated functional version information of the target structure data model is larger than the functional version information of the target structure data model before updating. The method for updating the second information of the target structure data model by the application development system further includes: and the application development system updates the edition version information of the target structure data model according to a preset updating algorithm, wherein the edition version information of the updated target structure data model is larger than that of the target structure data model before updating.
In a third aspect, the present application provides an apparatus for updating an application. The device includes: the device comprises a processing module and an acquisition module.
And the processing module is used for running the target application. The obtaining module is used for obtaining a first instruction, and the first instruction is used for indicating to update the target application. The obtaining module is further configured to obtain the updated application data according to the first instruction. The processing module is further configured to determine that the running state information of the target application is first state information if the first information of the target structure data model is the same as the updated first information of the target structure data model and the first information of the other structure data model is the same as the updated first information of the other structure data model, where the first state information is used to indicate that the target application is in a running state, and the first information is update information of the function information of the structure data model. And the processing module is also used for continuously running the target application and updating the target application according to the updated application data.
Optionally, the application data further includes: target configuration information, the target configuration information corresponding to a target application. And the processing module is specifically used for updating the target configuration information into the updated target configuration information. And the processing module is also used for updating the identification of the target structure data model according to the updated identification of the target structure data model. And the processing module is also used for updating the identifications of other structural data models according to the updated identifications of other structural data models.
Optionally, other structural data models include: and the sub-structure data model is a structure data model of the sub-application. And the processing module is further used for determining the running state information of the target application as the second state information if the second information of the substructure data model is the same as the updated second information of the substructure data model. The second information is update information of the structural data model, the second state information is used for indicating that the target application can call the sub-application, and the second state information comprises the first state information.
Optionally, the other structural data model further includes: the data model of the grandchild structure is a structural data model of a grandchild application, the child application is an application which is not called by other applications except the target application, and the grandchild application is an application which is called by the target application through the child application. And under the condition that the second information of the sub-structure data model is the same as the updated second information of the sub-structure data model, the second state information is also used for indicating that the target application can call the grandchild application.
Optionally, the processing module is further configured to determine whether the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model if the first information of the target structure data model is the same as the first information of the updated target structure data model and the first information of the sub-structure data model is the same as the first information of the updated sub-structure data model. And the processing module is further used for determining whether the first information of the grandchild structure data model is the same as the first information of the updated grandchild structure data model or not if the second information of the child structure data model is not the same as the second information of the updated child structure data model. And the processing module is further used for determining the running state information of the target application according to the second information of the grandchild structure data model and the second information of the updated grandchild structure data model if the first information of the grandchild structure data model is the same as the first information of the updated grandchild structure data model.
Optionally, the target structure data model includes: and the sub-configuration information corresponds to the sub-application and has an incidence relation with the target structure data model. And the processing module is specifically used for updating the sub-configuration information into the updated sub-configuration information.
Optionally, the processing module is further configured to determine that the running state information of the target application is third state information if the first information of the grandchild structure data model is different from the updated first information of the grandchild structure data model, where the third state information is used to indicate that the target application cannot call the child application, and the third state information includes the first state information.
Optionally, the functional information of the structure data model includes at least one of: the function, the preset configuration item and the configuration item of the sub-configuration information. Wherein, if the function information is updated, the first information is changed.
In a fourth aspect, the present application provides an apparatus for updating an application. The device includes: the device comprises an acquisition module and a processing module.
And the obtaining module is used for obtaining a second instruction, and the second instruction is used for indicating the update of the target structure data model. And the processing module is used for updating second information of the target structure data model if the second instruction is used for indicating the updating of the configuration value of the sub-configuration information of the target structure data model, wherein the second information is the updating information of the structure data model.
Optionally, the processing device is further configured to update the first information and the second information of the target structure data model if the second instruction is used to indicate that the function information of the target structure data model is updated. The first information is update information of function information of the structure data model, and the function information comprises at least one of the following items: the method comprises the steps of function, preset configuration items and configuration items of sub-configuration information, wherein the sub-configuration information has an incidence relation with a target structure data model.
Optionally, the first information is function version information, and the second information is edit version information. And the processing module is specifically used for updating the function version information of the target structure data model according to a preset updating algorithm, wherein the function version information of the updated target structure data model is larger than the function version information of the target structure data model before updating. And the processing module is also used for updating the edition version information of the target structure data model according to a preset updating algorithm, wherein the edition version information of the updated target structure data model is larger than that of the target structure data model before updating.
In a fifth aspect, the present application provides an update apparatus for an application. The apparatus comprises: a processor, a memory, and a computer program. Wherein the computer program is stored on the memory, which when executed by the processor causes the apparatus to implement the updating method as applied in any of the first or second aspects.
In a sixth aspect, the present application provides a computer-readable storage medium comprising: a computer program. The computer program, when executed by an electronic device, causes the electronic device to implement an update method as applied in any of the first or second aspects.
In a seventh aspect, the present application provides a computer program product, which includes computer readable code or a non-volatile computer readable storage medium carrying computer readable code, when the computer readable code runs in an electronic device, a processor in the electronic device implements the update method applied in any one of the first aspect or the second aspect.
In the above solution, for technical problems that can be solved and technical effects that can be achieved by an update apparatus, a device, a computer storage medium, or a computer program product of an application, reference may be made to the technical problems and technical effects that are solved in the first aspect or the second aspect, and details are not repeated herein.
Based on any one of the first aspect to the fifth aspect, the present application has at least the following advantages: the deployment control system may obtain the updated application data of the target application by obtaining a first instruction, where the first instruction is used to instruct to update the target application. The deployment control system deploys application data, wherein the application data comprises: a target structure data model and other structure data models, the target structure data model being a structure data model of a target application, the other structure data models including: a structural data model of the sub-application having an associative relationship with the target application. Then, the deployment control system may determine, according to the application data and the updated application data, whether the first information of the target structure data model is the same as the first information of the updated target structure data model, and whether the first information of the other structure data model is the same as the first information of the updated other structure data model, where the first information is update information of the function information of the structure data model. If the deployment control system determines that the first information of the target structure data model is the same as the updated first information of the target structure data model and the first information of the other structure data models is the same as the updated first information of the other structure data models, the deployment control system determines that the running state information of the target application is the first state information, and the first state information is used for indicating that the target application is in a running state. And then, the deployment control system continues to run the target application according to the first state information. That is, the deployment control system may determine the structural data model that needs to be updated and the structural data model that does not need to be updated in the application data of the target application, and continue to run the function corresponding to the structural data model that does not need to be updated in the application data of the target application. Therefore, when the application data corresponding to part of the functions in all the functions of the application are updated, the updating of the application data corresponding to the functions which do not need to be updated in all the functions of the application can be avoided, the functions which do not need to be updated in all the functions of the application can be further unaffected, and the running efficiency of the application is improved. And, the deployment control system may update the target application according to the updated application data. That is, the deployment control system may update only the structural data model that needs to be updated in the application data of the target application. Therefore, when part of application data in all the application data of the application is updated, the application data which does not need to be updated in all the application data of the application can be prevented from being updated, resources occupied by the application during maintenance and upgrading are effectively saved, and the efficiency of maintenance and upgrading of the application is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application and are not to be construed as limiting the application.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an application updating method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another application updating method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an example of a call relationship between applications according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another application updating method according to an embodiment of the present application;
fig. 6 is a flowchart illustrating another application updating method according to an embodiment of the present application;
fig. 7 is a flowchart illustrating another application updating method according to an embodiment of the present application;
fig. 8 is a flowchart illustrating another application updating method according to an embodiment of the present application;
FIG. 9 is a diagram illustrating an example of an association relationship between structural data models according to an embodiment of the present application;
FIG. 10 is a diagram illustrating an example of an association relationship between other structural data models provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of an application updating apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an updating apparatus for another application according to an embodiment of the present application;
fig. 13 is a schematic hardware structure diagram of an application update apparatus according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components.
"and/or" is used to describe the association relationship of the associated objects, meaning that three relationships may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
An application program, also referred to as an application, refers to a computer program that may run in a user mode to interact with a user and may have a visual user interface in order to perform one or more specific tasks.
At present, an electronic device is integrally maintained and upgraded for each application, and the electronic device may acquire data corresponding to all functions of an application after upgrading, and update the data corresponding to all functions of the application before upgrading into data corresponding to all functions of the application after upgrading, so as to complete maintenance and upgrading of the application.
However, in the current technical solution, when the electronic device maintains and upgrades the application, the data that needs to be updated may be data corresponding to part of functions in all functions of the application, and may affect the function that does not need to be updated in the running application of the electronic device.
In order to solve the foregoing problem, an embodiment of the present application provides an application updating method, where the method may be applied to a deployment control system, and the deployment control system may determine, by obtaining updated application data of a target application, application data corresponding to a function that needs to be updated and application data corresponding to a function that does not need to be updated in the updated target application. After that, the deployment control system may update only the application data corresponding to the function that needs to be updated in the target application, and continue to run the function that does not need to be updated in the target application. Therefore, when the application data corresponding to part of the functions in all the functions of the application are updated, the application data corresponding to the functions which do not need to be updated in all the functions of the application can be prevented from being updated, the functions which do not need to be updated in all the functions of the application can be prevented from being influenced, and the running efficiency of the application is improved.
The following describes an implementation environment of embodiments of the present application.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application, and as shown in fig. 1, the communication system may include: an application development system 101 and a deployment control system 102. The application development system 101 may be in wired/wireless communication with the deployment control system 102.
For example, the application development system 101 may communicate with the deployment control system 102 via satellite communication. As another example, the application development system 101 may communicate with the deployment control system 102 via spread spectrum microwave communication. As another example, the application development system 101 may communicate with the deployment control system 102 via data transfer station communications.
The application development system 101 may implement development, maintenance, upgrade, and other operations on the application, and the application development system 101 may send the application to the deployment control system 102. The deployment control system 102 may deploy the received application on corresponding hardware to implement a function of the hardware running the application.
It should be noted that, in an industry-related scenario, an industry internet platform may be constructed based on hardware devices such as a terminal, a server, and a computer, and the industry internet platform may include: an application development system and a deployment control system. The application developer can upload the developed application to the industrial internet platform, and the user needing to use the application can download the application from the industrial internet platform.
The terminal may be a device having a transceiving function. The terminal can be deployed on land, including indoors or outdoors, hand-held or vehicle-mounted; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The terminal comprises a handheld device, a vehicle-mounted device, a wearable device or a computing device with a wireless communication function. Illustratively, the terminal may be a mobile phone (mobile phone), a tablet computer or a computer with wireless transceiving function. The terminal device may also be a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in smart grid, a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like.
The server may be a single server, or may be a server cluster including a plurality of servers. In some embodiments, the server cluster may also be a distributed cluster.
The application does not limit the specific implementation manner of the hardware devices corresponding to the application development system and the deployment control system.
It should be noted that, the implementation steps at the application development system side related in the embodiment of the present application may be implemented by hardware devices corresponding to the application development system. The deployment control system side implementation steps related in the embodiments of the present application may be implemented by hardware devices corresponding to the deployment control system. The application development system and the deployment control system can be deployed on the same hardware device. Alternatively, the application development system and the deployment control system may be deployed on different hardware devices.
After introducing the application scenario and the implementation environment of the embodiment of the present application, the following describes in detail an update method of an application provided by the embodiment of the present application with reference to the implementation environment.
The methods in the following embodiments may be implemented in the hardware devices described above. The embodiments of the present application will be specifically described below with reference to the drawings attached to the specification.
Fig. 2 is a flowchart illustrating an update method of an application according to an embodiment of the present application. As shown in fig. 2, the method for updating the application may include: S201-S203.
S201, the application development system acquires a second instruction.
Wherein the second instruction is used for indicating to update the target structure data model.
For example, the second instruction may instruct to update the model a (i.e., the target structure data model) to the model B (i.e., the updated target structure data model).
In the embodiment of the application, a target structure data model is stored in the application development system, and the target structure data model is a structure data model of a target application.
Illustratively, the application development system stores a model a (i.e., a target structural data model), which is a structural data model of the application a (i.e., a target application).
It should be noted that, in the present application, a concept of a model is mentioned, where the model is a concept in a database, and is information describing a structure of an object when modeling abstraction, and describes a structure of a data object in the database, and is an abstract description of an objective world object.
For example, the electrical machine devices all have parameters such as rotation speed, temperature, current, etc., and a structural data model of the electrical machine devices is established, where the structural data model of the electrical machine devices may include: configurable attributes such as rotating speed, temperature, current and the like can be uniformly described for the motors of the same type through a structural data model of the motor equipment.
In one possible design, the target structure data model may include: sub-configuration information.
It should be noted that, in the embodiment of the present application, the configuration information (which may also be referred to as predefined) is information that determines a model of the structure and is configured with parameters. The information of the model is recorded in the predefining, the predefining is used for instantiating the object, the instantiating object is used for constructing the structure of the object according to the structure of the model, and the parameter value is used as the initial value of the object. The sub-configuration information (which may also be referred to as sub-predefinition) records information of referenced models, and establishes a reference relationship between the models.
The sub-configuration information and the target structure data model have an incidence relation, and the sub-configuration information is configuration information corresponding to other applications called by the target application.
That is, the target structured data model may invoke the structured data model of the other application through the sub-configuration information. I.e. the target application may invoke other applications by means of the sub-configuration information.
Optionally, the sub-configuration information may include: configuration item, configuration value. Wherein the configuration item is a configurable attribute of the structure data model. For example, the configurable property of the structure data model may be a port, and the configuration item of the structure data model is a port. The configuration values are parameter values of configurable attributes of the structured data model at runtime. For example, if the configurable attribute of the structure data model is a timer (i.e., a configuration item) and the parameter value of the configurable attribute of the structure data model is 0.3 seconds (i.e., a configuration value), the timer of the structure data model is 0.3 seconds when the structure data model is running.
In this embodiment of the present application, the configuration item of the sub-configuration information in the target structure data model may be a first configuration item, the configuration value of the sub-configuration information in the target structure data model may be a first configuration value, and the sub-configuration information of the target structure data model may include: a first configuration item, a first configuration value. The first configuration item is a configurable attribute of the substructure data model, the first configuration value is a parameter value of the configurable attribute of the substructure data model, and the substructure data model corresponds to the substructure information. For detailed description of the sub-structure data model, reference may be made to subsequent related descriptions in the embodiments of the present application, which are not repeated herein.
Illustratively, the structural data model a of application a includes: the sub-configuration information A corresponds to a sub-structure data model B, and the sub-configuration information A comprises: timer (i.e. first configuration item), 1.3 seconds (i.e. first configuration value). The timer is a configurable attribute of the substructure data model B, and the parameter value of the configurable attribute of the substructure data model B is 1.3 seconds.
That is, the target application may implement the function of the other application called by the target application through the first configuration item and the first configuration value.
It should be noted that the number of the first configuration items in the embodiment of the present application may be one or more, and the embodiment of the present application does not limit the number of the first configuration items. Similarly, the first configuration value is not limited in the embodiment of the present application.
Optionally, the target structure data model may further include: and function information.
Wherein the function information is used for indicating the functions that the application can realize. The function information may include at least one of: the function, the preset configuration item and the configuration item of the sub-configuration information.
The function may be a set of applications, where the set of applications includes: command lines (including command line parameters), source code (including source code and resource files used), packages (i.e., program logic for function functions), which may be implemented in an operating system. The preset configuration items are used for representing functions which can be realized when the application only runs the structural data model of the application.
It should be noted that, in the embodiment of the present application, the preset configuration item of the function information in the target structure data model is a configurable attribute of the target structure data model. The configuration items in the configuration information are the same as the preset configuration items of the function information in the structure data model corresponding to the configuration information.
It should be noted that the second instruction may be used to instruct to update the first configuration value of the target structure data model. Alternatively, the second instruction may be for indicating functional information for updating the target structure data model.
In one possible design, the second instruction may be to indicate that the first configuration value of the target structural data model is to be updated.
Illustratively, the structural data model a (i.e., the target structural data model) of application a (i.e., the target application) includes: information a (i.e., sub-configuration information) and information B, the information a including: port, 10R, information B includes: timer, 1.1 seconds. The information a corresponds to the sub-structure data model B, the port is a configurable attribute (i.e., a first configuration item) of the structure data model B, the 10R is a parameter value (i.e., a first configuration value) of the configurable attribute of the structure data model B, the information B corresponds to the sub-structure data model C, the timer is a configurable attribute (i.e., a first configuration item) of the structure data model C, and the 1.1 second time is a parameter value (i.e., a first configuration value) of the configurable attribute of the structure data model C. The second instruction may indicate that 10R in information a is updated to T5R and 1.1 second in information B is updated to 0.7 second.
In another possible design, the second instruction may be used to indicate functional information for updating the target structure data model.
Illustratively, the structural data model a (i.e., the target structural data model) of application a (i.e., the target application) includes: information a (function information) including: function a, port, timer. The function a is a function of the structure data model a, the port is a configurable attribute (i.e., a preset configuration item) of the structure data model a, and the timer is a configurable attribute (i.e., a first configuration item) of the sub-structure data model B. The second instruction may instruct updating function a to function B, the port to an open file name, the timer to a file save address.
S202, the application development system determines whether the second instruction is used for indicating to update the configuration value of the sub-configuration information of the target structure data model.
In one possible implementation, the application development system may determine whether the second instruction includes the first configuration value. If the application development system determines that the second instruction comprises the first configuration value, the application development system determines that the second instruction is used for indicating the first configuration value of the updated target structure data model.
Illustratively, the target structure data model A includes: timer (i.e. first configuration item), 1.5 seconds (i.e. first configuration value). If the second instruction A comprises: 0.5 seconds, the application development system determines that the second instruction A indicates to update the first configuration value of the target structural data model A.
In some embodiments, if the application development system determines that the second instruction is for indicating that the first configuration value of the target structure data model is to be updated, the application development system performs S203.
And S203, updating second information of the target structure data model by the application development system.
And the second information is the updating information of the structural data model.
In one possible design, the second information is used to reflect the number of updates (or edits) to the structured data model.
Illustratively, the second information of the structure data model a is 12, and the structure data model a is updated (or edited) 12 times (i.e., updated information).
That is, the second information is changed when the configuration data model is updated.
In this embodiment of the present application, the structural data model may further include: and second information.
In a possible implementation, the second information may also be edit version information. The application development system can update the edition information of the target structure data model according to a preset updating algorithm.
It should be noted that, in the embodiment of the present application, the preset updating algorithm may be used to adjust the editing version information.
For example, the electronic device may adjust the edit version information in a monotonically increasing manner according to a preset update algorithm.
That is, the edit version information of the target structure data model after update (or editing) is larger than the edit version information of the target structure data model before update (or editing).
Illustratively, the edit version information of the structure data model a is 1.8.7 if updated 5 times. The edit version information of the structure data model a of the 6 th update may be 1.8.8 and the edit version information of the structure data model a of the 7 th update may be 1.8.9
The technical scheme provided by the embodiment at least has the following beneficial effects: the application development system may obtain the second instruction and determine whether the second instruction is for indicating updating the first configuration value of the target structural data model. And if the application development system determines that the second instruction is used for indicating the first configuration value of the updated target structure data model, the application development system updates the second information of the target structure data model. In this way, the application development system can indicate that the function parameter of the updated application is changed and the function of the updated application is not changed by updating the second information of the configuration data model of the application.
In other embodiments, as shown in fig. 3, if the second instruction is used to instruct to update the functional information of the target structure data model, after S202, the updating method of the application further includes: and S301.
S301, the application development system updates first information of the target structure data model.
The first information is the updating information of the function information of the structure data model.
In one possible design, the first information is used to reflect a number of updates of the functional information of the structural data model.
Illustratively, the first information of the structure data model a is 8, and the function (i.e., the function information) of the structure data model a is updated 8 times (i.e., the update information).
That is, when the function information of the structured data model is updated, the first information is changed.
In an embodiment of the present application, the structure data model may further include: the first information.
In a possible implementation manner, the first information may also be function version information. The application development system can update the function version information of the target structure data model according to a preset updating algorithm.
It should be noted that, for introduction of the process of updating the functional version information of the target structure data model by the application development system according to the preset update algorithm, reference may be made to the process of updating the edited version information of the target structure data model by the application development system according to the preset update algorithm in S203, which is not described herein again.
It is to be understood that if the application development system determines that the second instruction is for indicating that the functional information of the target structure data model is to be updated, the application development system updates the first information of the target structure data model. In this way, the application development system can indicate that the function of the updated application is changed by updating the first information of the configuration data model of the application.
In some embodiments, both the first information and the second information are changed if the functional information of the structured data model is updated.
In one possible implementation, if the second instruction is used to instruct to update the functional information of the target structure data model, the application development system updates the first information and the second information of the target structure data model.
That is, when the function information of the configuration data model is updated, both the first information and the second information are changed. Thus, the update condition of the structural data model can be represented.
In addition, the order of updating the first information and the second information is not limited in the embodiments of the present application. For example, the application development system may first update the first information and then update the second information. For another example, the application development system may update the second information before updating the first information. For another example, the application development system may update the first information and the second information simultaneously.
In some embodiments, the application development system may update the target structure data model according to the second instructions.
In one possible design, the sub-configuration information may further include: and the identifier of the structural data model corresponding to the sub-configuration information.
In this embodiment of the present application, the sub-configuration information of the target structure data model may further include: identification of the substructure data model.
That is, the target structure data model may specify the sub-structure data model called by the target structure data model according to the identity of the sub-structure data model in the sub-configuration information.
Illustratively, the structural data model a (i.e., the target structural data model) of application a (the target application) includes: information a (i.e., sub-configuration information), which includes: and (5) identifying A. Wherein, the identifier A is the identifier of the structural data model B of the application B. Then structural data model a may determine from information a that the invoked structural data model is structural data model B.
It should be noted that, the identification of the structural data model is not limited in the embodiments of the present application. For example, the identification of the structural data model may be the name of the structural data model. As another example, the identification of the structured data model may be a Globally Unique Identifier (GUID). For another example, the identification of the structural data model may be the second information and the GUID of the structural data model.
Illustratively, the identification of the structural data model A is 8B37-28A8 (i.e., GUID) +6 (i.e., second information).
Next, the application development system is described to update the target structure data model according to the second instruction.
Illustratively, as shown in FIG. 4, the call relationship between applications is shown. Wherein, the structure data model a (i.e. the target structure data model) of the application a (i.e. the target application) comprises: information a (i.e., function information) and information B (i.e., sub-configuration information), the information a including: the port, information B includes: port, S1, 8B37-28A8+6. The port is a configurable attribute (i.e. a first configuration item) of the substructure data model B, S1 is a parameter value (i.e. a first configuration value) of the configurable attribute of the substructure data model B, and 8B37-28a8+6 is an identifier of the substructure data model B. If the second instruction indicates to update the port and the S1 to the timer for 0.2 second, the application development system updates the port and the S1 in the information A and the information B to the timer and 0.2 second, and updates 8B37-28A8+6 in the information B to 8B37-2ID8+7. The timer is a configurable attribute of the substructure data model C, the parameter value of the configurable attribute of the substructure data model C is 0.2 second, and 8B37-2id8+7 is an identifier of the structure data model C, that is, the structure data model called by the structure data model a is updated from the structure data model B to the structure data model C.
In some embodiments, after the application development system updates the target structure data model according to the second instruction, the application development system may send the updated target application to the deployment control system, so that the deployment control system deploys and runs the updated target application.
As shown in fig. 5, the update method of the application may include: S501-S507.
S501, the deployment control system runs the target application.
Wherein, the deployment control system is deployed with application data, and the application data comprises: target structural data models and other structural data models, including: a structural data model of the sub-application having an associative relationship with the target application.
It should be noted that, in the embodiment of the present application, a sub application is an application that is not called by an application other than the target application.
For example, the application a may call the application B and the application C, respectively, and the application D may call the application E, so that the application B and the application C are both sub-applications of the application a, and the application E is a sub-application of the application D.
S502, the deployment control system acquires a first instruction.
Wherein the first instruction is used for indicating to update the target application.
Illustratively, the first instruction may indicate to update application a to application B.
In one possible implementation, the deployment control system may receive a first instruction from an application development system.
And S503, the deployment control system acquires the updated application data according to the first instruction.
In one possible implementation, the first instruction includes updated application data. The deployment control system may obtain the updated application data from the first instructions.
It should be noted that, the process of the deployment control system obtaining the updated application data from the first instruction may refer to a manner of obtaining data from an instruction in the conventional technology, which is not described herein again.
The updated application data includes: an updated target structural data model and an updated other structural data model.
In some embodiments, the deployment control system may determine whether the first information of the structured data model in the application data is the same as the first information of the structured data model in the updated application data based on the updated application data.
S504, the deployment control system determines whether the first information of the target structure data model is the same as the first information of the updated target structure data model.
Illustratively, the application data a of the application a (i.e., the target application) includes: model a (i.e., the target structure data model), which includes: 16 (i.e., the first information). If the updated application data a includes: an updated model a (i.e., an updated target structure data model), the updated model a comprising: 16 (i.e., the first information), the deployment control system determines that the first information of model a is the same as the updated first information of model a.
In some embodiments, if the deployment control system determines that the first information of the target structure data model is the same as the updated first information of the target structure data model, the deployment control system performs S505.
And S505, the deployment control system determines whether the first information of the other structural data model is the same as the updated first information of the other structural data model.
It should be noted that, reference may be made to the description of the process in which the deployment control system determines whether the first information of the other structural data model is the same as the updated first information of the other structural data model, and reference may be made to the process in which the deployment control system determines whether the first information of the target structural data model is the same as the updated first information of the target structural data model in S504, which is not described herein again.
In addition, the order of executing S504 and S505 is not limited in the embodiments of the present application. For example, the application development system may perform S504 first, and then perform S505. For another example, the application development system may perform S505 first and then perform S504. For another example, the application development system may perform S504 and S505 simultaneously.
In some embodiments, if the deployment control system determines that the first information of the target structural data model is the same as the updated first information of the target structural data model and the first information of the other structural data model is the same as the updated first information of the other structural data model, the deployment control system performs S506.
S506, the deployment control system determines that the running state information of the target application is first state information.
The first state information is used for indicating that the target application is in a running state.
Illustratively, the first state information is a structural data model a (i.e., a target structural data model) of a running application a (i.e., a target application).
That is, the target application may implement the functionality of the target application. I.e. the target application may run the target structure data model.
And S507, the deployment control system continues to run the target application, and updates the target application according to the updated application data.
In one possible implementation, the deployment control system may run the target application according to the running state information of the target application.
Illustratively, if the running state information of the application a includes: and running the structural data model A of the application A, calling the structural data model B of the application B which has an incidence relation with the structural data model A by the structural data model A, and then continuously running all functions of the application A by the deployment control system and realizing the functions of the application B.
In the embodiment of the application, the deployment control system may update the target application according to the running state information of the target application and the updated application data.
It should be noted that the application data may further include: identification of the target structural data model, identification of other structural data models, target configuration information. The target configuration information corresponds to the target application, and the target configuration information corresponds to the target structure data model. The updated application data may include: an identification of the updated target structure data model, an identification of the updated other structure data model, and updated target configuration information. The updated target configuration information corresponds to the updated target application, and the updated target configuration information corresponds to the updated target structure data model.
In a possible implementation manner, if the running state information of the target application is the first state information, the deploying control system updates the target application, including: the deployment control system updates the target configuration information into updated target configuration information; the deployment control system updates the identification of the target structure data model according to the updated identification of the target structure data model; and the deployment control system updates the identifiers of the other structural data models according to the updated identifiers of the other structural data models.
Illustratively, the application data a of the application a includes: information A, 8B37-28A8+6, 8B11-28A0+5. Wherein, the information a is configuration information (i.e. target configuration information) corresponding to the application a, 8B37-28a8+6 is an identifier of the structure data model a (i.e. target structure data model) of the application a, and 8B11-28a0+5 is an identifier of the structure data model (i.e. other structure data model) of the application B having an association relationship with the application a. If the updated application data a includes: information B (namely updated information A), 8B37-28A8+7 (namely the identification of the updated structure data model A), 8B11-28A0+6 (namely the identification of the updated structure data model B), and the running state information of the application A is the running structure data model A (namely the first state information), then the deployment control system updates the information A in the application data A to information B, updates 8B37-28A8+6 to 8B37-28A8+7, and updates 8B11-28A0+5 to 8B11-28A0+6.
In this embodiment of the present application, the configuration item of the target configuration information may be a target configuration item, the configuration value of the target configuration information may be a target configuration value, and the target configuration information may include: target configuration items, target configuration values, identification of a target structure data model. The target configuration items are configurable attributes of the target structure data model, and the target configuration values are configuration values of the configurable attributes of the target structure data model.
That is, the target application may run the target structure data model according to the target configuration item, the target configuration value, and the identification of the target structure data model in the target configuration information. That is, the target application can realize the function of the target application through the target configuration item, the target configuration value and the identification of the target structure data model.
It should be noted that, the updated target configuration information may include: an updated target configuration item, an updated target configuration value, an identification of an updated target structure data model.
In one possible design, if the running state information of the target application is the first state information, the deploying control system updates the target configuration information to the updated target configuration information, including: the deployment control system updates the target configuration value to an updated target configuration value, and the deployment control system updates the identifier of the target structure data model to the identifier of the updated target structure data model.
Illustratively, application a (i.e., the target application) corresponds to information a (i.e., the target configuration information), which includes: 8BT0-2OM8+7, a timer and 0.5 second, 8BT0-2OM8+7 are the identification of the structure data model A of the application A (the identification of the target structure data model), the timer is the configurable attribute (namely the target configuration item) of the structure data model A, and 0.5 second is the parameter value (namely the target configuration value) of the configurable attribute of the structure data model A. If the updated information a includes: 8BT0-2OM8+8, a timer and 1.2 seconds (namely the updated target configuration value), and the running state information of the application A is the structural data model A (namely the first state information) for running the application A, the deployment control system updates 8BT0-2OM8+7 in the information A to 8BT0-2OM8+8 and updates 0.5 seconds to 1.2 seconds.
In one possible design, the application data may further include: the second information of the target structure data model, the second information of the other structure data models, and the updated application data may include: second information of the updated target structural data model, second information of the updated other structural data model. If the running state information of the target application is the first state information, the deployment control system updates the target application, and the method further comprises the following steps: the deployment control system updates the second information of the target structure data model according to the updated second information of the target structure data model; and the deployment control system updates the second information of the other structural data models according to the updated second information of the other structural data models.
It should be noted that, for the descriptions of the processes of the deployment control system updating the second information of the target structure data model according to the updated second information of the target structure data model, and the deployment control system updating the second information of the other structure data models according to the updated second information of the other structure data models, reference may be made to the descriptions of the deployment control system updating the identifier of the target structure data model according to the updated identifier of the target structure data model in the foregoing embodiment, and the deployment control system updating the identifiers of the other structure data models according to the updated identifier of the other structure data model, which are not described herein again.
It is understood that, by obtaining the first instruction, the deployment control system may obtain the updated application data of the target application. Then, the deployment control system may determine, according to the updated application data, a structural data model that needs to be updated and a structural data model that does not need to be updated in the application data of the target application. And then, the deployment control system can continuously run the function corresponding to the structural data model which does not need to be updated in the application data of the target application. Therefore, when the application data corresponding to part of the functions in all the functions of the application are updated, the application data corresponding to the functions which do not need to be updated in all the functions of the application can be prevented from being updated, the functions which do not need to be updated in all the functions of the application can be prevented from being influenced, and the running efficiency of the application is improved. And, the deployment control system may update the target application according to the updated application data. That is, the deployment control system may update only the structural data model that needs to be updated in the application data of the target application. Therefore, when part of application data in all the application data of the application is updated, the application data which does not need to be updated in all the application data of the application can be prevented from being updated, resources occupied by the application during maintenance and upgrading are effectively saved, and the efficiency of maintenance and upgrading of the application is improved.
In some embodiments, the application data may further include: sub-configuration information of the target structure data model. Wherein the sub-configuration information of the target structure data model corresponds to the sub-application. That is, the structural data model of the target structural data model may invoke the structural data model of the sub-application through the sub-configuration information of the target structural data model.
Illustratively, the sub-applications of application A include: application B and application C, the structural data model of application A comprises: the sub-configuration information A is generated by a structural data model of the application B, the sub-configuration information B is generated by a structural data model of the application C, the sub-configuration information A corresponds to the sub-application A, the sub-configuration information B corresponds to the sub-application B, the structural data model of the application A can call the structural data model of the application B through the sub-configuration information A, and the structural data model of the application A can call the structural data model of the application C through the sub-configuration information B.
It should be noted that the updated application data may further include: the updated sub-configuration information of the target structure data model.
In a possible implementation manner, if the running state information of the target application is the first state information, the deployment control system updates the target application, and further includes: the deployment control system updates the sub-configuration information of the target structure data model to the updated sub-configuration information of the target structure data model.
It should be noted that the updated sub-configuration information of the target structure data model may include: the updated first configuration item is the updated first configuration value and the updated identification of the substructure data model.
In one possible design, if the running state information of the target application is the first state information, the updating the sub-configuration information of the target structure data model to the updated sub-configuration information of the target structure data model by the deployment control system includes: the deployment control system updates the first configuration value to an updated first configuration value, and the deployment control system updates the identifier of the substructure data model to an identifier of the updated substructure data model.
It should be noted that, for the description of the process in which the deployment control system updates the first configuration value to the updated first configuration value and the deployment control system updates the identifier of the substructure data model to the identifier of the updated substructure data model, reference may be made to the description in the above embodiment in which the deployment control system updates the target configuration value to the updated target configuration value and the deployment control system updates the identifier of the target structure data model to the identifier of the updated target structure data model, which is not described herein again.
It is understood that the deployment control system may determine whether to update the sub-configuration information based on the operating state information of the structural data model and the updated application data. That is, the deployment control system may determine whether to update the sub-configuration information during the update of the target application. Therefore, the updating of the application data which does not need to be updated in all the application data can be avoided, the resources occupied by the application during maintenance and upgrading are effectively saved, and the efficiency of the maintenance and upgrading of the application is improved.
In some embodiments, other structural data models may include: and the sub-structure data model is a structure data model of the sub-application. The deployment control system may determine the operating state information of the target application according to the second information of the sub-structure data model, when it is determined that the first information of the target structure data model is the same as the updated first information of the target structure data model, and the first information of the other structure data model is the same as the updated first information of the other structure data model.
As shown in fig. 6, after S505, the method for updating an application further includes: S601-S602.
S601, the deployment control system determines whether the second information of the substructure data model is the same as the second information of the updated substructure data model.
It should be noted that, the introduction of the process of determining, by the deployment control system, whether the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model may refer to the process of determining, by the deployment control system in S504, whether the first information of the target structure data model is the same as the first information of the updated target structure data model, which is not described herein again.
In some embodiments, if the deployment control system determines that the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model, the deployment control system performs S602.
S602, the deployment control system determines that the running state information of the target application is second state information.
The second state information is used for indicating that the target application can call the sub-application, and the second state information comprises the first state information.
Illustratively, the second state information includes: the structural data model a (i.e., the target structural data model) of application a (i.e., the target application) is run, and the structural data model B (i.e., the sub-structural data model) of application B (i.e., the sub-application) is invoked by the structural data model of application a.
That is, the target application may run a target structure data model, which may invoke a sub-structure data model. That is, the target application can implement the function of the target application, and can also call the sub-application to implement the function of the sub-application.
In some embodiments, other structural data models may also include: and the grandchild structure data model is a structure data model of grandchild application, and the grandchild application is an application called by the target application through the child application.
Illustratively, the sub-applications of application a include: and the application D and the application E are grandchild applications of the application A.
In this embodiment of the present application, in the case that the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model, the second state information is further used to indicate that the target application can call the grandchild application.
Illustratively, the second state information includes: the structural data model A (i.e., the target structural data model) of application A (i.e., the target application) is run, the structural data model A calls the structural data model B (i.e., the child structural data model) of application B (i.e., the child application), and the structural data model A calls the structural data model C (i.e., the grandchild structural data model) of application C (i.e., the grandchild application) through the structural data model B.
That is, the target application may run the target structured data model, the target structured data model may invoke the child structured data model, and the target structured data model may invoke the grandchild structured data model through the child structured data model. That is, the target application can implement the functions of the target application, the child application, and the grandchild application.
It is to be appreciated that the deployment control system can determine whether the target application is capable of invoking the sub-application by determining whether the second information of the sub-structured data model is the same as the second information of the updated sub-structured data model. That is to say, the deployment control system may determine whether the target application may continue to call the sub-application in the update process of the target application, so as to implement the function of the sub-application. Thus, the running efficiency of the application can be improved.
In some embodiments, after S602, the deployment control system may perform S507.
In this embodiment of the present application, the child configuration information of the child structure data model may be grandchild configuration information, the grandchild configuration information corresponds to a grandchild application, and the grandchild configuration information corresponds to a grandchild structure data model. That is, the child structure data model may call the grandchild structure data model through the grandchild configuration information.
It should be noted that, for the description of the grandchild configuration information, reference may be made to the description of the child configuration information in the foregoing embodiment, and details are not described here.
In one possible implementation, the application data may further include: and (5) grandchild configuration information. The updated application data may further include: and updating the grandchild configuration information. If the running state information of the target application is the second state information, the deployment control system updates the target application, and the method further comprises the following steps: and the deployment control system updates the grandchild configuration information into the updated grandchild configuration information.
It should be noted that the configuration item of the grandchild configuration information may be a second configuration item, the configuration value of the grandchild configuration information may be a second configuration value, and the grandchild configuration information includes: a second configuration item, a second configuration value, and an identification of a grandchild structure data model. And the second configuration item is a configurable attribute of the grandchild structure data model. The second configuration value is a parameter value of the configurable attribute of the grandchild structure data model.
That is, the target structure data model may invoke the grandchild structure data model through the child structure data model according to the second configuration item, the second configuration value, and the identifier of the grandchild structure data model in the grandchild configuration information. That is, the target application may implement the function of the grandchild application through the second configuration item, the second configuration value, and the identifier of the grandchild structure data model.
In one possible design, if the running state information of the target application is the second state information, the deployment control system updates the grandchild configuration information to the updated grandchild configuration information, including: and the deployment control system updates the second configuration value to the updated second configuration value, and updates the identifier of the grandchild structure data model to the identifier of the updated grandchild structure data model.
It should be noted that, for the description of the process in which the deployment control system updates the second configuration value to the updated second configuration value, and the deployment control system updates the identifier of the grandchild structure data model to the identifier of the updated grandchild structure data model, reference may be made to the description of the deployment control system updating the target configuration value to the updated target configuration value and the deployment control system updating the identifier of the target structure data model to the identifier of the updated target structure data model in the above embodiment, which is not described herein again.
It can be understood that the deployment control system may determine whether to update the grandchild configuration information according to the operating state information of the structure data model and the updated application data. That is, the deployment control system may determine whether to update the grandchild configuration information during the update of the target application. Therefore, the updating of the application data which is not required to be updated in all the application data of the application can be avoided, the resources occupied by the application during maintenance and upgrading are effectively saved, and the efficiency of maintenance and upgrading of the application is improved.
In some embodiments, as shown in fig. 7, after S504, the method for updating the application further includes: S701-S704.
S701, the deployment control system determines whether the first information of the substructure data model is the same as the first information of the updated substructure data model.
It should be noted that, the introduction of the process of determining, by the deployment control system, whether the first information of the sub-structure data model is the same as the first information of the updated sub-structure data model may refer to the process of determining, by the deployment control system in S504, whether the first information of the target structure data model is the same as the first information of the updated target structure data model, which is not described herein again.
In some embodiments, if the deployment control system determines that the first information of the sub-structure data model is the same as the first information of the updated sub-structure data model, the deployment control system performs S702.
S702, the deployment control system determines whether the second information of the substructure data model is the same as the second information of the updated substructure data model.
It should be noted that, for the introduction of the process of determining, by the deployment control system, whether the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model, reference may be made to the process of determining, by the deployment control system in S504, whether the first information of the target structure data model is the same as the first information of the updated target structure data model, which is not described herein again.
In some embodiments, if the deployment control system determines that the second information of the sub-structure data model is not the same as the second information of the updated sub-structure data model, the deployment control system executes S703.
S703, the deployment control system determines whether the first information of the grandchild structure data model is the same as the updated first information of the grandchild structure data model.
It should be noted that, the introduction of the process that the deployment control system determines whether the first information of the grandchild structure data model is the same as the first information of the updated grandchild structure data model may refer to the process that the deployment control system determines whether the first information of the target structure data model is the same as the first information of the updated target structure data model in S504, which is not described herein again.
In some embodiments, if the deployment control system determines that the first information of the grandchild structure data model is the same as the first information of the updated grandchild structure data model, the deployment control system performs S702.
S704, the deployment control system determines the running state information of the target application according to the second information of the grandchild structure data model and the updated second information of the grandchild structure data model.
In one possible implementation, the deployment control system may determine whether the second information of the grandchild structure data model and the second information of the updated grandchild structure data model are the same (i.e., S601). If the deployment control system determines that the second information of the grandchild structure data model is the same as the updated second information of the grandchild structure data model, the deployment control system determines that the running state information of the target application is the second state information (i.e., S602).
It is understood that the deployment control system may determine whether the target structural data model can call the grandchild structural data model through the child structural data model by determining whether the first information of the grandchild structural data model is the same as the first information of the updated grandchild structural data model, and whether the second information of the grandchild structural data model is the same as the second information of the updated grandchild structural data model. That is to say, the deployment control system may determine whether the target application may continue to call the grandchild application through the child application in the update process of the target application, so as to implement the function of the grandchild application. Thus, the running efficiency of the application can be improved.
In other embodiments, as shown in fig. 8, if the deployment control system determines that the first information of the grandchild structure data model is not the same as the first information of the updated grandchild structure data model, after S703, the updating method of the application further includes: and S801.
S801, the deployment control system determines that the running state information of the target application is third state information.
The third state information is used for indicating that the target application cannot call the sub-application, and the third state information comprises the first state information.
Illustratively, the third state information is a structured data model a (i.e., a target structured data model) that runs only application a (i.e., a target application).
That is, the target application can only run the target structured data model, which cannot call up the structured data models of other applications. That is, the target application can only implement the function of the target application, and cannot call other applications and implement the functions of other applications.
In some embodiments, after S801, the deployment control system may perform S507.
In one possible design, the other structural data model may further include: the great-grand structural data model is a structural data model applied by great-grand, the great-grand application is an application called by the child application through the grand-grand application.
In the embodiment at the time of this application, the child configuration information of the great-grand structure data model may be great-grand configuration information, the great-grand configuration information corresponds to great-grand application, and the great-grand configuration information corresponds to a great-grand structure data model. That is, the grandchild structure data model may invoke the grandchild structure data model through the grandchild configuration information.
It should be noted that, for the description of the great grandchild configuration information, reference may be made to the description of the child configuration information in the foregoing embodiment, and details are not described here.
In one possible implementation, the application data may further include: great-grand configuration information and great-grand structure data model. The updated application data may further include: the updated great-grand configuration information and the updated functional information of the great-grand structure data model. If the running state information of the target application is the third state information, the deployment control system updates the target application, and the method further comprises the following steps: the deployment control system updates the great-grand configuration information into the updated great-grand configuration information, and the deployment control system updates the function information of the great-grand structure data model into the function information of the updated great-grand structure data model.
It should be noted that, the configuration item of the great-grand configuration information may be a third configuration item, the configuration value of the great-grand configuration information may be a third configuration value, and the great-grand configuration information includes: a third configuration item, a third configuration value, and an identification of the Zengsun structure data model. The third configuration item is a configurable attribute of the Zehnder structure data model, the third configuration value is a parameter value of the configurable attribute of the Zehnder structure data model, and the function information of the grandibusion structure data model comprises: the function, the preset configuration item and the third configuration item.
That is to say, the target structure data model may call the great-grand structure data model through the child structure data model and the grand-grand structure data model according to the third configuration item, the third configuration value, and the identifier of the great-grand structure data model in the great-grand configuration information. That is, the target application may implement the function of the great-grandchild application through the third configuration item, the third configuration value, and the identifier of the great-grandchild structure data model.
In one possible design, if the running state information of the target application is the third state information, the deployment control system updates the great-grand configuration information to the updated great-grand configuration information, including: and the deployment control system updates the third configuration value to the updated third configuration value, and updates the identifier of the great-grand structure data model to the identifier of the updated great-grand structure data model.
It should be noted that, for the description of the process that the deployment control system updates the third configuration value to the updated third configuration value, and the deployment control system updates the identifier of the great-grand structure data model to the identifier of the updated great-grand structure data model, reference may be made to the description that the deployment control system updates the target configuration value to the updated target configuration value, and the deployment control system updates the identifier of the target structure data model to the identifier of the updated target structure data model in the above embodiments, which is not described herein again.
Optionally, if the running state information of the target application is the third state information, the deployment control system updates the function information of the grandchild structure data model to the updated function information of the grandchild structure data model, including: the deployment control system updates the function of the grandchild structure data model to the function of the updated grandchild structure data model, updates the preset configuration item of the grandchild structure data model to the preset configuration item of the updated grandchild structure data model, and updates the third configuration item to the updated third configuration item.
It should be noted that, for the descriptions of the processes that the deployment control system updates the function of the grandchild structure data model to the function of the updated grandchild structure data model, the deployment control system updates the preset configuration item of the grandchild structure data model to the preset configuration item of the updated grandchild structure data model, and the deployment control system updates the third configuration item to the updated third configuration item, reference may be made to the description of updating the target structure data model in the embodiment shown in fig. 4, which is not described herein again.
In one possible design, the application data may further include: the first information of the grandchild structure data model, the updated application data may include: first information of the updated grandchild structure data model. If the running state information of the target application is the third state information, the deployment control system updates the target application, and the method further comprises the following steps: and the deployment control system updates the first information of the grandchild structure data model according to the updated first information of the grandchild structure data model.
It should be noted that, for an introduction to the process that the deployment control system updates the first information of the grandchild structure data model according to the updated first information of the grandchild structure data model, reference may be made to the introduction that the deployment control system updates the identifier of the target structure data model according to the updated identifier of the target structure data model in the above embodiment, and the deployment control system updates the identifiers of the other structure data models according to the updated identifiers of the other structure data models, which is not described herein again.
It can be understood that the deployment control system may determine whether to update the function information of the grandchild structure data model according to the operating state information of the structure data model and the updated application data. That is, the deployment control system may determine whether to update the functional information of the grandchild structure data model during the update of the target application. Therefore, the updating of the application data which does not need to be updated in all the application data can be avoided, the resources occupied by the application during maintenance and upgrading are effectively saved, and the efficiency of the maintenance and upgrading of the application is improved.
The following describes an update method of an application provided by the present application with reference to a specific example, as shown in fig. 9, which illustrates an association relationship between structural data models. The application a (i.e., the target application) corresponds to the information a (i.e., the target configuration information), the model a (i.e., the target structure data model) of the application a may call the model B (i.e., the child structure data model) and the model C (i.e., the child structure data model), the model a may call the model D (i.e., the grandchild structure data model) and the model E (i.e., the grandchild structure data model) through the model B, and the model a may call the model F (i.e., the grandchild structure data model) through the model C.
Wherein, the information A includes: the mark 8B37-28A8+6 of the model A, the target configuration item is a port, and the target configuration value is 10R; the model A comprises: 8B37-28A8+6, function A, and presetting configuration items as a port, information B and information C; the information B includes: the mark 8B37-2H0VC +2 of the model B, the first configuration item is a port, and the first configuration value is 10R; the information C includes: the mark 8H07-2H0VC +4 of the model C, the first configuration item is a timer, and the first configuration value is 1.4 seconds; the model B comprises: 8B37-2H0VC +2, and the function B, the preset configuration items are ports, information D and information E; the model C comprises: 8H07-2H0VC +4, a function C, a preset configuration item is a timer and information F; the information D includes: the mark MX37-2H0VC +1 of the model D, the second configuration item is a timer, and the second configuration value is 0.2 second; the information E includes: the mark MX37-2FTVC +5 of the model E, the second configuration item is a timer, and the second configuration value is 0.6 second; the information F includes: the mark M0B1-25LVC +8 of the model F, the second configuration item is a port, and the second configuration value is P0V; the model D includes: MX37-2H0VC +1, function D, presetting configuration items as a timer, a third configuration item as a timer, and a third configuration value of 0.4 second; the model E includes: MX37-2FTVC +5, function E, presetting configuration items as timers, third configuration items as ports and third configuration values as G0T; the model F includes: M0B1-25LVC +8, a function F, a preset configuration item is a port, a third configuration item is a timer, and a third configuration value is 1.7 seconds.
If the first instruction indicates to update the target configuration value in the information A to U1X, update the first configuration value in the information B to VG1, update the first configuration value in the information C to 0.5 second, update the third configuration item in the model D to a port, update the third configuration value in the model F to 0.31 second, the deployment control system updates the application A according to the first instruction, and updates 8B37-28A +6 in the information A and the model A to 8B37-28A8+7 according to a preset updating algorithm, updating 8B37-2H0VC +2 in the information B neutralization model B to 8B37-2H0VC +3, updating 8H07-2H0VC +4 in the information C neutralization model C to 8H07-2H0VC +5, updating MX37-2H0VC +1 in the information D neutralization model D to MX37-2H0VC +2, updating MX37-2FTVC +5 in the information E neutralization model E to MX37-2FTVC +6, and updating M0B1-25LVC +8 in the information F neutralization model F to M0B1-25LVC +9 to obtain the correlation relationship between the updated structural data models as shown in FIG. 10. During the updating process of the application A, the application A can run the model A, the model A can call the model C, and the model A can call the model F.
It is understood that, in practical implementation, the application development system, the deployment control system, and the like in the embodiments of the present application may include one or more hardware structures and/or software modules for implementing the corresponding application updating method, and these hardware structures and/or software modules may constitute one electronic device. Those of skill in the art will readily appreciate that the various illustrative algorithmic steps described in connection with the embodiments disclosed herein may be embodied in hardware or in a combination of hardware and computer software. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Based on such understanding, taking a hardware structure and/or a software module included in an electronic device as an example, the embodiments of the present application also provide an application updating apparatus, which can be applied to the electronic device (for example, an electronic device deploying an application development system, or an electronic device deploying a control system).
Fig. 11 is a schematic structural diagram of an application updating apparatus according to an embodiment of the present application. The application updating apparatus is configured to execute the application updating method shown in fig. 5, 6, 7 or 8. As shown in fig. 11, the updating apparatus 1100 of the application may include: a processing module 1101 and an acquisition module 1102.
A processing module 1101 for running a target application. The obtaining module 1102 is configured to obtain a first instruction, where the first instruction is used to instruct to update the target application. The obtaining module 1102 is further configured to obtain the updated application data according to the first instruction. The processing module 1101 is further configured to determine that the running state information of the target application is the first state information if the first information of the target structure data model is the same as the updated first information of the target structure data model and the first information of the other structure data model is the same as the updated first information of the other structure data model, where the first state information is used to indicate that the target application is in a running state, and the first information is update information of the function information of the structure data model. The processing module 1101 is further configured to continue running the target application, and update the target application according to the updated application data.
Optionally, the application data further includes: target configuration information, the target configuration information corresponding to a target application. The processing module 1101 is specifically configured to update the target configuration information to the updated target configuration information. The processing module 1101 is further configured to update the identifier of the target structure data model according to the updated identifier of the target structure data model. The processing module 1101 is further configured to update the identifier of the other structure data model according to the updated identifier of the other structure data model.
Optionally, other structural data models include: and the sub-structure data model is a structure data model of the sub-application. The processing module 1101 is further configured to determine that the running state information of the target application is the second state information if the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model. The second information is update information of the structural data model, the second state information is used for indicating that the target application can call the sub-application, and the second state information comprises the first state information.
Optionally, the other structural data model further includes: the data model of the grandchild structure is a structural data model of a grandchild application, the child application is an application which is not called by other applications except the target application, and the grandchild application is an application which is called by the target application through the child application. And under the condition that the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model, the second state information is also used for indicating that the target application can call the grandchild application.
Optionally, the processing module 1101 is further configured to determine whether the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model if the first information of the target structure data model is the same as the first information of the updated target structure data model and the first information of the sub-structure data model is the same as the first information of the updated sub-structure data model. The processing module 1101 is further configured to determine whether the first information of the grandchild structure data model is the same as the first information of the updated grandchild structure data model if the second information of the child structure data model is different from the second information of the updated grandchild structure data model. The processing module 1101 is further configured to determine, if the first information of the grandchild structure data model is the same as the updated first information of the grandchild structure data model, the running state information of the target application according to the second information of the grandchild structure data model and the updated second information of the grandchild structure data model.
Optionally, the target structure data model includes: and the sub-configuration information corresponds to the sub-application, and the sub-configuration information has an incidence relation with the target structure data model. The processing module 1101 is specifically configured to update the sub-configuration information to the updated sub-configuration information.
Optionally, the processing module 1101 is further configured to determine that the running state information of the target application is third state information if the first information of the grandchild structure data model is different from the updated first information of the grandchild structure data model, where the third state information is used to indicate that the target application cannot call the child application, and the third state information includes the first state information.
Optionally, the functional information of the structure data model includes at least one of: the function, the preset configuration item and the configuration item of the sub-configuration information. Wherein, if the function information is updated, the first information is changed.
Fig. 12 is a schematic structural diagram of an updating apparatus for an application according to an embodiment of the present application. The application updating apparatus is used for executing the application updating method shown in fig. 2 and 3. The updating apparatus 1200 of the application may include: an obtaining module 1201 and a processing module 1202.
An obtaining module 1201, configured to obtain a second instruction, where the second instruction is used to instruct to update the target structure data model. The processing module 1202 is configured to update the second information of the target structure data model if the second instruction is used to indicate that the configuration value of the sub-configuration information of the target structure data model is updated, where the second information is update information of the structure data model.
Optionally, the processing device is further configured to update the first information and the second information of the target structure data model if the second instruction is used to instruct to update the function information of the target structure data model. The first information is update information of function information of the structure data model, and the function information comprises at least one of the following items: the method comprises the steps of function, preset configuration items and configuration items of sub-configuration information, wherein the sub-configuration information has an incidence relation with a target structure data model.
Optionally, the first information is function version information, and the second information is edit version information. The processing module 1202 is specifically configured to update the function version information of the target structure data model according to a preset update algorithm, where the updated function version information of the target structure data model is greater than the function version information of the target structure data model before update. The processing module 1202 is further configured to update the edit version information of the target structural data model according to a preset update algorithm, where the edit version information of the updated target structural data model is greater than the edit version information of the target structural data model before update.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus, and the unit described above, reference may be made to the corresponding processes in the above method embodiments, which are not described herein again.
As described above, the embodiment of the present application may divide the function modules of the execution subjects involved in the update method of the application according to the above method example. The integrated module can be realized in a hardware form, and can also be realized in a software functional module form. In addition, it should be further noted that the division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. For example, each functional module may be divided in accordance with each function, or two or more functions may be integrated into one processing module.
The specific manner in which each module performs operations and the beneficial effects of the updating apparatus for applications in the foregoing embodiments have been described in detail in the foregoing method embodiments, and are not described again here.
The embodiment of the present application further provides an update device for an application, where the update device for the application may be an electronic device that deploys an application development system, or an electronic device that deploys a control system.
Fig. 13 is a diagram illustrating a hardware structure of an update apparatus for an application according to an exemplary embodiment. The update device of the application may include: a communication interface 1301 and a processor 1302. The processor 1302 is configured to control and manage the actions of the device, for example, to perform various steps in the method flows shown in the above-described method embodiments, and/or to perform other processes for the techniques described herein. Communication interface 1301 is used to support communication of the update apparatus of the application with other network entities. The updating means of the application may further comprise a memory 1303 and a bus 1304, the memory 1303 being adapted to store program codes and data.
The processor 1302 may implement or execute various exemplary logical blocks, units and circuits described in connection with the present disclosure. The processor 1302 may be a central processing unit, general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, units, and circuits described in connection with the present disclosure. The processor 1302 may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of DSPs and microprocessors, or the like.
The memory 1303 may include volatile memory, such as random access memory; the memory 1303 may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk, or a solid state disk; the memory 1303 may also comprise a combination of memories of the above-mentioned kind.
The bus 1304 may be an Extended Industry Standard Architecture (EISA) bus or the like. The bus 1304 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 13, but this is not intended to represent only one bus or type of bus.
In an exemplary embodiment, the present application further provides a computer-readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by the electronic device, cause the electronic device to implement the methods of the embodiments described above.
Alternatively, the computer-readable storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a read-only memory (ROM), a Random Access Memory (RAM), a compact disc-read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data electronic device, and the like.
In an exemplary embodiment, the present application further provides a computer program product, which includes computer readable code or a non-volatile computer readable storage medium carrying computer readable code, and when the computer readable code runs in an electronic device, a processor in the electronic device implements the update method of the application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (15)

1. An updating method of an application, wherein the method is applied to a deployment control system, the deployment control system is deployed with application data, and the application data comprises: a target structural data model and other structural data models, the target structural data model being a structural data model of the target application, the other structural data models comprising: a structural data model of a sub-application having an association relationship with the target application; the method comprises the following steps:
running the target application;
acquiring a first instruction, wherein the first instruction is used for indicating to update the target application;
acquiring updated application data according to the first instruction;
if the first information of the target structure data model is the same as the updated first information of the target structure data model and the first information of the other structure data model is the same as the updated first information of the other structure data model, determining that the running state information of the target application is first state information, wherein the first state information is used for indicating that the target application is in a running state, and the first information is updating information of function information of the structure data model;
and continuing to run the target application, and updating the target application according to the updated application data.
2. The method of claim 1, wherein the application data further comprises: target configuration information, the target configuration information corresponding to the target application, updating the target application according to the updated application data, including:
updating the target configuration information into updated target configuration information;
updating the identification of the target structure data model according to the identification of the updated target structure data model;
and updating the identifications of the other structural data models according to the updated identifications of the other structural data models.
3. The method of claim 2, wherein the other structural data models comprise: a sub-structure data model, the sub-structure data model being a structure data model of the sub-application;
in a case where the first information of the target structural data model is the same as the updated first information of the target structural data model, and the first information of the other structural data model is the same as the updated first information of the other structural data model, the method further includes:
if the second information of the substructure data model is the same as the updated second information of the substructure data model, determining that the running state information of the target application is the second state information;
the second information is update information of a structural data model, the second state information is used for indicating that the target application can call the sub-application, and the second state information includes the first state information.
4. The method of claim 3, wherein the other structural data model further comprises: a grandchild structure data model, wherein the grandchild structure data model is a structure data model of a grandchild application, the child application is an application which is not called by the application other than the target application, and the grandchild application is an application which is called by the target application through the child application;
and under the condition that the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model, the second state information is also used for indicating that the target application can call the grandchild application.
5. The method of claim 1, wherein the other structural data models comprise: a sub-structure data model, the sub-structure data model being a structure data model of the sub-application; the method further comprises the following steps:
if the first information of the target structure data model is the same as the updated first information of the target structure data model and the first information of the sub-structure data model is the same as the updated first information of the sub-structure data model, determining whether the second information of the sub-structure data model is the same as the updated second information of the sub-structure data model;
if the second information of the child structural data model is not the same as the second information of the updated child structural data model, determining whether the first information of the grandchild structural data model is the same as the first information of the updated grandchild structural data model;
and if the first information of the grandchild structure data model is the same as the updated first information of the grandchild structure data model, determining the running state information of the target application according to the second information of the grandchild structure data model and the updated second information of the grandchild structure data model.
6. The method of claim 5, wherein the target structure data model comprises: the sub-configuration information corresponds to the sub-application, the sub-configuration information has an association relationship with the target structure data model, and the target application is updated according to the updated application data, further comprising:
and updating the sub-configuration information into the updated sub-configuration information.
7. The method of claim 5, further comprising:
and if the first information of the grandchild structure data model is not the same as the updated first information of the grandchild structure data model, determining that the running state information of the target application is third state information, wherein the third state information is used for indicating that the target application cannot call the child application, and the third state information comprises the first state information.
8. The method according to any of claims 1-7, wherein the functional information of the structured data model comprises at least one of: the method comprises the steps of configuring configuration items of a function, a preset configuration item and sub-configuration information;
wherein, if the function information is updated, the first information is changed.
9. The method for updating the application is characterized by being applied to an application development system, wherein a target structure data model is stored in the application development system, and the target structure data model is a structure data model of a target application; the method comprises the following steps:
acquiring a second instruction, wherein the second instruction is used for indicating to update the target structure data model;
and if the second instruction is used for indicating the updating of the configuration value of the sub-configuration information of the target structure data model, updating second information of the target structure data model, wherein the second information is the updating information of the structure data model.
10. The method of claim 9, further comprising:
if the second instruction is used for indicating that the function information of the target structure data model is updated, updating the first information and the second information of the target structure data model;
the first information is update information of functional information of the structural data model, and the functional information comprises at least one of the following items: the system comprises a function, a preset configuration item and a configuration item of sub-configuration information, wherein the sub-configuration information has an incidence relation with the target structure data model.
11. The method according to claim 9 or 10, wherein the first information is function version information, and the second information is edit version information;
updating first information of the target structure data model, including:
updating the function version information of the target structure data model according to a preset updating algorithm, wherein the updated function version information of the target structure data model is larger than the function version information of the target structure data model before updating;
updating second information of the target structure data model, including:
and updating the edition version information of the target structure data model according to the preset updating algorithm, wherein the updated edition version information of the target structure data model is larger than that of the target structure data model before updating.
12. An application updating device applied to a deployment control system, wherein application data is deployed in the deployment control system, and the application data includes: a target structural data model and other structural data models, the target structural data model being a structural data model of the target application, the other structural data models comprising: a structural data model of a sub-application having an associative relationship with the target application; the device comprises:
the processing module is used for running the target application;
the acquisition module is used for acquiring a first instruction, and the first instruction is used for indicating to update the target application;
the obtaining module is further configured to obtain the updated application data according to the first instruction;
the processing module is further configured to determine that the running state information of the target application is first state information if the first information of the target structural data model is the same as the updated first information of the target structural data model and the first information of the other structural data model is the same as the updated first information of the other structural data model, where the first state information is used to indicate that the target application is in a running state, and the first information is update information of function information of the structural data model;
the processing module is further configured to continue to run the target application, and update the target application according to the updated application data.
13. The application updating device is applied to an application development system, wherein a target structure data model is stored in the application development system, and the target structure data model is a structure data model of a target application; the device comprises:
the acquisition module is used for acquiring a second instruction, and the second instruction is used for indicating to update the target structure data model;
and the processing module is used for updating second information of the target structure data model if the second instruction is used for indicating to update the configuration value of the sub-configuration information of the target structure data model, wherein the second information is the update information of the structure data model.
14. A computer-readable storage medium comprising a computer program, which, when run on an electronic device, causes the electronic device to carry out the method according to any one of claims 1-11.
15. A computer program product comprising computer readable code or a non-transitory computer readable storage medium carrying computer readable code, wherein when the computer readable code is run in an electronic device, a processor in the electronic device implements the method of any one of claims 1-11.
CN202211198828.3A 2022-09-29 2022-09-29 Application updating method and related equipment Active CN115408031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211198828.3A CN115408031B (en) 2022-09-29 2022-09-29 Application updating method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211198828.3A CN115408031B (en) 2022-09-29 2022-09-29 Application updating method and related equipment

Publications (2)

Publication Number Publication Date
CN115408031A true CN115408031A (en) 2022-11-29
CN115408031B CN115408031B (en) 2023-09-05

Family

ID=84167339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211198828.3A Active CN115408031B (en) 2022-09-29 2022-09-29 Application updating method and related equipment

Country Status (1)

Country Link
CN (1) CN115408031B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110321031A1 (en) * 2010-06-25 2011-12-29 Microsoft Corporation Updating nodes considering service model constraints
CN108509212A (en) * 2018-02-07 2018-09-07 平安科技(深圳)有限公司 Application program update test method, device, terminal device and storage medium
WO2018169429A1 (en) * 2017-03-17 2018-09-20 Oracle International Corporation Framework for the deployment of event-based applications
CN110162319A (en) * 2019-04-15 2019-08-23 深圳壹账通智能科技有限公司 Application program update method, apparatus, computer equipment and storage medium
US20200019868A1 (en) * 2018-07-16 2020-01-16 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for updating application
CN111008028A (en) * 2019-11-22 2020-04-14 杭州数式网络科技有限公司 Software upgrading method, device and storage medium
CN111427596A (en) * 2020-03-12 2020-07-17 浙江大华技术股份有限公司 Software upgrading method and device and terminal equipment
CN111831325A (en) * 2020-07-17 2020-10-27 中国工商银行股份有限公司 Method, device, system and medium for updating configuration file in application
CN111831300A (en) * 2019-08-23 2020-10-27 北京骑胜科技有限公司 APP updating method and device, electronic equipment and computer readable storage medium
US20200401392A1 (en) * 2019-06-21 2020-12-24 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus, device and storage medium for upgrading application
CN112748941A (en) * 2020-08-06 2021-05-04 腾讯科技(深圳)有限公司 Feedback information-based target application program updating method and device
CN113791798A (en) * 2020-06-28 2021-12-14 北京沃东天骏信息技术有限公司 Model updating method and device, computer storage medium and electronic equipment
CN114254324A (en) * 2021-11-30 2022-03-29 王建冬 Management method, device and storage medium based on configuration center
WO2022141951A1 (en) * 2020-12-30 2022-07-07 浙江三维利普维网络有限公司 Data model parameter configuration method and device, electronic device, and storage medium
CN115061717A (en) * 2022-06-30 2022-09-16 北京亚控科技发展有限公司 Application management method, application subscription method and related equipment
CN115080101A (en) * 2022-06-30 2022-09-20 北京亚控科技发展有限公司 Application management method, application subscription method and related equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110321031A1 (en) * 2010-06-25 2011-12-29 Microsoft Corporation Updating nodes considering service model constraints
WO2018169429A1 (en) * 2017-03-17 2018-09-20 Oracle International Corporation Framework for the deployment of event-based applications
CN108509212A (en) * 2018-02-07 2018-09-07 平安科技(深圳)有限公司 Application program update test method, device, terminal device and storage medium
US20200019868A1 (en) * 2018-07-16 2020-01-16 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for updating application
CN110162319A (en) * 2019-04-15 2019-08-23 深圳壹账通智能科技有限公司 Application program update method, apparatus, computer equipment and storage medium
US20200401392A1 (en) * 2019-06-21 2020-12-24 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus, device and storage medium for upgrading application
CN111831300A (en) * 2019-08-23 2020-10-27 北京骑胜科技有限公司 APP updating method and device, electronic equipment and computer readable storage medium
CN111008028A (en) * 2019-11-22 2020-04-14 杭州数式网络科技有限公司 Software upgrading method, device and storage medium
CN111427596A (en) * 2020-03-12 2020-07-17 浙江大华技术股份有限公司 Software upgrading method and device and terminal equipment
CN113791798A (en) * 2020-06-28 2021-12-14 北京沃东天骏信息技术有限公司 Model updating method and device, computer storage medium and electronic equipment
CN111831325A (en) * 2020-07-17 2020-10-27 中国工商银行股份有限公司 Method, device, system and medium for updating configuration file in application
CN112748941A (en) * 2020-08-06 2021-05-04 腾讯科技(深圳)有限公司 Feedback information-based target application program updating method and device
WO2022141951A1 (en) * 2020-12-30 2022-07-07 浙江三维利普维网络有限公司 Data model parameter configuration method and device, electronic device, and storage medium
CN114254324A (en) * 2021-11-30 2022-03-29 王建冬 Management method, device and storage medium based on configuration center
CN115061717A (en) * 2022-06-30 2022-09-16 北京亚控科技发展有限公司 Application management method, application subscription method and related equipment
CN115080101A (en) * 2022-06-30 2022-09-20 北京亚控科技发展有限公司 Application management method, application subscription method and related equipment

Also Published As

Publication number Publication date
CN115408031B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN112416524A (en) Implementation method and device of cross-platform CI/CD (compact disc/compact disc) based on docker and kubernets offline
CN107733985B (en) Method and device for deploying functional components of cloud computing system
CN110463162B (en) Application deployment method, device and system
US20240111549A1 (en) Method and apparatus for constructing android running environment
CN110750286B (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
CN115061717B (en) Application management method, application subscription method and related equipment
CN110673923A (en) XWIKI system configuration method, system and computer equipment
CN115328529B (en) Application management method and related equipment
CN105183528A (en) Server bios upgrading method and system
CN104780058A (en) Electronic equipment configuration method and system
CN114079615A (en) Application synchronization method, system, medium and electronic device in multi-cluster environment
CN110109684B (en) Block chain link point management proxy service installation method, electronic device and storage medium
CN114546588A (en) Task deployment method and device, storage medium and electronic device
CN109274709B (en) Method and system for synchronizing programming works on education operation system
CN115408031B (en) Application updating method and related equipment
CN112099902A (en) Network adapter configuration method and device of virtual machine, electronic device and storage medium
CN111142885A (en) eSIM device management method, device, equipment and storage medium
CN110413311A (en) ' In System Reconfiguration Method and server
WO2021118890A1 (en) System and method for providing integrated development environment
CN106445599A (en) Application program upgrading method and upgrading device and terminal
CN112596748A (en) Desktop fusion using method, device, equipment and readable storage medium
CN112685051A (en) Method, device, platform and storage medium for automatically executing shell script
CN112199161A (en) Cloud platform service management method and device and related components
CN110971665A (en) Management method, system, equipment and storage medium for interfacing multi-type storage
CN112306843A (en) Test method, test device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant