CN112988155B - Method for driving interface change of multiple software systems based on data model - Google Patents

Method for driving interface change of multiple software systems based on data model Download PDF

Info

Publication number
CN112988155B
CN112988155B CN202110532033.0A CN202110532033A CN112988155B CN 112988155 B CN112988155 B CN 112988155B CN 202110532033 A CN202110532033 A CN 202110532033A CN 112988155 B CN112988155 B CN 112988155B
Authority
CN
China
Prior art keywords
data model
abstract data
software system
abstract
interface
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
CN202110532033.0A
Other languages
Chinese (zh)
Other versions
CN112988155A (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.)
Shansikaiwu Technology Chengdu Co ltd
Original Assignee
Chengdu Business Big Data 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 Chengdu Business Big Data Technology Co Ltd filed Critical Chengdu Business Big Data Technology Co Ltd
Priority to CN202110532033.0A priority Critical patent/CN112988155B/en
Publication of CN112988155A publication Critical patent/CN112988155A/en
Application granted granted Critical
Publication of CN112988155B publication Critical patent/CN112988155B/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/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • 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

Abstract

The invention discloses a method for driving various software system interfaces to change based on a data model, which comprises the following steps: carrying out abstract description on the human-computer interaction interface, storing the abstract description into an abstract data model, and storing the abstract data model into a cloud server; the software system loads the abstract data model and caches the abstract data model in a memory of a user computer; when the abstract data model is loaded successfully, analyzing the abstract data model in the software system, so that the operation result of the expression code in the abstract data model in the software system operation environment is written into the abstract data model; and mapping the analyzed abstract data model and the graphical interface to enable the operation result in the abstract data model to be mapped into a configuration object in the graphical interface. The invention can realize the seamless migration of the human-computer interaction interface of one software system to other various software systems, and the user can carry out personalized setting on the human-computer interaction interface.

Description

