CN114995851A - Cross-project synchronous updating method, system, equipment and medium for Hongmon system - Google Patents

Cross-project synchronous updating method, system, equipment and medium for Hongmon system Download PDF

Info

Publication number
CN114995851A
CN114995851A CN202210576089.0A CN202210576089A CN114995851A CN 114995851 A CN114995851 A CN 114995851A CN 202210576089 A CN202210576089 A CN 202210576089A CN 114995851 A CN114995851 A CN 114995851A
Authority
CN
China
Prior art keywords
items
functions
function
cross
updated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210576089.0A
Other languages
Chinese (zh)
Inventor
王嘉元
俞秋琳
孙秋漪
唐崇雯
魏远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pudong Development Bank Co Ltd
Original Assignee
Shanghai Pudong Development Bank 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 Shanghai Pudong Development Bank Co Ltd filed Critical Shanghai Pudong Development Bank Co Ltd
Priority to CN202210576089.0A priority Critical patent/CN114995851A/en
Publication of CN114995851A publication Critical patent/CN114995851A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a cross-project synchronous updating method, a cross-project synchronous updating system, cross-project synchronous updating equipment and a cross-project synchronous updating medium for a Hongming system, which comprise the following steps: s1: acquiring a shared function in a plurality of items to be updated synchronously; s2: confirming the related items of the common functions; s3: establishing a basic function library according to the shared function; s4: and updating the functions in the basic function library and generating an updated application package of the associated items corresponding to the updated functions. Compared with the prior art, the method has the advantages of convenience in maintenance, high compiling speed and the like.

Description

