CN114816623A - Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end - Google Patents

Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end Download PDF

Info

Publication number
CN114816623A
CN114816623A CN202210349937.4A CN202210349937A CN114816623A CN 114816623 A CN114816623 A CN 114816623A CN 202210349937 A CN202210349937 A CN 202210349937A CN 114816623 A CN114816623 A CN 114816623A
Authority
CN
China
Prior art keywords
unrealengine
cef
kernel
web
core
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
CN202210349937.4A
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.)
Hangzhou Yizhi Micro Technology Co ltd
Original Assignee
Hangzhou Yizhi Micro 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 Hangzhou Yizhi Micro Technology Co ltd filed Critical Hangzhou Yizhi Micro Technology Co ltd
Priority to CN202210349937.4A priority Critical patent/CN114816623A/en
Publication of CN114816623A publication Critical patent/CN114816623A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an embedded interface rendering and communication system based on a CEF (common interface function) kernel and an UnrealEngine end, which comprises: the device comprises an UnrealEngine end and a Web end, wherein the UnrealEngine end is embedded into a CEF core, a UE container is arranged in the Web end, the UnrealEngine end is bound with the UE container, the CEF core is used for receiving a mouse interaction event issued by a UE plug-in the UnrealEngine end and calling a ue.xxx.interface function to analyze the mouse interaction event into a JS language and transmit the JS language to the Web end, the Web end is used for starting GPU rendering of the CEF core and transmitting a first pixel matrix of a picture of the CEF core into the UE plug-in at the UnrealEngine end, and the UE plug-in at the UnrealEngine end is used for drawing a second pixel matrix of the CEF core and transmitting the second pixel matrix into a material system in the UnrealEngine end. Therefore, the interface effect and logic of the UnrealEngine end can be quickly compiled by embedding the CEF kernel in the UnrealEngine end, and the development efficiency is greatly improved.

