CN114816385B - Integration method, device and equipment of heterogeneous system and storage medium - Google Patents

Integration method, device and equipment of heterogeneous system and storage medium Download PDF

Info

Publication number
CN114816385B
CN114816385B CN202210737715.XA CN202210737715A CN114816385B CN 114816385 B CN114816385 B CN 114816385B CN 202210737715 A CN202210737715 A CN 202210737715A CN 114816385 B CN114816385 B CN 114816385B
Authority
CN
China
Prior art keywords
subsystem
web component
loading
resources
component standard
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
CN202210737715.XA
Other languages
Chinese (zh)
Other versions
CN114816385A (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.)
Zhonglu Zhilian Technology Group Co ltd
Original Assignee
Zhonglu Zhilian Technology Group 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 Zhonglu Zhilian Technology Group Co ltd filed Critical Zhonglu Zhilian Technology Group Co ltd
Priority to CN202210737715.XA priority Critical patent/CN114816385B/en
Publication of CN114816385A publication Critical patent/CN114816385A/en
Application granted granted Critical
Publication of CN114816385B publication Critical patent/CN114816385B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/37Compiler construction; Parser generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an integration method, an integration device, integration equipment and a storage medium of a heterogeneous system, relates to the technical field of system integration, and provides a technical scheme which can integrate a plurality of subsystems together and can be uniformly embodied and used in one application. The integration method of the heterogeneous system comprises the following steps: responding to an access request of a subsystem, and loading the subsystem to obtain loading data related to the subsystem; analyzing the loading data related to the subsystem according to the attribute of the loading data related to the subsystem to obtain a pseudo code related to the subsystem; wherein the pseudo code associated with the subsystem has the same language as the heterogeneous system; and rendering the pseudo code related to the subsystem in the browser compatible with the Web Component standard to obtain a code which can be recognized by the browser compatible with the Web Component standard.

Description