Cross-project synchronous updating method, system, equipment and medium for Hongming system
Technical Field
The invention relates to the technical field of computers, in particular to a cross-project synchronous updating method, a cross-project synchronous updating system, cross-project synchronous updating equipment and a cross-project synchronous updating medium for a Hongmon system.
Background
The Hongming system is a brand-new distributed operating system facing to the whole scene, creates a world with super virtual terminals interconnected, organically connects people, equipment and scenes together, realizes the extremely-fast discovery, the extremely-fast connection, the hardware mutual assistance and the resource sharing of various intelligent terminals contacted by consumers in the whole scene life, and provides the scene experience by using proper equipment.
Currently, hong meng systems have two application forms of hong meng atomization service and hong meng APP application, and each application form uses a whole set of application framework. Hongmong APP is APP; the atomization service means that the APP does not need to be downloaded and installed in advance, the APP does not need to be upgraded, the space of the mobile phone is not occupied, and the application program can be directly opened for use. An application project launched in a hong meng system has repeated function modules, for example, two different projects launched in hong meng atomization service and hong meng APP application have repeated functions such as camera shooting and webpage loading, for the same function, application codes in different projects are the same, and if code change is needed, two different applications need to be maintained simultaneously, so that the maintenance cost is high. And as more and more application functions are used, the code structure is also complex, and the code structure with the same function in different projects is more complex, so that the development efficiency is low and the maintenance cost is high.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned drawbacks of the prior art, and provides a method, system, device and medium for cross-project synchronous update of a hongmeng system.
The purpose of the invention can be realized by the following technical scheme:
a cross-project synchronous updating method for Hongming system comprises the following steps:
s1: acquiring a shared function in a plurality of items to be updated synchronously;
s2: confirming the related items of the common functions;
s3: establishing a basic function library according to the shared function;
s4: and updating the functions in the basic function library and generating an updated application package of the associated project corresponding to the updated functions.
Preferably, the shared function is shared by any N or more items in the plurality of items, and N is a positive integer greater than or equal to 2.
Preferably, said N is 2.
Preferably, the common functions include resource loading, picture processing and encryption processing.
Preferably, the common functions further include camera photographing, web page loading, and privacy authorization.
Preferably, the items to be updated synchronously include hong meng APP application items and hong meng atomization service items of the hong meng system.
A cross-project synchronous updating system for Hongming system comprises a function library construction module and a function library updating module,
the function library construction module is used for acquiring common functions in a plurality of items to be synchronously updated, confirming associated items of each common function, and establishing a basic function library according to the common functions;
the function library updating module is used for updating the functions in the basic function library and generating an updated application package of the associated project corresponding to the updated functions.
Preferably, the shared function is shared by any N or more than N items in the plurality of items, where N is a positive integer greater than or equal to 2.
An electronic device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a cross-project synchronous update method for a hong kong system as described above when executing the computer program.
A readable storage medium having stored thereon computer instructions which, when executed by a processor, implement a cross-project synchronous update method for a hong meng system as described above.
Compared with the prior art, the invention has the following advantages:
(1) the invention extracts the shared functions in different projects for unified maintenance, reduces redundant codes, reuses the functions, extracts the same codes, improves the code reuse rate, is easy to read the codes, can be effectively applied to the atomization service of the Hongmon system and the Hongmon APP application, and improves the maintenance efficiency;
(2) the updating process of the invention can improve the compiling speed, the shared function is only responsible for the core function, and the change is less than the change of the integral maintenance in the prior art, so the real-time compiling is not needed, and the speed is accelerated;
(3) the basic function library can be adjusted along with the updating of a plurality of items to be synchronously updated, the shared function is updated according to the requirements of the items, and the extension and the expansion are easy.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. Note that the following description of the embodiments is merely a substantial example, and the present invention is not intended to be limited to the application or the use thereof, and is not limited to the following embodiments.
Example 1
A cross-project synchronous update method for hong meng system, as shown in fig. 1, includes the following steps:
s1: a shared function among a plurality of items to be updated synchronously is acquired. The shared function is shared by any N or more than N items in a plurality of items, wherein N is a positive integer greater than or equal to 2. In this example, N is 2.
Specifically, taking the item A, B, C, D as an example, N is 2, the shared function of the item A, B is function a, the shared function of the item A, C, D is function b, and the shared items of the item A, B, C, D are functions c and d. The common functions acquired in step S1 of the present embodiment are functions a, b, c, d.
S2: the related items of the common functions are confirmed.
In this embodiment, the associated item corresponding to the function a is the item A, B, the associated item corresponding to the function b is the item A, C, D, the associated item corresponding to the function c is the item A, B, C, D, and the associated item corresponding to the function c is the item A, B, C, D.
S3: and establishing a basic function library according to the shared function.
In this embodiment, the basic function library is established to include function modules corresponding to the functions a, b, c, and d.
S4: and updating the functions in the basic function library and generating an updated application package of which the updated functions correspond to the associated items.
And if the function a needs to be updated, completing the code updating and maintenance of the function module in the basic function library, correspondingly generating and uploading an application package of the function a associated item A, B, and realizing the associated synchronous updating of the application. The function a code of A, B need not be separately updated for maintenance.
In this embodiment, the common functions include frame contents such as resource loading, picture processing, and encryption processing, and also include. Camera shooting, webpage loading, privacy authorization and other functional contents. The items to be updated synchronously comprise Hongmon APP items and Hongmon atomization service items of the Hongmon system. Can be effectively applied to the updating of different application items of Hongmon systems.
Example 2
The invention also provides a cross-project synchronous updating system for Hongming system, which can realize the cross-project synchronous updating method for Hongming system of the embodiment 1, the system comprises a function library construction module and a function library updating module,
the function library construction module is used for acquiring a shared function in a plurality of items to be synchronously updated, confirming the associated item of each shared function, and establishing a basic function library according to the shared function;
the function library updating module is used for updating the functions in the basic function library and generating an updated application package of the associated project corresponding to the updated functions.
Example 3
The present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the computer program implementing a cross-project synchronous update method for a Hongmon system as described above.
The invention also provides a readable storage medium, which stores computer instructions, and the computer instructions when executed by a processor realize the cross-project synchronous updating method for the Hongmon system.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The program product provided by the embodiments of the present application may be any combination of one or more readable media, where the readable media may be a readable signal medium or a readable storage medium, and the readable storage medium may be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof, and in particular, more specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a RAM, a ROM, an Erasable Programmable Read-Only Memory (EPROM), an optical fiber, a portable Compact disk Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product provided by the embodiment of the application can adopt a CD-ROM and comprises program codes, and can run on a computing device. However, the program product provided by the embodiments of the present application is not limited thereto, and in the embodiments of the present application, the readable storage medium may be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus, or device.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
The above embodiments are merely examples and do not limit the scope of the present invention. These embodiments may be implemented in other various manners, and various omissions, substitutions, and changes may be made without departing from the technical spirit of the present invention.

Claims (10)

