CN106293721B - Visual programming system based on stream data real-time storage - Google Patents

Visual programming system based on stream data real-time storage Download PDF

Info

Publication number
CN106293721B
CN106293721B CN201610626273.6A CN201610626273A CN106293721B CN 106293721 B CN106293721 B CN 106293721B CN 201610626273 A CN201610626273 A CN 201610626273A CN 106293721 B CN106293721 B CN 106293721B
Authority
CN
China
Prior art keywords
tuple
time
data
storage
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610626273.6A
Other languages
Chinese (zh)
Other versions
CN106293721A (en
Inventor
童培诚
段会锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fast Creation Technology (dalian) Co Ltd
Original Assignee
Fast Creation Technology (dalian) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fast Creation Technology (dalian) Co Ltd filed Critical Fast Creation Technology (dalian) Co Ltd
Priority to CN201610626273.6A priority Critical patent/CN106293721B/en
Publication of CN106293721A publication Critical patent/CN106293721A/en
Application granted granted Critical
Publication of CN106293721B publication Critical patent/CN106293721B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of visual programming systems based on stream data real-time storage, including graphical element storing unit, code unit, edit cell, storage unit and display unit.Graphical element storing unit, the element memory contain a plurality of types of animated elements and figure module for supporting mouse drag;Animated element can be image modules, the image for indicating animal and sound module, action module expression module of multiple expression personages etc..This system classifies traditional programmed statements by rule, and by the storage of the sentence of specific classification at the logic figure block of specific shape, and relevant mark is done on logic figure block, use is pulled since data flow generates in real time for user, system is flowed into real time, therefore we carry out real-time storage using image object of the aforesaid way to generation using storage unit, ensure that whole storages of data information.

Description

Visual programming system based on stream data real-time storage
Technical field
The present invention relates to visual programming technique field more particularly to a kind of visualizations based on stream data real-time storage Programing system.
Background technique
With popularizing for computer science and technology, the connection of people and computer, network is more and more closer, for software Demand is also increasing, but software development is always the field of professional person, especially computer program design, is related to big A large amount of professional knowledge such as Computer Basic Knowledge, Data Structure and Algorithm, design pattern, programming language grammer of amount are for simultaneously It for the user for not having computer major technology, looks on the bright side of things and sends out one's own software a, be practically impossible to the dream completed Think.Visual programming technique is used widely in a computer network.
Summary of the invention
According to problem of the existing technology, the present invention discloses a kind of visual programming based on stream data real-time storage System, comprising:
Graphical element storing unit, the element memory contain a plurality of types of animated elements and figure for supporting mouse drag Shape module;
Code unit stores each edit operation and instructs corresponding code information;
Edit cell, transfer code information in the data information and code unit in graphical element storing unit according to User demand carries out the editor of new Drawing Object, and each Drawing Object real-time transmission editted to storage unit is carried out Storage, the edit cell is connected with display unit, and the display unit is by the editing process of each new Drawing Object Video information carries out visualization display;
The storage element stores multiple Drawing Object information by the way of stream data real-time storage.
When the storage unit receives multiple Drawing Object information at the same time, the information received is divided into and is arranged successively Tuple tuple, tuple tuple has multiple field lists to show multiple attribute values of data item, the data flow of Drawing Object is denoted as The s of discrete orderly timestamp t and characterize data item modes relationships, are denoted as binary group<s, and t>, timestamp t can be with mark data The arrival time of stream, s are made of multiple values of data item and the actual content of data item, are to have s kind by tuple formal definitions The vector of different data item composition, the tuple tuple on each timestamp is defined as:
Tuple (t)=< s1(t),s2(t)……,sn(t)>
Then graphic object data tuple is stream data, and form is S={ tuple (1), tuple (2) ... ..., tuple (T) }, T is timestamp, and at the time of time shaft is divided into different grain size, the range value 0 of its rank arrives logαIt (T), then should be by The timestamp rule of the data of storage is as follows:
1) in time interval αi, α is integer and α >=1, when the time value of snapshot can be by αiWhen dividing exactly, the fast note of the i-th rank It is stored;
2) at any time, for rank i, only last+1 snapshot of α is stored;
3) for data flow, maximum order is logα(T), it is time since program till now;
4) for data flow, maximum snapshot quantity is (α+1) * logα(T), ibid;
5) the time window h specified for any user can at least find a stored snapshot within the 2*h time.
The edit cell includes aid prompting module, the operational motion letter of the aid prompting module record edit cell Breath, the operation that aid prompting module calls record when user transfers specific figure, before prompting user whether to use Operating procedure.
By adopting the above-described technical solution, the visual programming system provided by the invention based on stream data real-time storage System, has the following advantages that, without installation, opening webpage be can be used.Project data cloud saves, and provides for user's mobile office It is convenient, while the situations such as file, loss of data caused by can be avoided because of personal computer damage.It is powerful: perfect real It is assembled by the reasonable combination of graphic element now in the case where estimated function, programming process can be simplified, complicated operation is become It is easily quick.Expandability is strong: initial material can be used to develop the graphic element of oneself in user, has extremely strong plastic Property.Meanwhile extendible template is provided for other users use after upload.And storing data information is rapidly and accurately.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, 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 The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts, It is also possible to obtain other drawings based on these drawings.
Fig. 1 is the structural block diagram of system disclosed by the invention;
Fig. 2 is the schematic diagram of stream data in the present invention.
Specific embodiment
To keep technical solution of the present invention and advantage clearer, with reference to the attached drawing in the embodiment of the present invention, to this Technical solution in inventive embodiments carries out clear and complete description:
A kind of visual programming system based on stream data real-time storage as shown in Figure 1, including graphical element are deposited Storage unit, code unit, edit cell, storage unit and display unit.
Graphical element storing unit, the element memory contain a plurality of types of animated elements and figure for supporting mouse drag Shape module;Animated element can be multiple image modules for indicating personage, the image for indicating animal and sound module, movement mould Block expression module etc..
Code unit stores each edit operation and instructs corresponding code information;Each pass through the movement of mouse drag It is all based on code realization.
Edit cell, transfer code information in the data information and code unit in graphical element storing unit according to User demand carries out the editor of new Drawing Object, and each Drawing Object real-time transmission editted to storage unit is carried out Storage, the edit cell is connected with display unit, and the display unit is by the editing process of each new Drawing Object Video information carries out visualization display;The graphical element storing unit that programming personnel will be selected by the demand of itself when programming In image module, sound module, action module expression module etc. be combined, that then transfers in code unit corresponding needs The code of movement is asked to be combined, combination forms the complete program code for being able to carry out and terminating, and completes this programming action.
The storage element stores multiple Drawing Object information by the way of stream data real-time storage.
As shown in Figure 2: stream data refers to the sequence that primary data can only be read with the sequence provided in advance Column, stream data show as continuous, continual, non-structured data-message queue, individual data in stream data Item occurs in the form of tuple (tuple).Stream data can also be regarded as the oriented nothing formed as unit of tuple The data flow on boundary.
When the storage unit receives multiple Drawing Object information at the same time, the information received is divided into and is arranged successively Tuple tuple, tuple tuple has multiple field lists to show multiple attribute values of data item, the data flow of Drawing Object is denoted as The s of discrete orderly timestamp t and characterize data item modes relationships, are denoted as binary group<s, and t>, timestamp t can be with mark data The arrival time of stream, s are made of multiple values of data item and the actual content of data item, are to have s kind by tuple formal definitions The vector of different data item composition, the tuple tuple on each timestamp is defined as:
Tuple (t)=< s1(t),s2(t)……,sn(t)>
Then graphic object data tuple is stream data, and form is S={ tuple (1), tuple (2) ... ..., tuple (T) }, T is timestamp, and at the time of time shaft is divided into different grain size, the range value 0 of its rank arrives logαIt (T), then should be by The timestamp rule of the data of storage is as follows:
1) in time interval αi, α is integer and α >=1, when the time value of snapshot can be by αiWhen dividing exactly, the fast note of the i-th rank It is stored;
2) at any time, for rank i, only last+1 snapshot of α is stored;
3) for data flow, maximum order is logα(T), it is time since program till now;
4) for data flow, maximum snapshot quantity is (α+1) * logα(T), ibid;
5) the time window h specified for any user can at least find a stored snapshot within the 2*h time.
The edit cell includes aid prompting module, the operational motion letter of the aid prompting module record edit cell Breath, the operation that aid prompting module calls record when user transfers specific figure, before prompting user whether to use Operating procedure.The extra operation of edit cell is reduced in this way, can complete more edit operations at the same time.
This system classifies traditional programmed statements by rule, and the sentence of specific classification is stored into specific shape The logic figure block of shape, and relevant mark is done on logic figure block, use is pulled since data flow is real-time for user It generates, flows into system in real time, therefore we deposit the image object of generation using aforesaid way using storage unit in real time Storage ensure that whole storages of data information.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.

