-
1.
公开(公告)号:US20240184543A1
公开(公告)日:2024-06-06
申请号:US18525804
申请日:2023-11-30
Applicant: ZHEJIANG LAB
Inventor: Tianshu ZHOU , Xin GAO , Jingsong LI , Yu TIAN
Abstract: Disclosed is a page multiplexing method, a page multiplexing device, a storage medium and an electronic apparatus. After obtaining the page frame information of pages to be configured in a client to be developed, a component relational tree corresponding to the plurality of pages can be determined. The component relational tree is compared with a pre-constructed reference relational tree to determine a target tree structure composed of target components from the reference relational tree. Dependencies between target components in the reference relational tree match those in the component relational tree. The component code of the target component used by the developed client is queried to multiplex the component code. The component relational tree corresponding to pages to be developed can be compared with the reference relational tree corresponding to each page included in the developed client to determine the component code that can be multiplexed.
-
公开(公告)号:US20240061993A1
公开(公告)日:2024-02-22
申请号:US18360794
申请日:2023-07-27
Applicant: ZHEJIANG LAB
Inventor: Tianshu ZHOU , Xin GAO , Jingsong LI , Yu TIAN
CPC classification number: G06F40/14 , G10L15/22 , G10L2015/223
Abstract: The present disclosure discloses a multi-component abstract association and fusion method and apparatus in page design. The method includes the following steps: step S1: a construction demand is acquired, and the construction demand is analyzed through a speech recognition method to obtain a natural language text; step S2: an abstract model is constructed by predefining a component library, a rule library and a relationship library, and the abstract model performs components fusion to obtain a JSON structure of a fused component; step S3: the JSON structure of the fused component is escaped into a virtual DOM by using a rendering function, and attributes and events of a virtual DOM node are mapped to obtain a fused component drawing result; and step S4: a real DOM structure is created and interpolated into a real DOM node, so as to realize display of the fused component on a view.
-