Method for driving interface change of multiple software systems based on data model
Technical Field
The invention relates to the technical field of software system interface design, in particular to a method for driving various software system interface changes based on a data model.
Background
In software engineering, a software interface is also called as a ui (user interface), or called as a human-computer interaction interface, is an important part of human-computer interaction, is also a first impression of software use, is an important component of software design, and the usability of the software interface is directly related to the direct use experience in human-computer interaction. In modern software systems, a software interface is also called a graphical interface (GUI for short), and refers to a computer operation user interface displayed in a graphical manner. Graphical interfaces are more visually acceptable to users than the command line interfaces used by earlier computers.
In the current software system, different software systems respectively have independent human-computer interaction interfaces, and a user needs to adapt to the software interfaces of different software systems by using different software, so that the learning cost of the user for different software interfaces is increased, and time waste is also caused. In addition, the development mode of the human-computer interaction interface is also a very traditional development mode, namely, the human-computer interaction interface of the software system is written by a software system writer, and the writer directly writes the interaction and interface presentation style in the software system into the program code of the software system.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a method for driving the interface change of various software systems based on a data model, so that a human-computer interaction interface is seamlessly migrated to another software system along with a user account, and the effect of driving the interface change of a web software system by the data model can be achieved from a technical side. On the basis of the technology, different human beings can be realized through the change of the data model, and different human-computer interaction interfaces of the web software system can be presented in different configurations.
In order to achieve the above purpose, the invention provides the following technical scheme:
a method for driving multiple software system interface changes based on a data model comprises the following steps:
an abstract description step: carrying out abstract description on the human-computer interaction interface, storing the abstract description into an abstract data model, and storing the abstract data model into a cloud server;
a loading step: the software system loads the abstract data model and caches the abstract data model in a memory of a user computer;
and (3) analyzing: when the abstract data model is loaded successfully, analyzing the abstract data model in the software system, so that the operation result of the expression code in the abstract data model in the software system operation environment is written into the abstract data model;
a mapping step: and mapping the analyzed abstract data model and the graphical interface to enable the operation result in the abstract data model to be mapped into a configuration object in the graphical interface.
According to the scheme, the abstract data model is obtained through abstract description of the human-computer interaction interface and stored in the cloud server, and the analyzed abstract data model is mapped with the graphical interface, so that the operation result in the abstract data model is mapped to be the configuration object in the graphical interface. On one hand, a user can change the abstract data model in a graphical interface configuration mode, namely, the presentation mode of the human-computer interaction interface is changed, and a professional software developer does not need to write new codes, so that the user can perform personalized setting on the human-computer interaction interface, and great convenience is provided for the user. On the other hand, by storing the abstract data model in the cloud server, when other software systems want to use the human-computer interaction interface of a certain software system, the abstract data model can be obtained from the cloud server, and the human-computer interaction interface of the software system can be seamlessly transferred to other software systems by rendering based on the abstract data model.
In the analyzing step, deep recursion is firstly carried out on the abstract data model by using a recursion algorithm, expression codes contained in the abstract data model are found out, and the found expression codes are read into a memory of a user computer; and compiling and executing the expression codes in the abstract data model, so that the expression codes in the compiling and executing process can obtain the operation result of the expression codes in the current software system operation environment, and writing the operation result into the abstract data model stored in the memory of the user computer.
In the mapping step, deep traversal is carried out on the abstract data model, whether each traversed operation result is a configuration object supported by the graphical interface is judged, if yes, the graphical interface is rendered based on the current operation result, and after the graphical interface is rendered, event response and binding of the human-computer interaction interface are carried out according to interaction events configured in the abstract data model; if not, then the next run results are continued to be traversed.
In the scheme, the abstract data model is mapped with the graphical interface, so that the operation result becomes a configuration object in the graphical interface, that is, a user can perform data configuration on the operation result in the graphical interface, and then the change of the presentation mode of the human-computer interaction interface is realized, and great convenience is provided for the user operation.
In the abstract description step, the abstract data model is stored in a cloud server or a local terminal, and after the abstract data model is obtained, a global key value is exposed to a software execution environment in the abstract data model.
In the above scheme, the advantage of exposing a global key value to the software execution environment in the abstract data model is to facilitate the software system to know whether to read the abstract data model from the local terminal or the cloud server. The abstract data model is stored in the local terminal, so that a user can change the presentation mode of a man-in-the-home interaction interface in a graphical interface configuration mode, and the abstract data model is stored in the cloud server, so that the collaborative change among various software systems can be realized, namely, the various software systems present the same man-machine interaction interface.
After the mapping step, a real-time rendering step is also included: and acquiring configuration data of a user on a graphical interface, rendering in real time based on the changed abstract data model, and displaying a rendered human-computer interaction interface.
A system for driving a plurality of software system interface changes based on a data model, comprising:
the abstract description module is configured to perform abstract description on the human-computer interaction interface, store the abstract description into the abstract data model and store the abstract data model into the cloud server;
the loading module is configured to load the abstract data model by the software system and cache the abstract data model in a memory of the user computer;
the analysis module is configured to analyze the abstract data model in the software system after the abstract data model is loaded successfully, so that the operation result of the expression codes in the abstract data model in the software system operation environment is written into the abstract data model;
and the mapping module is configured to map the analyzed abstract data model with the graphical interface, so that an operation result in the abstract data model is mapped into a configuration object in the graphical interface.
The parsing module is specifically configured to: firstly, carrying out deep recursion on an abstract data model by using a recursion algorithm, finding out expression codes contained in the abstract data model, and reading the found expression codes into a memory of a user computer; and compiling and executing the expression codes in the abstract data model, so that the expression codes in the compiling and executing process can obtain the operation result of the expression codes in the current software system operation environment, and writing the operation result into the abstract data model stored in the memory of the user computer.
The mapping module is specifically configured to: performing deep traversal on the abstract data model, judging whether each traversed operation result is a configuration object supported by the graphical interface, if so, rendering the graphical interface based on the current operation result, and after the graphical interface is rendered, performing event response and binding of a human-computer interaction interface according to an interaction event configured in the abstract data model; if not, then the next run results are continued to be traversed.
The abstract description module is further configured to: and storing the abstract data model in a cloud server or a local terminal, and after obtaining the abstract data model, exposing a global key value in the abstract data model to the software execution environment.
The real-time rendering module is configured to acquire configuration data of a user on a graphical interface, perform real-time rendering based on the changed abstract data model, and display a rendered human-computer interaction interface.
In still another aspect, the present invention also provides a computer-readable storage medium including computer-readable instructions, which, when executed, cause a processor to perform the operations of the method described in the present invention.
In another aspect, an embodiment of the present invention also provides an electronic device, including: a memory storing program instructions; and the processor is connected with the memory and executes the program instructions in the memory to realize the method in the embodiment of the invention.
Different from the graphical presentation mode of the human-computer interaction interface of the traditional software system, the method can realize that the user can change the abstract data model configuration of the human-computer interaction interface by himself to achieve the purpose of changing the graphical effect presented by the human-computer interaction interface, namely, the user without professional development ability can also change the human-family interaction interface according to the own preference to realize the presentation of the personalized interface.
In addition, by means of a remote cloud server storage technology, the interactive habits of users in one software system and the configuration information of the graphical interface can be seamlessly transferred to another software system, so that the users can easily start other software systems in a plurality of software systems by learning once, and the time and the learning cost of the users are greatly saved.
Other advantages of the inventive technique are described in the corresponding description of the examples section.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for driving interface changes of multiple software systems based on a data model according to an embodiment of the present invention.
Fig. 2 is a block diagram of a system for driving interface changes of multiple software systems based on a data model 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.
As shown in fig. 1, an embodiment of the present invention discloses a method for driving multiple software system interface changes based on a data model, which includes the following steps:
and S10, performing abstract description on the human-computer interaction interface, storing the abstract description into the abstract data model, and storing the abstract data model into a local terminal or a cloud server.
The meaning of abstract description of the human-computer interaction interface is that the natural language description of the real world human to things is converted into technical parameter information which can be identified by a computer. Such as a top title bar, a menu bar, a tool bar, a software interaction main interface, a footer status bar and the like of the human-computer interaction interface, which can be abstractly described as technical parameters which can be identified by a computer and can be defined as interface elements. Each interface element can be abstracted and described based on basic information necessary for graphic presentation, for example, a series of rendering elements capable of carrying out technical parameterization, such as a font of a top title bar, a font size, a font color, a background color of the title bar, a fillet radian of the title bar, whether the title bar displays a closing button and the like, and the abstracted description result is finally stored in an appointed data model to obtain the abstracted data model. The abstract data model is of a tree structure, and each abstract description object in the abstract data model corresponds to one technical parameter of the human-computer interaction interface, namely one rendering element of one interface element.
After the abstract data model is obtained, a global key value is exposed to the software execution environment in the abstract data model, and parameter abstraction of the human-computer interaction interface is completed. The purpose of exposing a global key value is to ensure convenience of the computer program in data access, and is a convention, the abstract data model can be dynamically changed from external or local configuration, so that when the program is re-rendered, the software system needs to know from which memory location to acquire the configuration item.
In the step, based on the computer graphics principle, the man-machine interaction design logic of the modern software system is combined, and the man-machine interaction interface of the modern software system to be presented is abstractly described, so that the man-machine interaction interfaces of the modern software system can be enumerated one by one, and key technical parameters required during the graphic presentation are convenient for the computer to identify.
It should be noted that the abstract data model is stored in the cloud server, and is synchronized to other software systems by means of the distribution capability of the cloud server, so that a user can apply the human-computer interaction interface of one software system to other software systems, and further, the user can use other software systems without learning the human-computer interaction mode of other software systems, and therefore, the access to the abstract data model in the cloud server is limited to the user and is not shared to other users. Therefore, when the cloud server stores the abstract data model, the abstract data model and the identity information of the authorization authentication need to be bound, and the data can be read only after the identity authentication is passed during access.
And S20, loading the abstract data model by the software system, and caching the abstract data model in the memory of the user computer.
In the starting process of the software system, before the human-computer interaction interface is presented, the software system reads the abstract data model obtained in the step S10 stored in the local terminal or the cloud server, and stores the abstract data model in the memory of the user computer. In the scheme, the abstract data model on the local terminal disk or the cloud server is loaded into the memory of the user computer, so that frequent read-write operation can be conveniently carried out on the abstract data model in the subsequent process.
It should be understood that the software system is not limited to a specific software system, and may be any software system.
The abstract data model needs to be loaded whenever a software system wants to synchronize the human-computer interaction interface. When the software system loads the abstract data model, loading failure may occur, so that the human-computer interaction interface cannot be presented. In order to improve the fault-tolerant capability of the software system, loading can be re-executed when loading fails, and if loading fails for multiple times, prompt information such as network and configuration can be explicitly prompted for a user program starting failure from a human-computer interaction interface.
And S30, when the abstract data model is loaded successfully, analyzing the abstract data model in the software system, so that the operation result of the expression code in the abstract data model in the software system operation environment is written into the abstract data model in the memory of the user computer.
The abstract data model is a tree structure, and some expression codes, namely computer codes, are stored. During analysis, deep recursion is performed on the abstract data model by using a recursion algorithm to find out an expression code contained in the abstract data model, the found expression code is read into a memory of a user computer, and then the expression code in the abstract data model is compiled and executed, for example, an API (application programming interface) in a script program design language standardized by ECMA 262 (new Function API interface) is used for compiling, so that the running result of the expression code in the current software system running environment can be obtained by the expression code after compiling and executing, and the running result is written into the abstract data model stored in a memory cache.
The program running result is only the final form after the program code is executed, the program code is the acquired value after the program code is executed, the acquired value needs to be manually returned, and the running result is stored in the abstract data model. And after the operation result is returned to the abstract data model, the abstract data model does not have the expression code, but the operation result corresponding to the expression code. The aim of the step is to match the abstract data model which can be identified by the computer with the computer graphic interface which can be identified by human eyes.
It should be noted that a computer creates a memory address in a memory only when storing a data value for the first time, then caches the memory address, and then directly accesses the cache of the memory address when using the same memory address again, and a new memory address is not created, so that the method can also be described as an abstract data model for writing an operation result into the memory cache.
And S40, mapping the analyzed abstract data model and the graphical interface, so that the operation result in the abstract data model is mapped into a configuration object in the graphical interface.
As an example, during a specific operation, deep traversal is performed on the analyzed abstract data model, and it is determined whether each traversed operation result is a configuration object (or called an adjustment object, or a configuration item) supported by the graphical interface, if the traversed operation result is a supported configuration object, rendering of the graphical interface is performed based on the current operation result, and after the graphical interface is rendered, event response and binding (event binding) of the human-computer interaction interface are performed according to an interaction event configured in the abstract data model, so as to achieve an effect of synchronously changing the operation result corresponding to the abstract data model after technical parameters of the graphical interface are adjusted.
For example, traversing to the current running result that the current running result is the color of the top title bar, determining that the color is the configuration object supported by the graphical interface, rendering a graphical color adjustment frame, and binding the data of the graphical color adjustment frame to the current running result (i.e., the color of the top title bar).
For another example, when the current running result is the size of the toolbar and it is determined that the configuration object is supported by the graphical interface, a size adjustment frame of a numerical type is rendered, and the data of the size adjustment frame is bound to the current running result (i.e., the size of the toolbar).
It should be noted that, the configuration objects supported by the graphical interface are limited, and some of the run results in the abstract data model may be configuration objects that are not supported by the graphical interface, and the run results are ignored. That is, when a certain operation result is traversed and it is determined that the operation result is not a configuration object supported by the graphical interface, the operation result is ignored, and the traversal is continued.
And judging whether the configuration objects are configuration objects supported by the graphical interface, wherein the judgment is based on exhausting the adjustment objects supported by the current software system to obtain an exhaustive list recording all the supported adjustment objects, then searching the exhaustive list by the traversed operation result, and if the configuration objects exist, determining that the configuration objects are supported, and if the configuration objects do not exist, determining that the configuration objects do not support. The results of the operations in the exhaustive list are dynamically increased according to the functional items that the software system is capable of providing.
After step S40 is completed, the user can operate the modern software system according to the human-computer interaction interface restored by the abstract data model, and complete the required service function. If the user adjusts the layout, color, display theme, text size and the like of the software system through the human-computer interaction interface and the like which can be enumerated by the abstract data model, the file triggering the software system is written into the local terminal or persisted into the cloud server, so that the software system can be opened next time by the user or the configuration item adjusted by the current software system can be synchronized or restored into other software systems when the user accesses other software systems.
It should be noted that, in order to ensure the fault tolerance of the software systems, each software system provides its default configuration item to ensure that the software system can be used normally without errors in the case of no abstract data model or not included in the abstract data model.
Examples of the applications
Example 1: the user changes the man-machine interaction interface of the software system A according to the preference of the user
In this example, taking the "discovery" page in the software system a as an example, the functional point that can be shown by the "discovery" page is dynamically changed. For example, the functional points that can be displayed on the current "find" page include "video number", "scan", "pan", "look at" and "applet", etc., and if a user wants to change the functional points displayed on the current "find" page, i.e., change the page layout, for example, only 2 functional points of "scan" and "applet" are displayed, and no other functional points are displayed (i.e., hidden), the a software system may set and then control the display and hiding of the "find" page by the user after executing the above steps S20-S40, and when the setting is successful, only 2 functional points of "scan" and "applet" may be displayed on the "find" page. That is, when the user logs in a in the mobile phone later, the "find" page shows only 2 function points of "scan" and "applet". Moreover, when the user changes another mobile phone to log in a, the displayed function point of the "discovery" page is also the display layout of the "discovery" page set by the user in the last mobile phone.
It should be noted that, the method of the present invention is not to add or delete the original function items of the software system, but only to change the page layout of the original software system, and is directed to the adjustable function points (function items), i.e. the function items can be hidden and displayed for the adjustable function items, and only the original layout can be retained for the non-adjustable items. For example, the applet of the "find" page of a is an unadjustable item, and only the original layout, i.e., display, of the software system of a can be preserved.
Example 2: the user seamlessly migrates the human-computer interaction interface of the software system A into the software system B
The A and B social software are both owned by the C company, but the two pieces of software are distributed in the A department and the B department, and the C company needs to synchronize the human-computer interaction interface of the user A software system into the B software system or synchronize the B into the A. The implementation mode is as follows:
company C summons a general architect of both software systems a and B to discuss, agreeing on a list of functions that both software systems can support and accept (e.g., both have contact lists, both have personal setup functions, both have dark and light themes, both have payment functions, etc.).
2. According to the function list, items in the list are abstractly described in an abstract data model mode, so that an abstract data model which can be supported and identified by two social software is finally output.
3. The abstract data model is handed to two development teams of software A and software B, developers of the two teams perform function alignment development (namely the processing of the steps S20-S40) according to the model item in the abstract data model, and preferably perform fault tolerance processing in the process, so that the software can normally run if the abstract data model does not have the model item.
4. And when the style of the software system is set to be a dark mode in the software A by the user, the software A immediately synchronizes the adjusted abstract data model to a cloud server of company C and binds the adjusted abstract data model with the current login account.
5. When a user logs in the software B system, after the user clicks login, the software B uses an account of the currently logged-in user to obtain an abstract data model of the user on a cloud server of a company C.
6. And synchronizing the acquired abstract data model with the software B, and adjusting the theme style of the software system in the abstract data model into a dark mode by the software B if the theme style of the software system in the abstract data model is found to be adjusted into the dark mode.
For the appointed function points in the abstract data model, when a plurality of software systems are synchronized, the condition that some function points do not exist in some software systems is necessarily met, but the key point of the scheme is to drive the cooperative change of a plurality of software system interfaces rather than the cooperative change of the functions of a plurality of software systems (the functions are the original design of the software systems, and the functions cannot be changed by an original developer), so that the application of the method is not influenced by the existence of the problem. The software system can solve different problems and different functions, similar to the problem of word mainly solving document typesetting and the problem of excel mainly solving forms, but word and excel have an operation bar, a menu bar, a tool bar and a title bar, and only the filling functions of the objects are different. For unsupported adjustment items, a software system needs to deal with fault tolerance capability during development, and for the functional items which are not available, the functional items are either ignored or a graphical prompt is given to a user. Starting from the top layer of a software system architecture of a modern enterprise, different branch companies are arranged in a group, each branch company is responsible for research and development work of each software system, each software system belongs to the group, and a unified abstract data model of each software system is defined from the top of the group, so that the abstract data model can synchronously change software system interfaces in the software systems of the branch companies, and a user can synchronize the software systems in any software system in the group after adjusting a graphical interface system in any software system in the group.
In essence, the method of the present invention is not limited to be applied to a plurality of software systems in the same group, and the interface change of a plurality of software systems is driven based on a data model. If a function list can be agreed and an abstract data model obtained based on the function list is stored in a cloud server so as to be available to other software systems, the method can also be applied to a plurality of software systems which do not belong to the same group in theory.
Referring to fig. 2, the present embodiment also provides a system for driving a variety of software system interface changes based on a data model, which includes an abstraction description module 21, a loading module 22, an analysis module 23, and a mapping module 24.
The abstract description module 21 is configured to perform abstract description on the human-computer interaction interface, store the abstract description into the abstract data model, and store the abstract data model into the cloud server.
Wherein the loading module 22 is configured to load the abstract data model by the software system, and cache the abstract data model in the memory of the user computer.
The parsing module 23 is configured to parse the abstract data model in the software system after the abstract data model is successfully loaded, so that an operation result of the expression code in the abstract data model in the software system operation environment is written into the abstract data model.
The mapping module 24 is configured to map the analyzed abstract data model with the graphical interface, so that the operation result in the abstract data model is mapped to the configuration object in the graphical interface.
In other schemes, the system may further include a real-time rendering module configured to obtain configuration data of a user on the graphical interface, perform real-time rendering based on the changed abstract data model, and display a rendered human-machine interaction interface.
The system is based on the same inventive concept as the method shown in fig. 1, and therefore, for parts not described in the system, reference is made to the corresponding description of the method.
Through the method or the system, on one hand, a user can change the abstract data model in a graphical interface configuration mode, namely change the presentation mode of the human-computer interaction interface without depending on professional software developers to write new codes, so that the user can perform personalized setting on the human-computer interaction interface, and great convenience is provided for the user. On the other hand, by storing the abstract data model in the cloud server, when other software systems want to use the human-computer interaction interface of a certain software system, the abstract data model can be obtained from the cloud server, and the human-computer interaction interface of the software system can be seamlessly transferred to other software systems by rendering based on the abstract data model.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (3)

