Data stream management framework and method, terminal device, and storage medium
A data storage and data flow technology, applied in the computer field, can solve problems such as difficulty in debugging, management framework code redundancy, etc., and achieve the effect of reducing redundancy and facilitating code debugging
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] see figure 1 , a schematic structural diagram of the data flow management framework provided by the embodiment of the present invention, including components:
[0029] Storage component 110: used to provide a singleton mode data storage object and an observable object, the data storage object is used to store data in the data stream, and the observable object is used to control the refresh of the view;
[0030] The singleton mode means that the data storage class has only one object instance. In the singleton mode, only one object is guaranteed to manage and update data, so as to avoid data confusion caused by multiple objects. Specifically, export this module, that is, the data storage class interface, and initialize data in the constructor of this class, and initialize the instance object and return the instance object.
[0031] The observable object is a special type of observable, which can multi-push values to multiple observers. Preferably, the observable obje...
Embodiment 2
[0047] exist figure 1 on the basis of combining figure 2The data transfer process of each component in the data flow management framework is described in detail, as follows:
[0048] The Service component 20 is a service program running in the background without a user interface. Ability to bind other components for data interaction or communication with the server. In the Service component 20, data update is requested through the request interface data module 201, and the request logic with side effects is separated from the business logic by defining the server-side interface data. Optionally, it also includes providing a page-level interface interception function.
[0049] The Controller component 21 is generally used to collect and verify request parameters and bind command objects, and deliver the command objects to business processing logic. In the embodiment of the present invention, the Controller component 21 is mainly used to obtain update data and control view ...
Embodiment 3
[0058] A data flow management framework is mainly described above, and a data flow management method will be described in detail below.
[0059] image 3 A schematic structural diagram of a data flow management method is shown, including:
[0060] S301. In the singleton mode, create a data storage object, and define an observable object in the data storage object, wherein the data storage object is used to store data in the data stream;
[0061] The observable object represents a set of callable future values or events. In the embodiment of the present invention, the observable object can listen to the changed fields of the data, and can also be monitored and observed by the view component as an observable object.
[0062] Optionally, a data registration method and a data acquisition method are defined in the data storage object. In the data storage object, it is necessary to obtain the update data, and register and store the update data according to the category, such as ...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com