CN109032568A - Generation method, terminal device and the storage medium of programmed logic - Google Patents
Generation method, terminal device and the storage medium of programmed logic Download PDFInfo
- Publication number
- CN109032568A CN109032568A CN201810775192.1A CN201810775192A CN109032568A CN 109032568 A CN109032568 A CN 109032568A CN 201810775192 A CN201810775192 A CN 201810775192A CN 109032568 A CN109032568 A CN 109032568A
- Authority
- CN
- China
- Prior art keywords
- event
- user
- target
- region
- response
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of generation methods of programmed logic, comprising: chooses operation to the object on preconfigured object editing interface in response to user, being generated on event configuration panel with selected object is the editing area for triggering the event of object;The editing area includes condition entry region, target input region and action input region;Operation in response to the user to the condition entry region, target input region and action input region determines the trigger condition of the event, the target execution function of target object and the target object according to the operation in corresponding input area respectively;Programmed logic, which is generated, according to the configured event configuration panel and the object editing interface describes file.The invention also discloses a kind of terminal device and storage medium, the problem for developing difficult and process complexity can solve, improve development efficiency, while user that need not be familiar with code can also develop program and application.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of generation method of programmed logic, terminal device and deposit
Storage media.
Background technique
With becoming increasingly popular for computer, internet flourishes, currently, people can usually touch respectively in life
APP (Application, application program) or webpage of kind various kinds etc., user can be obtained by various application programs
Knowledge required for taking or fast breath.And these application programs are usually web editor person or programmer are designed by program code
Come, is such as programmed exploitation webpage using html language (HyperTextMark-upLanguage, hypertext markup language)
Deng.
However, inventor has found in the practice of the invention, in general, in development and application program, one is needed
A team come complete different developments (such as design, interaction, front end exploitation or backstage exploitation etc.), development process and communication
The time of consumption is very more, and development cost is higher and the period is longer.And user is required come design application by pure code
It must be familiar with relevant professional code and programmed logic be designed and programmed using code, if if being unfamiliar with correlative code
Programmed logic can not then be developed, limit the idea of people oneself development and application program or website.
Summary of the invention
In view of the above-mentioned problems, the purpose of the present invention is to provide a kind of generation method of programmed logic, terminal device and
Storage medium can solve the problem of exploitation difficulty and process complexity, improve development efficiency, while user need not be familiar with
Code can also develop webpage or website.
In a first aspect, the embodiment of the invention provides a kind of generation methods of programmed logic, comprising:
Operation is chosen to the object on preconfigured object editing interface in response to user, on event configuration panel
Generating with selected object is the editing area for triggering the event of object;The editing area includes condition entry region, mesh
Mark input area and action input region;
The first operation in response to the user to the condition entry region, according to first operation in the condition
The trigger condition of the event is determined on input area;
The second operation in response to the user to the target input region, according to second operation in the target
The target object of the event is determined on input area;
It operates in response to third of the user to the action input region, is operated according to the third in the movement
Determine that the target of the target object executes function on input area;
Programmed logic, which is generated, according to the configured event configuration panel and the object editing interface describes file.
In the first implementation of first aspect, according to the configured event configuration panel and described right
As editing interface generates after programmed logic describes file, further includes:
Described program logical description file is compiled, program object code is generated.
In second of implementation of first aspect, it is described in response to user to preconfigured object editing interface
On object choose operation, generated on event configuration panel with the editing area for the event that selected object be triggering object
Before domain, further includes:
It obtains the object that the user configures on the object editing interface and constructs object tree;
Operation then is chosen to the object on preconfigured object editing interface in response to user, in event configuration panel
Upper generation is the editing area for triggering the event of object with selected object, specifically:
Operation is chosen to the first object in the object tree in response to user, is generated on event configuration panel with quilt
The first object chosen is the editing area for triggering the event of object;
Then second operation in response to the user to the target input region, according to second operation in institute
State the target object that the event is determined in target input region specifically:
When detecting that the target input region is in selected state, obtains the user and chosen in the object tree
The second object;
The target object of the event is determined in the target input region according to second object.
In the third implementation of first aspect, it is described in response to the user to the of the condition entry region
One operation determines the trigger condition of the event according to first operation on the condition entry region specifically:
Trigger condition menu is generated on the condition entry region according to the triggering object;
The first operation in response to the user to the trigger condition menu, according to first operation in the condition
The trigger condition of the event is determined on input area.
In the 4th kind of implementation of first aspect, it is described in response to the user to the of the action input region
Three operations determine that the target of the target object executes function, tool according to third operation on the action input region
Body are as follows:
It is generated on the action input region according to the target object and executes function menu;
The third for executing function menu is operated in response to the user, is operated according to the third in the movement
Determine that the target of the target object executes function on input area.
In the 5th kind of implementation of first aspect, it is described in response to the user to the condition entry region
First operation after the trigger condition of the determining event, is also wrapped on the condition entry region according to first operation
It includes:
When detecting the user on the editing area and carrying out preset condition addition operation, in the editing area
The judgement input area of the event is generated on domain;
In response to the user in the 4th operation of the judgement input area, operate according to the described 4th in the judgement
The Rule of judgment of the trigger condition is determined on input area;Wherein, the Rule of judgment meets the triggering for judging to work as
The target object whether is controlled when object meets the trigger condition executes the corresponding movement of the target execution function.
In the 6th kind of implementation of first aspect, described according to the configured event configuration panel and institute
Object editing interface is stated to generate before programmed logic describes file, further includes:
When detecting the user on the editing area and carrying out preset circulation addition operation, in the editing area
The circulation input area of the event is generated on domain;
In response to the user in the 5th operation of the circulation input area, operate according to the described 5th in the circulation
The endless form of the corresponding movement is determined on input area;Wherein, the endless form is for controlling the target object
Circulation executes the target and executes the corresponding movement of function.
In the 7th kind of implementation of first aspect, described according to the configured event configuration panel and institute
Object editing interface is stated to generate before programmed logic describes file, further includes:
When detecting the user on the editing area and carrying out preset movement addition operation, in the editing area
Generated on domain the event first object input area and the first action input corresponding with the first object input area
Region;
The 6th operation in response to the user to the first object input area, according to the 6th operation described
The first object object of the event is determined on first object input area;
The 7th operation in response to the user to the action input region, according to the 7th operation in the movement
The first object that the first object object is generated on input area executes function.
In the 8th kind of implementation of first aspect, described according to the configured event configuration panel and institute
Object editing interface is stated to generate before programmed logic describes file, further includes:
In response to the user to the call operation of the editing area of the event, utilized according to the call operation default
Formula editors call the attribute of specified object.
Second aspect the embodiment of the invention also provides a kind of terminal device, including processor, memory and is stored in
In the memory and it is configured as the computer program executed by the processor, the processor executes the computer journey
The generation method of programmed logic described in above-mentioned any one is realized when sequence.
The third aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
Storage media includes the computer program of storage, wherein controls the computer-readable storage in computer program operation
Equipment where medium executes the generation method of programmed logic described in above-mentioned any one.
A technical solution in above-mentioned technical proposal, which has the advantages that, finds the object for needing the event of adding, and
To four elements of the event of each object (triggering object, trigger condition, target object and target on preset event configuration panel
Execute function) it is edited, operating process is simple and convenient, it is only necessary to be configured and edit by four elements to event
Realize complicated interaction logic, audience is big;And it can adding conditional module, loop module, movement according to the actual situation
Module etc. can call plain objects and special object so that multiple conditions or event are arranged side by side, while embedded formula editors
Data and attribute etc. realize complicated logic function, can solve the problem of exploitation difficulty and process complexity, improve exploitation effect
Rate, while making user that need not be familiar with code and also can design and develop programmed logic, thus development and application program or website etc..
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in embodiment will be made below
Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of the generation method for the programmed logic that a preferred embodiment of the invention provides.
Fig. 2 is the event edits schematic diagram of the generation method for the programmed logic that a preferred embodiment of the invention provides,
Fig. 3 is that multiple events of the generation method for the programmed logic that a preferred embodiment of the invention provides are illustrated side by side
Figure.
Fig. 4 is multiple triggering objects signal of the generation method for the programmed logic that a preferred embodiment of the invention provides
Figure.
Fig. 5 is the first panel signal of the generation method for the programmed logic that a preferred embodiment of the invention provides
Figure.
Fig. 6 is second of panel signal of the generation method for the programmed logic that a preferred embodiment of the invention provides
Figure.
Fig. 7 is the third panel signal of the generation method for the programmed logic that a preferred embodiment of the invention provides
Figure.
Fig. 8 is the calling object data signal of the generation method for the programmed logic that a preferred embodiment of the invention provides
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It, can be with referring to Fig. 1, a preferred embodiment of the invention provides a kind of generation method of programmed logic
It executes on the terminal device, and the following steps are included:
S10 chooses operation to the object on preconfigured object editing interface in response to user, in event configuration face
Being generated on plate with selected object is the editing area for triggering the event of object;The editing area includes condition entry area
Domain, target input region and action input region.
In the present embodiment, the terminal device equipment can be mobile phone, laptop or PAD (tablet computer) etc.
Mobile terminal, or digital TV or desktop computer etc. fixed terminal.Wherein, it is equipped in the terminal device pre-
If software systems, user can use the software systems and carries out application and development, and herein, the object refers to user institute
The page, material or component etc. for stating middle addition on the object editing interface of software systems, for example, the object can add for user
Page object, object picture, text object, animation object or the video object for adding etc., user can also be to the categories of the object
Property parameter edited and be arranged, such as setting object shape, size, position and color etc., it should be pointed out that in structure
When making an object, each object has the attribute of itself, executes function (power function and handling function) and each execution
Function has the parameter of oneself and returns the result, these parameters and return value are all in the software systems and carry out
Definition, it is to be understood that display mode of each object in the programmed logic ultimately generated is according to user current right
As the configuration information on editing interface and shown in attribute carries out.In the present embodiment, the event is for setting between object
Mutual control planning, when user chosen on the object editing interface object and for the object add event, example
A preset event configuration panel is popped up such as in current interface, and the volume of the event is generated on the event configuration panel
Region is collected, the user is edited in the editing area to the event, to realize that the interaction of application is patrolled
Volume, wherein the object chosen by user is the triggering object of the event, meanwhile, three are generated in the editing area
Input area: condition entry region, target input region and action input region allow the user in each input area
The other elements and its attribute of the event are configured respectively in domain.
In a kind of implementation in the present embodiment, before step S10 further include: obtain the user described right
As the object configured on editing interface constructs object tree.In the present embodiment, if user is in advance in editor circle of software systems
Object is added or created on face, and constructs object tree according to all objects on object editing interface, in the object tree
All objects are contained, and the hierarchical relationship (such as father and son's object relationship) of each object can be embodied.
The then step S10 specifically: operation is chosen to the first object in the object tree in response to user, in thing
Being generated on part configured board with the first selected object is the editing area for triggering the event of object.In being carried out example, when
When user needs to add event to some object, corresponding object can be found in the object tree and carries out event addition,
And being generated on preset event configuration panel with the selected object is the editing area for triggering the event of object, is such as schemed
Shown in 2.,
S20, the first operation in response to the user to the condition entry region, according to first operation described
The trigger condition of the event is determined on condition entry region.
In the present embodiment, the user can add or edit the event in the condition entry region of the event
Trigger condition, and shown on corresponding condition entry region, for example, trigger condition can for " click ", " dragging ",
" data variation ", " display ", " hiding ", " initialization " etc., the trigger condition of all objects is not quite similar, can be according to reality
Situation is determined or is configured by user.
In a kind of implementation of the present embodiment, specifically, according to the triggering object in the condition entry region
Upper generation trigger condition menu;The first operation in response to the user to the trigger condition menu, according to first behaviour
Make the trigger condition that the event is determined on the condition entry region.For example, as shown in Fig. 2, when triggering object has been determined
When, trigger condition menu is obtained according to popping up choice box (i.e. trigger condition menu) on the condition entry region or pulling down,
For selection by the user, after the user selects some condition in trigger condition menu, condition that the user is chosen
As the event trigger condition and shown on the condition entry region, it is to be understood that the triggering item
Multiple preset conditions are contained in part menu, and the condition in the trigger condition menu can be according to the triggering object
Property and determine.
S30, the second operation in response to the user to the target input region, according to second operation described
The target object of the event is determined in target input region.
In the present embodiment, when obtaining the triggering object and trigger condition of the event, it is also necessary to obtain the event
Target object, for example, add or edit the target object of the event in the target input region, as shown in Fig. 2,
The target object that list object selects the event for user can also be popped up in target input region, and the user is selected
In target object shown in the target input region, wherein the target object and the triggering object can be with
For the same object, or different objects.Preferably, the target object can also be multiple objects.
In another implementation in the present embodiment, the target pair of the event can also be chosen from object tree
As specifically, when detecting that the target input region is in selected state, obtaining the user and being selected in the object tree
The second object taken;The target object of the event is determined in the target input region according to second object.At this
In embodiment, user can first click the target input region, so that it is set to selected state, and carry out from the object tree
Selection, obtains the object (i.e. the second object) that the user selects in the object tree, and in the target input region
It determines the target object of the event, i.e., shows second object in the target input region.
S40 is operated in response to third of the user to the action input region, is operated according to the third described
Determine that the target of the target object executes function on action input region.
In the present embodiment, after the target object for having determined the event, the user can be in the event
The target for adding or editing the target object in action input region executes function, such as target object execution function can be
" hiding ", " display ", " transition state ", " duplication object ", " attribute setting ", " movement " etc., it is to be understood that work as user
When selecting the target execution function of the target object, the function parameter or property parameters of function can also be executed to the target
It is configured, such as when it is " transition state " that selected target, which executes function, width, height, rotation to " transition state "
Angle etc. parameter is configured.
In a kind of implementation of the present embodiment, specifically, according to the target object in the action input region
Upper generation executes function menu;The third for executing function menu is operated in response to the user, is grasped according to the third
Make to determine that the target of the target object executes function on the action input region.For example, as shown in Fig. 2, having determined
After target object, the user clicks the action input region and the pop-up execution function menu on the action input region
Or pull down to obtain by user and execute function menu, so that user selects, and by user in the execution function menu
The execution function or target action function chosen execute function as target object corresponding with the target, it is possible to understand that
Being includes multiple preset execution functions in the execution function menu, and can be raw according to the property of the target object
At different execution function menus.
S50 generates programmed logic description according to the configured event configuration panel and the object editing interface
File.
In the present embodiment, it after completing the above operation, is compiled according to above-mentioned configured event configuration panel and object
Editing interface can be generated the corresponding programmed logic for being compiled of the above operation and describe file, it should be noted that opening
When hair application or website, need to go to realize the control mode between each object using multiple events, thus required for realizing
Interaction logic, therefore include multiple events in the event configuration panel, multiple events are arranged side by side, and all events are whole
It is shown in the same event configuration panel, convenient for uniformly checking and managing.Preferably, as shown in figure 3, click can be passed through
Event on Events panel (the i.e. described event configuration panel) adds button, adds multiple events under the same triggering object,
Each event can be edited according to above-mentioned steps simultaneously.Certainly, as shown in figure 4, when current event is arranged in user
After the completion, if user adds new events to another object on the object editing interface at this time, in the event configuration
The editing area of the new events is generated in panel, and repeats above operation and the new events is edited, and herein, is passed through
Four elements (the triggering object, trigger condition, target pair for each event realized required for being configured in the event configuration panel
As and target object execute function), can be with according to above-mentioned configured whole event configured board and object editing interface
It generates corresponding programmed logic and describes file.
In the present embodiment, after step S50, further includes: be compiled, generate to described program logical description file
Program object code.Herein, described program logical description file refers to intermediate code, and described program logical description file is logical
It crosses compiling and generates program object code.Described program object code includes executable code or standard syntax code, wherein described
Executable code is application program, webpage or other executable files etc. that user is developed, the standard speech at runtime
Method code can be carried out customized ultimately generating related application code etc. by user.For example, it is assumed that the triggering object is " to press
Button ", the trigger condition are " click ", and the target object is " lamp " and target execution function is " display ", then may be used
When " button " in the application when the user clicks can be realized in the web application, " lamp " is bright.In this reality
It applies in example, described program logical description file format includes but is not limited to JSON XML text formatting;The compiling refers to conversion
For the process of the format of another corresponding executable file;Described program object code is can be in operating system or application
The code form of operation, including but not limited to JavaScript code, binary system executable file, wechat small routine generation
Code;The running environment of described program object code includes but is not limited to: browser, Windows environment, Linux environment,
Android environment, iOS environment, system built-in application microenvironment;The microenvironment of the system built-in application includes but unlimited
In wechat small routine environment, promising built-in application and service development application code running environment.
The object for the event of adding is needed to add event in conclusion finding, and to each object on preset panel
Four elements (triggering object, trigger condition, target object and target execute function) of event are edited, and operating process is simply square
Just, it is only necessary to which being configured and edit by four elements to event can be realized complicated interaction logic, and audience is big, can
To solve the problems, such as that exploitation is difficult and process is complicated, development efficiency is improved, while making user that need not be familiar with code can also be with
Exploitation design programmed logic may finally obtain required application program, and when user needs to describe file to programmed logic
Or application program is when modifying, it only need to be by being modified accordingly in object editing panel and event configuration panel.
In another preferred embodiment of the invention, it is described in response to the user to the condition entry region
The first operation, after the trigger condition for determining the event on the condition entry region according to first operation, also
Include:
When detecting the user on the editing area and carrying out preset condition addition operation, in the editing area
The judgement input area of the event is generated on domain;The 4th operation in response to the user in the judgement input area, root
The Rule of judgment of the trigger condition is determined on the judgement input area according to the 4th operation;Wherein, the judgement item
Part is for judging that whether controlling the target object when meeting the triggering object and meeting the trigger condition executes the mesh
Mark executes the corresponding movement of function.
It in the present embodiment, according to the actual situation can be to the event nesting judgment module, herein, when user needs
It when adding judgment module or condition module, can be added on the editing area of the event, such as right mouse button addition
Condition module adds button by click conditional, as shown in figure 5, to generate judgement on the editing area of the event
The input area (judging input area) of condition, the region of condition module as shown in Figure 5, so that the user is described
Judge to be set or configured on input area, such as Rule of judgment is set on the region of condition module shown in fig. 5, and
The Rule of judgment of the user configuration is shown on the judgement input area, therefore may finally be by the program of generation
Logical description file generates program object code after being compiled, so that when running described program object code, such as
The target object is just controlled in the web application of generation when detecting that the trigger condition meets the Rule of judgment to execute
The target executes the corresponding movement of function, and herein, the Rule of judgment can use logical operator (such as or and and)
To add multiple Rule of judgment.
In another preferred embodiment of the invention, when the target for needing repeatedly circulation to execute the target object is dynamic
When making, can in corresponding event nested loop module.Specifically, before the step S50, further includes: when detecting
The user generates the event when carrying out preset circulation addition operation on the editing area on the editing area
Circulation input area;In response to the user in the 5th operation of the circulation input area, existed according to the 5th operation
The endless form of the corresponding movement is determined on the circulation input area;Wherein, the endless form is as described in control
Target object circulation executes the target and executes the corresponding movement of function.
It in the present embodiment, can be in the event as shown in fig. 6, when the loop module that user needs addition to act
Editing area on be added, wherein the loop module be used in the application program of generation according to endless form
Or condition recycles the movement perfoming block (i.e. control target object circulation executes corresponding movement) for executing the event, such as mouse
It marks right button adding conditional module or by clicking circulation addition button, circulation input is generated on the editing area of the event
Region (region of loop module as shown in Figure 6), so that the user can be on the circulation input area to following
Ring mode or cycling condition etc. are configured, therefore may finally be described the programmed logic of generation raw after file is compiled
At program object code, so that when running described program object code, such as in the application program of generation according to
Endless form controls the target object circulation and executes the corresponding movement of the target execution function.
In another preferred embodiment of the invention, before the step S50, further includes:
When detecting the user on the editing area and carrying out preset movement addition operation, in the editing area
Generated on domain the event first object input area and the first action input corresponding with the first object input area
Region;In response to the user to the 6th of first object input area operation, according to the 6th operation described the
The first object object of the event is determined in one target input region;In response to the user to the action input region
7th operation is held according to the first object that the 7th operation generates the first object object on the action input region
Line function.
In the present embodiment, multiple target objects can be set in an event and corresponding multiple target objects are held
Line function so that when running finally obtained application program, when the triggering object meets the trigger condition, control with
All target objects can carry out corresponding movement in the corresponding event of triggering object.As shown in fig. 7, herein, it is described
User can add multiple movement perfoming block (i.e. target objects and its mesh in the editing area of the event according to the actual situation
Mark object and execute function), for example, when detecting user's right mouse button addition action module or click action addition button,
Fresh target input area (i.e. first object input area) and corresponding new element are generated on the editing area of the event
Input area (i.e. the first action input region) inputs the user in the fresh target input area and new element
Configuration fresh target object is carried out in region and fresh target object executes function, so that when detecting in described program logic
Triggering object is stated when meeting the trigger condition, the first object object is controlled and executes the first object to execute function corresponding
Movement, as an example, in an event, setting triggering object is " button A ", and trigger condition is " click ", first mesh
It is " display " that object, which is marked, as " first lamp " and corresponding first aim execution function, while second target object is arranged
Executing function for " second lamp " and corresponding second target is " display ", therefore, when the application obtained in compiling
When can be realized described when the user clicks " button A " in program, " first lamp " and " second lamp " is lit.
In another preferred embodiment of the invention, before the step S50, further includes: in response to the use
Family is called according to the call operation using preset formula editors and specified by the call operation of the editing area of the event
The attribute of object.In the present embodiment, the formula editors are an editor modules in the Events panel, to described
When each attribute of an element or parameter of event are edited, it can be called in the event using the formula editors
The related data or attribute of his object, such as some elements (such as target as user in the editing area to the event
Execute function) when being edited, if desired call the related data in other objects, then it can be in corresponding input editing region
Interior calling formula editors, and show in corresponding input editing region the object of calling, such as can be in current event
The value of one text object is set as to the duty inputted in another input frame, or the face an image using formula editors
Color is set as another specified color etc., naturally it is also possible to call the attribute of other objects using formula editors to carry out group
It closes and operation, it is preferable that the called object can be current system, such as using formula editors by a text pair
The content of elephant is shown as the time of current system.As an example, as shown in figure 8, when needing to realize in the application program of generation
It, can be in the mesh of editor's target object (i.e. described picture) when controlling picture movement according to the value that user inputs in input frame
Mark calls preset formula editors when executing function, allows a picture to move along abscissa to realize, and mobile position
(or distance) is set by value that user inputs in input frame to control.
By the above-mentioned means, adding conditional module, loop module or action module etc. according to the actual situation, so that multiple
Part or event can execute side by side, while embedded formula editors, can call the data and category of plain objects and special object
Property etc., it can be realized complicated logic function, all code calls can be almost completed using above-mentioned module, have and completely may be used
Program capability, and operating process is simple and convenient, so that user, which need not be familiar with code also, can have the application of sophisticated functions to carry out
Exploitation improves user experience, improves application and development rate.
Presently preferred embodiment provides a kind of terminal device.The terminal device of the embodiment includes: place
The computer program managing device, display, memory and storage in the memory and can running on the processor, example
Such as the generation program of programmed logic.The processor realizes the generation of above-mentioned each programmed logic when executing the computer program
Step in the embodiment of method, such as step S10 shown in FIG. 1.Illustratively, the computer program can be divided into
One or more modules, one or more of modules are stored in the memory, and are executed by the processor, with
Complete the present invention.One or more of modules can be the series of computation machine program instruction section that can complete specific function,
The instruction segment is for describing implementation procedure of the computer program in the terminal device.
The terminal device can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.
The terminal device may include, but be not limited only to, processor, memory, display.On it will be understood by those skilled in the art that
The example that component is only terminal device is stated, the restriction to terminal device is not constituted, may include more more or less than above-mentioned
Component, perhaps combine certain components or different components, such as the terminal device can also be set including input and output
Standby, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor is the control centre of the terminal device, utilizes the entire terminal device of various interfaces and connection
Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of terminal device.The memory can mainly include storing program area and storage data area, wherein storing program area
It can application program (such as sound-playing function, text conversion function etc.) needed for storage program area, at least one function etc.;
Storage data area, which can be stored, uses created data (such as audio data, text message data etc.) etc. according to mobile phone.This
Outside, memory may include high-speed random access memory, can also include nonvolatile memory, such as hard disk, memory, insert
Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory
Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Wherein, if the module that the terminal device integrates is realized in the form of SFU software functional unit and as independent production
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention realizes
All or part of the process in above-described embodiment method can also instruct relevant hardware to complete by computer program,
The computer program can be stored in a computer readable storage medium, which is being executed by processor
When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described
Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The meter
Calculation machine readable medium may include: can carry the computer program code any entity or device, recording medium, USB flash disk,
Mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate
It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice
When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter
Number and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (11)
1. a kind of generation method of programmed logic characterized by comprising
Operation is chosen to the object on preconfigured object editing interface in response to user, is generated on event configuration panel
It is the editing area for triggering the event of object with selected object;The editing area includes that condition entry region, target are defeated
Enter region and action input region;
The first operation in response to the user to the condition entry region, according to first operation in the condition entry
The trigger condition of the event is determined on region;
The second operation in response to the user to the target input region is inputted according to second operation in the target
The target object of the event is determined on region;
It operates in response to third of the user to the action input region, is operated according to the third in the action input
Determine that the target of the target object executes function on region;
Programmed logic, which is generated, according to the configured event configuration panel and the object editing interface describes file.
2. the generation method of programmed logic according to claim 1, which is characterized in that according to the configured event
Configured board and object editing interface generation programmed logic describe after file, further includes:
Described program logical description file is compiled, program object code is generated.
3. the generation method of programmed logic according to claim 1, which is characterized in that it is described in response to user to preparatory
Object on the object editing interface of configuration chooses operation, and being generated on event configuration panel with selected object is triggering
Before the editing area of the event of object, further includes:
It obtains the object that the user configures on the object editing interface and constructs object tree;
Operation then is chosen to the object on preconfigured object editing interface in response to user, it is raw on event configuration panel
At with the editing area for the event that selected object be triggering object, specifically:
Operation is chosen to the first object in the object tree in response to user, is generated on event configuration panel with selected
The first object be trigger object event editing area;
Then second operation in response to the user to the target input region, according to second operation in the mesh
Mark the target object that the event is determined on input area specifically:
When detecting that the target input region is in selected state, the user chooses in the object tree is obtained
Two objects;
The target object of the event is determined in the target input region according to second object.
4. the generation method of programmed logic according to claim 1, which is characterized in that it is described in response to the user to institute
The first operation for stating condition entry region determines the touching of the event according to first operation on the condition entry region
Clockwork spring part specifically:
Trigger condition menu is generated on the condition entry region according to the triggering object;
The first operation in response to the user to the trigger condition menu, according to first operation in the condition entry
The trigger condition of the event is determined on region.
5. the generation method of programmed logic according to claim 1, which is characterized in that it is described in response to the user to institute
The third operation for stating action input region determines the target object according to third operation on the action input region
Target execute function, specifically:
It is generated on the action input region according to the target object and executes function menu;
The third for executing function menu is operated in response to the user, is operated according to the third in the action input
Determine that the target of the target object executes function on region.
6. the generation method of programmed logic according to claim 1, which is characterized in that described in response to the user couple
First operation in the condition entry region determines the event according to first operation on the condition entry region
After trigger condition, further includes:
When detecting the user on the editing area and carrying out preset condition addition operation, on the editing area
Generate the judgement input area of the event;
In response to the user in the 4th operation of the judgement input area, inputted according to the 4th operation in the judgement
The Rule of judgment of the trigger condition is determined on region;Wherein, the Rule of judgment meets the triggering object for judging to work as
The target object whether is controlled when meeting the trigger condition executes the corresponding movement of the target execution function.
7. the generation method of programmed logic according to claim 1, which is characterized in that described according to configured described
Event configuration panel and object editing interface generation programmed logic describe before file, further includes:
When detecting the user on the editing area and carrying out preset circulation addition operation, on the editing area
Generate the circulation input area of the event;
In response to the user in the 5th operation of the circulation input area, inputted according to the 5th operation in the circulation
The endless form of the corresponding movement is determined on region;Wherein, the endless form is for controlling the target object circulation
It executes the target and executes the corresponding movement of function.
8. the generation method of programmed logic according to claim 1, which is characterized in that described according to configured described
Event configuration panel and object editing interface generation programmed logic describe before file, further includes:
When detecting the user on the editing area and carrying out preset movement addition operation, on the editing area
Generate the event first object input area and with first object input area corresponding first action input region;
The 6th operation in response to the user to the first object input area, according to the 6th operation described first
The first object object of the event is determined in target input region;
The 7th operation in response to the user to the action input region, according to the 7th operation in the action input
The first object that the first object object is generated on region executes function.
9. the generation method of programmed logic according to claim 1, which is characterized in that described according to configured described
Event configuration panel and object editing interface generation programmed logic describe before file, further includes:
In response to the user to the call operation of the editing area of the event, preset public affairs are utilized according to the call operation
Formula editing machine calls the attribute of specified object.
10. a kind of terminal device, which is characterized in that including processor, memory and store in the memory and matched
It is set to the computer program executed by the processor, the processor realizes such as claim when executing the computer program
The generation method of programmed logic described in any one of 1 to 9.
11. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage
Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed
Benefit require any one of 1 to 9 described in programmed logic generation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810775192.1A CN109032568A (en) | 2018-07-13 | 2018-07-13 | Generation method, terminal device and the storage medium of programmed logic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810775192.1A CN109032568A (en) | 2018-07-13 | 2018-07-13 | Generation method, terminal device and the storage medium of programmed logic |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109032568A true CN109032568A (en) | 2018-12-18 |
Family
ID=64642523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810775192.1A Pending CN109032568A (en) | 2018-07-13 | 2018-07-13 | Generation method, terminal device and the storage medium of programmed logic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109032568A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109635266A (en) * | 2018-12-24 | 2019-04-16 | 成都四方伟业软件股份有限公司 | Three-dimensional visualization edit methods, device and three-dimension visible sysem |
CN110162730A (en) * | 2019-04-30 | 2019-08-23 | 北京梧桐车联科技有限责任公司 | Information processing method, device, computer equipment and storage medium |
CN110362309A (en) * | 2019-07-23 | 2019-10-22 | 深圳前海微众银行股份有限公司 | Front end project development method, apparatus, equipment and computer readable storage medium |
CN110543304A (en) * | 2019-09-10 | 2019-12-06 | 联想(北京)有限公司 | Scheme implementation method and device |
CN111191412A (en) * | 2019-12-24 | 2020-05-22 | 远光软件股份有限公司 | Method, device, storage medium and terminal for editing formula |
CN111506308A (en) * | 2020-04-24 | 2020-08-07 | 东莞市精驰软件有限公司 | Human-computer interaction interface visual programming method, system and storage medium |
CN112016889A (en) * | 2020-08-24 | 2020-12-01 | 平安国际智慧城市科技股份有限公司 | Process construction method and device, electronic equipment and storage medium |
CN112230907A (en) * | 2019-07-15 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Program generation method, device, terminal and storage medium |
CN112286546A (en) * | 2020-09-22 | 2021-01-29 | 长沙市到家悠享网络科技有限公司 | Application program updating method, device and equipment |
CN112328235A (en) * | 2020-11-06 | 2021-02-05 | 广州朗国电子科技有限公司 | Method for quickly customizing software application interactive logic |
CN112346618A (en) * | 2020-11-11 | 2021-02-09 | 广州小鹏汽车科技有限公司 | Vehicle service processing method and device |
CN112527274A (en) * | 2020-12-18 | 2021-03-19 | 成都泛微网络科技有限公司 | Data processing method and related equipment |
CN113064587A (en) * | 2021-03-16 | 2021-07-02 | 北京达佳互联信息技术有限公司 | Component control method and device, electronic equipment and storage medium |
CN113515273A (en) * | 2021-04-23 | 2021-10-19 | 东莞市精驰软件有限公司 | Graphic folding method, device, equipment and storage medium of visual programming software |
CN114442550A (en) * | 2022-01-12 | 2022-05-06 | 昆山黎光矮自动化设备有限公司 | Device control method, device, electronic device, system and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6337696B1 (en) * | 1997-06-02 | 2002-01-08 | Microsoft Corporation | System and method for facilitating generation and editing of event handlers |
CN106909385A (en) * | 2017-02-27 | 2017-06-30 | 百度在线网络技术(北京)有限公司 | The operating method of visual page editing machine and visual page editing machine |
CN108021363A (en) * | 2017-12-06 | 2018-05-11 | 广州多益网络股份有限公司 | Visualize game logic edit methods and system |
-
2018
- 2018-07-13 CN CN201810775192.1A patent/CN109032568A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6337696B1 (en) * | 1997-06-02 | 2002-01-08 | Microsoft Corporation | System and method for facilitating generation and editing of event handlers |
CN106909385A (en) * | 2017-02-27 | 2017-06-30 | 百度在线网络技术(北京)有限公司 | The operating method of visual page editing machine and visual page editing machine |
CN108021363A (en) * | 2017-12-06 | 2018-05-11 | 广州多益网络股份有限公司 | Visualize game logic edit methods and system |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109635266A (en) * | 2018-12-24 | 2019-04-16 | 成都四方伟业软件股份有限公司 | Three-dimensional visualization edit methods, device and three-dimension visible sysem |
CN110162730A (en) * | 2019-04-30 | 2019-08-23 | 北京梧桐车联科技有限责任公司 | Information processing method, device, computer equipment and storage medium |
CN112230907B (en) * | 2019-07-15 | 2023-09-15 | 腾讯科技(深圳)有限公司 | Program generation method, device, terminal and storage medium |
CN112230907A (en) * | 2019-07-15 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Program generation method, device, terminal and storage medium |
CN110362309B (en) * | 2019-07-23 | 2023-09-08 | 深圳前海微众银行股份有限公司 | Front-end project development method, device, equipment and computer readable storage medium |
CN110362309A (en) * | 2019-07-23 | 2019-10-22 | 深圳前海微众银行股份有限公司 | Front end project development method, apparatus, equipment and computer readable storage medium |
CN110543304A (en) * | 2019-09-10 | 2019-12-06 | 联想(北京)有限公司 | Scheme implementation method and device |
CN111191412A (en) * | 2019-12-24 | 2020-05-22 | 远光软件股份有限公司 | Method, device, storage medium and terminal for editing formula |
CN111506308A (en) * | 2020-04-24 | 2020-08-07 | 东莞市精驰软件有限公司 | Human-computer interaction interface visual programming method, system and storage medium |
CN111506308B (en) * | 2020-04-24 | 2024-01-05 | 东莞市精驰软件有限公司 | Visual programming method, system and storage medium for man-machine interaction interface |
CN112016889A (en) * | 2020-08-24 | 2020-12-01 | 平安国际智慧城市科技股份有限公司 | Process construction method and device, electronic equipment and storage medium |
CN112286546A (en) * | 2020-09-22 | 2021-01-29 | 长沙市到家悠享网络科技有限公司 | Application program updating method, device and equipment |
CN112328235A (en) * | 2020-11-06 | 2021-02-05 | 广州朗国电子科技有限公司 | Method for quickly customizing software application interactive logic |
CN112346618A (en) * | 2020-11-11 | 2021-02-09 | 广州小鹏汽车科技有限公司 | Vehicle service processing method and device |
CN112527274A (en) * | 2020-12-18 | 2021-03-19 | 成都泛微网络科技有限公司 | Data processing method and related equipment |
CN113064587A (en) * | 2021-03-16 | 2021-07-02 | 北京达佳互联信息技术有限公司 | Component control method and device, electronic equipment and storage medium |
CN113064587B (en) * | 2021-03-16 | 2024-03-26 | 北京达佳互联信息技术有限公司 | Component control method and device, electronic equipment and storage medium |
CN113515273A (en) * | 2021-04-23 | 2021-10-19 | 东莞市精驰软件有限公司 | Graphic folding method, device, equipment and storage medium of visual programming software |
CN113515273B (en) * | 2021-04-23 | 2024-05-24 | 东莞市精驰软件有限公司 | Graphic folding method, device, equipment and storage medium of visual programming software |
CN114442550A (en) * | 2022-01-12 | 2022-05-06 | 昆山黎光矮自动化设备有限公司 | Device control method, device, electronic device, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109032568A (en) | Generation method, terminal device and the storage medium of programmed logic | |
CN102521120B (en) | Software automation test system and method | |
CN111522552B (en) | Sub-application generation method and device, computer equipment and storage medium | |
CN111079047B (en) | Web-oriented page construction system | |
US10592211B2 (en) | Generation of application behaviors | |
Vipul et al. | ReactJS by Example-Building Modern Web Applications with React | |
CN109583591A (en) | Method and system for simplified knowledge engineering | |
CN112445564B (en) | Interface display method, electronic device and computer readable storage medium | |
CN105677448A (en) | Online simulation method and system based on webpage programmable controller | |
Leonidis et al. | Rapid prototyping of adaptable user interfaces | |
Inchiosa et al. | Overcoming design and development challenges in agent-based modeling using ASCAPE | |
Bishop et al. | Developing principles of GUI programming using views | |
Snell et al. | Microsoft Visual Studio 2012 Unleashed: Micro Visua Studi 2012 Unl_p2 | |
CN104081347A (en) | Graphical representation of an order of operations | |
Chin et al. | The Definitive Guide to Modern Java Clients with JavaFX 17 | |
Wang et al. | HolonCraft–an architecture for dynamic construction of smart home workflows | |
Radeke et al. | PIM Tool: Support for pattern-driven and model-based UI development | |
CN112015410A (en) | Webpage editing method, device and system and computer storage medium | |
US20140007045A1 (en) | Systems and methods for enabling customization of visual elements based on a specified class | |
CN114327709A (en) | Control page generation method and device, intelligent device and storage medium | |
CN112445501A (en) | Data burning method and device and computer readable storage medium | |
Colombo-Mendoza et al. | Alexandria: a visual tool for generating multi-device rich internet applications | |
GB2523074A (en) | A method and system for modifying deployed applications | |
Grinev | Mastering JavaFX 10: Build advanced and visually stunning Java applications | |
CN113806596B (en) | Operation data management method and related device |
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 |