Integration method, device and equipment of heterogeneous system and storage medium
Technical Field
The present invention relates to the field of system integration technologies, and in particular, to an integration method, an integration apparatus, and a storage medium for a heterogeneous system.
Background
The integration of the heterogeneous system is to integrate a plurality of systems, and when the heterogeneous system is integrated, because the technical schemes of the system construction parties are different or the technical schemes used by the constructed systems are old, the unified development technology and programming language cannot be used, so that the problem of difficult system integration is caused.
Currently, there are two solutions to the above problem: first, abandoning integration, requiring the user to use multiple program portals, or to set up navigation pages, but still achieving uniformity in the user experience; second, the encoding or modification is performed on demand by the integrator, such as at the beginning of the project, which is feasible and the modification costs will increase as the project progresses.
Disclosure of Invention
Based on the above, the invention discloses an integration method, an integration device and an integration equipment of a heterogeneous system, and a storage medium, so as to provide a technical scheme which can integrate a plurality of subsystems together, and uniformly embody and uniformly use in one application.
In a first aspect, the present invention provides an integration method for heterogeneous systems, which is applied to a browser compatible with a Web Component standard, and the integration method for heterogeneous systems includes the following steps:
responding to an access request of a subsystem, and loading the subsystem to obtain loading data related to the subsystem;
analyzing the loading data related to the subsystem according to the attribute of the loading data related to the subsystem to obtain a pseudo code related to the subsystem; wherein the pseudo code associated with the subsystem has the same language as the heterogeneous system;
and rendering the pseudo code related to the subsystem in the browser compatible with the Web Component standard to obtain a code which can be recognized by the browser compatible with the Web Component standard.
Under the condition of adopting the technical scheme, the integration method of the heterogeneous system provided by the invention can respond to the access requests of a plurality of subsystems, integrate the subsystems together, embody and use the subsystems in a unified way in one application, and break through the barriers among the subsystems. Moreover, the accessed subsystems are loaded, analyzed and rendered, so that the codes which can be recognized by the browser compatible with the Web Component standard can be obtained, namely, the subsystems can be integrated into a heterogeneous system, therefore, the invention can introduce all the subsystems through simple processing, has small invasiveness, does not distort and influence the codes and formats of other systems, does not need to additionally develop butted codes for access, and reduces the development workload of the system.
Further, the loading the subsystem in response to the access request of the subsystem, and obtaining the resource data related to the subsystem includes:
responding to an access request of a subsystem, and at least loading a plurality of resources in the subsystem and addresses corresponding to the resources to obtain loading data related to the resources in the subsystem and the addresses of the resources. And loading the plurality of resources in the subsystem and the addresses corresponding to the plurality of resources in the same loading mode.
Further, the attributes of the load data associated with the subsystem include: at least one of a language type used by the subsystem, a page style type of the subsystem, an execution script type of the subsystem, and a resource type of the subsystem.
Further, rendering the pseudo code related to the subsystem to obtain the code recognizable by the browser compatible with the Web Component standard includes:
and converting pseudo code related to the subsystem into code which can be recognized by the browser compatible with the Web Component standard by using a renderer.
Further, after the pseudo code related to the subsystem is rendered to obtain the code recognizable by the browser compatible with the Web Component standard, the method for integrating the heterogeneous system further includes:
and presenting the codes which can be recognized by the browser compatible with the Web Component standard through a port provided by the browser compatible with the Web Component standard.
Further, rendering the code recognizable by the browser compatible with the Web Component standard through a port provided by the browser compatible with the Web Component standard includes:
packaging the codes which can be recognized by the browser compatible with the Web Component standard into a Web Component through the CustomElement in combination with the customized ShadowDom;
and the Web Component is presented through a port provided by the browser compatible with the Web Component standard.
In a second aspect, the present invention provides an integrated device of a heterogeneous system, which is applied to a browser compatible with a Web Component standard, where the integrated device of the heterogeneous system includes:
the loading module is used for responding to an access request of a subsystem and loading the subsystem to obtain loading data related to the subsystem;
the analysis module is used for determining a matched analysis unit according to the attribute of the loading data related to the subsystem, and the analysis unit is used for analyzing the matched loading data related to the subsystem to obtain a pseudo code related to the subsystem; wherein the pseudo code associated with the subsystem has the same language as the heterogeneous system;
and the rendering module is used for rendering the pseudo code related to the subsystem to obtain the code which can be recognized by the browser compatible with the Web Component standard.
Further, the loading module is further configured to respond to an access request of a subsystem, and load at least a plurality of resources in the subsystem and addresses corresponding to the plurality of resources to obtain load data related to the plurality of resources in the subsystem and the address of each of the resources.
Further, the rendering module is further configured to convert, by using a renderer, the pseudo code associated with the subsystem into code recognizable by the browser compatible with the Web Component standard.
Further, the integrated device includes a presentation module;
the presentation module is used for presenting the codes which can be identified by the browser compatible with the Web Component standard through a port provided by the browser compatible with the Web Component standard.
Further, the presentation module is also used for packaging the codes which can be recognized by the browser compatible with the Web Component standard into a Web Component through the CustomElement in combination with the customized ShadowDom; and then presenting the Web Component through a port provided by the browser compatible with the Web Component standard.
In a third aspect, an embodiment of the present invention provides an integrated device for a heterogeneous system, including a processor and a communication interface coupled to the processor; the processor is used for running a computer program or instructions to realize the integration method of the heterogeneous system.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, where instructions are stored, and when the instructions are executed, the method for integrating heterogeneous systems is implemented.
Compared with the prior art, the beneficial effects of the second, third and fourth aspects of the invention are the same as the beneficial effects of the assessment and evaluation method of the technical scheme, and are not described herein again.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not limit the invention. In the drawings:
fig. 1 is a flowchart illustrating steps of an integration method for a heterogeneous system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an integrated device of a heterogeneous system according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure diagram of an integrated device of a heterogeneous system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a chip according to an embodiment of the present invention.
Reference numerals: 100-load module, 200-parse module, 300-render module, 80-device, 801-processor, 801-1-first processor, 801-2-second processor, 802-communication interface, 803-communication line, 804-memory, 805-bus system, 90-chip.
Detailed Description
In order to facilitate clear description of technical solutions of the embodiments of the present invention, in the embodiments of the present invention, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. For example, the first threshold and the second threshold are only used for distinguishing different thresholds, and the order of the thresholds is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is to be understood that the terms "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a alone, A and B together, and B alone, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a and b combination, a and c combination, b and c combination, or a, b and c combination, wherein a, b and c can be single or multiple.
The integration of the heterogeneous system is to integrate a plurality of systems, and when the heterogeneous system is integrated, because the technical schemes of the system construction parties are different or the technical schemes used by the constructed systems are old, the unified development technology and programming language cannot be used, so that the problem of difficult system integration is caused.
There are currently roughly two solutions to the above problem: first, abandoning integration, requiring the user to use multiple program portals, or to set up navigation pages, but still achieving uniformity in the user experience; second, the encoding or modification is performed on demand by the integrator, such as at the beginning of the project, which is feasible and the modification costs will increase as the project progresses.
Based on this, the embodiment of the invention discloses an integration method, device and equipment of a heterogeneous system.
Referring to fig. 1, a flowchart illustrating steps of an integration method of a heterogeneous system according to an embodiment of the present invention is shown. The integration method of the heterogeneous system is applied to a browser compatible with the Web Component standard. Based on Web Comptomemt technology, reusable customization elements are created within the browser and the implementation of functionality is encapsulated in code written to implement the technology, called a "base container". Furthermore, a "base container" component is placed at a proper position on the page basic frame, when a service or other subsystems needing to be accessed are entered, the logic code of the base container reads subsystem resource files (including but not limited to page files, service logic codes, styles, images, fonts and the like), analyzes or loads different types of resource files, constructs a sandbox to prevent service resources or service logic from escaping, and finally processes and presents content in the base container, so that the purposes of being accessed and interacted by a user are achieved.
For example, a certain order service system has an entry page to realize the function of ordering service, and associates or dynamically associates resources such as a plurality of service logics, styles, images and the like in the page to realize the verification of the input content of the user and display the service logics such as related icons, prompt texts and the like. When a user opens a main frame page and triggers an instruction for entering the service system (such as clicking a service menu), the base container reads the configuration file from the designated position, obtains the page and other additional resource files related to the service system from the configuration file, then analyzes the page file, processes and presents the content in the base container, and simultaneously discovers the resource file related to the page in the analyzing process, and further submits the address of the resource file to be loaded to the resource loader for content presentation and use. At this time, the user can see the complete ordering interface, and the user can click the deposit order button and the like because the required resources such as the business logic and the like are loaded.
As in later parsing or interaction, a new resource file address is "found" and will be handled in the same way to ensure that the presented content is complete. The "discovery" refers to that, in the parsing or loading process, a specific content format (HTML format, etc.) is encountered, and the format is parsed, and if the parsing result indicates that the content indicates a resource to be loaded, it is considered that a resource file is "discovered".
The integration of the heterogeneous system comprises the following steps:
s100, responding to an access request of a subsystem, and loading the subsystem to obtain loading data related to the subsystem.
The access request of the subsystem may be understood as a loading instruction of the subsystem, and may be triggered by a user by clicking a menu or a function button, or may be triggered by a page basic frame or a certain subsystem through service logic, such as a jump between applications.
Specifically, the loading the subsystem in response to the access request of the subsystem, and obtaining the loading data related to the subsystem includes: responding to an access request of a subsystem, and at least loading a plurality of resources in the subsystem and addresses corresponding to the resources to obtain loading data related to the resources in the subsystem and the addresses of the resources.
And loading the plurality of resources in the subsystem and the addresses corresponding to the plurality of resources in the same loading mode. Based on the method and the device, the embodiment of the invention can load a plurality of resources and the addresses corresponding to the resources in the subsystem under the condition of not changing the loading mode, thereby shortening the loading time and improving the loading efficiency.
Specifically, the resources of the subsystem may include: the page and data of the subsystem, the menu of the subsystem, the language of the subsystem, the service logic of the subsystem and other execution scripts, the image and font included by the subsystem and other resources. It should be understood that the resource address of the subsystem is the address corresponding to the resource of the subsystem.
S200, analyzing the loaded data related to the subsystem according to the attribute of the loaded data related to the subsystem to obtain a pseudo code related to the subsystem; wherein the pseudo code associated with the subsystem has the same language as the heterogeneous system.
Specifically, the attributes of the load data related to the subsystem include: at least one of a language type used by the subsystem, a page style type of the subsystem, an execution script type of the subsystem, and a resource type of the subsystem.
It should be understood that in the embodiment of the present invention, the attributes of the loaded data related to the subsystem are different, and the subsequently selected parsing module is also different. For example: and when the loaded data related to the subsystem is in an HTML language, the analysis module is an HTML page analysis module. Through the analysis module, the HTML language can be analyzed and processed, and the pseudo code is output.
Another example is: when the loaded data related to the subsystem is a page style, the analysis module is a CSS style sheet analysis module, and the page style can be analyzed through the analysis module to output a pseudo code.
For example, when the loaded data related to the subsystem is an execution script for processing a business logic or the like, the analysis module is a JS script analysis module, and the analysis module can analyze the execution script for processing the business logic or the like and output a pseudo code.
For another example, when the loaded data related to the subsystem is a resource such as an image and a font, the analysis module is a static resource analysis module, and the module performs analysis processing on the resource such as the image and the font and outputs a pseudo code.
The pseudo code is a self-defined intermediate code, uses structured data to express page elements, is used for solving the problems of complex processing and poor performance of a browser DOM object, converts resources into the pseudo code, and can improve the rendering performance in scenes of dynamic change of the resources or change of part of contents in the user interaction process and the like.
In the embodiment of the invention, different parsing modules can be designed for different languages. Since HTML, CSS, and JS are widely used page design languages, most language design systems provide compatibility of the languages, the language pages can be output, and the language can be adapted to most scenes, so that the language of the heterogeneous system in the embodiment of the present invention can be one of HTML, CSS, and JS. As for the parsing method, as described above, various resources enter the parsing module and are output as uniform pseudo codes, i.e. the same language.
S300, rendering the pseudo code related to the subsystem in the browser compatible with the Web Component standard to obtain a code recognizable by the browser compatible with the Web Component standard.
In the embodiment of the invention, a renderer is utilized to convert the pseudo code related to the subsystem into the code which can be recognized by the browser compatible with the Web Component standard. And then, presenting the codes which can be identified by the browser compatible with the Web Component standard through a port provided by the browser compatible with the Web Component standard.
Specifically, the presenting, through a port provided by the browser compatible with the Web Component standard, the code recognizable by the browser compatible with the Web Component standard includes:
packaging the codes which can be recognized by the browser compatible with the Web Component standard into a Web Component through the CustomElement in combination with the customized ShadowDom;
and the Web Component is presented through a port provided by the browser compatible with the Web Component standard.
Based on this, the embodiment of the present invention can encapsulate the code recognizable by the browser compatible with the Web Component standard into the Web Component through the custom element and then combine the custom sharowdom. Among other things, ShadowDom mainly addresses the problem of multiple DOM trees in a document that may require a large number of interactions to establish and maintain their respective functional boundaries. And finally, presenting the Web Component through a port provided by the browser compatible with the Web Component standard.
In practical application, a business system or a system developed by a third party can be presented in a page through the loading and analyzing mode, because resources such as business system code logic and the like are loaded and are in an activated state, the business system can autonomously initiate access to data in the system and output the data to the page through a standard mode after the access, and the output action can be identified by a base container and analyzed. The business system or the system developed by the third party is a system relative to a page basic frame or a base container, and the page basic frame only provides the most basic functions, such as system names, icons and authorization information; logging in and logging out a user; navigation menu display, operation response and the like.
The integral scheme of the integration method of the heterogeneous system in the embodiment of the invention is used as a user login entrance and a function menu entrance. Meanwhile, a 'base container' component is inserted into the page basic framework and is used for accessing the service system.
The service developer can use other compatible languages to develop the service module, and can adjust the service module according to the basic framework docking specification when necessary so as to realize advanced functions such as interaction with the basic framework. After the service developer finishes, the resources such as the page file and the like developed by the service developer can be placed on any Internet server, the configuration file is compiled according to the specification, and the service entrance is associated with the storage position of the resource file. The configuration file needs to be stored in the resource path specified by the page basic frame.
For example: the basic framework developer develops and brings the basic framework system on line, and the address of the system is disclosed to the user. Service developers develop systems such as an order system module and a customer information system module, compile configuration files according to specifications, and access all the developed systems to a basic framework system. After the user logs in the system and loads the menu, the user can click the menu to enter the corresponding service system, and at the moment, the resource loading, conversion and rendering processes occur. The system is a whole system for users without memorizing the addresses of all service systems or switching the systems.
The integration method of the heterogeneous system provided by the embodiment of the invention can respond to the access requests of a plurality of subsystems, integrate the subsystems together, embody and use the subsystems in a unified way in one application, and break through barriers among the subsystems. Furthermore, the embodiment of the invention loads, analyzes and renders the accessed subsystem, so that the code which can be recognized by the browser compatible with the Web Component standard can be obtained, namely, the subsystem can be integrated into a heterogeneous system, therefore, the embodiment of the invention can introduce all the subsystems by simple processing, the invasiveness is small, the codes and formats of other systems cannot be tampered and influenced, other systems do not need to additionally develop the docked codes for access, and the development workload of the system is reduced.
Referring to fig. 2, an embodiment of the present invention further provides an integrated device of a heterogeneous system, which is applied to a browser compatible with a Web Component standard, where the integrated device of the heterogeneous system includes:
a loading module 100, configured to respond to an access request of a subsystem, load the subsystem to obtain loading data related to the subsystem;
the analysis module 200 is configured to determine a matched analysis unit according to an attribute of the loading data related to the subsystem, where the analysis unit is configured to analyze the matched loading data related to the subsystem to obtain a pseudo code related to the subsystem; wherein the pseudo code associated with the subsystem has the same language as the heterogeneous system;
and a rendering module 300, configured to render the pseudo code related to the subsystem to obtain a code that is recognizable by the browser compatible with the Web Component standard.
Further, the loading module is further configured to respond to an access request of a subsystem, and load at least a plurality of resources in the subsystem and addresses corresponding to the plurality of resources to obtain load data related to the plurality of resources in the subsystem and the address of each of the resources.
Further, the rendering module is further configured to convert, by using a renderer, the pseudo code associated with the subsystem into code recognizable by the browser compatible with the Web Component standard.
Further, the integrated device includes a presentation module;
the presentation module is used for presenting the codes which can be identified by the browser compatible with the Web Component standard through a port provided by the browser compatible with the Web Component standard.
Further, rendering the code recognizable by the browser compatible with the Web Component standard through a port provided by the browser compatible with the Web Component standard includes:
packaging the codes which can be recognized by the browser compatible with the Web Component standard into a Web Component through the CustomElement in combination with the customized ShadowDom;
and the Web Component is presented through a port provided by the browser compatible with the Web Component standard.
The integration device of the heterogeneous system provided by the embodiment of the invention can respond to the access requests of a plurality of subsystems, integrate the subsystems together, embody and use the subsystems in a unified way in one application, and break through barriers among the subsystems. Furthermore, the embodiment of the invention loads, analyzes and renders the accessed subsystem, so that the code which can be recognized by the browser compatible with the Web Component standard can be obtained, namely, the subsystem can be integrated into a heterogeneous system, therefore, the embodiment of the invention can introduce all the subsystems by simple processing, the invasiveness is small, the codes and formats of other systems cannot be tampered and influenced, other systems do not need to additionally develop the docked codes for access, and the development workload of the system is reduced.
Fig. 3 shows a hardware structure diagram of an integrated device of a heterogeneous system according to an embodiment of the present invention. As shown in fig. 3, the heterogeneous system based integrated device 80 includes a processor 801 and a communication interface 802.
As shown in fig. 3, the processor may be a general processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs according to the present invention. The number of the communication interfaces may be one or more. The communication interface may use any transceiver or the like for communicating with other devices or communication networks.
As shown in fig. 3, the integrated device of the heterogeneous system may further include a communication line 803. The communication link may include a path for transmitting information between the aforementioned components.
Optionally, as shown in fig. 3, the integrated device of the heterogeneous system may further include a memory 804. The memory is used for storing computer-executable instructions for implementing the inventive arrangements and is controlled by the processor for execution. The processor is used for executing computer execution instructions stored in the memory, thereby realizing the method provided by the embodiment of the invention.
As shown in fig. 3, the memory may be a read-only memory (ROM) or other types of static memory devices that can store static information and instructions, a Random Access Memory (RAM) or other types of dynamic memory devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory may be separate and coupled to the processor via a communication link. The memory may also be integral to the processor.
Optionally, the computer-executable instructions in the embodiment of the present invention may also be referred to as application program codes, which is not specifically limited in this embodiment of the present invention.
In particular implementations, as one embodiment, processor 801 may include one or more CPUs, such as CPU0 and CPU1 in fig. 3, as shown in fig. 3.
In a specific implementation, as an embodiment, as shown in fig. 3, an integrated device of a heterogeneous system may include multiple processors, such as the first processor 801-1 and the second processor 801-2 in fig. 3. Each of these processors may be a single core processor or a multi-core processor.
Fig. 4 is a schematic structural diagram of a chip according to an embodiment of the present invention. As shown in fig. 4, the chip 90 includes one or more than two (including two) processors 801 and a communication interface 802.
Optionally, as shown in FIG. 4, the chip also includes a memory 804, which may include both read-only memory and random access memory, and provides operating instructions and data to the processor. The portion of memory may also include non-volatile random access memory (NVRAM).
In some embodiments, as shown in FIG. 4, the memory stores elements, execution modules or data structures, or a subset thereof, or an expanded set thereof.
In the embodiment of the present invention, as shown in fig. 4, by calling an operation instruction stored in the memory (the operation instruction may be stored in the operating system), a corresponding operation is performed.
As shown in fig. 4, a processor, which may also be referred to as a Central Processing Unit (CPU), controls processing operations of any one of the integrated devices of the heterogeneous system.
As shown in fig. 4, the memories may include both read-only memories and random access memories and provide instructions and data to the processor. The portion of memory may also include NVRAM. For example, in applications where the memory, communication interface, and memory are coupled together by a bus system that may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 805 in fig. 4.
As shown in fig. 4, the method disclosed in the above embodiments of the present invention may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an ASIC, an FPGA (field-programmable gate array) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
In one possible implementation, as shown in fig. 4, the communication interface is used to obtain images captured by the camera. The processor is used for executing steps S100 to S300 of the assessment evaluation method in the embodiment shown in FIG. 1.
In one aspect, a computer-readable storage medium is provided, in which instructions are stored, and when executed, implement the functions performed by the integrated device of the heterogeneous system in the above embodiments.
In one aspect, a chip is provided, where the chip is applied to an integrated device of a heterogeneous system, and the chip includes at least one processor and a communication interface, where the communication interface is coupled to the at least one processor, and the processor is configured to execute instructions to implement the functions performed by the integrated device of the heterogeneous system in the foregoing embodiments.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the procedures or functions described in the embodiments of the present invention are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a terminal, a user device, or other programmable apparatus. The computer program or instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium, such as a floppy disk, hard disk, magnetic tape; or an optical medium, such as a Digital Video Disc (DVD); it may also be a semiconductor medium, such as a Solid State Drive (SSD).
While the invention has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
While the invention has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the invention. Accordingly, the specification and figures are merely exemplary of the invention as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. An integration method of heterogeneous systems, which is applied to a browser compatible with a Web Component standard, the integration method of heterogeneous systems comprising the steps of:
responding to an access request of a subsystem, and loading the subsystem to obtain loading data related to the subsystem;
analyzing the loading data related to the subsystem according to the attribute of the loading data related to the subsystem to obtain a pseudo code related to the subsystem; wherein the pseudo code associated with the subsystem has the same language as the heterogeneous system;
rendering pseudo codes related to the subsystem in the browser compatible with the Web Component standard to obtain codes recognizable by the browser compatible with the Web Component standard; the presenting is performed through a port provided by the browser compatible with the Web Component standard, and specifically includes: packaging the codes which can be recognized by the browser compatible with the Web Component standard into a Web Component through the CustomElement in combination with the customized ShadowDom;
and the Web Component is presented through a port provided by the browser compatible with the Web Component standard.
2. The method of claim 1, wherein the loading the subsystem in response to the access request of the subsystem, and obtaining the loading data related to the subsystem comprises:
responding to an access request of a subsystem, and at least loading a plurality of resources in the subsystem and addresses corresponding to the resources to obtain loading data related to the resources in the subsystem and the addresses of the resources; and loading the plurality of resources in the subsystem and the addresses corresponding to the plurality of resources in the same loading mode.
3. The method of claim 1, wherein the attributes of the load data associated with the subsystem comprise: at least one of a language type used by the subsystem, a page style type of the subsystem, an execution script type of the subsystem, and a resource type of the subsystem.
4. The method of claim 1, wherein rendering pseudo code associated with the subsystem to obtain code recognizable by the browser compliant with the Web Component standard comprises:
and converting pseudo code related to the subsystem into code which can be recognized by the browser compatible with the Web Component standard by using a renderer.
5. An integrated device of heterogeneous systems, which is applied to a browser compatible with a Web Component standard, the integrated device of heterogeneous systems comprising:
the loading module is used for responding to an access request of a subsystem and loading the subsystem to obtain loading data related to the subsystem;
the analysis module is used for determining a matched analysis unit according to the attribute of the loading data related to the subsystem, and the analysis unit is used for analyzing the matched loading data related to the subsystem to obtain a pseudo code related to the subsystem; wherein the pseudo code associated with the subsystem has the same language as the heterogeneous system;
the rendering module is used for rendering the pseudo code related to the subsystem to obtain a code which can be recognized by the browser compatible with the Web Component standard; the presenting is performed through a port provided by the browser compatible with the Web Component standard, and specifically includes: packaging the codes which can be recognized by the browser compatible with the Web Component standard into a Web Component through the CustomElement in combination with the customized ShadowDom;
and the Web Component is presented through a port provided by the browser compatible with the Web Component standard.
6. The integration apparatus of the heterogeneous system according to claim 5, wherein the loading module is further configured to load at least a plurality of resources in the subsystem and addresses corresponding to the plurality of resources in response to an access request of the subsystem, and obtain loading data related to the plurality of resources in the subsystem and the address of each of the resources; and loading the plurality of resources in the subsystem and the addresses corresponding to the plurality of resources in the same loading mode.
7. An integrated device for a heterogeneous system, comprising a processor, a memory communicatively coupled to the processor, and a communication interface coupled to the processor; the memory stores computer programs or instructions executable by the processor for executing the computer programs or instructions to implement the method of integrating heterogeneous systems of any of claims 1-4.
8. A computer storage medium having stored therein instructions that, when executed, perform a method of integrating heterogeneous systems according to any one of claims 1 to 4.
CN202210737715.XA 2022-06-28 2022-06-28 Integration method, device and equipment of heterogeneous system and storage medium Active CN114816385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210737715.XA CN114816385B (en) 2022-06-28 2022-06-28 Integration method, device and equipment of heterogeneous system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210737715.XA CN114816385B (en) 2022-06-28 2022-06-28 Integration method, device and equipment of heterogeneous system and storage medium