Description

Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end
Technical Field
The invention relates to the technical field of data visualization application, in particular to an embedded interface rendering and communication system based on a CEF (common interface function) kernel and an UnrealEngine (UnrealEngine) end.
Background
With the rapid development of government and enterprise digital transformation, computer business systems are becoming more complex, and the traditional UnrealEngine interface system can not meet the current requirements of the visualization industry, so that the development efficiency is low.
Disclosure of Invention
The invention provides an embedded interface rendering and communication system based on a CEF core and an UnrealEngine end to solve the technical problems, and the interface effect and logic of the UnrealEngine end can be quickly compiled by embedding the CEF core in the UnrealEngine end, so that the development efficiency is greatly improved.
The technical scheme adopted by the invention is as follows:
an embedded interface rendering and communication system based on a CEF kernel and an UnrealEngine end comprises: the device comprises an UnrealEngine end and a Web end, wherein the UnrealEngine end is embedded into a CEF core, a UE container is arranged in the Web end, the UnrealEngine end is bound with the UE container, the CEF core is used for receiving a mouse interaction event issued by a UE plug-in the UnrealEngine end and calling a ue.xxx.interface function to analyze the mouse interaction event into a JS language and transmit the JS language to the Web end, the Web end is used for starting GPU rendering of the CEF core and transmitting a first pixel matrix of a picture of the CEF core into the UE plug-in at the UnrealEngine end, and the UE plug-in at the UnrealEngine end is used for drawing a second pixel matrix of the CEF core and transmitting the second pixel matrix into a material system in the UnrealEngine end.
The UnrealEngine terminal is bound with the Web terminal through a unique identifier, wherein the unique identifier comprises a Screen ID.
The Web end is also used for receiving external information and transmitting the external information into the UE plug-in through the UE container; the CEF kernel is further configured to call a ue.
The external information includes: data source information, and/or third party platform information, and/or third party component library information.
The UnrealEngine end is provided with a Serializer Serializer, wherein the Serializer Serializer is used for analyzing the external information and binding the analyzed external information to an event distributor of the UnrealEngine end EasyV Component.
And the CEF kernel is also used for calling a ue.callWeb function to send the data information of the UnrealEngine end to the Web end.
The invention has the beneficial effects that:
according to the invention, the CEF kernel is embedded in the UnrealEngine end, so that the interface effect and logic of the UnrealEngine end can be rapidly compiled, and the development efficiency is greatly improved.
Drawings
Fig. 1 is a schematic structural diagram of an embedded interface rendering and communication system based on a CEF kernel and an UrealeEngine end according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of an embedded interface rendering and communication system based on a CEF kernel and an unregealengine terminal according to an embodiment of the present invention.
As shown in fig. 1, an embedded interface rendering and communication system based on a CEF kernel and an unregealengine end according to an embodiment of the present invention may include: an UnrealEngine end 100 and a Web end 200.
The network system comprises an UnrealEngine end 100, a CEF (Chromium Embedded Framework) kernel, a Web end 200 and a UE (user equipment) container, wherein the UnrealEngine end 100 is Embedded into the CEF kernel, the UE container is arranged in the Web end 200, the UnrealEngine end 100 is bound with the UE container, the CEF kernel is used for receiving a mouse interaction event issued by a UE plugin in the UnrealEngine end 100 and calling a ue.xxx.interface function to analyze the mouse interaction event into a JS language and transmit the JS language to the Web end 200, the Web end 200 is used for starting GPU rendering of the CEF kernel and transmitting a first pixel matrix of a picture of the CEF kernel into the UE plugin of the UnrealEngine end 100, and the UE plugin of the UnrealEngine end 100 is used for drawing a second pixel matrix of the CEF kernel and transmitting the second pixel matrix into a material system in the UnrealEngine end 100.
According to an embodiment of the present invention, the urealengine terminal 100 binds the communication channel with the Web terminal 200 through a unique identifier, wherein the unique identifier includes Screen ID.
Specifically, a CEF kernel may be embedded in the unregealengine terminal 100, and then, a communication channel between the front end of the UE container and the unregealengine terminal 100 may be bound by a unique identifier Screen ID. The unique identifier Screen ID can be bound into the UE container, and the corresponding character string, JSON or dynamic API can be analyzed in the UE container, so that the binding of the communication channel is realized. After the communication channel is bound, the urealengine terminal 100 issues the mouse interaction event to the CEF kernel through the UE plug-in, and after receiving the mouse interaction event, the CEF kernel parses the mouse interaction event into the JS language and transmits the JS language to the Web terminal 200. Further, GPU rendering of the CEF kernel can be started, the first pixel matrix of the picture of the CEF kernel is transmitted to the UE plug-in at the urealemenene end 100, and the second pixel matrix of the CEF kernel is drawn to the texture system at the urealemenene end 100, so as to implement complete presentation of the interface.
According to an embodiment of the present invention, the Web end 200 is further configured to receive external information, and transmit the external information to the UE plug-in through the UE container; the CEF kernel is also used to call the ue. Wherein the external information includes: data source information, and/or third party platform information, and/or third party component library information.
Specifically, when the Web end 200 performs data communication with the urealengine end 100, external information may be received through the Web end 200. Specifically, third party platform information (e.g., third party mapping services), third party component library information (e.g., Echarts), data source information (API interface data, SQL database information, CSV data sources, etc.) may be integrated into an easy v visualization platform (base charts, maps, etc.), and interact with the easy v visualization platform through the UE container of the Web end 200 to obtain external information.
Further, external information is introduced into the UE plug-in through the UE container of the Web end 200, and then, the CEF kernel is further configured to call a UE.
According to one embodiment of the invention, a Serializer Serializer is arranged at the UnrealEngine end, wherein the Serializer Serializer is used for parsing the external information and binding the parsed external information to an event distributor of the UnrealEngine end EasyV Component.
Specifically, after receiving the external information, the external information can be parsed by a Serializer, and the parsed external information is bound to an event distributor of the unreadEngine EasyV Component.
According to an embodiment of the present invention, the CEF kernel is further configured to call a ue. That is, the unregealEngine terminal 100 and the Web terminal 200 can perform bidirectional interaction of data information.
In summary, according to the embedded interface rendering and communication system based on the CEF kernel and the urealine end in the embodiment of the present invention, the urealine end is embedded in the CEF kernel, the UE container is disposed in the Web end, the urealine end is bound to the UE container, the CEF kernel is configured to receive a mouse interaction event issued by a UE plug-in the urealine end, and call a ue.xxx.interface function to analyze the mouse interaction event into a JS language and transmit the JS language to the Web end, the Web end is configured to start GPU rendering of the CEF kernel, and transmit a first pixel matrix of a picture of the CEF kernel into the UE plug-in the urealine end, and the UE plug-in the urealine end is configured to draw a second pixel matrix of the CEF kernel, and transmit the second pixel matrix into a material system in the urealine end. Therefore, the interface effect and logic of the UnrealEngine end can be quickly compiled by embedding the CEF kernel in the UnrealEngine end, and the development efficiency is greatly improved.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The meaning of "plurality" is two or more unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may be directly contacting the second feature or the first and second features may be indirectly contacting each other through intervening media. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (6)