1. A method for driving a plurality of software system interface changes based on a data model is characterized by comprising the following steps:
an abstract description step: carrying out abstract description on the human-computer interaction interface, storing the abstract description into an abstract data model, and storing the abstract data model into a cloud server;
a loading step: the software system loads the abstract data model and caches the abstract data model in a memory of a user computer;
and (3) analyzing: when the abstract data model is loaded successfully, analyzing the abstract data model in the software system, so that the operation result of the expression code in the abstract data model in the software system operation environment is written into the abstract data model;
a mapping step: mapping the analyzed abstract data model with a graphical interface to enable an operation result in the abstract data model to be mapped into a configuration object in the graphical interface; during specific operation, deep traversal is carried out on the abstract data model, whether each traversed operation result is a configuration object supported by the graphical interface is judged, if yes, the graphical interface is rendered based on the current operation result, and after the graphical interface is rendered, event response and binding of the human-computer interaction interface are carried out according to interaction events configured in the abstract data model, so that the effect of synchronously changing the operation result corresponding to the graphical interface in the abstract data model after technical parameters of the graphical interface are adjusted is achieved; if not, continuously traversing the next operation result;
after the mapping step, a real-time rendering step is also included: and acquiring configuration data of a user on a graphical interface, rendering in real time based on the changed abstract data model, and displaying a rendered human-computer interaction interface.
2. The method for driving multiple software system interface changes based on data model according to claim 1, wherein in the parsing step, deep recursion is performed on the abstract data model by using a recursion algorithm, expression codes contained in the abstract data model are found out, and the found expression codes are read into a memory of a user computer; and compiling and executing the expression codes in the abstract data model, so that the expression codes in the compiling and executing process can obtain the operation result of the expression codes in the current software system operation environment, and writing the operation result into the abstract data model stored in the memory of the user computer.
3. The method for driving multiple software system interface changes based on the data model as claimed in claim 1, wherein in the abstract description step, the abstract data model is stored in a cloud server or a local terminal, and after obtaining the abstract data model, a global key value is exposed to the software execution environment in the abstract data model.
CN202110532033.0A 2021-05-17 2021-05-17 Method for driving interface change of multiple software systems based on data model Active CN112988155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110532033.0A CN112988155B (en) 2021-05-17 2021-05-17 Method for driving interface change of multiple software systems based on data model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110532033.0A CN112988155B (en) 2021-05-17 2021-05-17 Method for driving interface change of multiple software systems based on data model