Publications (2)

Publication Number Publication Date
CN114816385A CN114816385A (en) 2022-07-29
CN114816385B true CN114816385B (en) 2022-09-16

Family

ID=82522465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210737715.XA Active CN114816385B (en) 2022-06-28 2022-06-28 Integration method, device and equipment of heterogeneous system and storage medium

Country Status (1)

Country Link
CN (1) CN114816385B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008002274A1 (en) * 2006-06-27 2008-01-03 Inventys Pte Ltd Method and system for client-side user interface enhancement to enable application integration and portalisation
CN105426204A (en) * 2015-11-05 2016-03-23 浪潮软件集团有限公司 Web high-speed loading rendering method based on domestic CPU, operating system and browser
CN108304179A (en) * 2016-10-08 2018-07-20 阿里巴巴集团控股有限公司 The method and device of pattern is introduced in a kind of Web Components components
CN107122187A (en) * 2017-04-26 2017-09-01 四川中电启明星信息技术有限公司 A kind of operation system OS accesses design method
CN113986226B (en) * 2021-12-28 2022-04-22 中国电子科技网络信息安全有限公司 Micro front end architecture based on qiankun and Web Component and construction method thereof

Also Published As

Publication number Publication date
CN114816385A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
JP6740373B2 (en) Page component dynamic layout
EP2798494B1 (en) Virtual channel for embedded process communication
CN111176626B (en) Cross-programming-language code calling method and device, medium and equipment
CN109684573B (en) Target picture display method and device, storage medium and electronic equipment
CN112905179A (en) Mobile terminal H5 page generation method and device, electronic equipment and storage medium
CN110955409A (en) Method and device for creating resources on cloud platform
CN114564203A (en) Service operation method and device, electronic equipment and readable medium
CN114077430A (en) Interface generation method and device, electronic equipment and storage medium
CN112395098B (en) Application program interface calling method and device, storage medium and electronic equipment
JP5039946B2 (en) Technology for relaying communication between client devices and server devices
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN107239265B (en) Binding method and device of Java function and C function
CN113761871A (en) Rich text rendering method and device, electronic equipment and storage medium
CN114816385B (en) Integration method, device and equipment of heterogeneous system and storage medium
CN116781586A (en) gRPC flow analysis method, device, equipment and medium
CN115576536A (en) Method and system for automatically generating interface document by analyzing byte codes
CN115237481A (en) Method, device and equipment for driving external equipment and storage medium
CN113377376A (en) Data packet generation method, data packet generation device, electronic device, and storage medium
CN114911541A (en) Configuration information processing method and device, electronic equipment and storage medium
WO2021146895A1 (en) Optimization method and apparatus for vehicle-mounted image display, computer device and storage medium
CN113934412A (en) Program generation method, device, equipment and storage medium
CN110990167A (en) Front-end communication method and device, storage medium and electronic equipment
CN111399932A (en) Method and system for calling D LL, browser processing method and browser
CN112596838B (en) Method, device, equipment and storage medium for displaying universal Web page
CN115033312B (en) ElasticSearch data operation method and device

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