Method and system for realizing hot update dynamic adaptation based on JavaSPI

A dynamic adaptation and hot update technology, applied in the direction of response error generation, program loading/starting, error detection of redundant data in operation, etc., can solve the problems of complex code business logic, increase communication and development costs, etc. , to achieve online debugging, enrich dynamic processing capabilities, and improve development efficiency.

CN114880169APending Publication Date: 2022-08-09杭州比智科技有限公司
0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2022-08-09

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and a system for realizing hot update dynamic adaptation based on JavaSPI (Serial Peripheral Interface), and the method comprises the following steps: step S110, planning and designing functions required to be provided, and generating a standardized interface; s120, according to the function needing to be provided, a target interface is achieved and uploaded to a server; step S130, judging whether an available implementation class exists or not when the server is started; and S140, if the judgment result is yes, entering the step S140, rewriting the JavaSPI and the ClassLoader, and loading the target implementation class dynamics. According to the method and the system, under a customized development scene, a client side can be helped to complete function increase and improvement by itself by reading instructions provided by a manufacturer without understanding all business logics.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of computer and data processing, in particular to a method and system for realizing dynamic adaptation of hot update based on JavaSPI. Background technique

[0002] Customized development is an unavoidable problem for products facing multiple customers, especially after delivery, it needs to be partially transformed or connected with new module content. However, because the delivered software is usually delivered in the form of an obfuscated package, and no source code package is provided, in order to be able to iterate the required content, it is usually necessary to contact the software manufacturer for customized development, and the manufacturer needs to understand the customer's scenario and customize the development. It may also be necessary to go to the site for debugging and development, which invisibly increases communication and development costs.

[0003] Due to delivery restrictions or complex c...

Examples

Embodiment Construction

[0033] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0034] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have ...