Claims (1)

1. a kind of visual programming system based on stream data real-time storage, characterized by comprising:
Graphical element storing unit, the element memory contain a plurality of types of animated elements and figure mould for supporting mouse drag Block;
Code unit stores each edit operation and instructs corresponding code information;
Edit cell transfers the code information in the data information and code unit in graphical element storing unit according to user Demand carries out the editor of new Drawing Object, and each Drawing Object real-time transmission to the storage unit editted is deposited Storage, the edit cell is connected with display unit, and the display unit is by the view of the editing process of each new Drawing Object Frequency information carries out visualization display;
The storage element stores multiple Drawing Object information by the way of stream data real-time storage;
When the storage unit receives multiple Drawing Object information at the same time, the information received is divided into and is arranged successively Tuple tuple, multiple attribute values that tuple tuple has multiple field lists to show data item, by the data flow of Drawing Object be denoted as from The s for dissipating orderly timestamp t and characterize data item modes relationships, is denoted as binary group<s, and t>, timestamp t can be with mark data stream Arrival time, s is made of multiple values of data item and the actual content of data item, is to have n kind not by tuple formal definitions Tuple tuple with the vector of data item composition, on each timestamp is defined as:
Tuple (t)=< s1(t),s2(t)……,sn(t)>
Then graphic object data tuple is stream data, and form is S={ tuple (1), tuple (2) ... ..., tuple (T) }, T is timestamp, and at the time of time shaft is divided into different grain size, the range value 0 of its rank arrives logα(T), then it should be stored Data timestamp rule it is as follows:
1) in time interval αi, α is integer and α >=1, when the time value of snapshot can be by αiWhen dividing exactly, the fast note of the i-th rank is deposited Storage;
2) at any time, for rank i, only last+1 snapshot of α is stored;
3) for data flow, maximum order is logα(T), it is time since program till now;
4) for data flow, maximum snapshot quantity is (α+1) * logα(T);
5) the time window h specified for any user can at least find a stored snapshot within the 2*h time;
The edit cell includes aid prompting module, the operational motion information of the aid prompting module record edit cell, The operation that aid prompting module calls record when user transfers specific figure, the behaviour before prompting user whether to use Make step.
CN201610626273.6A 2016-08-02 2016-08-02 Visual programming system based on stream data real-time storage Active CN106293721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610626273.6A CN106293721B (en) 2016-08-02 2016-08-02 Visual programming system based on stream data real-time storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610626273.6A CN106293721B (en) 2016-08-02 2016-08-02 Visual programming system based on stream data real-time storage