Publications (2)

Publication Number Publication Date
CN112988155A CN112988155A (en) 2021-06-18
CN112988155B true CN112988155B (en) 2021-08-31

Family

ID=76336605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110532033.0A Active CN112988155B (en) 2021-05-17 2021-05-17 Method for driving interface change of multiple software systems based on data model

Country Status (1)

Country Link
CN (1) CN112988155B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117170632A (en) * 2023-11-02 2023-12-05 浙江大学 User interface development system for Vue-based SysML model simulation

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463124A (en) * 2020-12-03 2021-03-09 杭州新中大科技股份有限公司 System for realizing one-time design thousand-face display based on metadata model

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2509862A1 (en) * 2002-12-13 2004-07-01 Wagerworks, Inc. Flexible user interface
US20060041879A1 (en) * 2004-08-19 2006-02-23 Bower Shelley K System and method for changing defined user interface elements in a previously compiled program
US9141403B2 (en) * 2011-02-15 2015-09-22 Microsoft Technology Licensing, Llc Data-driven schema for describing and executing management tasks in a graphical user interface
US9116710B2 (en) * 2012-12-22 2015-08-25 Oracle International Corporation Dynamic user interface authoring
CN105786505A (en) * 2016-02-26 2016-07-20 上海全成通信技术有限公司 Json based complex web page component self-defining method and device
US10509633B2 (en) * 2017-08-30 2019-12-17 Salesforce.Com, Inc. Base editor component in a web application builder framework
CN109445792B (en) * 2018-11-05 2021-12-21 用友网络科技股份有限公司 Interface construction method and device and computer readable storage medium
CN111857782B (en) * 2020-07-27 2021-11-16 企查查科技有限公司 Interface updating method and device, computer equipment and storage medium
CN112256257A (en) * 2020-10-22 2021-01-22 杭州萤石软件有限公司 Interface construction method, readable storage medium and electronic device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463124A (en) * 2020-12-03 2021-03-09 杭州新中大科技股份有限公司 System for realizing one-time design thousand-face display based on metadata model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117170632A (en) * 2023-11-02 2023-12-05 浙江大学 User interface development system for Vue-based SysML model simulation
CN117170632B (en) * 2023-11-02 2024-02-09 浙江大学 User interface development system for Vue-based SysML model simulation

