[go: up one dir, main page]

CN114115812A - Cross-version application distribution method - Google Patents

Cross-version application distribution method Download PDF

Info

Publication number
CN114115812A
CN114115812A CN202210103448.0A CN202210103448A CN114115812A CN 114115812 A CN114115812 A CN 114115812A CN 202210103448 A CN202210103448 A CN 202210103448A CN 114115812 A CN114115812 A CN 114115812A
Authority
CN
China
Prior art keywords
product
application
label
cross
distribution method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210103448.0A
Other languages
Chinese (zh)
Other versions
CN114115812B (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.)
Anyuan Technology Co ltd
Original Assignee
Nanjing Anyuan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Anyuan Technology Co ltd filed Critical Nanjing Anyuan Technology Co ltd
Priority to CN202210103448.0A priority Critical patent/CN114115812B/en
Publication of CN114115812A publication Critical patent/CN114115812A/en
Application granted granted Critical
Publication of CN114115812B publication Critical patent/CN114115812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a cross-version application distribution method, which is characterized in that application installation or update is carried out through a structured standard description file, the structured file is an aggregate of a plurality of applications and related rule abstract data, can be cut according to the current system, and can also be installed and updated in a cross-system version.

Description

Cross-version application distribution method
Technical Field
The invention relates to an application distribution method, and belongs to the technical field of application software development.
Background
The method is characterized in that each large enterprise needs to be quickly informationized, and no capacity or energy is invested in huge research and development cost, so a professional service provider is needed to provide corresponding services, the service provider can develop various industry solutions through a SaaS platform to serve clients, the client requirements are met, in the normal situation, when the requirements are implemented, the solutions are reconfigured once in a client system, if the solutions of the service provider are updated, the manual updating and configuration in the client system are needed, a large amount of time and energy of the service provider and the clients are wasted, a lot of unnecessary resources are wasted, and the method is one of bottlenecks of continuing to bring social progress to the development of the software industry.
At present, although a plurality of low-code and non-code platforms are fast to develop and low in learning cost, implementation needs to be carried out, a service provider faces such a large market, large implementation cost is often carried out in the early stage, the number of maintenance customers is limited due to the fact that a client system is configured from the beginning, and therefore a one-key installation or updating service is provided for each large low-code platform.
Disclosure of Invention
The purpose of the invention is as follows: in order to overcome the defects in the prior art, the invention provides a cross-version application distribution method.
The technical scheme is as follows: in order to achieve the purpose, the invention adopts the technical scheme that:
a cross-version application distribution method, comprising the steps of:
and step 1, acquiring enterprise requirements.
And 2, the service provider constructs a product according to enterprise requirements, the product is composed of more than two sub-applications, each sub-application provides partial functions and is mutually associated, and each application has a globally unique label.
And 3, analyzing each application in the product constructed in the step 2 through a structured language to form a structured file.
And 4, pushing the structured file obtained in the step 3 to a client system.
And 5, analyzing the structured file, comparing the application in the target system through the application tag, and if the tag does not exist, performing the step 6. If a tag is present, step 10 is performed.
And 6, directly mounting.
And 7, judging whether the installation process is successful, and if not, performing the step 8. If successful, go to step 9.
And 8, directly performing program installation rollback.
And 9, finishing the installation.
And step 10, backing up the client system.
And 11, after the client system is backed up, updating and upgrading the product, wherein the upgrading adopts a structured language comparison mode, updating one by one according to the label, and if the label cannot be identified by the target system, the version is considered to be inconsistent, and the installation processing of the part of functions is not carried out.
And 12, if the upgrade is unsuccessful, restoring the backup system, and then performing the step 9.
Preferably: if the system is cross-domain, the following steps are carried out:
and step 13, directly exporting the packaged products in the step 3.
Step 14, exporting into a structured file.
And 15, importing or updating to the corresponding system, and if the importing is unsuccessful, performing the step 8. If the import is successful, step 9 is performed. If the update is not successful, step 12 is performed. If the update is successful, step 9 is performed.
Preferably: the structured file in step 3 is an aggregation of application and related rule abstract data, and comprises an application, a data engine, a process engine, a rule engine, a permission engine and a designer engine.
Preferably: the products installed in the target enterprise are all provided with locking modules, the locking modules bind the product labels with the target enterprise and the service business enterprise, and the locking modules record whether the products are unlocked or not, and whether the products are unlocked or not can be verified by any modification. When a client changes the locked product, the client needs to apply authorization to a service enterprise, and the locked product enables an unauthorized client not to change or even distribute the product to other systems.
Preferably: the structured file is a compressed package or a mirror image file.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention can meet the increasingly complex and variable service requirements of customers and meet the requirements of software systems which are delivered quickly and put into use as soon as possible.
2. The invention can also protect the application copyright provided by the service provider through the application locking mode.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment of the present invention.
Detailed Description
The present invention is further illustrated by the following description in conjunction with the accompanying drawings and the specific embodiments, it is to be understood that these examples are given solely for the purpose of illustration and are not intended as a definition of the limits of the invention, since various equivalent modifications will occur to those skilled in the art upon reading the present invention and fall within the limits of the appended claims.
A cross-version application distribution method, as shown in fig. 1, includes the following steps:
step 1, starting to acquire enterprise requirements.
Step 2, the service provider constructs a product according to the enterprise requirement, the product is composed of more than two sub-applications, each sub-application provides partial functions and is mutually associated, for example, a purchase-sale-inventory system is provided, the product comprises an inventory management application and a purchase management application, after the purchase management process is finished, data are correspondingly written into inventory management, a rule engine, a process engine, a data model and the like are used, the data are completely constructed when the solution is constructed, and each application has a globally unique label.
And 3, analyzing each application in the product constructed in the step 2 through a structured language to form a structured file. Structured files are an aggregation of application and related rule abstracted data, including applications, data engines, flow engines, rule engines, permission engines, designer engines. In this embodiment, the structured file is a compressed package, and in another embodiment of the present invention, the structured file is an image file.
And 4, pushing the structured file obtained in the step 3 to a client system.
And 5, analyzing the structured file, comparing the application in the target system through the application tag, and if the tag does not exist, performing the step 6. If a tag is present, i.e. the product is present in the client system, step 10 is performed.
And 6, directly mounting.
And 7, judging whether the installation process is successful, and if not, performing the step 8. If successful, go to step 9.
And 8, directly performing program installation rollback.
And 9, finishing the installation.
And step 10, backing up the client system.
And 11, after the client system is backed up, updating and upgrading the product, wherein the upgrading adopts a structured language comparison mode, updating one by one according to the label (key value), and if the target system cannot identify the label, the version is considered to be inconsistent (the function is not supported), and the part of functions are not subjected to installation processing.
And 12, if the upgrade is unsuccessful, restoring the backup system, and then performing the step 9.
If the system is cross-domain, the following steps are carried out:
and step 13, directly exporting the packaged products in the step 3.
Step 14, exporting into a structured file.
And 15, importing or updating to the corresponding system, and if the importing is unsuccessful, performing the step 8. If the import is successful, step 9 is performed. If the update is not successful, step 12 is performed. If the update is successful, step 16 is performed.
And step 16, finishing the installation.
And step 17, in order to protect the product ownership of the service provider, the products installed in the target enterprise are provided with locking modules, the locking modules bind the product labels with the target enterprise and the service provider enterprise, and the locking modules record whether the products are unlocked or not, and the locking modules verify whether the products are unlocked or not if any modification is carried out. The locked product needs to apply for authorization to the service enterprise when the client changes. The locked product cannot be changed or even distributed to other systems by unauthorized clients. That is, the client can not be changed at will or even distributed to other systems, and if the copyright needs to be bought, the application can be submitted for authorization by the service provider.
The invention carries out application installation or update through a structured standard description file, the structured file (the structured file is an aggregate of a plurality of applications and related rule abstract data, and comprises an application, a data engine, a flow engine, a rule engine, a permission engine, a designer engine and the like, the entities of the structured file are a product, a mature solution, a string of structured description files after being packaged and an installation package which can be installed on other systems at any time) can be cut according to the current system (one is that which applications or rules can be selected to be packaged during packaging, the other is that whether the applications or rules can be identified in a target system can be compared through each key (label) in the structured description file, if the target system supports the functions, the applications or the rules are directly installed, otherwise, the applications or the rules can be installed and updated across system versions (the compression package generated after packaging, can be directly installed by importing the mobile equipment into any project deployed in a public network or an intranet), can meet increasingly complex and variable service requirements of customers, and meets the requirements of software systems which are rapidly delivered and put into use as soon as possible. The invention can also protect the application copyright provided by the service provider through the application locking mode.
The above description is only of the preferred embodiments of the present invention, and it should be noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention and these are intended to be within the scope of the invention.

Claims (5)

1.一种跨版本的应用分发方法,其特征在于,包括以下步骤:1. a cross-version application distribution method, is characterized in that, comprises the following steps: 步骤1,获取企业需求;Step 1, obtain enterprise requirements; 步骤2,服务商根据企业需求构建一个产品,产品是由两个以上子应用组成,每个子应用提供部分功能,又相互关联,每个应用都有全局唯一的标签;Step 2, the service provider builds a product according to the needs of the enterprise. The product is composed of more than two sub-applications, each of which provides some functions and is related to each other, and each application has a globally unique label; 步骤3,把步骤2构建好的产品中各个应用通过结构化语言解析出来并形成一个结构化文件;Step 3, parse out each application in the product constructed in step 2 through structured language and form a structured file; 步骤4,将步骤3得到的结构化文件推送到客户系统;Step 4, push the structured file obtained in step 3 to the client system; 步骤5,解析结构化文件,通过应用中标签对比目标系统中应用,若标签不存在,则进行步骤6;若标签存在,则进行步骤10;Step 5, parse the structured file, compare the application in the target system with the label in the application, if the label does not exist, go to step 6; if the label exists, go to step 10; 步骤6,直接安装;Step 6, direct installation; 步骤7,判断安装过程是否成功,若不成功,则进行步骤8;若成功,则进行步骤9;Step 7, determine whether the installation process is successful, if not, proceed to Step 8; if successful, proceed to Step 9; 步骤8,直接进行程序安装回滚;Step 8, directly roll back the program installation; 步骤9,结束安装;Step 9, end the installation; 步骤10,备份客户系统;Step 10, back up the client system; 步骤11,备份好客户系统后,进行产品的更新升级,升级采用结构化语言对比方式,根据标签逐条更新,若目标系统识别不了此标签,则认为此版本不一致,则此部分功能不做安装处理;Step 11: After backing up the client system, update and upgrade the product. The upgrade adopts a structured language comparison method, and updates it one by one according to the label. If the target system cannot recognize the label, it is considered that the version is inconsistent, and this part of the function is not installed. ; 步骤12,若升级不成功,则把备份的系统进行还原,然后进行步骤9。Step 12, if the upgrade is unsuccessful, restore the backed up system, and then proceed to Step 9. 2.根据权利要求1所述跨版本的应用分发方法,其特征在于:如果系统跨域的,则进行以下步骤:2. according to the described cross-version application distribution method of claim 1, it is characterized in that: if the system is cross-domain, then carry out the following steps: 步骤13,把步骤3中已经打包的产品直接导出;Step 13, directly export the packaged product in step 3; 步骤14,导出成结构化文件;Step 14, export into a structured file; 步骤15,到对应系统进行导入或更新,如果导入不成功,则进行步骤8;如果导入成功,则进行步骤9;如果更新不成功,则进行步骤12;如果更新成功,则进行步骤9。Step 15, go to the corresponding system to import or update, if the import is unsuccessful, go to step 8; if the import is successful, go to step 9; if the update is unsuccessful, go to step 12; if the update is successful, go to step 9. 3.根据权利要求2所述跨版本的应用分发方法,其特征在于:步骤3中结构化文件是应用及相关规则抽象化数据的集合体,其包括应用 、数据引擎、流程引擎、规则引擎、权限引擎、设计器引擎。3. according to the described cross-version application distribution method of claim 2, it is characterized in that: in step 3, structured file is the aggregate of application and relevant rule abstraction data, and it comprises application, data engine, process engine, rule engine, Permission engine, designer engine. 4.根据权利要求3所述跨版本的应用分发方法,其特征在于:安装到目标企业的产品都设置有锁定模块,所述锁定模块将产品标签与目标企业、服务商企业绑定,并有状态值记录是否解锁,任何修改都会校验产品是否解锁;锁定后的产品,客户更改时,需要向服务商企业申请授权。4. The cross-version application distribution method according to claim 3, wherein the products installed in the target enterprise are all provided with a locking module, and the locking module binds the product label with the target enterprise, the service provider enterprise, and has Whether the status value record is unlocked, any modification will verify whether the product is unlocked; when the locked product is changed, the customer needs to apply for authorization from the service provider. 5.根据权利要求4所述跨版本的应用分发方法,其特征在于:所述结构化文件为压缩包或者镜像文件。5 . The cross-version application distribution method according to claim 4 , wherein the structured file is a compressed package or an image file. 6 .
CN202210103448.0A 2022-01-28 2022-01-28 Cross-version application distribution method Active CN114115812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210103448.0A CN114115812B (en) 2022-01-28 2022-01-28 Cross-version application distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210103448.0A CN114115812B (en) 2022-01-28 2022-01-28 Cross-version application distribution method

Publications (2)

Publication Number Publication Date
CN114115812A true CN114115812A (en) 2022-03-01
CN114115812B CN114115812B (en) 2022-03-29

Family

ID=80361758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210103448.0A Active CN114115812B (en) 2022-01-28 2022-01-28 Cross-version application distribution method

Country Status (1)

Country Link
CN (1) CN114115812B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170083303A1 (en) * 2010-06-18 2017-03-23 Sweetlabs, Inc. System and Methods for Integration of an Application Runtime Environment Into a User Computing Environment
US20200057654A1 (en) * 2016-11-21 2020-02-20 Zheng Yang Method and system for mirror image package preparation and application operation
CN111046298A (en) * 2020-03-13 2020-04-21 腾讯科技(深圳)有限公司 Method and device for pushing application program, computer equipment and storage medium
CN111240685A (en) * 2020-01-07 2020-06-05 杭州涂鸦信息技术有限公司 Cross-platform application program construction method and system
CN111753291A (en) * 2020-06-18 2020-10-09 支付宝(杭州)信息技术有限公司 A method, device and device for creating an application container
CN112231055A (en) * 2020-10-10 2021-01-15 苏州浪潮智能科技有限公司 An image management method and device
CN113391795A (en) * 2020-03-11 2021-09-14 北京灵汐科技有限公司 Method and system for realizing self-adaptive mapping of application scene and software development kit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170083303A1 (en) * 2010-06-18 2017-03-23 Sweetlabs, Inc. System and Methods for Integration of an Application Runtime Environment Into a User Computing Environment
US20200057654A1 (en) * 2016-11-21 2020-02-20 Zheng Yang Method and system for mirror image package preparation and application operation
CN111240685A (en) * 2020-01-07 2020-06-05 杭州涂鸦信息技术有限公司 Cross-platform application program construction method and system
CN113391795A (en) * 2020-03-11 2021-09-14 北京灵汐科技有限公司 Method and system for realizing self-adaptive mapping of application scene and software development kit
CN111046298A (en) * 2020-03-13 2020-04-21 腾讯科技(深圳)有限公司 Method and device for pushing application program, computer equipment and storage medium
CN111753291A (en) * 2020-06-18 2020-10-09 支付宝(杭州)信息技术有限公司 A method, device and device for creating an application container
CN112231055A (en) * 2020-10-10 2021-01-15 苏州浪潮智能科技有限公司 An image management method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王云林: ""Android应用中跨版本集成新特性的研究与实现"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Also Published As

Publication number Publication date
CN114115812B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN104679534B (en) System application installation package loading processing method, apparatus and terminal
CN109978290A (en) A kind of operation flow backspacing processing method of extensive makeup, flow engine and operation system
CA2847393C (en) Deployment of software across an enterprise system
US7512675B2 (en) Cleaning and removing duplicated unique identifiers from remote network nodes
CN113238950A (en) System and method for testing distributed system, storage medium and electronic equipment
AU2021204593A1 (en) Methods and apparatuses for installing device application
CN111181775B (en) An integrated operation and maintenance management alarm method based on automatic discovery of host assets
CN114115812B (en) Cross-version application distribution method
CN115604086B (en) Monitoring alarm fault self-recovery methods, devices, equipment, media and program products
US20100057787A1 (en) Method, system, and computer program product for cloning of distributed and stateful systems
CN114327588B (en) A code submission log processing method and device
CN117270915B (en) Software upgrading method and system based on information security
CN109426576A (en) Fault-tolerance processing method and fault-tolerant component
CN119311306A (en) OTA-based vehicle software upgrade method, device and computer equipment
US12321738B2 (en) Incremental image import process for supporting multiple upstream image repositories
CN108650320B (en) Method for synchronizing configuration files of isomorphic cascading equipment in cluster environment
CN116975024A (en) Deployment method, equipment and computer-readable storage medium of database script
CN106547756B (en) Database creation method and device
CN110493326B (en) Zookeeper-based cluster configuration file management system and method
CN114385594A (en) A method, apparatus, device and storage medium for managing data modification process
CN115080588A (en) Distributed transaction processing method applied to customer service work order system
CN116048498B (en) Component library architecture based on multiple versions
US12373422B2 (en) System and method for patching database as a service with minimal downtime
CN111880809A (en) Method and system for deploying HUE service
CN119514983B (en) Scheduling platform parallel operation method, device and computer equipment

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
CP01 Change in the name or title of a patent holder

Address after: 11-14 / F, tower a, Tengfei building, 88 Jiangmiao Road, yanchuangyuan, Jiangbei new district, Nanjing, Jiangsu Province 210000

Patentee after: Anyuan Technology Co.,Ltd.

Address before: 11-14 / F, tower a, Tengfei building, 88 Jiangmiao Road, yanchuangyuan, Jiangbei new district, Nanjing, Jiangsu Province 210000

Patentee before: NANJING ANYUAN TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder