CN110321120A - Data processing method, data processing apparatus, and computer-readable storage medium - Google Patents
Data processing method, data processing apparatus, and computer-readable storage medium Download PDFInfo
- Publication number
- CN110321120A CN110321120A CN201910633136.9A CN201910633136A CN110321120A CN 110321120 A CN110321120 A CN 110321120A CN 201910633136 A CN201910633136 A CN 201910633136A CN 110321120 A CN110321120 A CN 110321120A
- Authority
- CN
- China
- Prior art keywords
- data
- business datum
- functional unit
- service
- data processing
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 39
- 238000003860 storage Methods 0.000 title claims abstract description 38
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 230000006870 function Effects 0.000 claims description 23
- 125000000524 functional group Chemical group 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 10
- 238000011161 development Methods 0.000 abstract description 6
- 230000008569 process Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 18
- 230000008859 change Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 5
- 238000002347 injection Methods 0.000 description 5
- 239000007924 injection Substances 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 241001269238 Data Species 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000000243 solution Substances 0.000 description 2
- 241000406668 Loxodonta cyclotis Species 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000036299 sexual function Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure provides a data processing method, a data processing device and a computer readable storage medium, and relates to the technical field of data processing. The data processing method comprises the following steps: the display component generates an event object according to user operation and sends the event object to the function component; the functional component acquires service data according to the event object and sends the service data to the display component; and the display component displays the business data. The method and the device can improve reusability of the components in the software system, thereby improving expandability of the software system and reducing repeated development work in the process of developing the software system.
Description
Technical field
This disclosure relates to technical field of data processing, in particular to a kind of data processing method, data processing equipment and meter
Calculation machine readable storage medium storing program for executing.
Background technique
As the application of MVVM (Model-View-ViewModel, Model-View-view model) frame is more and more wider
General, modularization thought embodies more and more important.Meet the page application of MVVM framework, it can be according to function to software systems
Modular division is carried out, it is abstract to extract multiple components.
Summary of the invention
Inventor works as in same or similar module application scene the study found that have the characteristics that the component of simple function
In can directly be multiplexed, to reduce a large amount of overlapping development work.However in actual software development process, to component
Abstract standard is different, and the granularity of partitioning component is also different, this causes the reusability of component lower.
The technical problem that the disclosure solves is how to promote the reusability of component in software systems.
According to the one aspect of the embodiment of the present disclosure, provide a kind of data processing method, comprising: display component according to
Family operation generates event object, and event object is sent to functional unit;Functional unit obtains business number according to event object
According to, and business datum is sent to display component;Display component shows business datum.
In some embodiments, functional unit includes according to event object acquisition business datum: functional unit is according to event
Display component mark and user's operation in object, determine that business datum identifies;Functional unit is obtained using business datum mark
Business datum.
In some embodiments, functional unit obtains business datum using business datum mark and includes: functional unit is to number
Service data request is sent according to service, service data request carries business datum mark;Data service is from business service acquisition industry
The corresponding business datum of business Data Identification;Business datum is sent to functional unit by data service.
In some embodiments, it includes: data service to having subscribed that business datum is sent to functional unit by data service
All functional unit broadcast service datas of data subscription object in data service.
In some embodiments, it includes: display component by event pair that event object is sent to functional unit by display component
As being sent to data service;Data service is to all functional unit broadcast events for having subscribed event subscription object in data service
Object.
In some embodiments, functional unit obtains business datum using business datum mark and includes: functional unit is from number
Corresponding business datum, going through comprising functional unit storage in data buffer storage object are identified according to business datum is obtained in cache object
History business datum.
In some embodiments, further includes: display component is multiplexed by different functional units, forms new functional unit.
According to the other side of the embodiment of the present disclosure, a kind of data processing equipment is provided, comprising: display component, quilt
It is configured to generate event object according to user's operation, and event object is sent to functional unit;Display component is additionally configured to
Business datum is shown;Functional unit is configured as obtaining business datum according to event object, and business datum is sent
To display component.
In some embodiments, functional unit is configured as: being grasped according to the display component mark in event object with user
Make, determines that business datum identifies;It is identified using business datum and obtains business datum.
In some embodiments, data processing equipment further includes data service module and business service module;Functional unit
It is configured as: sending service data request to data service, service data request carries business datum mark;Data service module
It is configured as: obtaining business datum from business service module and identify corresponding business datum;Business datum is sent to functional group
Part.
In some embodiments, data service module is configured as: to having subscribed data subscription pair in data service module
All functional unit broadcast service datas of elephant.
In some embodiments, display component is configured as: event object is sent to data service module;Data service
Module is configured as: to all functional unit broadcast event objects for having subscribed event subscription object in data service module.
In some embodiments, functional unit is configured as: being obtained business datum mark from data buffer storage object and is corresponded to
Business datum, the history service data comprising functional unit storage in data buffer storage object.
In some embodiments, display component is also configured to be multiplexed by different functional units, forms new functional group
Part.
According to the another aspect of the embodiment of the present disclosure, a kind of data processing equipment is provided, comprising: memory;And
It is coupled to the processor of memory, processor is configured as executing at data above-mentioned based on instruction stored in memory
Reason method.
According to another aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, wherein computer
Readable storage medium storing program for executing is stored with computer instruction, and instruction realizes data processing method above-mentioned when being executed by processor.
The disclosure is able to ascend the reusability of component in software systems, so that the scalability of software systems is promoted, and
Reduce the overlapping development work during exploitation software systems.
By the detailed description referring to the drawings to the exemplary embodiment of the disclosure, the other feature of the disclosure and its
Advantage will become apparent.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Disclosed some embodiments without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 shows the flow diagram of the data processing method of some embodiments of the disclosure.
Fig. 2 shows display components event object is sent to functional unit some embodiments flow diagram.
Fig. 3 shows the flow diagram that functional unit obtains some embodiments of business datum.
Fig. 4 shows the schematic diagram of some embodiments of multiplexing display component.
Fig. 5 shows the structural schematic diagram of the data processing equipment of some embodiments of the disclosure.
Fig. 6 shows the structural schematic diagram of the data processing equipment of the disclosure other embodiments.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete
Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.Below
Description only actually at least one exemplary embodiment be it is illustrative, never as to the disclosure and its application or making
Any restrictions.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making creative work premise
Under all other embodiment obtained, belong to the disclosure protection range.
Page assembly is divided into two types by inventor: functional unit (Functional Components) and display
Component (Presentation Components).Follow following principle on component clustering: functional unit be responsible for data processing,
Functions, the not responsible data such as service, data transmitting are called to show;Display component is responsible for obtaining business datum from functional unit,
It is bound with Page Template, only responsible data are shown.
That is, display component is exactly the component for showing data.Its feature has: (1) being one piece of phase on the page
To independent region;(2) data itself are not generated, but obtain data from functional unit (functional unit is alternatively referred to as parent component)
Or data are obtained from data buffer storage object;(3) event object is transferred to by the event generated in component without handling event
Functional unit is handled;(4) display data are only used for, do not have data processing function, reusability is stronger.Functional unit is just
It is the component for exchanging data with display component, handling event.Its feature has: (1) functional unit may include display component on the page,
It also may include other function component;(2) after service acquisition business datum, business datum is transferred to display component, or save
Into data buffer storage object;(3) event that response display component generates, processing business simultaneously updates business datum, by the industry of update
Business data are transferred to display component;(4) reusability is weaker.
Some embodiments of disclosure data processing method are described below with reference to Fig. 1.
Fig. 1 shows the flow diagram of the data processing method of some embodiments of the disclosure.As shown in Figure 1, this implementation
Example includes step S101~step S105.
In step s101, display component generates event object according to user's operation.
For example, user clicks the article title on the page often to jump to article details page.The page is a function
Can component, each article title for including in the page is display component, and the page also includes the function of many single sexual functions
Component.After user clicks article title, the corresponding display component of this article title can respond user's operation and generate page jump thing
The event object of part.The event object mainly includes three information: (1) element of event occurs, i.e. display component identifies;(2)
(can also be other movements such as sliding, long-pressing) be clicked in the movement of generation;(3) content of element, the i.e. number of article title
According to.
In step s 102, event object is sent to functional unit by display component.
In step s 103, functional unit obtains business datum according to event object.
In some embodiments, functional unit is first according to the display component mark and user's operation in event object, really
Determine business datum mark.Then, functional unit obtains business datum using business datum mark.
For example, the mapping that functional unit is stored in advance between display component mark, user's operation and business datum mark is closed
System.According to article title and the clicking operation of user, the Data Identification of article details page can determine.Then, detailed using article
The Data Identification of feelings page obtains the data of article details page.
In some embodiments, the history service data comprising functional unit storage in data buffer storage object.Obtain data
When, functional unit can obtain business datum from data buffer storage object and identify corresponding business datum.
Data buffer storage object refers to the data for applying storage in inside browser or mobile device and carrying memory space, main
It is divided to two classes: 1) data obtained when the same interface of different page request;2) data infrequently updated, usually configure
Class data.It, will using the storage engines (such as SQLite, localstorage, IndexedDB) by being provided in varying environment
It is required data cached to store to local.If display component obtains business datum from functional unit, need to obtain by manifold formula
It takes.Same business datum is repeatedly obtained, it can only be by way of repeatedly requesting remote service.And data buffer storage object is to be buffered in
Local, other than first time acquisition business datum needs to request remote service, subsequent request then directly from local acquisition, subtracts
Few repetitive requests, improve response efficiency.The acquisition modes of required business datum should be formulated according to current business demand, but also be had
Certain division mode: 1), can be from function (such as the data pushed in real time) when the update change frequency of data needed for is very fast
It can be obtained in component;It, can be from data buffer storage when the update change frequency of data is slower (configuration data of such as user)
Object acquisition;2) it when required business datum is only applicable to current page, can be obtained from functional unit;When required data are suitable
When for multiple pages, it can be obtained from cache object.
In step S104, business datum is sent to display component by functional unit.
For example, business datum can be transferred to display component by assembly communication mode by functional unit.
In step s105, display component shows business datum.
It will be understood by those skilled in the art that Page Template and module data are there are the relationship of two-way binding, component is interior to be updated
Page Template can render again after business datum, the business after Page Template change binding business datum in meeting synchronized update component
Data.Therefore, renewal of the page can be completed after business datum in display component more New Parent.
After functional unit extracts the information in event object, learns and click the article that display component jumps to this article title
Details page.Then data processing is carried out by functional unit, rather than is directly carried out data processing in display component and jumped
Operation.So, display component reusability with higher.The different pages can quote identical display component, even if aobvious
Show that the event that component is responded is different (such as one is to jump to article details page, and one is deletion this article), after event
Continuous operation transfers to respective functional unit to handle.That is, the present embodiment does not handle event directly in display component, just keep away
Exempt from display component to judge the different operation of user, execute the case where respective response movement.
Component clustering is functional unit and display component from design level by the present embodiment.According to component clustering Rule Extraction
After component, business datum unidirectionally flows into display component from functional unit, and event object unidirectionally flows into functional unit from display component.
Therefore, the present embodiment is suitable for make to decouple between component to the assembly management of MVVM framework, promotes component in software systems
Reusability, to promote the maintainability and scalability of software systems, and reduce during exploitation software systems in phase
Overlapping development work in same or similar module application scene.
Inventor further study show that, the transmitting of data between component and event handling are completed by service.When
When the function of component is complex, the service of dependence will be more.Dependence between component and service is more and more closer, meeting
The close coupling between component and service is caused, the maintainability of software systems is greatly reduced.
To avoid component injection service, service is further divided into data service (Data Service) and industry by inventor
Business service (Business Service).
Business service is the service module for obtaining backend services data, can be drawn according to the difference of traffic data type
Point, and service data visitation interface is provided for other service calls of such as data service.
Data service has the function of transmitting assembly event, business transferring data, has the data for calling business service
Combined interface is accessed, and event subscription object and data subscription object are provided and subscribed to for other assemblies.When data service instance,
All events will be defined, and event identifier is referred to as with unique event name, usually the word of component name and event name composition
Symbol string, and event subscription object is provided.Data service also defines business datum, and is referred to as business with unique business datum name
Data Identification, the character string that usually component name and interface name form, and data subscription object is provided.
In function of initializing component, component subscribes to the data in data service by relying on injection data service instance
It subscribes to object to broadcast the component of subscription when data service obtains more new data from business service, by data-pushing to group
Part.The event subscription object in data service is subscribed to, when there is new event object to update, the component of subscription is broadcasted, it will
Event object pushes to component, and event object is transferred to processing unit to extract the response that event information carries out next step by component.
Some embodiments that event object is sent to functional unit by display component are described below with reference to Fig. 2.
Fig. 2 shows display components event object is sent to functional unit some embodiments flow diagram.Such as
Shown in Fig. 2, the process that event object is sent to functional unit is included step S2021~step S2022 by display component.
In step S2021, event object is sent to data service by display component.
For example, display component submits event object in response to user's operation, to the data service of injection.
In step S2022, data service is wide to all functional units for having subscribed event subscription object in data service
Broadcast event object.
So-called event subscription is a kind of call-back manner of Observer Pattern in design pattern.Observer Pattern defines one
The one-to-many relationship of kind, allows multiple observer's objects while listening for some subject, and the state of this subject occurs
All observer's objects are informed about when change.It include two class objects: theme and observer in Observer Pattern.Theme is responsible for hair
Cloth event, while observer observes the theme by subscribing to these events, theme and observer are decouplings, are not known each other
The presence of other side, the two only share the title of a customized event.
In the present embodiment, event object is transferred to functional unit by data service by display component, and functional unit passes through
After the mode of event subscription monitors the event object for having update in data service, event object is actively obtained.The present embodiment is suitable
For to MVVM framework assembly management and service management so that decoupling between component and service enhance tieing up for software systems
Shield property and scalability.
Some embodiments of business datum are obtained below with reference to Fig. 3 representation function component.
Fig. 3 shows the flow diagram that functional unit obtains some embodiments of business datum.As shown in figure 3, function
The process that component obtains business datum includes step S3031~step S3033.
In step S3031, functional unit sends service data request to data service, and service data request carries business
Data Identification.
In step S3032, data service identifies corresponding business datum from business service acquisition business datum.
For example, data service calls the business datum interface of business service to obtain business datum, which specifically may be used
Think article details content.
In step S3033, business datum is sent to functional unit by data service.
For example, after there is the business datum updated in data service, to having subscribed data subscription object in data service
All functional unit broadcast service datas inform that the business datum in data service has updated to functional unit, and functional unit can
To reacquire updated business datum.
It will be understood by those skilled in the art that data service can not only provide event transmitting and obtain the function of business datum
Can, business datum can also be cached, to avoid repeatedly identical data are requested to the business interface of business service.Display
Component, functional unit can also store business datum to data buffer storage while obtaining upper one layer of institute business transferring data
Object.
In MVVM framework, service is by relying on injection mode by component call, usually singleton.The present embodiment is drawn
Data service is separated as intermediate channel, component only issues the request for obtaining business datum to unified data service, by the number
It goes different business services to obtain specific business datum according to service, and the business updated is obtained by subscribing manner notification component
Data, can be avoided component directly access a variety of services cause component and service between close coupling.The present embodiment be suitable for pair
The assembly management of MVVM framework and service management so that decoupled between component and service, enhance software systems maintainability and
Scalability.
How display component is multiplexed below with reference to Fig. 4 description.
Fig. 4 shows the schematic diagram of some embodiments of multiplexing display component.As shown in figure 4, some component is at the beginning
According to the mode development of display component, such as list items are display component, show list item data when entering current page.
List items are other than showing title, and there is no other functions.
With the change of business, needs to add in list items and delete function, it is made to have certain functionality.At this point, can
Become newly created functional unit to merge the display component (list items) with function items, so that display component is changed into
Functional unit.Wherein, list items are reusable part, and extracting can be used as display component after reusable part (list items) and exist
It is multiplexed in other pages.That is, display component can be multiplexed by different functional units, new functional unit is formed.
Some embodiments of disclosure data processing equipment are described below with reference to Fig. 5.
Fig. 5 shows the structural schematic diagram of the data processing equipment of some embodiments of the disclosure.As shown in figure 5, this implementation
Data processing equipment 50 in example includes: display component 501, is configured as generating event object according to user's operation, and by thing
Part object is sent to functional unit;Display component 501 is additionally configured to show business datum;Functional unit 502 is matched
It is set to and business datum is obtained according to event object, and business datum is sent to display component.
Component clustering is functional unit and display component from design level by the present embodiment.According to component clustering Rule Extraction
After component, business datum unidirectionally flows into display component from functional unit, and event object unidirectionally flows into functional unit from display component.
Therefore, the present embodiment is suitable for make to decouple between component to the assembly management of MVVM framework, promotes component in software systems
Reusability, to promote the maintainability and scalability of software systems, and reduce during exploitation software systems in phase
Overlapping development work in same or similar module application scene.
In some embodiments, functional unit 502 is configured as: according in event object display component mark and user
Operation determines that business datum identifies;It is identified using business datum and obtains business datum.
In some embodiments, data processing equipment 50 further includes data service module 503 and business service module 504;
Functional unit 502 is configured as: sending service data request to data service 503, service data request carries business datum mark
Know;Data service module 503 is configured as: being obtained business datum from business service module 504 and is identified corresponding business datum;It will
Business datum is sent to functional unit 502.
In some embodiments, data service module 504 is configured as: to having subscribed data in data service module 504
Subscribe to 502 broadcast service data of all functional units of object.
In MVVM framework, service is by relying on injection mode by component call, usually singleton.The present embodiment is drawn
Data service is separated as intermediate channel, component only issues the request for obtaining business datum to unified data service, by the number
It goes different business services to obtain specific business datum according to service, and the business updated is obtained by subscribing manner notification component
Data, can be avoided component directly access a variety of services cause component and service between close coupling.The present embodiment be suitable for pair
The assembly management of MVVM framework and service management so that decoupled between component and service, enhance software systems maintainability and
Scalability.
In some embodiments, display component 501 is configured as: event object is sent to data service module 504;Number
It is configured as according to service module 504: to all functional units 502 for having subscribed event subscription object in data service module 504
Broadcast event object.
In the present embodiment, event object is transferred to functional unit by data service by display component, and functional unit passes through
After the mode of event subscription monitors the event object for having update in data service, event object is actively obtained.The present embodiment is suitable
For to MVVM framework assembly management and service management so that decoupling between component and service enhance tieing up for software systems
Shield property and scalability.
In some embodiments, functional unit 502 is configured as: business datum mark pair is obtained from data buffer storage object
The business datum answered, the history service data comprising functional unit storage in data buffer storage object.
In some embodiments, display component 501 is also configured to be multiplexed by different functional units, forms new function
It can component 502.
Some embodiments of disclosure data processing equipment are described below with reference to Fig. 6.
Fig. 6 shows the structural schematic diagram of the data processing equipment of the disclosure other embodiments.As shown in fig. 6, the reality
The data processing equipment 60 for applying example includes: memory 610 and the processor 620 for being coupled to the memory 610, processor 620
It is configured as executing the data processing method in aforementioned any some embodiments based on the instruction being stored in memory 610.
Wherein, memory 610 is such as may include system storage, fixed non-volatile memory medium.System storage
Device is for example stored with operating system, application program, Boot loader (Boot Loader) and other programs etc..
Data processing equipment 60 can also include input/output interface 630, network interface 640, memory interface 650 etc..This
It can for example be connected by bus 660 between a little interfaces 630,640,650 and memory 610 and processor 620.Wherein, defeated
Enter output interface 630 and provides connecting interface for input-output equipment such as display, mouse, keyboard, touch screens.Network interface 640
Connecting interface is provided for various networked devices.The external storages such as memory interface 650 is SD card, USB flash disk provide connecting interface.
The disclosure further includes a kind of computer readable storage medium, is stored thereon with computer instruction, and the instruction is processed
Device realizes the data processing method in aforementioned any some embodiments when executing.
The disclosure is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present disclosure
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all spirit in the disclosure and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the protection scope of the disclosure.
Claims (16)
1. a kind of data processing method, comprising:
Display component generates event object according to user's operation, and the event object is sent to functional unit;
Functional unit obtains business datum according to the event object, and the business datum is sent to display component;
Display component shows the business datum.
2. data processing method as described in claim 1, wherein the functional unit obtains business according to the event object
Data include:
Functional unit determines that business datum identifies according to display component mark and user's operation in the event object;
Functional unit obtains business datum using business datum mark.
3. data processing method as claimed in claim 2, wherein the functional unit identifies acquisition business using business datum
Data include:
Functional unit sends service data request to data service, and the service data request carries business datum mark;
Data service identifies corresponding business datum from business service acquisition business datum;
The business datum is sent to functional unit by data service.
4. data processing method as claimed in claim 3, wherein the business datum is sent to functional group by the data service
Part includes:
Data service broadcasts the business datum to all functional units for having subscribed data subscription object in data service.
5. data processing method as described in claim 1, wherein the event object is sent to functional unit by display component
Include:
The event object is sent to data service by display component;
Data service broadcasts the event object to all functional units for having subscribed event subscription object in data service.
6. data processing method as claimed in claim 2, wherein the functional unit identifies acquisition business using business datum
Data include:
Functional unit obtains business datum from data buffer storage object and identifies corresponding business datum, in the data buffer storage object
History service data comprising functional unit storage.
7. data processing method as described in claim 1, further includes:
Display component is multiplexed by different functional units, forms new functional unit.
8. a kind of data processing equipment, comprising:
Display component is configured as generating event object according to user's operation, and the event object is sent to functional unit;
Display component is additionally configured to show business datum;
Functional unit is configured as obtaining the business datum according to the event object, and the business datum is sent to
Display component.
9. data processing equipment as claimed in claim 8, wherein the functional unit is configured as:
According to the display component mark and user's operation in the event object, determine that business datum identifies;
It is identified using business datum and obtains business datum.
10. data processing equipment as claimed in claim 9, wherein the data processing equipment further includes data service module
And business service module;
The functional unit is configured as: sending service data request to data service, the service data request carries business
Data Identification;
The data service module is configured as: being obtained business datum from business service module and is identified corresponding business datum;It will
The business datum is sent to functional unit.
11. data processing equipment as claimed in claim 10, wherein
The data service module is configured as: to all functional units for having subscribed data subscription object in data service module
Broadcast the business datum.
12. data processing equipment as claimed in claim 8, wherein
The display component is configured as: the event object is sent to data service module;
The data service module is configured as: to all functional units for having subscribed event subscription object in data service module
Broadcast the event object.
13. data processing equipment as claimed in claim 9, wherein the functional unit is configured as:
Business datum is obtained from data buffer storage object and identifies corresponding business datum, includes function in the data buffer storage object
The history service data of component storage.
14. data processing equipment as claimed in claim 8, wherein the display component is also configured to by different functions
Component reusing technology forms new functional unit.
15. a kind of data processing equipment, comprising:
Memory;And
It is coupled to the processor of the memory, the processor is configured to the instruction based on storage in the memory,
Execute the data processing method as described in any one of claims 1 to 7.
16. a kind of computer readable storage medium, wherein the computer-readable recording medium storage has computer instruction, institute
State the data processing method realized as described in any one of claims 1 to 7 when instruction is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910633136.9A CN110321120B (en) | 2019-07-15 | 2019-07-15 | Data processing method, data processing apparatus, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910633136.9A CN110321120B (en) | 2019-07-15 | 2019-07-15 | Data processing method, data processing apparatus, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110321120A true CN110321120A (en) | 2019-10-11 |
CN110321120B CN110321120B (en) | 2021-02-23 |
Family
ID=68123424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910633136.9A Active CN110321120B (en) | 2019-07-15 | 2019-07-15 | Data processing method, data processing apparatus, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110321120B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111191228A (en) * | 2019-12-20 | 2020-05-22 | 京东数字科技控股有限公司 | Service processing method and device, equipment and storage medium |
CN111367446A (en) * | 2020-05-26 | 2020-07-03 | 太平金融科技服务(上海)有限公司 | Business operation method and device, computer equipment and storage medium |
CN112579237A (en) * | 2020-12-17 | 2021-03-30 | 百果园技术(新加坡)有限公司 | Event response method, device, equipment and medium based on MVVM mode |
CN114780196A (en) * | 2022-04-29 | 2022-07-22 | 北京百度网讯科技有限公司 | User interface form rendering method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1986143A1 (en) * | 2007-04-23 | 2008-10-29 | Siemens Energy & Automation, Inc. | Model-based view parts and reusable data source configurations |
CN108427555A (en) * | 2018-01-25 | 2018-08-21 | 山东汇贸电子口岸有限公司 | A kind of model for distributed storage variable data distribution method and system |
CN108958740A (en) * | 2018-06-12 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of data processing method and device |
CN109634599A (en) * | 2018-12-14 | 2019-04-16 | 北京字节跳动网络技术有限公司 | Display methods, device, equipment and the storage medium of page view |
CN109739491A (en) * | 2018-12-25 | 2019-05-10 | 北京金山安全软件有限公司 | Control data display method and device, electronic equipment and storage medium |
-
2019
- 2019-07-15 CN CN201910633136.9A patent/CN110321120B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1986143A1 (en) * | 2007-04-23 | 2008-10-29 | Siemens Energy & Automation, Inc. | Model-based view parts and reusable data source configurations |
CN108427555A (en) * | 2018-01-25 | 2018-08-21 | 山东汇贸电子口岸有限公司 | A kind of model for distributed storage variable data distribution method and system |
CN108958740A (en) * | 2018-06-12 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of data processing method and device |
CN109634599A (en) * | 2018-12-14 | 2019-04-16 | 北京字节跳动网络技术有限公司 | Display methods, device, equipment and the storage medium of page view |
CN109739491A (en) * | 2018-12-25 | 2019-05-10 | 北京金山安全软件有限公司 | Control data display method and device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
唐月等: "广电行业之大数据应用和企业数据应用中心系统架构", 《广播与电视技术》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111191228A (en) * | 2019-12-20 | 2020-05-22 | 京东数字科技控股有限公司 | Service processing method and device, equipment and storage medium |
CN111367446A (en) * | 2020-05-26 | 2020-07-03 | 太平金融科技服务(上海)有限公司 | Business operation method and device, computer equipment and storage medium |
CN112579237A (en) * | 2020-12-17 | 2021-03-30 | 百果园技术(新加坡)有限公司 | Event response method, device, equipment and medium based on MVVM mode |
CN112579237B (en) * | 2020-12-17 | 2024-06-11 | 百果园技术(新加坡)有限公司 | Event response method, device, equipment and medium based on MVVM mode |
CN114780196A (en) * | 2022-04-29 | 2022-07-22 | 北京百度网讯科技有限公司 | User interface form rendering method and device, electronic equipment and storage medium |
CN114780196B (en) * | 2022-04-29 | 2023-07-28 | 北京百度网讯科技有限公司 | User interface form rendering method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110321120B (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110321120A (en) | Data processing method, data processing apparatus, and computer-readable storage medium | |
KR102185864B1 (en) | Server-side rendering method and system of native content for presentation | |
CN109597814B (en) | Online rapid delivery system of background management information system | |
CN101378403B (en) | System and method for processing resource notification based on aggregation | |
US20140258234A1 (en) | Synchronization of cms data to mobile device storage | |
US20130226878A1 (en) | Seamless context transfers for mobile applications | |
CN103312814B (en) | The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user | |
CN101808051B (en) | Application integration gateway and control method thereof | |
CN111176627A (en) | Device and method for separating front end from back end based on micro-service | |
CN103077024A (en) | Device and method for supporting customization and running of software-as-a-service (SaaS) application processes | |
CN105117555A (en) | On-line browsing system of nuclear power three-dimensional design model | |
CN115934855A (en) | Full-link field level blood margin analysis method, system, equipment and storage medium | |
CN104216698A (en) | Webpage registration method and relative device | |
EP2256633A2 (en) | Service provider management device, service provider management program, and service provider management method | |
CN114911482A (en) | Low code application generation system and method in industrial scene | |
CN112612467A (en) | Method and device for processing micro front-end architecture based on qiankun | |
CN102375894A (en) | Method for managing different types of file systems | |
CN102215434A (en) | Electronic program guide system capable of automatically adapting to various screen display | |
CN103593345A (en) | Webpage flow chart editing method and system | |
CN103870280A (en) | Webpage seamless combining processing method based on FLEX and JSP | |
CN102326371B (en) | Transmission method for door application assembly information, and slave station and main station | |
CN114417213A (en) | Browser same-screen method, browser and browser plug-in | |
Gao et al. | Achieving Transparent and Real-time Collaboration in Co-AutoCAD Application. | |
CN102624766B (en) | System integration method and apparatus thereof | |
CN111078736A (en) | Data aggregation processing method and device, terminal and storage medium |
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 |