CN115408031B - Application updating method and related equipment - Google Patents

Application updating method and related equipment Download PDF

Info

Publication number
CN115408031B
CN115408031B CN202211198828.3A CN202211198828A CN115408031B CN 115408031 B CN115408031 B CN 115408031B CN 202211198828 A CN202211198828 A CN 202211198828A CN 115408031 B CN115408031 B CN 115408031B
Authority
CN
China
Prior art keywords
information
data model
application
structure data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211198828.3A
Other languages
Chinese (zh)
Other versions
CN115408031A (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

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 updating method of an application and related equipment, which relate to the technical field of software and can enable an application program to continue to run in the process of maintenance and upgrading. The method comprises the following steps: and running the target application. And acquiring a first instruction, wherein the first instruction is used for indicating to update the target application. And acquiring updated application data according to the first instruction. 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 other structure data models is the same as the first information of the updated other structure data models, determining that the running state information of the target application is the 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 updated information of the functional 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 devices.
Background
An Application (APP) is also known as an application, and refers to a computer program that may run in a user mode and interact with a user to perform some or more specific tasks, and may have a visual user interface.
At present, the electronic device is integrally maintained and upgraded for each application, and the electronic device can acquire data corresponding to all functions of the 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 to be updated may be data corresponding to a part of functions in all functions of the application, which may affect the functions of the electronic device that do not need to be updated in running the application. Therefore, how to maintain and upgrade some functions of an application by an electronic device without affecting other functions of the electronic device for running the application becomes a technical problem to be solved urgently.
Disclosure of Invention
The application provides an application updating method and related equipment, which can enable an 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 a method for updating an application, the method comprising:
the deployment control system runs the target application. The deployment control system acquires a first instruction, wherein the first instruction is used for indicating to update the target application. And the deployment control system acquires updated application data according to the first instruction. 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 other structure data models is the same as the first information of the updated 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 updated information of the functional information of the structure data model. 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 comprises the following steps: the deployment control system updates the target configuration information to updated target configuration information. And the deployment control system updates the identification of the target structure data model according to the identification of the updated target structure data model. And the deployment control system updates the identifications of the other structural data models according to the identifications of the updated other structural data models.
Alternatively, other structural data models include: the sub-structure data model is a structure data model of a sub-application. The application updating method further comprises the following steps: if the second information of the sub-structure data model is the same as the updated second information of the sub-structure data model, the deployment control system determines that the running state information of the target application is the second state information. 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: grandchild structure data model the grandchild structure data model is the structure data model of the grandchild application, the child application is the application which is not called by other applications except the target application, and the grandchild application is the application which is called by the target application through the child application. And the second state information is further used for indicating that the target application can call the grandchild application when the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model.
Optionally, the method for updating the application further includes: 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 deployment control system determines 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 second information of the sub-structure data model is different from the second information of the updated sub-structure data model, 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. If 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 determines 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.
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 of: the deployment control system updates the sub-configuration information to updated sub-configuration information.
Optionally, the method for updating the application further includes: if the first information of the grandchild structure data model is different from the first information of the updated grandchild structure data model, the deployment control system determines 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.
Optionally, the functional information of the structural data model includes at least one of: function, preset configuration item, configuration item of 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:
the application development system obtains a second instruction for indicating to update the target structure data model. If the second instruction is used for indicating the configuration value of the sub-configuration information of the update target structure data model, the application development system updates the second information of the target structure data model, and the second information is the update information of the structure data model.
Optionally, the method for updating the application further includes: and if the second instruction is used for indicating 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. The first information is update information of function information of the structural data model, and the function information comprises at least one of the following: the function, the preset configuration item and the configuration item of the sub-configuration information are related to the target structure data model.
Optionally, the first information is functional 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: the application development system updates the functional version information of the target structure data model according to a preset updating algorithm, and 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 comprises the following steps: the application development system updates the editing version information of the target structure data model according to a preset updating algorithm, and the editing version information of the updated target structure data model is larger than the editing version information of the target structure data model before updating.
In a third aspect, the present application provides an update apparatus for an application. The device comprises: a processing module and an acquisition module.
And the processing module is used for running the target application. The acquisition module is used for acquiring a first instruction, wherein the first instruction is used for indicating to update the target application. The acquisition module is further used for acquiring 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 models is the same as the updated first information of the other structure data models, where the first state information is used to indicate that the target application is in the running state, and the first information is updated information of the functional 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 corresponding to a target application. The processing module is specifically configured to update the target configuration information to updated target configuration information. And the processing module is also used for updating the identification of the target structure data model according to the identification of the updated target structure data model. And the processing module is also used for updating the identifications of the other structure data models according to the identifications of the other updated structure data models.
Alternatively, other structural data models include: the sub-structure data model is a structure data model of a sub-application. And the processing module is further used for determining the running state information of the target application to be the second state information if 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 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: grandchild structure data model the grandchild structure data model is the structure data model of the grandchild application, the child application is the application which is not called by other applications except the target application, and the grandchild application is the application which is called by the target application through the child application. And the second state information is further used for indicating that the target application can call the grandchild application when the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model.
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 if the second information of the child structure data model is different from 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 updated second information of the grandchild structure data model if the first information of the grandchild structure data model is the same as the updated first information of the grandchild structure data model.
Optionally, the target structure data model includes: the sub-configuration information corresponds to the sub-application, and has an association relationship with the target structure data model. The processing module is specifically configured to update the sub-configuration information into 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 first information of the updated 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 structural data model includes at least one of: function, preset configuration item, configuration item of sub configuration information. Wherein, if the function information is updated, the first information is changed.
In a fourth aspect, the present application provides an update apparatus for an application. The device comprises: an acquisition module and a processing module.
And 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 the second information of the target structural data model if the second instruction is used for indicating the configuration value of the sub configuration information of the target structural data model to be updated, wherein the second information is the updated information of the structural 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 to update the function information of the target structure data model. The first information is update information of function information of the structural data model, and the function information comprises at least one of the following: the function, the preset configuration item and the configuration item of the sub-configuration information are related to the target structure data model.
Optionally, the first information is functional version information, and the second information is edit version information. The processing module is specifically configured to update the functional version information of the target structure data model according to a preset updating algorithm, where the updated functional version information of the target structure data model is greater than the functional version information of the target structure data model before updating. The processing module is further used for updating the edited version information of the target structure data model according to a preset updating algorithm, and the edited version information of the updated target structure data model is larger than the edited version information of the target structure data model before updating.
In a fifth aspect, the present application provides an update apparatus for an application. The apparatus includes: a processor, a memory and a computer program. Wherein the computer program is stored on a memory, which when executed by a processor causes the apparatus to implement the update method as applied in any one of the first or second aspects.
In a sixth aspect, the present application provides a computer-readable storage medium comprising: computer program. The computer program, when executed by an electronic device, causes the electronic device to implement the update method as applied in any one of the first or second aspects.
In a seventh aspect, the present application provides a computer program product comprising computer readable code, or a non-transitory computer readable storage medium carrying computer readable code, which when run in an electronic device, a processor in the electronic device implements an update method as applied in any of the first or second aspects.
In the above solutions, the technical problems and the technical effects that can be solved by the updating apparatus, the device, the computer storage medium, or the computer program product of the application may be referred to the technical problems and the technical effects that can be solved by the first aspect or the second aspect, and are not described herein.
Based on any one of the first to fifth aspects, 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 indicate updating the target application. The deployment control system is deployed with application data, the application data comprising: a target structural data model, which is a structural data model of a target application, and other structural data models, which include: and a structural data model of the sub-application with an association relation with the target application. And then, the deployment control system can determine whether the first information of the target structure data model is the same as the first information of the updated target structure data model according to the application data and the updated application data, and whether the first information of other structure data models is the same as the first information of the updated other structure data models, wherein the first information is the updated information of the functional 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 first information of the updated target structure data model, and the first information of other structure data models is the same as the first information of the updated 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 structure data model that needs to be updated and the structure 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 structure data model that does not need to be updated in the application data of the target application. In this way, when the application data corresponding to part of the functions of the application are updated, the application data corresponding to the functions which do not need to be updated in the whole functions of the application can be prevented from being updated, and further the functions which do not need to be updated in the whole functions of the application can be prevented from being affected, and the running efficiency of the application can be 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 the application data in all the application data of the application is updated, the update of the application data which does not need to be updated in all the application data of the application can be avoided, resources occupied by the application in maintenance and upgrading are effectively saved, and further the maintenance and upgrading efficiency 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 as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application and do not constitute a undue limitation on the application.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 2 is a flow chart of an update method of an application according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another method for updating an application 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 method for updating an application according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating another method for updating an application according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating another method for updating an application according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating another method for updating an application according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an example of an association relationship between structural data models according to an embodiment of the present application;
FIG. 10 is a schematic diagram illustrating an example of an association relationship between another structural data model according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an updating device for an application according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an update apparatus for another application according to an embodiment of the present application;
fig. 13 is a schematic hardware structure of an update device for an application according to an embodiment of the present application.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions of the present application, the technical solutions of 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 the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying 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 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 together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
An application program, also called an application, refers to a computer program that can run in a user mode and interact with a user to perform some specific task or tasks, and can have a visual user interface.
At present, the electronic device is integrally maintained and upgraded for each application, and the electronic device can acquire data corresponding to all functions of the 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 a part of functions in all functions of the application, which may affect the functions that do not need to be updated in the running application of the electronic device.
In order to solve the above problems, an embodiment of the present application provides an application update method, which may be applied to a deployment control system, where the deployment control system may determine, by acquiring application data after updating 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. Then, the deployment control system can only update the application data corresponding to the function which needs to be updated in the target application, and continue to run the function which does not need to be updated in the target application. In this way, when the application data corresponding to part of the functions of the application are updated, the application data corresponding to the functions which do not need to be updated in the whole functions of the application can be prevented from being updated, and further the functions which do not need to be updated in the whole functions of the application can be prevented from being affected, and the running efficiency of the application can be improved.
The following describes an implementation environment of an embodiment of the present application.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application, 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 communications. For another example, the application development system 101 may communicate with the deployment control system 102 via spread spectrum microwave communication. For another example, the application development system 101 may communicate with the deployment control system 102 via a data transfer station communication.
The application development system 101 may perform operations such as development, maintenance, and upgrade of an 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 the functionality of the hardware running the application.
It should be noted that, in an industrial related scenario, an industrial internet platform may be constructed based on hardware devices such as a terminal, a server, and a computer, where the industrial internet platform may include: an application development system and a deployment control system. The application developer can put the developed application on 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. Terminals may be deployed on land, including indoors or outdoors, hand-held or vehicle-mounted; may also be deployed on the surface of water (e.g., a ship, etc.); but may also be deployed in the air (e.g., on aircraft, balloon, satellite, etc.). The terminal includes a handheld device, an in-vehicle device, a wearable device, or a computing device with wireless communication capabilities. The terminal may be a mobile phone (mobile phone), a tablet computer, or a computer with a wireless transceiving function, for example. The terminal device may also be a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control, a wireless terminal in unmanned, a wireless terminal in telemedicine, a wireless terminal in smart grid, a wireless terminal in smart city, a wireless terminal in smart home (smart home), etc.
The server may be a single server, or may be a server cluster composed of a plurality of servers. In some implementations, the server cluster may also be a distributed cluster.
The application is not limited to the specific implementation of the hardware devices corresponding to the application development system and the deployment control system.
It should be noted that, the implementation steps of the application development system related in the embodiment of the present application may be implemented by hardware devices corresponding to the application development system. The implementation steps of the deployment control system side in the embodiment of the application can be implemented by hardware equipment 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 the application scenario and the implementation environment of the embodiment of the present application are described, the update method of the application provided by the embodiment of the present application is described in detail below in conjunction with the implementation environment.
The methods in the following embodiments may be implemented in the above-described hardware devices. Embodiments of the present application will be described in detail below with reference to the drawings attached to the specification.
Fig. 2 is a flow chart of an update method of an application according to an embodiment of the present application. As shown in fig. 2, the update method of the application may include: S201-S203.
S201, the application development system acquires a second instruction.
Wherein the second instruction is for indicating to update the target structure data model.
For example, the second instructions may instruct to update model a (i.e., the target structure data model) to model B (i.e., the updated target structure data model).
In the embodiment of the application, the target structure data model is stored in the application development system, and is the structure data model of the target application.
Illustratively, the application development system stores a model a (i.e., a target structure data model), which is a structure data model of application a (i.e., a target application).
It should be noted that, in the present application, a concept of a model is mentioned, the model is a concept in a database, and is information describing an object structure when modeling an abstract, and describes a structure of a data object in the database, and is an abstract description of an objective world object.
Illustratively, the motor devices all have parameters of rotation speed, temperature, current and the like, and a structural data model of the motor devices is established, and the structural data model of the motor devices can include: the motor can be uniformly described by the structural data model of the motor equipment according to the configurable properties such as rotating speed, temperature, current and the like.
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 (may also be referred to as predefined) is information that determines a model of a structure and is configured with parameters. The information of the model is recorded on the predefine, the predefine is used for instantiating the object, the instantiated object is a structure for constructing the object according to the structure of the model, and the parameter value is taken as an initial value of the object. Information of the referenced models is recorded in sub-configuration information (which can also be called sub-predefining), and a reference relation between the models is established.
The sub-configuration information has an association relation with the target structure data model, and the sub-configuration information is configuration information corresponding to other applications called by the target application.
That is, the target structural data model may invoke the structural data model of other applications through the sub-configuration information. I.e. the target application may invoke other applications through the sub-configuration information.
Optionally, the sub-configuration information may include: configuration item and configuration value. Wherein the configuration item is a configurable attribute of the structural data model. For example, the configurable property of the structural data model may be a port, and then the configuration item of the structural data model is a port. The configuration values are parameter values of the configurable properties of the structure data model at run-time. For example, if the configurable property of the structure data model is a timer (i.e., configuration item) and the parameter value of the configurable property of the structure data model is 0.3 seconds (i.e., configuration value), then the timer of the structure data model is 0.3 seconds when the structure data model is running.
In the 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 in the target structure data model may include: the first configuration item and the first configuration value. The first configuration item is a configurable attribute of the sub-structure data model, the first configuration value is a parameter value of the configurable attribute of the sub-structure data model, and the sub-structure data model corresponds to the sub-configuration information. The detailed description of the sub-structure data model may refer to the following related description of the embodiment of the present application, which is not described herein.
Illustratively, the structural data model a of application a includes: the sub-configuration information A corresponds to the sub-structure data model B, and the sub-configuration information A comprises: a timer (i.e., first configuration item), 1.3 seconds (i.e., first configuration value). The timer is a configurable attribute of the sub-structure data model B, and 1.3 seconds is a parameter value of the configurable attribute of the sub-structure data model B.
That is, the target application may implement the functions of other applications called by the target application through the first configuration item and the first configuration value.
It should be noted that, in the embodiment of the present application, the number of the first configuration items 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: functional information.
Wherein the function information is used to represent functions that the application can implement. The function information may include at least one of: function, preset configuration item, configuration item of sub configuration information.
Wherein, the function may be a program set of an application, and the program set includes: command line (including command line parameters), source code (including source code and used resource files), program packages (i.e., program logic for function functions), which may be applied in an operating system. The preset configuration item is used for representing functions which can be realized when the application only runs the structure 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 structural 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 instructions may be for indicating functional information to update the target structure data model.
In one possible design, the second instructions may be used to indicate to update the first configuration value of the target structural 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 (i.e., sub-configuration information) and information B, the information a including: port, 10R, information B includes: timer, 1.1 seconds. Wherein, 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 seconds 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 seconds in information B is updated to 0.7 seconds.
In another possible design, the second instruction may be used to indicate functional information to update the target structural 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), the information a including: function a, port, timer. The function a is a function of the structural data model a, the port is a configurable attribute (i.e., a preset configuration item) of the structural data model a, and the timer is a configurable attribute (i.e., a first configuration item) of the sub-structural data model B. The second instruction may indicate that function a is updated to function B, that the port is updated to the open file name, and that the timer is updated to the 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 includes the first configuration value, the application development system determines that the second instruction is to indicate the first configuration value of the update target structure data model.
Illustratively, the target structure data model a includes: a timer (i.e., first configuration item), 1.5 seconds (i.e., first configuration value). If the second instruction a includes: 0.5 seconds, the application development system determines that the second instruction a indicates updating 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 to indicate the first configuration value of the update target structure data model, the application development system performs S203.
S203, the application development system updates second information of the target structure data model.
The second information is updated 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 structural data model.
Illustratively, if the second information of the structural data model a is 12, the structural data model a is updated (or edited) 12 times (i.e., updated information).
That is, if the structure data model is updated, the second information is changed.
In an embodiment of the present application, the structural data model may further include: and second information.
In one possible implementation, the second information may also be edit version information. The application development system can update the editing version 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, a preset updating algorithm may be used to adjust the edited 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 edited version information of the target structure data model after updating (or editing) is larger than the edited version information of the target structure data model before updating (or editing).
For example, if the edited version information of the structure data model a is updated 5 times, it is 1.8.7. The edited version information of the 6 th updated structural data model a may be 1.8.8 and the edited version information of the 7 th updated structural data model a may be 1.8.9
The technical scheme provided by the embodiment at least brings the following beneficial effects: the application development system may obtain the second instruction and determine whether the second instruction is to indicate to update the first configuration value of the target structural data model. If the application development system determines that the second instruction is used for indicating to update the first configuration value of the 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 parameters of the updated application are changed and that the functions of the updated application are not changed by updating the second information of the structure data model of the application.
In other embodiments, as shown in fig. 3, if the second instruction is used to indicate to update the functional information of the target structural data model, after S202, the update method of the application further includes: s301.
S301, the application development system updates first information of the target structure data model.
The first information is updated information of the function information of the structural data model.
In one possible design, the first information is used to reflect the number of updates of the functional information of the structural data model.
Illustratively, if the first information of the structural data model a is 8, the function (i.e., the function information) of the structural data model a is updated 8 times (i.e., the update information).
That is, if the function information of the structure data model is updated, the first information is changed.
In an embodiment of the present application, the structural data model may further include: first information.
In one possible implementation, the first information may also be functional version information. The application development system can update the functional version information of the target structure data model according to a preset updating algorithm.
It should be noted that, the description of the process of updating the functional version information of the target structure data model by the application development system according to the preset updating algorithm may refer to the process of updating the edit version information of the target structure data model by the application development system according to the preset updating algorithm in S203, which is not described herein.
It will be appreciated that if the application development system determines that the second instruction is used to indicate to update the functional information of the target structural data model, the application development system updates the first information of the target structural data model. In this way, the application development system can indicate that the function of the updated application has been changed by updating the first information of the structure data model of the application.
In some embodiments, if the functional information of the structural data model is updated, both the first information and the second information are changed.
In one possible implementation, if the second instruction is used to indicate to update the functional information of the target structural data model, the application development system updates the first information and the second information of the target structural data model.
That is, when the function information of the structure data model is updated, both the first information and the second information are changed. Thus, the update condition of the structure data model can be represented.
It should be noted that, in the embodiment of the present application, the order of updating the first information and the second information is not limited. For example, the application development system may update the first information before updating the second information. For another example, the application development system may update the second information before 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 identifying the structural data model corresponding to the sub-configuration information.
In the embodiment of the present application, the sub-configuration information of the target structure data model may further include: identification of the sub-structure data model.
That is, the target structure data model may specify a sub-structure data model to be invoked by the target structure data model based on the identification 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 (target application) includes: information a (i.e., sub-configuration information), information a including: and (3) identifying A. Wherein, the identifier a is the identifier of the structural data model B of the application B. The structural data model a may determine that the called structural data model is the structural data model B based on the information a.
It should be noted that, the embodiment of the present application does not limit the identification of the structural data model. For example, the identification of the structural data model may be the name of the structural data model. For another example, the identification of the structural data model may be a globally unique identifier (globally unique identifier, GUID). For another example, the identification of the structural data model may be the second information and GUID of the structural data model.
Illustratively, the structural data model A is identified as 8B37-28A8 (i.e., GUID) +6 (i.e., second information).
The application development system updates the target structure data model according to the second instruction.
Illustratively, as shown in FIG. 4, call relationships between applications are shown. Wherein the structural data model a (i.e., the target structural data model) of the application a (i.e., the target application) includes: information a (i.e., function information) and information B (i.e., sub-configuration information), the information a including: port, information B includes: port, S1, 8B37-28A8+6. Wherein, the port is a configurable attribute (i.e. a first configuration item) of the sub-structure data model B, S1 is a parameter value (i.e. a first configuration value) of the configurable attribute of the sub-structure data model B, and 8B37-28a8+6 is an identification of the sub-structure data model B. If the second instruction indicates that the port and S1 are updated to be the timer and 0.2 seconds, the application development system updates the port and S1 in the information A and the information B to be the timer and 0.2 seconds, and updates 8B37-28A8+6 in the information B to 8B37-2ID8+7. The timer is a configurable attribute of the sub-structure data model C, 0.2 seconds is a parameter value of the configurable attribute of the sub-structure data model C, 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 to cause the deployment control system to deploy and run 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.
The deployment control system is deployed with application data, wherein the application data comprises: a target structural data model and other structural data models, the other structural data models including: and a structural data model of the sub-application with an association relation with the target application.
It should be noted that, in the embodiment of the present application, the sub-application is an application that is not invoked by other applications than the target application.
For example, the application a may call the application B and the application C, and the application D may call the application E, where the application B and the application C are 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 for indicating to update the target application.
Illustratively, the first instruction may indicate that application a is updated to application B.
In one possible implementation, the deployment control system may receive a first instruction from the application development system.
S503, the deployment control system acquires 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 updated application data from the first instruction.
It should be noted that, in the process that the deployment control system may obtain updated application data from the first instruction, reference may be made to a manner of obtaining data from the instruction in the conventional technology, which is not described herein.
It should be noted that, the updated application data includes: an updated target structural data model and other updated structural data models.
In some embodiments, the deployment control system may determine, according to the updated application data, whether the first information of the structural data model in the application data is the same as the first information of the structural data model in 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, application data a for application a (i.e., the target application) includes: model a (i.e., the target structure data model), model a includes: 16 (i.e., 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 first information of the updated target structure data model, the deployment control system performs S505.
S505, the deployment control system determines whether the first information of the other structural data models is the same as the first information of the updated other structural data models.
It should be noted that, for 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 first information of the updated other structural data model, 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 first information of the updated target structural data model in S504, which is not described herein.
Note that the order of executing S504 and S505 is not limited in the embodiment of the present application. For example, the application development system may perform S504 first and then S505. For another example, the application development system may perform S505 first and then 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 first information of the updated target structural data model, and the first information of the other structural data models is the same as the first information of the updated other structural data models, the deployment control system executes S506.
S506, the deployment control system determines the running state information of the target application as 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 the running application a (i.e., the target application).
That is, the target application may implement the function of the target application. I.e. the target application may run the target structure data model.
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.
For example, if the running state information of the application a includes: and (3) operating the structural data model A of the application A, and calling the structural data model B of the application B with an association relation with the structural data model A by the structural data model A, so that the deployment control system can continue to operate all functions of the application A and realize the functions of the application B.
In the embodiment of the application, the deployment control system can 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 a target structure data model, identification of other structure data models and 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: the identification of the updated target structure data model, the identification of other updated structure data models and the 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 one 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, 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 identification of the updated target structure data model; and the deployment control system updates the identifications of the other structural data models according to the identifications of the updated other structural data models.
The application data a of the application a includes, by way of example: 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 the identification of the structural data model A (i.e. target structural data model) of the application A, and 8B11-28A0+5 is the identification of the structural data model (i.e. other structural data models) of the application B having an association relationship with the application A. If the updated application data a includes: information B (i.e. updated information A), 8B37-28A8+7 (i.e. the identifier of the updated structural data model A), 8B11-28A0+6 (i.e. the identifier of the updated structural data model B), and the running state information of the application A is the running structural data model A (i.e. the first state information), the deployment control system updates the information A in the application data A into information B, updates 8B37-28A8+6 into 8B37-28A8+7, and updates 8B11-28A0+5 into 8B11-28A0+6.
In the 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 item, target configuration value, identification of target structure data model. The target configuration item is a configurable attribute of the target structure data model, and the target configuration value is a configuration value of the configurable attribute of the target structure data model.
That is, the target application may run the target structure data model based on the target configuration item, the target configuration value, and the identification of the target structure data model in the target configuration information. 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: updated target configuration items, updated target configuration values, and identifications of updated target structure data models.
In one possible design, if the running state information of the target application is the first state information, the deployment control system updates the target configuration information to updated target configuration information, including: the deployment control system updates the target configuration value to an updated target configuration value, and updates the identifier of the target structure data model to an 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, 0.5 seconds, 8BT0-2OM8+7 being the identification of the structural data model A of the application A (the identification of the target structural data model), the timer being the configurable attribute of the structural data model A (i.e., the target configuration item), and 0.5 seconds being the parameter value of the configurable attribute of the structural data model A (i.e., the target configuration value). If the updated information a includes: 8BT0-2OM8+8, a timer, 1.2 seconds (i.e. updated target configuration value), and the running state information of the application A is the structural data model A (i.e. first state information) of the running 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 structural data model and the second information of the other structural data models, and the updated application data may include: second information of the updated target structure data model and second information of other updated structure data models. If the running state information of the target application is the first state information, the deployment control system updates the target application and further comprises: 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 description of the process that 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 structure data model according to the updated second information of the other structure data model, the description of the process 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 may refer to the description that the deployment control system updates the identifier of the target structure data model according to the updated identifier of the other structure data model and the description that the deployment control system updates the identifier of the other structure data model according to the updated identifier of the other structure data model in the above embodiment, which is not repeated herein.
It can be appreciated that the deployment control system may obtain the updated application data of the target application by obtaining the first instruction. And then, the deployment control system can determine the structural data model which needs to be updated and the structural data model which does not need to be updated in the application data of the target application according to the updated application data. And then, the deployment control system can continue to run the functions corresponding to the structure data model which does not need to be updated in the application data of the target application. In this way, when the application data corresponding to part of the functions of the application are updated, the application data corresponding to the functions which do not need to be updated in the whole functions of the application can be prevented from being updated, and further the functions which do not need to be updated in the whole functions of the application can be prevented from being affected, and the running efficiency of the application can be 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 the application data in all the application data of the application is updated, the update of the application data which does not need to be updated in all the application data of the application can be avoided, resources occupied by the application in maintenance and upgrading are effectively saved, and further the maintenance and upgrading efficiency 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 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 includes: the configuration data model of the application A can call the configuration data model of the application B through the sub configuration information A, and the configuration data model of the application A can call the configuration data model of the application C through the sub configuration information B.
It should be noted that, the updated application data may further include: and the updated sub-configuration information of the target structure data model.
In one 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 an updated first configuration value and an identification of the updated sub-structure data model.
In one possible design, if the running state information of the target application is the first state information, 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, including: the deployment control system updates the first configuration value to an updated first configuration value, and updates the identifier of the sub-structure data model to an identifier of the updated sub-structure data model.
Note that, for the description of the process that 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 sub-structure data model to the identifier of the updated sub-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 embodiment, which will not be described herein.
It will be appreciated that the deployment control system may determine whether to update the sub-configuration information based on the operational 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 update of application data which does not need to be updated in all application data of the application can be avoided, resources occupied by the application in maintenance and upgrading are effectively saved, and further the maintenance and upgrading efficiency of the application is improved.
In some embodiments, other structural data models may include: the sub-structure data model is a structure data model of a sub-application. The deployment control system may determine the running 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 first information of the updated target structure data model, and the first information of the other structure data models is the same as the first information of the updated other structure data models.
As shown in fig. 6, after S505, the update method of the application further includes: S601-S602.
S601, the deployment control system determines whether the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model.
It should be noted that, for the description of the process of determining whether the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model by the deployment control system, reference may be made to the process of determining whether the first information of the target structure data model is the same as the first information of the updated target structure data model by the deployment control system in S504, which is not described herein.
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: running the structural data model a (i.e., target structural data model) of application a (i.e., target application), the structural data model B (i.e., sub-structural data model) of application B (i.e., sub-application) 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. Namely, the target application can realize the function of the target application, and can also call the sub-application to realize the function of the sub-application.
In some embodiments, other structural data models may further include: grandchild structure data model, grandchild structure data model is the structure data model of grandchild application, grandchild application is the application called by target application through child application.
Illustratively, the sub-applications of application a include: and the application A can call the application D through the application B and the application E through the application C, and the application D and the application E are grandchild applications of the application A.
In the embodiment of the present application, when 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 method comprises the steps that a structural data model A (namely a target structural data model) of an application A (namely a target application) is run, the structural data model A calls a structural data model B (namely a sub-structural data model) of an application B (namely a sub-application), and the structural data model A calls a structural data model C (namely a grandchild structural data model) of an application C (namely a grandchild application) through the structural data model B.
That is, the target application may run a target structure data model, which may call a child structure data model, and the target structure data model may call a grandchild structure data model through the child structure data model. I.e. the target application may implement the functionality of the target application, child applications and grandchild applications.
It will be appreciated that the deployment control system may determine whether the target application is able to invoke the sub-application by determining whether the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model. That is, the deployment control system may determine whether the target application may continue to call the sub-application during the update process, thereby implementing the function of the sub-application. In this way, the operating efficiency of the application can be improved.
In some embodiments, after S602, the deployment control system may perform S507.
In the embodiment of the present application, the child configuration information of the child structure data model may be grandchild configuration information, where 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 invoke the grandchild structure data model through grandchild configuration information.
It should be noted that, for the description of grandchild configuration information, reference may be made to the description of child configuration information in the above embodiment, which is not described herein.
In one possible implementation, the application data may further include: grandchild configuration information. The updated application data may further include: updated 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 further comprises: the deployment control system updates the grandchild configuration information to 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: the second configuration item, the second configuration value, and the identification of the grandchild structure data model. Wherein the second configuration item is a configurable attribute of the grandchild structure data model. The second configuration value is a parameter value of a configurable attribute of the grandchild structure data model.
That is, the target structure data model may call 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. The target application can realize the function of the grandchild application through the second configuration item, the second configuration value and the identification 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 updated grandchild configuration information, including: 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 that 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 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 embodiment, which will not be described herein.
It can be appreciated that the deployment control system can determine whether to update grandchild configuration information according to the running state information of the structural data model and the updated application data. That is, the deployment control system may determine whether to update grandchild configuration information during the process of updating the target application. Therefore, the update of application data which does not need to be updated in all application data of the application can be avoided, resources occupied by the application in maintenance and upgrading are effectively saved, and further the maintenance and upgrading efficiency of the application is improved.
In some embodiments, as shown in fig. 7, after S504, the updating method of the application further includes: S701-S704.
S701, the deployment control system determines whether the first information of the sub-structure data model is the same as the first information of the updated sub-structure data model.
It should be noted that, for the description of the process of determining whether the first information of the sub-structure data model is the same as the first information of the updated sub-structure data model by the deployment control system, reference may be made to the process of determining whether the first information of the target structure data model is the same as the first information of the updated target structure data model by the deployment control system in S504, which is not described herein.
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 sub-structure data model is the same as the second information of the updated sub-structure data model.
It should be noted that, for the description of the process that the deployment control system determines 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 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.
In some embodiments, if the deployment control system determines that the second information of the sub-structure data model is not identical to the second information of the updated sub-structure data model, the deployment control system performs S703.
S703, 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.
It should be noted that, the description of the process in which 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 in which 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.
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 executes 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 second information of the updated 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 can be appreciated that the deployment control system can determine whether the target structure data model is capable of invoking the grandchild structure data model through the child structure data model by 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 and whether the second information of the grandchild structure data model is the same as the second information of the updated grandchild structure data model. That is, the deployment control system may determine whether the target application may continue to call the grandchild application through the child application during the update process, to implement the functionality of the grandchild application. In this way, the operating 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 different from the first information of the updated grandchild structure data model, after S703, the update method of the application further includes: 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 structural data model a (i.e., a target structural data model) running only application a (i.e., a target application).
That is, the target application can only run the target structural data model, which cannot invoke the structural data model of other applications. That is, the target application can only realize the functions of the target application, and can not call other applications and can not realize 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 Zengsun structure data model is a structure data model of a Zengsun application, and the Zengsun application is an application called by a child application through the grandsun application.
In the embodiment of the present application, the child configuration information of the zehnson structure data model may be the zehnson configuration information, where the zehnson configuration information corresponds to the zehnson application, and the zehnson configuration information corresponds to the zehnson structure data model. That is, the grandchild structure data model may invoke the grandchild structure data model through the grandchild configuration information.
Note that, for the description of the configuration information of the zehnson, reference may be made to the description of the child configuration information in the above embodiment, which is not described herein.
In one possible implementation, the application data may further include: the configuration information of the Zehnson and the function information of the Zehnson structure data model. The updated application data may further include: updated Zengsun configuration information and function information of the updated Zengsun 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 further comprises: the deployment control system updates the Zengsun configuration information into updated Zengsun configuration information, and updates the function information of the Zengsun structure data model into the function information of the updated Zengsun structure data model.
It should be noted that, the configuration item of the zehnsun configuration information may be a third configuration item, and the configuration value of the zehnsun configuration information may be a third configuration value, where the zehnsun configuration information includes: and the third configuration item, the third configuration value and the identification of the Zengsun structure data model. The third configuration item is a configurable attribute of the Zehnson structure data model, the third configuration value is a parameter value of the configurable attribute of the Zehnson structure data model, and the function information of the Zehnson structure data model comprises: function, preset configuration item, third configuration item.
That is, the target structure data model may invoke the zehnsun structure data model through the child structure data model and the grandson structure data model according to the third configuration item, the third configuration value, and the identification of the zehnsun structure data model in the zehnsun configuration information. The target application can realize the function of the Zengsun application through the third configuration item, the third configuration value and the identification of the Zengsun 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 zehnsun configuration information to updated zehnsun configuration information, including: the deployment control system updates the third configuration value to the updated third configuration value, and updates the identifier of the Zengsun structure data model to the identifier of the updated Zengsun 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 zehnsun structure data model to the identifier of the updated zehnsun 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 embodiment, which will not be described herein.
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 updated function of the grandchild structure data model, updates the preset configuration item of the grandchild structure data model to the updated preset configuration item of the grandchild structure data model, and updates the third configuration item to the updated third configuration item.
It should be noted that, description of the process in which the deployment control system updates the function of the grandchild structure data model to the updated function of the grandchild structure data model, and the deployment control system updates the preset configuration item of the grandchild structure data model to the updated preset configuration item of the grandchild structure data model, and the deployment control system updates the third configuration item to the updated third configuration item may refer to description of updating the target structure data model in the embodiment shown in fig. 4, which is not repeated herein.
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: and the updated first information of the 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 further comprises: 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 the description of the process of updating the first information of the grandchild structure data model by the deployment control system according to the updated first information of the grandchild structure data model, reference may be made to the description of the process of updating the identifier of the target structure data model by the deployment control system according to the updated identifier of the target structure data model in the above embodiment, and the description of the identifier of the other structure data model by the deployment control system according to the updated identifier of the other structure data model, which is not repeated herein.
It can be appreciated that the deployment control system can determine whether to update the functional information of the grandchild structure data model according to the running 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 in the process of updating the target application. Therefore, the update of application data which does not need to be updated in all application data of the application can be avoided, resources occupied by the application in maintenance and upgrading are effectively saved, and further the maintenance and upgrading efficiency of the application is improved.
The method for updating the application provided by the present application will be described with reference to a specific example, as shown in fig. 9, which shows the 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 sub-structure data model) and the model C (i.e., the sub-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 identification 8B37-28A8+6 of the model A, the target configuration item is a port, and the target configuration value is 10R; model a includes: 8B37-28A8+6, a function A, and preset configuration items including ports, information B and information C; the information B includes: the identifier 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 is a timer, and the first configuration value is 1.4 seconds; model B includes: 8B37-2H0VC+2, a function B, a preset configuration item which is a port, information D and information E; model C includes: 8H07-2H0VC+4, a function C, a preset configuration item which is a timer and information F; the information D includes: the mark MX37-2H0VC+1 of the model D, wherein the second configuration item is a timer, and the second configuration value is 0.2 seconds; the information E includes: model E, MX37-2FTVC+5, with a second configuration item being a timer and a second configuration value being 0.6 seconds; the information F includes: the identification 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, preset configuration item as timer, third configuration value as 0.4 seconds; model E includes: MX37-2FTVC+5, a function E, a preset configuration item as a timer, a third configuration item as a port and a third configuration value as G0T; the model F includes: M0B1-25LVC+8, function F, preset configuration item is a port, third configuration item is a timer, and third configuration value is 1.7 seconds.
If the first instruction indicates that the target configuration value in the information A is updated to U1X, the first configuration value in the information B is updated to VG1, the first configuration value in the information C is updated to 0.5 seconds, the third configuration item in the model D is updated to the port, the third configuration value in the model F is updated to 0.31 seconds, the deployment control system updates the application A according to the first instruction, and the deployment control system updates 8B37-28A8+6 in the information A and the model A to 8B37-28A8+7 according to a preset updating algorithm, updates 8B37-2H0VC+2 in the information B and the model B to 8B37-2H0VC+3, updates 8H07-2H0VC+4 in the information C and the model C to 8H07-2H0VC+5, updates MX37-2H0VC 1 in the information D and MX37-2H0VC+2, updates the model E to 25B 37-2H0VC+2, and updates the model C25B 37-2H0VC+2 to 250 and the model C1, and the correlation structure is shown in FIG. 10-25B. In the updating process, the application a can run the model a, and the model a can call the model C, and the model a can call the model F.
It will be appreciated that, in actual implementation, the application development system, the deployment control system, etc. in the embodiments of the present application may include one or more hardware structures and/or software modules for implementing the update methods of the corresponding applications, where the executing hardware structures and/or software modules may constitute an electronic device. Those of skill in the art will readily appreciate that the various illustrative algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven 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 embodiment of the present application further provides an application updating device, which may be applied to the electronic device (such as an electronic device where an application development system is deployed, or an electronic device where a deployment control system is deployed).
Fig. 11 is a schematic structural diagram of an updating device for an application according to an embodiment of the present application. The update device of the application is used for executing the update method of the application shown in fig. 5, 6, 7 or 8. As shown in fig. 11, the update apparatus 1100 of the application may include: a processing module 1101 and an acquisition module 1102.
The processing module 1101 is configured to run a target application. The obtaining module 1102 is configured to obtain a first instruction, where the first instruction is used to indicate to update the target application. The obtaining module 1102 is further configured to obtain 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 first state information 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 other structure data models is the same as the first information of the updated other structure data models, where the first state information is used to indicate that the target application is in the running state, and the first information is updated information of the functional information of the structure data model. The processing module 1101 is further configured to continue to run the target application, and update the target application according to the updated application data.
Optionally, the application data further includes: target configuration information corresponding to a target application. The processing module 1101 is specifically configured to update the target configuration information to updated target configuration information. The processing module 1101 is further configured to update the identifier of the target structure data model according to the identifier of the updated target structure data model. The processing module 1101 is further configured to update the identifier of the other structural data model according to the updated identifier of the other structural data model.
Alternatively, other structural data models include: the sub-structure data model is a structure data model of a 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: grandchild structure data model the grandchild structure data model is the structure data model of the grandchild application, the child application is the application which is not called by other applications except the target application, and the grandchild application is the application which is called by the target application through the child application. And the second state information is further used for indicating that the target application can call the grandchild application when the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model.
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 child 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 first information of the updated grandchild structure data model, 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.
Optionally, the target structure data model includes: the sub-configuration information corresponds to the sub-application, and has an association relationship with the target structure data model. The processing module 1101 is specifically configured to update the sub-configuration information to 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 first information of the updated 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 structural data model includes at least one of: function, preset configuration item, configuration item of sub configuration information. Wherein, if the function information is updated, the first information is changed.
Fig. 12 is a schematic structural diagram of an update apparatus for an application according to an embodiment of the present application. The update device of the application is used for executing the update method of the application shown in fig. 2 and 3. The updating apparatus 1200 of the application may include: an acquisition module 1201 and a processing module 1202.
The obtaining module 1201 is configured to obtain a second instruction, where the second instruction is used to instruct updating 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 a configuration value of the sub configuration information of the update target structure data model, 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 indicate to update the function information of the target structure data model. The first information is update information of function information of the structural data model, and the function information comprises at least one of the following: the function, the preset configuration item and the configuration item of the sub-configuration information are related to the target structure data model.
Optionally, the first information is functional version information, and the second information is edit version information. The processing module 1202 is specifically configured to update the functional version information of the target structure data model according to a preset updating algorithm, where the updated functional version information of the target structure data model is greater than the functional version information of the target structure data model before updating. The processing module 1202 is further configured to update the edited version information of the target structure data model according to a preset updating algorithm, where the updated edited version information of the target structure data model is greater than the edited version information of the target structure data model before updating.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the above-described method embodiments, which are not described herein again.
As described above, the embodiment of the present application may divide functional modules for each execution subject involved in the update method of the application according to the above method example. The integrated modules may be implemented in hardware or in software functional modules. In addition, it should be noted that, in the embodiment of the present application, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated in one processing module.
The specific manner in which each module performs the operation and the beneficial effects of the application updating device in the foregoing embodiment are described in detail in the foregoing method embodiment, and are not described herein again.
The embodiment of the application also provides an updating device of the application, which can be an electronic device for deploying an application development system or an electronic device for deploying a deployment control system.
Fig. 13 is a schematic diagram showing a hardware structure of an update device of 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 apparatus, e.g., perform various steps in the method flows shown in the method embodiments described above, and/or to perform other processes of the techniques described herein. The communication interface 1301 is used to support communication of the update apparatus of the application with other network entities. The update 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.
Wherein the processor 1302 may implement or execute the various exemplary logic blocks, units, and circuits described in connection with the present disclosure. The processor 1302 may be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, units and circuits described in connection with this disclosure. The processor 1302 may also be a combination of computing functions, e.g., including one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
Memory 1303 may include volatile memory, such as random access memory; the memory 1303 may also include a nonvolatile memory, such as a read only memory, a flash memory, a hard disk, or a solid state disk; the memory 1303 may also include a combination of the above types of memories.
Bus 1304 may be an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus or the like. The bus 1304 may be classified as 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 not only one bus or one type of bus.
In an exemplary embodiment, embodiments of the application also provide a computer-readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by an electronic device, cause the electronic device to implement the method of the above embodiments.
Alternatively, the above-described computer-readable storage medium may be a non-transitory computer-readable storage medium, for example, a read-only memory (ROM), a random access memory (random access memory, RAM), a read-only memory (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 also provides a computer program product comprising a computer readable code, or a non-volatile computer readable storage medium carrying computer readable code, which when run in an electronic device, causes a processor in the electronic device to implement an update method as applied above.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application 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 application 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 is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (13)

1. An application updating method, 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, which is a structural data model of a target application, and other structural data models, which include: a sub-structure data model, wherein the sub-structure data model is a structure data model of a sub-application with an association relation 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 first information of the updated target structure data model, the first information of the other structure data models is the same as the first information of the updated other structure data models, and the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model, determining that the running state information of the target application is the second state information; the first information is update information of function information of a structure data model, the second information is update information of the structure data model, the second state information is used for indicating that the target application can call the sub-application, the second state information comprises first state information, and the first state information is used for indicating that the target application is in a running state;
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, the target application being updated according to the updated application data, comprising:
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 identification of the other structure data models according to the identification of the other updated structure data models.
3. The method of claim 2, 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 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 when 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 for indicating that the target application can call the grandchild application.
4. The method of claim 1, wherein the other structural data model further comprises: a grandchild structure data model, the grandchild structure data model being a structure data model of a grandchild application, the method further comprising:
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, determining 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 second information of the sub-structure data model is different from the second information of the updated sub-structure data model, 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;
and if the first information of the grandchild structure data model is the same as the first information of the updated 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 second information of the updated grandchild structure data model.
5. The method of claim 4, wherein the target structure data model comprises: the sub-configuration information corresponds to the sub-application, has an association relationship with the target structure data model, updates the target application according to the updated application data, and further comprises:
and updating the sub-configuration information into the updated sub-configuration information.
6. The method according to claim 4, wherein the method further comprises:
and if the first information of the grandchild structure data model is different from the first information of the updated 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.
7. The method according to any of claims 1-6, wherein the functional information of the structural data model comprises at least one of: function, preset configuration items and configuration items of sub configuration information;
and if the function information is updated, the first information is changed.
8. The method is characterized in that the method 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 method comprises the following steps:
acquiring a second instruction, wherein the second instruction is used for indicating updating 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, updating the second information of the target structure data model, wherein the second information is the update information of the structure data model;
if the second instruction is used for indicating to update the function information of the target structure data model, updating the first information and the second information of the target structure data model, wherein the first information is the update information of the function information of the structure data model;
updating the target structure data model according to the second instruction to obtain the updated target application;
transmitting a first instruction to a deployment control system, wherein the first instruction is used for indicating to update the target application, the first instruction comprises updated application data, and the updated application data comprises: the updated target structural data model and updated other structural data models, the other structural data models comprising: and the sub-structure data model is a structure data model of a sub-application with an association relation with the target application.
9. The method of claim 8, wherein the functional information comprises at least one of: the configuration items of the function, the preset configuration items and the sub configuration information are arranged, and the sub configuration information and the target structure data model have an association relation.
10. The method according to claim 8 or 9, wherein the first information is functional version information of the structural data model and the second information is updated version information of the structural data model;
updating first information of the target structure data model, including:
updating 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;
updating second information of the target structure data model, including:
updating the updated version information of the target structure data model according to the preset updating algorithm, wherein the updated version information of the target structure data model is larger than the updated version information of the target structure data model before updating.
11. An application updating device, which is applied to a deployment control system, wherein the deployment control system deploys application data, and the application data comprises: a target structural data model, which is a structural data model of a target application, and other structural data models, which include: a sub-structure data model, wherein the sub-structure data model is a structure data model of a sub-application with an association relation 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, wherein the first instruction is used for indicating to update the target application;
the acquisition module is further used for acquiring 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 second state information if the first information of the target structure data model is the same as the first information of the updated target structure data model, the first information of the other structure data models is the same as the first information of the updated other structure data models, and the second information of the sub-structure data model is the same as the second information of the updated sub-structure data model; the first information is update information of function information of a structure data model, the second information is update information of the structure data model, the second state information is used for indicating that the target application can call the sub-application, the second state information comprises first state information, and the first state information is used for indicating that the target application is in a running state;
and the processing module is also used for continuing to run the target application and updating the target application according to the updated application data.
12. The application updating device 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 device comprises:
the acquisition module is used for acquiring a second instruction, and the second instruction is used for indicating updating of the target structure data model;
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 updated information of the structure data model;
the processing module is further configured to update first information and the second information of the target structure data model if the second instruction is used for indicating to update the function information of the target structure data model, where the first information is updated information of the function information of the structure data model;
the processing module is further configured to update the target structure data model according to the second instruction, so as to obtain the updated target application;
the sending module is configured to send a first instruction to a deployment control system, where the first instruction is used to instruct updating the target application, the first instruction includes updated application data, and the updated application data includes: the updated target structural data model and updated other structural data models, the other structural data models comprising: and the sub-structure data model is a structure data model of a sub-application with an association relation with the target application.
13. A computer readable storage medium comprising a computer program, characterized in that the computer program, when run on an electronic device, causes the electronic device to implement the method of any one of claims 1-10.
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 CN115408031A (en) 2022-11-29
CN115408031B true 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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8407689B2 (en) * 2010-06-25 2013-03-26 Microsoft Corporation Updating nodes considering service model constraints
CN109032634B (en) * 2018-07-16 2021-11-26 北京百度网讯科技有限公司 Method, apparatus, device and computer-readable storage medium for updating applications
CN110275722B (en) * 2019-06-21 2023-08-08 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for upgrading application

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110162319A (en) * 2019-04-15 2019-08-23 深圳壹账通智能科技有限公司 Application program update method, apparatus, computer equipment and storage medium
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
CN115408031A (en) 2022-11-29

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
CN110413288B (en) Application deployment method, device, server and storage medium
CN107896162B (en) Deployment method and device of monitoring system, computer equipment and storage medium
CN107707614B (en) System hop protocol-based app routing implementation method, device and storage medium
CN107733985B (en) Method and device for deploying functional components of cloud computing system
CN107797807B (en) Method, device, terminal, server and system for generating container
US20240111549A1 (en) Method and apparatus for constructing android running environment
CN110463162B (en) Application deployment method, device and system
CN111399840B (en) Module development method and device
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
CN103353845A (en) Method and device for uploading and pushing script
CN104750528A (en) Management method and device for components in Android program
CN115328529B (en) Application management method and related equipment
CN110543327A (en) Service component multiplexing method and device, computer equipment and storage medium
CN104780058A (en) Electronic equipment configuration method and system
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN112965713B (en) Development method, device, equipment and storage medium of visual editor
CN114546588A (en) Task deployment method and device, storage medium and electronic device
CN115408031B (en) Application updating method and related equipment
CN115237455B (en) Application management method and related equipment
CN111897565A (en) Data processing method, device and equipment based on Internet of things
CN111142885A (en) eSIM device management method, device, equipment and storage medium
CN111427603A (en) Application program upgrading method and device
CN106445599A (en) Application program upgrading method and upgrading device and terminal

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