Data management system and method based on architecture fusion and computer equipment
By combining browser/server and client/server architecture in the data management system, high-frequency data display and management of users only need to operate a set of software, solving the problem of difficult development, high cost and maintenance in the existing technology. The poor quality problem has improved user experience and market competitiveness.
Patent Information
- Application Number
- CN202411358623.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2024-11-05
AI Technical Summary
When the existing data management system meets the needs of high-frequency data display and management, it is difficult to develop, costly, poor maintenance, and inconvenient user operation, so it is impossible to take into account both real-time and operability of data.
Adopt a data management system based on architecture integration, combining browser/server architecture and client/server architecture, and embed browser pages in the C/S architecture through the browser engine. The data collection and high-frequency data display parts adopt C/S Architecture, the data management part adopts a B/S architecture, so that users only need to operate a set of software to meet the needs of high-frequency data display and management.
It improves user experience and operation efficiency, reduces development and maintenance costs, improves system flexibility and scalability, takes into account data processing speed and security, and enhances market competitiveness.
Smart Images

Figure CN118900281A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer software technology, and in particular to a data management system, method and computer device based on architecture fusion. Background Art
[0002] With the emergence of large-capacity, high-speed computers, the scope of computer applications has expanded rapidly, and the emergence of complex business processing needs has led to a sharp increase in software development for data management systems. In addition, the scale of software systems is getting larger and larger, and the complexity is getting higher and higher. The problems of software development efficiency and reusability are becoming more and more prominent. Simple architecture design methods can no longer meet the requirements, or lead to high software development costs, poor maintainability, and weak market competitiveness. Therefore, there is an urgent need to change the software design method for data management systems.
[0003] Existing data collection and management systems generally adopt client / server architecture (C / S architecture) or browser / server architecture (B / S architecture) to meet different practical needs. Only using C / S architecture design can display high-frequency data on the client graphical interface, but it is not friendly to the development of data management function modules, the development is difficult and the working hours are long, and it is not convenient for deployment and platform migration; while only using B / S architecture design can easily develop data management modules and user display interfaces, and is also convenient for deployment and platform migration, but the real-time display performance of data has a large delay and cannot display high-frequency data; and the solution of using two sets of architecture design at the same time can meet different practical needs, but in fact it is to develop two sets of software systems, which is not conducive to the convenience and continuity of user operation. Summary of the invention
[0004] Based on this, the purpose of this application is to provide a data management system, method and computer equipment that allows users to achieve high-frequency data display and management needs by operating only one set of system software.
[0005] In a first aspect, the present application provides a data management system based on architecture fusion. The architecture includes a browser / server architecture and a client / server architecture, the client includes a browser engine and a data processing module, the browser engine includes a target engine module and a target channel module, wherein: The target engine module integrates the functions associated with the browser; The target channel module is used to realize the communication between the client and the browser when the browser performs a function triggering operation; The data processing module is used to process the interactive data of the server and display it through the corresponding pages of the client or the browser.
[0006] In one embodiment, the target engine module includes a display module, a script module and a configuration module, wherein: the display module is used to display the class associated with the browser, and in response to the function trigger operation of the browser, loads the browser page and displays it on the client interface; the script module is used to execute the script class, and at least responds to the function extension or page modification trigger operation of the browser; the configuration module is used to manage the class of the browser page configuration, and at least responds to the clear trigger operation of the browser.
[0007] In one embodiment, the target engine module and the target channel module are implemented through a target application, and the target engine module is a script library encapsulated by the target application, wherein: the target channel module is used to realize two-way communication between the target application associated with the client and the browser page; the target channel module at least includes a communication protocol function, an object instance sharing function and an asynchronous communication mechanism.
[0008] In one embodiment, the target channel module is also used to: implement two-way communication between the target application and the browser page through a target protocol; the browser page receives objects in the target application and implements operations, and the target application shares object instances for use by the browser page; the browser page and the target application interact through an asynchronous communication mechanism.
[0009] In one embodiment, applied in the client, the process of realizing communication between the client and the browser includes: creating a target object, the target object is used to manage object registration and registration release of the browser page; adding the objects to be shared in the target application to the variables managed by the target object, and registering and releasing the instances of the target objects to be shared with the browser page; and realizing data communication through a callback function.
[0010] In one embodiment, the first security function of the browser / server architecture includes at least one of permission control, login authentication, session management and input verification; the second security function of the client / server architecture is implemented by an encryption algorithm; the encryption algorithm includes at least one of symmetric encryption, hash encryption and encoding and decoding.
[0011] In one embodiment, the client / server architecture is a front-end and back-end architecture; the browser / server architecture adopts an open source framework; the framework has multiple built-in user interface components, and the user interface components are used to implement at least one of dynamic loading of browser pages, message prompts and navigation menus.
[0012] In the second aspect, the present application also provides a data management method based on architecture fusion. The architecture includes a browser / server architecture and a client / server architecture, and the method is applied to a client, the client includes a browser engine and a data processing module, the browser engine includes a target engine module and a target channel module, including: Performing a function triggering operation on the browser through the target engine module; Determine the communication status between the client and the browser when the function triggering operation is performed through the target channel module, so that the server obtains the interaction data according to the communication status; The interactive data sent by the server is processed by the data processing module so that the interactive data is displayed through the corresponding pages of the client or the browser.
[0013] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above-mentioned data management method based on architecture fusion when executing the computer program.
[0014] In a fourth aspect, the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned data management method based on architecture fusion are implemented.
[0015] The above-mentioned data management system, method, computer device and readable storage medium based on architecture fusion adopt hybrid architecture fusion technology according to the characteristics of the data collection management platform, and embed the browser page in the C / S architecture framework through the browser engine, so that the data collection and high-frequency data display parts are embodied in the C / S architecture, which can well show the real-time and operability of the data, and the data management part is implemented by the server in the B / S architecture. Users only need to operate a set of software, that is, they can directly open the browser page from the client without switching to the browser platform to view, which meets the user's needs for high-frequency data display and data management, and also improves the user's experience and operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 An application environment diagram of a data management system based on architecture fusion in one embodiment; Figure 2 A schematic diagram of the structure of a data management system in the prior art in one embodiment; Figure 3 A schematic diagram of the structure of a data management system based on architecture fusion in one embodiment; Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0018] The data management system based on architecture fusion provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The terminal 102 is the end of the data management system based on architecture fusion. The architecture includes a browser / server architecture and a client / server architecture. The client includes a browser engine and a data processing module. The browser engine includes a target engine module and a target channel module; the target engine module integrates functions associated with the browser; the target channel module is used to realize the communication between the client and the browser when the browser performs a function trigger operation; the data processing module is used to process the interactive data of the server and display it through the corresponding pages of the client or the browser. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, drone equipment, smart car-mounted equipment and portable wearable devices. The server 104 can be implemented with an independent server or a server cluster composed of multiple servers. It can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), and big data and artificial intelligence platforms.
[0019] Among them, the client / server architecture is also called C / S architecture (Client / Server Architecture). The client application interacts with the user through the user interface and sends the request to the server for processing. The server performs calculations and processing and returns the results to the client. The browser / server architecture is also called B / S architecture (Browser / Server Architecture). The application is deployed on the server and interacts with the user through the web browser. The user sends a request to the server through the browser, and the server processes the request and returns the result to the user's browser through the network and displays it to the user.
[0020] In one embodiment, Figure 2As shown, a schematic diagram of the structure of a data management system in the prior art is provided. Among them, the C-end (also called the client) and the server constitute the C / S architecture, and the browser (Web page) and the server constitute the B / S architecture. Since the two architectures are independent of each other, if the user needs to view or operate the data information displayed on the Web page, he must jump to the browser before opening it. If the user needs to view the data information through the C-end at this time, he needs to switch back and forth between the C-end and the browser.
[0021] In one embodiment, Figure 3 As shown, a data management system based on architecture fusion is provided, wherein the architecture includes a browser / server architecture and a client / server architecture, the client includes a browser engine and a data processing module, the browser engine includes a target engine module and a target channel module, wherein: the target engine module integrates functions associated with the browser; the target channel module is used to realize communication between the client and the browser when a function trigger operation is performed on the browser; the data processing module is used to process the interactive data of the server and display it through the corresponding pages of the client or the browser.
[0022] The browser engine is also called a Web engine, the target engine module can be a QWebEngine module, and the target channel module can be a QWebChannel module. The QWebEngine module is a component in the open source framework. It is a Web engine based on the Chromium kernel and is used to embed browser web page content in the framework's application and implement various application functions. The QWebChannel module is responsible for interacting with the embedded browser web page.
[0023] Specifically, the browser side also includes modules such as data viewing, data graphical analysis, data management, and data configuration. The client also includes data acquisition modules, data storage modules, data analysis modules, Web management modules, etc., and can integrate new functions or processing modules to adapt to changing business needs. The Web management module integrates all browser functions by introducing the target engine module that comes with the browser engine, and interacts with the browser page through the target channel module that comes with the browser engine. The server backend under the browser / server architecture uniformly manages user permissions, data storage and other functions.
[0024] First, the client will load and initialize the browser engine. At this time, the target engine module integrates all functions associated with the browser interface, such as page rendering, user interaction, etc., and the target channel module has established a communication channel between the client and the browser. When the user triggers certain functions or operations through the browser, such as the browser page captures a click event, these operations are passed to the client through the target channel module. After the client receives the request from the browser, it activates the data processing module to process the request, which may include operations such as query, update, and delete. At this time, the data processing module needs to interact with the server, send requests, and receive response data. For the interactive data returned by the server, the data processing module is further processed and processed to meet the display requirements of the client or browser. It is easy to understand that since the object of the triggering operation is the browser, the processed data is displayed to the user through the browser page. In addition, during the entire process of communication between the client and the browser, the client manages the registration and deregistration of objects related to the browser page to ensure that resources are reasonably allocated and released.
[0025] And in Figure 3 In the C-end display interface, there will be logos of the browser page and the C-end page displayed at the same time, that is, a switching tab that is not perceived by the C-end and the browser, so that after the user makes different selection operations, the corresponding pages of the client or browser will be displayed, without having to manually switch to the browser before entering the browser page to view it.
[0026] In one embodiment, the client feeds back the processing result or status to the browser through the target channel module, completing a complete interaction cycle.
[0027] In the above-mentioned data management system based on architecture fusion, hybrid architecture fusion technology is adopted according to the characteristics of the data collection management platform. The browser page is embedded in the C / S architecture framework through the browser engine, so that the data collection and high-frequency data display parts are embodied in the C / S architecture, which can well show the real-time and operability of the data. The data management part is implemented by the server in the B / S architecture. Users only need to operate a set of software, that is, the final software presented to the user side is a set of integrated software. Users have no obvious perception when using it. When operating and using it, it is more like a pure client software product. Users can directly open the browser page from the client without switching to the browser platform to view it. It meets the user's needs for high-frequency data display and data management, and also improves the user's experience and operation efficiency.
[0028] In addition, due to the strong distribution of B / S architecture, as long as there is a network and a browser, business processing such as query and browsing can be carried out anytime and anywhere. Business expansion is simple and convenient. Server functions can be added by adding web pages. Maintenance is simple and convenient. Only by changing the web page, the synchronization update of all users can be completed; development is simple and sharing is strong. C / S architecture has excellent processing capabilities. Many tasks can be submitted to the server after being processed on the client, reducing the overhead on the server side. Therefore, the client response speed of C / S architecture is fast; using B / S architecture as a data management and viewing platform, and using C / S architecture as a data processing platform. It can take into account both data processing speed and security while allowing users to view data through the browser URL anytime and anywhere, which improves the overall market competitiveness of the software compared to the traditional architecture.
[0029] In one embodiment, the target engine module includes a display module, a script module and a configuration module, wherein: the display module is used to display the class associated with the browser, and in response to the function trigger operation of the browser, loads the browser page and displays it on the client interface; the script module is used to execute the script class, and at least responds to the function extension or page modification trigger operation of the browser; the configuration module is used to manage the class of the browser page configuration, and at least responds to the clear trigger operation of the browser.
[0030] Among them, when the target engine module is a QWebEngine module, it mainly provides a JavaScript host environment; the display module can be a QWebEngineView module, the script module can be a QWebEngineScript module, and the configuration module can be a QWebEngineProfile module.
[0031] Specifically, the display module is used to display the browser page class, which inherits from QWidget and provides some commonly used functions, such as setUrl() function, load() function, etc., for developers to set the URL and load the browser page and display it on the client interface; QWidget is a core class in the Qt framework, which is used to create the basic visual elements of graphical user interface (GUI) applications. Therefore, the display module loads and displays the browser page in response to the browser's function trigger operation, and updates it in real time according to the browser's function requirements, thereby providing a more flexible and responsive user experience.
[0032] The script module is used to execute JavaScript script classes and provides some commonly used functions, such as the runScript() function, which is used to execute JavaScript scripts. Developers can use the script module to extend and modify the functions of browser pages. For example, scripts can be executed on browser pages to implement specific functions or user interactions without reloading the entire page. The configuration module is used to manage the class of browser page configuration. It provides functions such as clearHttpCache() and clearAllVisterdLinks() to clear the browser's HTTP cache and access history, ensuring that the configuration of the browser page can be adjusted and managed according to needs.
[0033] In this embodiment, the separation of the display module, the script module, and the configuration module enables the system to have a better modular design. Each module is responsible for different functions. This design improves the maintainability and scalability of the system and simplifies the development and maintenance process of the system. These effects work together to improve the flexibility, dynamic response capability, and user experience of the system, so that the target engine module can effectively support various browser-related operations and functions.
[0034] In one embodiment, the target engine module and the target channel module are implemented through a target application, and the target engine module is a script library encapsulated by the target application, wherein: the target channel module is used to realize two-way communication between the target application associated with the client and the browser page; the target channel module includes at least a communication protocol function, an object instance sharing function and an asynchronous communication mechanism.
[0035] The target channel module may be a QWebChannel module, the target application may be an application of a Qt framework, the script library may be a JavaScript library, and the browser page is also called a Web page.
[0036] Specifically, the target engine module, as a script library encapsulating the target application, can centrally manage and encapsulate various functions, reduce system duplication, and improve system development efficiency and maintainability. The communication protocol function of the target channel module supports the definition and management of communication rules and formats between the client and the browser page, ensuring the consistency and reliability of data transmission. The object instance sharing function of the target channel module allows objects to be shared and operated between the browser page and the target application. This sharing mechanism can realize complex data interaction and operation. The callback function interacts with the browser page through registered functions and signals, enabling the target channel module to implement asynchronous events between the client and the browser page.
[0037] In one embodiment, the target channel module is also used to: implement two-way communication between the target application and the browser page through a target protocol; the browser page receives objects in the target application and implements operations, and the target application shares object instances for use by the browser page; the browser page and the target application interact through callback functions.
[0038] Specifically, the target channel module uses, for example, the WebSocket communication protocol to implement message transmission between the browser page and the target application. For the object instance sharing function, the browser page can receive and operate the objects in the target application, and the target application can also share its object instances with the browser page for use. This sharing mechanism allows the browser page to directly operate the data and functions in the target application, making the integration between the browser and the application closer. For example, the browser page can directly modify the data in the application without complex middle-layer processing. The browser page and the target application can interact through callback functions. The browser page can trigger the callback function in the target application, and the target application can also send signals to the browser page. The use of callback functions allows asynchronous communication between components, reduces the need for direct dependence, and improves the scalability and maintainability of the system.
[0039] In this embodiment, the target protocol ensures communication between the browser page and the target application, so that the two can work together to achieve a more dynamic and interactive user experience. The use of the callback function mechanism can ensure that the event and response processing between the browser page and the target application is more efficient and flexible.
[0040] In one embodiment, the process of implementing communication between the client and the browser in the application includes: creating a target object, which is used to manage object registration and registration release of the browser page; adding objects that need to be shared in the target application to the variables managed by the target object, and registering and releasing instances of the target objects that need to be shared with the browser page; and implementing data communication through callback functions and signal functions.
[0041] Specifically, to display the browser page on the client, it is necessary to create an object through the display module and load the browser page through the load method. The actual use of the target channel module to realize the communication between the client and the browser requires the corresponding implementation steps in the client and the browser page. In the client, first create a QWebChannel object to manage the registration and unregistration of Web page objects; add the objects to be shared in the application to the QWebObject enumeration type variable managed by the QWebChannel object; register and release the object instances that need to be exposed to the Web page through the QVariantMap method; implement the corresponding callback function and signal function. In the browser page, create a WebSocket link to communicate with the client application; create a QWebChannel object and establish a link with the WebSocket; register the JavaScript object that you want to expose to the framework application; pass the Web page operation to the framework application through the signal() signal; receive the data responded by the framework application through the callback function.
[0042] In this embodiment, the registration and deregistration of multiple objects can be flexibly managed with a custom target object as an intermediary, so that the communication mechanism can be easily expanded or modified. By adding the objects to be shared to the variables managed by the target object, data can be shared between the client and the browser without having to call the API every time. The callback function allows the application to drive behavior based on events, which helps to create a more dynamic and responsive interface to user operations.
[0043] In one embodiment, the process of realizing communication between the client and the browser also includes: first creating a target object: defining a target object in the client application, which is responsible for managing the data and objects required for communication with the browser page. Managing object registration: the target object has a registration mechanism that allows objects in the client application to be added to the list it manages. These objects may contain data that need to be displayed or used in the browser page. Registering shared objects: adding objects that need to be shared between the client and the browser page to the variables managed by the target object, which involves storing a reference or pointer to the object in the target object. Instantiating and registering the target object: creating a specific instance of the target object and registering this instance to a place where the browser page can access it, which means passing a reference or pointer to the target object to the browser page. Realizing data communication: in order to realize data communication between the client application and the browser page, an asynchronous callback mechanism is used. Here, the asynchronous response of events at the request end and the response end is mainly realized through the callback function, that is, the response end can process other tasks when it does not receive an asynchronous signal, and then process related data after receiving the asynchronous callback signal.
[0044] In this embodiment, by sharing objects and event notifications, the need to repeatedly transmit the same data between the client and the browser is reduced. Centralized management of object registration and deregistration, as well as communication connections, makes the code more modular and easy to maintain and update. The user's operation on the browser page can be quickly fed back to the client application, achieving a real-time interactive experience.
[0045] In one embodiment, the first security function of the browser / server architecture includes at least one of permission control, login authentication, session management and input verification; the second security function of the client / server architecture is implemented through an encryption algorithm; the encryption algorithm includes at least one of symmetric encryption, hash encryption and encoding and decoding.
[0046] Specifically, the browser / server can use the built-in security protection measures of the ruoyi-vue framework, for example. Developers can use them directly or customize them according to their own needs, such as: permission control, login authentication, session management, password security, input verification, content security, access control, DDoS protection, etc. For example, when creating a new role, the system administrator grants the role menu permission and determines the corresponding menus that different roles can view to control user access to system resources. For another example, through login authentication and displaying the authentication interface, data security can be ensured by encrypting the account password.
[0047] The client / server uses some basic security programming interfaces and objects provided by the target application, such as QByteArray, which has built-in multiple encryption algorithms to implement symmetric encryption, hash encryption, and Base64 encoding and decoding of data. This improves data security in terms of data transmission and storage. Its QCA (Qt Cryptographic Architecture) module provides cross-platform encryption support, including symmetric encryption (AES / DES / Blowfish, etc.), hash algorithms (MD5 / SHA1 / SHA256, etc.), key generation, and digital signatures.
[0048] In this embodiment, by implementing security features such as permission control, it is ensured that only authorized users can access sensitive data and perform specific operations, thereby protecting the system from unauthorized access and potential network attacks. The use of encryption algorithms in the client / server architecture can provide secure data transmission without sacrificing performance.
[0049] In one embodiment, the client / server architecture is a front-end and back-end architecture; the browser / server architecture adopts the ruoyi-vue framework; the ruoyi-vue framework has multiple built-in user interface components, and the user interface components are used to implement at least one of dynamic loading of browser pages, message prompts and navigation menus.
[0050] Specifically, the client / server architecture and browser / server architecture can also change the development language and framework according to the needs. The ruoyi-vue framework has built-in rich user interface components, such as UI library, which provides rich components and flexible layout methods, and can easily help developers quickly build beautiful and practical WEB interfaces. Compared with C / S frameworks, it is simpler and more convenient to develop interfaces. At the same time, the C / S framework makes up for the shortcomings of slow response and refresh of WEB interfaces. The two architectures each play their own advantages to meet complex application scenarios while improving the development efficiency of the entire software.
[0051] And while the C / S architecture is doing data collection, the B / S architecture can be implemented through the component features or custom styles and behaviors provided by the browser, such as using dynamic loading animations: displaying loading animations while data is loading to enhance the user's waiting experience; using message prompts: providing feedback on user operations to enhance the user's interactive experience; using navigation menus: providing a consistent navigation method to enhance the user's navigation experience between different pages; using paging components, using pop-up components, etc.
[0052] In this embodiment, the use of open source self-developed architecture for client / server architecture development can separate the front-end and back-end of the application, and each part can be independently developed and maintained, which improves the maintainability and scalability of the code. The ruoyi-vue framework provides a variety of user interface components, which can help developers quickly build user interfaces with rich interactive functions and improve development efficiency. The ruoyi-vue framework supports dynamic loading of browser pages. Users do not need to reload the entire page when browsing the web, and can update a part of the page, which improves the user experience.
[0053] In one embodiment, the present application also provides a data management method based on architecture fusion. The architecture includes a browser / server architecture and a client / server architecture, and the method is applied to a client, the client includes a browser engine and a data processing module, and the browser engine includes a target engine module and a target channel module, including: performing a function trigger operation on the browser through the target engine module; determining the communication status between the client and the browser during the function trigger operation through the target channel module, so that the server obtains interaction data according to the communication status; processing the interaction data sent by the server through the data processing module, so that the interaction data is displayed through the client or the browser's respective corresponding pages.
[0054] As the specific limitations in the embodiment of the data management device based on architecture fusion can be found in the above-mentioned limitations on the data management system based on architecture fusion, they will not be repeated here.
[0055] It should be understood that the process steps involved in the method embodiment are not necessarily executed in sequence in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.
[0056] Based on the same inventive concept, the embodiment of the present application also provides a data management device based on architecture fusion for implementing the above-mentioned data management system based on architecture fusion. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in the one or more embodiments of the data management device based on architecture fusion provided below can refer to the limitations of the data management system based on architecture fusion above, and will not be repeated here.
[0057] In one embodiment, a data management device based on architecture fusion is provided, comprising: a function triggering module, a communication determination module and a page display module, wherein: The function trigger module is used to perform function trigger operations on the browser.
[0058] The communication determination module is used to determine the communication status between the client and the browser when the function triggers the operation, so that the server can obtain interaction data according to the communication status.
[0059] The page display module is used to process the interactive data sent by the server so that the interactive data can be displayed through the corresponding pages of the client or browser.
[0060] Each module in the above-mentioned data management based on architecture fusion can be implemented in whole or in part through software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0061] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O), a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a data management method based on architecture fusion is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.
[0062] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0063] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0064] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0065] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.
[0066] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0067] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0068] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data management system based on architecture fusion, It is characterized in that The architecture includes a browser / server architecture and a client / server architecture, the client includes a browser engine and a data processing module, the browser engine includes a target engine module and a target channel module, wherein: The target engine module integrates the functions associated with the browser; The target channel module is used to realize the communication between the client and the browser when the browser performs a function triggering operation; The data processing module is used to process the interactive data of the server and display it through the corresponding pages of the client or the browser.
2. The system according to claim 1, It is characterized in that The target engine module includes a display module, a script module and a configuration module, wherein: The display module is used to display the class associated with the browser, and in response to the function triggering operation of the browser, load the browser page and display it on the client interface; The script module is used to execute the script class and trigger an operation in response to at least the function extension or page modification of the browser; The configuration module is used to manage the class of the browser page configuration and at least respond to the clear trigger operation of the browser.
3. The system according to claim 1, It is characterized in that The target engine module and the target channel module are implemented by a target application, and the target engine module is a script library encapsulated by the target application, wherein: The target channel module is used to realize two-way communication between the target application associated with the client and the browser page; the target channel module at least includes a communication protocol function, an object instance sharing function and an asynchronous communication mechanism.
4. The system according to claim 3, It is characterized in that The target channel module is also used for: Implementing two-way communication between the target application and the browser page through a target protocol; The browser page receives the object in the target application and implements the operation, and the target application is shared through the object instance for use by the browser page; The browser page and the target application interact via an asynchronous communication mechanism.
5. The system according to claim 4, It is characterized in that Applied in the client, the process of implementing communication between the client and the browser includes: Creating a target object, wherein the target object is used to manage object registration and registration release of a browser page; Add the object to be shared in the target application to the variable managed by the target object, and register and release the instance of the target object to be shared with the browser page; Data communication is achieved through callback functions.
6. The system according to claim 1, It is characterized in that The first security function of the browser / server architecture includes at least one of permission control, login authentication, session management and input verification; the second security function of the client / server architecture is implemented by an encryption algorithm; the encryption algorithm includes at least one of symmetric encryption, hash encryption and encoding and decoding.
7. A system according to any one of claims 1 to 6, It is characterized in that The client / server architecture is a front-end and back-end architecture; the browser / server architecture adopts an open source framework; the framework has multiple built-in user interface components, and the user interface components are used to implement at least one of dynamic loading of browser pages, message prompts and navigation menus.
8. A data management method based on architecture fusion, It is characterized in that The architecture includes a browser / server architecture and a client / server architecture. The method is applied to a client, the client includes a browser engine and a data processing module, the browser engine includes a target engine module and a target channel module, including: Performing a function triggering operation on the browser through the target engine module; Determine the communication status between the client and the browser when the function triggering operation is performed through the target channel module, so that the server obtains the interaction data according to the communication status; The interactive data sent by the server is processed by the data processing module so that the interactive data is displayed through the corresponding pages of the client or the browser.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method described in claim 8 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method described in claim 8 are implemented.
Citation Information
Cited By
Server ledger management statistical method fusing BS and CS architectures
CN119292876A