Publications (2)

Publication Number Publication Date
CN106293721A CN106293721A (en) 2017-01-04
CN106293721B true CN106293721B (en) 2019-05-24

Family

ID=57664342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610626273.6A Active CN106293721B (en) 2016-08-02 2016-08-02 Visual programming system based on stream data real-time storage

Country Status (1)

Country Link
CN (1) CN106293721B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230907B (en) * 2019-07-15 2023-09-15 腾讯科技(深圳)有限公司 Program generation method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196818A (en) * 2006-12-08 2008-06-11 上海全景数字技术有限公司 Fast graphical developing system
CN1981301B (en) * 2004-05-17 2012-01-18 因文西斯系统公司 System and method for developing animated visualization interfaces
CN105593844A (en) * 2013-09-20 2016-05-18 甲骨文国际公司 Database access

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9298428B2 (en) * 2013-02-27 2016-03-29 Keysight Technologies, Inc. Graphical user interface editor that displays live data during editing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1981301B (en) * 2004-05-17 2012-01-18 因文西斯系统公司 System and method for developing animated visualization interfaces
CN101196818A (en) * 2006-12-08 2008-06-11 上海全景数字技术有限公司 Fast graphical developing system
CN105593844A (en) * 2013-09-20 2016-05-18 甲骨文国际公司 Database access

Also Published As

Publication number Publication date
CN106293721A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN108512691A (en) Cloud automatic early-warning O&M monitoring system based on Hadoop
US10956684B2 (en) Topic kernelization for real-time conversation data
CN105190616B (en) Every ranking factor in visualizing search results list
US8751921B2 (en) Presenting annotations in hierarchical manner
CN110058856A (en) Page configuration method and device
CN104205140B (en) Include the Modern electronic calendar system on free form input electronic calendar surface
CN110520853A (en) The queue management of direct memory access
Jankowski et al. Storm Applied: Strategies for real-time event processing
CN109960686A (en) The log processing method and device of database
EP2909739A1 (en) Methods and systems for managing spreadsheet models
CN105653255B (en) A method of report template is set in OFFICE frames to automatically generate report file
CN108733532A (en) Health degree management-control method, device, medium and the electronic equipment of big data platform
CN106372159A (en) Visual exhibition method and system for multistage data relation
CN106294439A (en) A kind of data recommendation system and data recommendation method thereof
TW201804308A (en) Display element generating method, display element generating apparatus, display element, and communication software
CN109190025A (en) information monitoring method, device, system and computer readable storage medium
CN109586950A (en) Network scenarios recognition methods, network management device, system and storage medium
CN106293721B (en) Visual programming system based on stream data real-time storage
CN106250154B (en) Visual programming system based on the real-time cloud storage of stream data
CN104794567B (en) A kind of Infectious Diseases Data management method based on HBase
US20130036140A1 (en) Information management and continuity
CN106250155B (en) Visual programming system with memory function and detection arbitration functions
Krueger et al. Prolix-visual prediction analysis for box office success
CN109614548A (en) Information displaying method, device and storage medium based on service-user number change rate
KR20230053673A (en) Automatic generation of events using machine learning models

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 116023 No. 11, B block, 32 Torch Road, Dalian high tech Industrial Park, Liaoning, China.

Applicant after: Fast creation technology (Dalian) Co., Ltd.

Address before: 116000 B block 1101, Pioneer Building, 32 Torch Road, Dalian new high tech park, Liaoning

Applicant before: Dalian Wensente Software Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant