Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Front-end display data virtual replacement method

A back-end data and data technology, applied in the virtual field, can solve problems such as recompilation and deployment

Pending Publication Date: 2021-03-19
上海数依数据科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. It is necessary to recompile and deploy the front-end and back-end applications;
[0005] 2. Changes to virtual data often require modifying the database, modifying the code, or modifying static files on the server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Front-end display data virtual replacement method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described below in conjunction with the accompanying drawings.

[0023] This embodiment discloses a method for virtual replacement of front-end display data. The method is applied in the demonstration mode to test the front-end components, including the following steps:

[0024] S1: determine the content to be replaced of the virtual object;

[0025] S2: the front-end application obtains data from the back-end;

[0026] S3: Through the way of plug-in burying, the back-end data is replaced by introducing a virtualization engine during the process of transferring the back-end data to the project state;

[0027] S4: Update the data to one of the states of the project through the dva framework;

[0028] S5: The react framework is responsible for monitoring state changes and making corresponding renderings on the front end.

[0029] Preferably, the manner in which the virtualization engine replaces the back-end data includes basic pro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a front-end display data virtual replacement method. The method comprises the steps of S1, determining to-be-replaced content of a virtual object; S2, by a front-end application, obtaining data from a rear end; S3, replacing the rear-end data by introducing a virtualization engine in a process from the rear-end data to the project state in a plug-in point burying manner; S4, updating the data to one state of the project through a dva framework; and S5, monitoring the change of the state through a react framework, and performing corresponding rendering at the front end.The virtualization engine replaces the back-end data in the modes of basic processor replacement, array batch processor replacement and user-defined processor replacement. The virtualization engine isarranged in a client side in a completely working browser, and a virtual mode can be conveniently started / stopped by configuring the content in a local storage of the browser.

Description

technical field [0001] The invention relates to the field of virtual technology, in particular to a virtual replacement method for front-end display data. Background technique [0002] Among the existing solutions, the commonly used methods are as follows: [0003] The back-end service is divided into official version and demo version. The back-end API interface in the two modes can be switched through the front-end switch (normal mode / demo mode). This solution has the following disadvantages: [0004] 1. It is necessary to recompile and deploy the front-end and back-end applications; [0005] 2. Changes to virtual data often require modifying the database, modifying code, or modifying static files on the server. Contents of the invention [0006] In order to overcome the shortcomings of the above-mentioned prior art, the present invention provides a virtual replacement method for front-end display data, so as to achieve virtualization effects more flexibly and convenien...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/451G06F9/455
CPCG06F9/451G06F9/45529
Inventor 唐子涵
Owner 上海数依数据科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products