Also Published As

Publication number Publication date
CN112988155A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US7568035B2 (en) Command binding determination and implementation
AU2006284908B2 (en) Markup based extensibility for user interfaces
US8856672B2 (en) Integrated user interface controls for web dialogs
US8793598B2 (en) Cross-browser web dialog platform
US20100318894A1 (en) Modifications to Editable Elements of Web Pages Rendered in Word Processor Applications
US8893081B2 (en) Selectively enabling runtime editing of an application
CA2795201A1 (en) Client application and web page integration
WO2014045826A1 (en) Web server system, dictionary system, dictionary call method, screen control display method, and demonstration application generation method
US7698636B2 (en) System and method for in-context editing of components
CN112988155B (en) Method for driving interface change of multiple software systems based on data model
CN110286971B (en) Processing method and system, medium and computing device
JPH10320390A (en) Method for changing view based on self-reproduction of document
CN114253537A (en) Form generation method and device, electronic equipment and storage medium
Warén Cross-platform mobile software development with React Native
JPH11306170A (en) Document production device
US20200159805A1 (en) System and method for producing transferable, modular web pages
CN112632436A (en) Webpage display method and device, electronic equipment and storage medium
US20230251958A1 (en) Code linting in dynamic application environments
CN108108165B (en) Graphical interface editing system and method
LEHRHUBER Pdf support for qualitative research in the cloud
Costanich Developing C# Apps for IPhone and IPad Using MonoTouch: IOS Apps Development for. NET Developers
Shi et al. Local resource accessing mechanism on multiple mobile platform
Maddel et al. Development of Specific Mobile Applications Supporting the Smart City Trend
WO2024039477A1 (en) Bridging ui elements across multiple operating systems
CN114003213A (en) Data processing method, device and equipment

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
TR01 Transfer of patent right

Effective date of registration: 20231219

Address after: Room 802, 8th Floor, Unit 1, Building 2, No. 188 Jirui Second Road, High tech Zone, Chengdu, Sichuan Province, 610000

Patentee after: Shansikaiwu Technology (Chengdu) Co.,Ltd.

Address before: 610015 No.1, floor 1, building 9, no.966, north section of Tianfu Avenue, Chengdu high tech Zone, Chengdu pilot Free Trade Zone, Sichuan Province

Patentee before: CHENGDU BUSINESS BIG DATA TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right