1. An embedded interface rendering and communication system based on a CEF kernel and an UnrealEngine end is characterized by comprising: the device comprises an UnrealEngine end and a Web end, wherein the UnrealEngine end is embedded into a CEF core, a UE container is arranged in the Web end, the UnrealEngine end is bound with the UE container, the CEF core is used for receiving a mouse interaction event issued by a UE plug-in the UnrealEngine end and calling a ue.xxx.interface function to analyze the mouse interaction event into a JS language and transmit the JS language to the Web end, the Web end is used for starting GPU rendering of the CEF core and transmitting a first pixel matrix of a picture of the CEF core into the UE plug-in at the UnrealEngine end, and the UE plug-in at the UnrealEngine end is used for drawing a second pixel matrix of the CEF core and transmitting the second pixel matrix into a material system in the UnrealEngine end.
2. The embedded interface rendering and communication system based on CEF kernel and UnrealEngine end of claim 1,
the UnrealEngine terminal is bound with the Web terminal through a unique identifier, wherein the unique identifier comprises a Screen ID.
3. The embedded interface rendering and communication system based on CEF kernel and UnrealEngine end of claim 1,
the Web end is also used for receiving external information and transmitting the external information into the UE plug-in through the UE container;
the CEF kernel is further configured to call a ue.
4. The embedded interface rendering and communication system based on CEF kernel and UnrealEngine end of claim 3,
the external information includes: data source information, and/or third party platform information, and/or third party component library information.
5. The embedded interface rendering and communication system based on CEF kernel and UnrealEngine end of claim 4, wherein the UnrealEngine end is provided with a Serializer Serializer, wherein,
the Serializer serializers are used for parsing the external information and binding the parsed external information to the event distributors of the UnrealEngine end EasyV Component.
6. The CEF kernel and UnrealEngine end based embedded interface rendering and communication system according to claim 5,
and the CEF kernel is also used for calling a ue.callWeb function to send the data information of the UnrealEngine end to the Web end.
CN202210349937.4A 2022-04-02 2022-04-02 Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end Pending CN114816623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210349937.4A CN114816623A (en) 2022-04-02 2022-04-02 Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210349937.4A CN114816623A (en) 2022-04-02 2022-04-02 Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end

Publications (1)

Publication Number Publication Date
CN114816623A true CN114816623A (en) 2022-07-29

Family

ID=82532740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210349937.4A Pending CN114816623A (en) 2022-04-02 2022-04-02 Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end

Country Status (1)

Country Link
CN (1) CN114816623A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115794095A (en) * 2023-01-10 2023-03-14 北京爱特拉斯信息科技有限公司 JavaScript-based unreal engine UI development method and system
CN116382681A (en) * 2023-02-16 2023-07-04 成都曾自科技有限公司 Method, device, equipment and storage medium for developing virtual engine layout

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069725A (en) * 2019-04-22 2019-07-30 成都四方伟业软件股份有限公司 Visualize embedded browser method and apparatus
CN113672405A (en) * 2021-08-23 2021-11-19 上海哔哩哔哩科技有限公司 Data interaction system and page display method based on data interaction system
CN113918863A (en) * 2021-10-25 2022-01-11 北京优锘科技有限公司 Method, apparatus, medium, and device for consistent interaction between ghost engine and Threejs engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069725A (en) * 2019-04-22 2019-07-30 成都四方伟业软件股份有限公司 Visualize embedded browser method and apparatus
CN113672405A (en) * 2021-08-23 2021-11-19 上海哔哩哔哩科技有限公司 Data interaction system and page display method based on data interaction system
CN113918863A (en) * 2021-10-25 2022-01-11 北京优锘科技有限公司 Method, apparatus, medium, and device for consistent interaction between ghost engine and Threejs engine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115794095A (en) * 2023-01-10 2023-03-14 北京爱特拉斯信息科技有限公司 JavaScript-based unreal engine UI development method and system
CN116382681A (en) * 2023-02-16 2023-07-04 成都曾自科技有限公司 Method, device, equipment and storage medium for developing virtual engine layout
CN116382681B (en) * 2023-02-16 2023-11-10 成都曾自科技有限公司 Method, device, equipment and storage medium for developing virtual engine layout

Similar Documents

Publication Publication Date Title
CN114816623A (en) Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end
CN106681698B (en) Dynamic list generation method and device
CN109101228B (en) Application program execution method and device
CN109089319A (en) Terminal carrier aggregation information power report method, device, terminal and storage medium
CN104508689A (en) A two-dimension code processing method and a terminal
CN104917764A (en) Multimedia service pushing method and system based on two-dimensional code
CN105635180A (en) Message pushing method and device
CN109889894A (en) Media file coding/decoding method, device and storage medium
CN105824517A (en) Implementation method and apparatus of desktop
CN106603653A (en) News push method and device
CN109617708B (en) Compression method, device and system for embedded point log
CN114979256B (en) Message pushing method and device, electronic equipment and computer readable medium
CN102957958B (en) Set-top box upgrading method and set-top box terminal
CN108614844B (en) Multimedia file generation method and device
CN111127608A (en) Rendering method, device and storage medium
CN109460216A (en) A method of TV generic data service is provided on TV for WEB page
AU2018403361A1 (en) Data transmission
CN109089159A (en) The splicing method for previewing and Related product of promotion video
CN108400901A (en) Test method, terminal device and the computer readable storage medium of application
CN111147359B (en) Message conversion method, device and storage medium suitable for multiple channels
CN106874004A (en) The method and client and server of lowest version software compatibility highest version file
CN107659830B (en) Interactive activity access method, system and terminal equipment
CN112087588A (en) Interface conversion method and interface converter
CN110290483B (en) Multimedia message transmission method, system and terminal equipment
CN110275862B (en) Method and device for counting number of created documents

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