1. A cross-project synchronous updating method for Hongming system is characterized by comprising the following steps:
s1: acquiring a shared function in a plurality of items to be synchronously updated;
s2: confirming the related items of the common functions;
s3: establishing a basic function library according to the shared function;
s4: and updating the functions in the basic function library and generating an updated application package of the associated project corresponding to the updated functions.
2. The method as claimed in claim 1, wherein the common function is a common function of any N or more than N items in the plurality of items, and N is a positive integer greater than or equal to 2.
3. The method of claim 2, wherein N is 2.
4. The method as claimed in claim 1, wherein the common functions include resource loading, picture processing, and encryption processing.
5. The cross-project synchronous updating method for Hongmon system according to claim 1, wherein the common functions further include camera photographing, web page loading, privacy authorization.
6. The method of claim 1, wherein the items to be updated synchronously include hong meng APP application items and hong meng atomization service items of hong meng system.
7. A cross-project synchronous updating system for Hongming system is characterized in that the system comprises a function library construction module and a function library updating module,
the function library construction module is used for acquiring common functions in a plurality of items to be synchronously updated, confirming associated items of each common function, and establishing a basic function library according to the common functions;
the function library updating module is used for updating the functions in the basic function library and generating an updated application package of the associated project corresponding to the updated functions.
8. The system of claim 7, wherein the common function is a common function for any N or more than N items in the plurality of items, wherein N is a positive integer greater than or equal to 2.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing a cross-project synchronous update method for a Hongmon system as claimed in any one of claims 1-6 when executing the computer program.
10. A readable storage medium having stored thereon computer instructions which, when executed by a processor, implement a cross-project synchronous update method for a hong meng system as recited in any one of claims 1-6.
CN202210576089.0A 2022-05-24 2022-05-24 Cross-project synchronous updating method, system, equipment and medium for Hongmon system Pending CN114995851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210576089.0A CN114995851A (en) 2022-05-24 2022-05-24 Cross-project synchronous updating method, system, equipment and medium for Hongmon system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210576089.0A CN114995851A (en) 2022-05-24 2022-05-24 Cross-project synchronous updating method, system, equipment and medium for Hongmon system

Publications (1)

Publication Number Publication Date
CN114995851A true CN114995851A (en) 2022-09-02

Family

ID=83028276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210576089.0A Pending CN114995851A (en) 2022-05-24 2022-05-24 Cross-project synchronous updating method, system, equipment and medium for Hongmon system

Country Status (1)

Country Link
CN (1) CN114995851A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483328A (en) * 2023-06-19 2023-07-25 广州信位通讯科技有限公司 System and method for running HongMong APP on ThreadX embedded software platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483328A (en) * 2023-06-19 2023-07-25 广州信位通讯科技有限公司 System and method for running HongMong APP on ThreadX embedded software platform
CN116483328B (en) * 2023-06-19 2023-09-12 广州信位通讯科技有限公司 System and method for running HongMong APP on ThreadX embedded software platform

Similar Documents

Publication Publication Date Title
CN110442327B (en) Application program construction method, device and server
CN107077379B (en) A kind of virtual machine creation method and device
CN110119294A (en) The generation method of menu page, apparatus and system
CN113453073B (en) Image rendering method and device, electronic equipment and storage medium
US20130167112A1 (en) Cross-platform virtual machine and method
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN114995851A (en) Cross-project synchronous updating method, system, equipment and medium for Hongmon system
CN107301220B (en) Method, device and equipment for data driving view and storage medium
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN111324376A (en) Function configuration method and device, electronic equipment and computer readable medium
CN111338666A (en) Method, device, medium and electronic equipment for realizing application program upgrading
CN112416303B (en) Software development kit hot repair method and device and electronic equipment
CN109976832A (en) It is a kind of that the method and apparatus of boarding program is provided
CN110795328A (en) Interface testing method and device
CN112596854A (en) Method and device for continuously integrating running of assembly line
CN109840109B (en) Method and apparatus for generating software development toolkit
CN113127430A (en) Mirror image information processing method and device, computer readable medium and electronic equipment
CN111563253A (en) Intelligent contract operation method, device, equipment and storage medium
US9898264B2 (en) Automatic componentization engine
CN108804442B (en) Serial number generation method and device
CN110619615A (en) Method and apparatus for processing image
CN104866301B (en) For calling and the method and device of assisted call local side ability
CN111813407B (en) Game development method, game running device and electronic equipment
CN103116632A (en) Generation method of theme pack, device and equipment
CN110427189A (en) Method, server and the system of Remote Dynamic compiling Android engineering

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