CN109271157A - Software development methodology, equipment and computer readable storage medium - Google Patents

Software development methodology, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109271157A
CN109271157A CN201811047675.6A CN201811047675A CN109271157A CN 109271157 A CN109271157 A CN 109271157A CN 201811047675 A CN201811047675 A CN 201811047675A CN 109271157 A CN109271157 A CN 109271157A
Authority
CN
China
Prior art keywords
behavior tree
instruction
interface
identification code
message
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
Application number
CN201811047675.6A
Other languages
Chinese (zh)
Other versions
CN109271157B (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.)
Shenzhen East Micro Smart Polytron Technologies Inc
Original Assignee
Shenzhen East Micro Smart Polytron Technologies Inc
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 Shenzhen East Micro Smart Polytron Technologies Inc filed Critical Shenzhen East Micro Smart Polytron Technologies Inc
Priority to CN201811047675.6A priority Critical patent/CN109271157B/en
Publication of CN109271157A publication Critical patent/CN109271157A/en
Application granted granted Critical
Publication of CN109271157B publication Critical patent/CN109271157B/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/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The present invention provides a kind of software development methodology, equipment and computer readable storage medium.Software development methodology includes detection interface editing sign on, enables interface editing function according to the interface editing sign on;Receive the event inserting instruction of target widget;The exclusive identification code of target widget goal behavior tree corresponding with the event inserting instruction is bound according to the event inserting instruction;Interface editing END instruction is detected, the interface data file at the interface edited is generated according to the interface editing END instruction, and is saved.In the present invention, by being inserted into exclusive identification code corresponding with behavior tree in the event of target widget, it is loaded according to exclusive identification code and executes corresponding behavior tree, the execution of logic business is completed by behavior tree, Quick Extended or modification business can be reached by only needing to increase or delete node, only need to can fast implement the multiplexing of function by binding identical exclusive identification code.

Description

Software development methodology, equipment and computer readable storage medium
Technical field
The present invention relates to technical field of software development more particularly to a kind of software development methodologies, equipment and computer-readable Storage medium.
Background technique
Existing software development technique is usually to be realized by compiled code, by code come composing software with as follows Disadvantage: 1) it when need activate business can only modify code by way of be solved;2) it needs to pass through when business has modification Software must be recompilated to realize by adjusting code;3) when multiple softwares have identical function when, can only by code reuse come Overlapping development is avoided, but thus can bring software compatibility issue.
Summary of the invention
The main purpose of the present invention is to provide a kind of software development methodology, equipment and computer readable storage medium, purports Caused software when needing to recompilate trouble caused by code and multiplexing functions when solving and realizing software function extension Compatibility issue.
To achieve the above object, the present invention provides a kind of software development methodology, and the software development methodology includes following step It is rapid:
Interface editing sign on is detected, interface editing function is enabled according to the interface editing sign on;
Receive the event inserting instruction of target widget;
According to the event inserting instruction by target widget goal behavior tree corresponding with the event inserting instruction Exclusive identification code bound;
Interface editing END instruction is detected, the interface at the interface edited is generated according to the interface editing END instruction Data file, and save.
Preferably, described according to the event inserting instruction that the target widget is corresponding with the event inserting instruction Before the step of exclusive identification code of behavior tree is bound, further includes:
Behavior tree template is transferred according to the event inserting instruction;
The node edit instruction based on the behavior tree template for receiving user's input, it is raw according to the node edit instruction At the goal behavior tree with exclusive identification code, and save:
Preferably, the node edit instruction includes newly-increased news release node instruction, the base for receiving user's input In the node edit instruction of the behavior tree template, the target line with exclusive identification code is generated according to the node edit instruction To set, and the step of saving includes:
Receive the newly-increased news release node instruction based on the behavior tree template of user's input;
According to the newly-increased news release node instruction, increase news release on the destination node of the behavior tree template Node, and define according to the newly-increased news release node instruction match messages information of the news release node;
Goal behavior tree is generated, and is saved.
Preferably, described according to the event inserting instruction that the target widget is corresponding with the event inserting instruction After the step of exclusive identification code of behavior tree is bound, further includes:
Receive the message subscribing instruction of the target widget;
Readjustment configuration is carried out to the target widget according to message subscribing instruction, the readjustment configuration includes described Match messages information, the exclusive identification code of preset readjustment behavior tree.
Preferably, the detection interface editing END instruction will edited according to the interface editing END instruction Interface data file, and before the step of saving, further includes:
Receive the attributes edit instruction of the target widget;
It is edited and is saved to by the display information of the target widget according to attributes edit instruction, the display Information includes the target widget in the location information at interface, the size information of target widget and background picture information.
Preferably, the detection interface editing END instruction will edited according to the interface editing END instruction Interface data file, and after the step of saving, further includes:
Detect interface operating instruction;
The corresponding interface data file of the interface operating instruction is loaded and rendered according to the interface operating instruction, is obtained Target interface;
Receive the event triggering command of the target widget of the target interface;
According to the event triggering command, the exclusive identification code of corresponding goal behavior tree is obtained, and according to the target The exclusive identification code of behavior tree searches and executes the goal behavior tree.
Preferably, described according to the event triggering command, obtain the exclusive identification code of corresponding goal behavior tree, and root After the step of searching according to the exclusive identification code of the goal behavior tree and execute the goal behavior tree, further includes:
The message for detecting the news release node publication of the goal behavior tree, issues the message to the overall situation;
Target widget receives the message, and corresponding with the match messages information of the message according to message acquisition The exclusive identification code of preset readjustment behavior tree, and searched according to the exclusive identification code of the readjustment behavior tree and execute described return Tune behavior tree.
Preferably, the target widget receives the message, and obtains the message with the message according to the message Exclusive identification code with the corresponding preset readjustment behavior tree of information, and searched according to the exclusive identification code of the readjustment behavior tree And the step of executing the readjustment behavior tree, includes:
The target widget receives the message;
Judge whether match messages information and the match messages information in readjustment configuration of the message are consistent;
If the match messages information of the message is consistent with the match messages information in the readjustment configuration, according to The exclusive identification code of match messages acquisition of information readjustment behavior tree corresponding with the match messages information, and according to the readjustment The exclusive identification code of behavior tree searches and executes the readjustment behavior tree;
If the match messages information of the message and the match messages information in the readjustment configuration are inconsistent, do not locate Reason.
In addition, to achieve the above object, the present invention also provides a kind of software development equipment, which is characterized in that the software Development equipment includes processor, memory and is stored on the memory and can be opened by the software that the processor executes Program is sent out, wherein realizing as described in any one of claims 1 to 8 when the software development procedures are executed by the processor Software development methodology the step of.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Software development procedures are stored on storage medium, wherein realizing claim 1 when the software development procedures are executed by processor The step of to software development methodology described in any one of 8.
The present invention enables interface editing function by detection interface editing sign on, according to interface editing sign on, The event inserting instruction for receiving target widget, according to event inserting instruction by target widget target corresponding with event inserting instruction The exclusive identification code of behavior tree is bound, and interface editing END instruction is detected, and is generated according to interface editing END instruction The interface data file at the interface of editor, and save.In technical solution of the present invention, by being inserted into the event of target widget Exclusive identification code corresponding with behavior tree loads according to exclusive identification code and executes corresponding behavior tree, by behavior tree come complete At the execution of logic business, it is only necessary to the node of behavior tree is accordingly increased or is deleted, that is, can reach Quick Extended or Modification business, while when needing multiplexing functions, it is only necessary to function can be fast implemented by binding identical exclusive identification code Multiplexing.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of software development equipment involved in the embodiment of the present invention;
Fig. 2 is the flow diagram of invention software development approach first embodiment;
Fig. 3 is the flow diagram of invention software development approach second embodiment;
Fig. 4 is the node edit instruction based on the behavior tree template that user's input is received in the embodiment of the present invention, root The goal behavior tree with exclusive identification code, and the refinement flow diagram saved are generated according to the node edit instruction;
Fig. 5 is the flow diagram of invention software development approach 3rd embodiment;
Fig. 6 is the flow diagram of invention software development approach fourth embodiment;
Fig. 7 is the flow diagram of the 5th embodiment of invention software development approach;
Fig. 8 is the flow diagram of invention software development approach sixth embodiment;
Fig. 9 is the flow diagram of the 7th embodiment of invention software development approach.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The main thought of the embodiment of the present invention is: the software for providing a kind of Quick Extended function of Behavior-based control tree is opened Equipment is sent out, which realizes the generation at each interface based on software development methodology.The software development methodology is based on The behavior tree editing machine and interface editor for being built in the software development equipment are completed.When editing to interface, interface is compiled It collects device to detect interface editing sign on and enable, interface editor includes multiple built-in controls, when the target control of receiving When the event inserting instruction of part, according to event inserting instruction by target widget goal behavior tree corresponding with event inserting instruction Exclusive identification code is bound.After the event of multiple controls is inserted, that is, the editor at the interface is completed, generates interface number According to file and save.Behavior-based control editing machine realizes additions and deletions operation, change in location operation to behavior tree node etc., with quickly real The Function Extension of existing business and modification.In addition, each behavior tree saves as a file, there is exclusive identification code, with thing Part binding be behavior tree exclusive identification code, rather than behavior tree itself so that behavior tree can rapid multiplexing, reduction system It is lengthy and jumbled.
The present embodiments relate to software development methodology be mainly used in software development equipment, which can To be the equipment with display and processing function such as PC, portable computer, mobile terminal.
Referring to Fig.1, Fig. 1 is software development device structure schematic diagram involved in the embodiment of the present invention.The present invention is real It applies in example, software development equipment may include processor 1001 (such as CPU), communication bus 1002, user interface 1003, network Interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components;User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard);Network interface 1004 optionally can be with Including standard wireline interface and wireless interface (such as WI-FI interface);Memory 1005 can be high speed RAM memory, can also be with It is stable memory (non-volatile memory), such as magnetic disk storage, memory 1005 optionally can also be only Stand on the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that hardware configuration shown in Fig. 1 does not constitute the restriction to equipment, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of computer readable storage medium may include operation system System, network communication module and software development procedures.
In Fig. 1, network communication module is mainly used for connecting server, carries out data communication with server;And processor 1001 can call the software development procedures stored in memory 1005, and the step of executing following software development methodology.
The embodiment of the invention provides a kind of software development methodologies.
It is the flow diagram of invention software development approach first embodiment referring to Fig. 2, Fig. 2.It is described in the present embodiment Software development methodology the following steps are included:
Step S10 detects interface editing sign on, enables interface editing function according to interface editing sign on;
In software development process, the construction of software interface is the pith of human-computer interaction and software uses first Impression is the important component of software design.The software of one perfect in shape and function is by with multiple interfaces, between multiple interfaces It can easily realize switching.On each interface have multiple control buttons, by click or open control button can be realized with The execution of the corresponding event of control, the result that event executes often are shown on interface.In the present embodiment, software development methodology It is proposed based on software development equipment, software development equipment includes interface editor and behavior tree editing machine, starts progress software and opens When hair, interface editor detects interface editing sign on, obtains and enables interface editing according to interface editing sign on Function.Interface editor can create new interface based on a basic document, can also be carried out based on existing interface file The modification or extension of interface function.When needing to innovate an interface again, interface editor loads template from basic document Configuration file, and initialize template profile and form editing interface, at this point, being shown on editing interface multiple built-in wait compile The basic control collected.When needing to carry out the modification or extension of function to existing interface, interface editor is then from object interface Interface file in load relevant configuration file, and initialize the configuration file in interface file formed editing interface, at this time The control information of editing interface and the one-to-one correspondence of object interface realize object interface function by carrying out editor to control information Modification or extension.
It is understood that interface editor includes display window, be provided on display window design area, design area with i.e. By the interface of generation there are mapping relations, the information such as display position, the display size of control in design area with generate interface It is identical, there is the relationship mapped one by one, i.e. design area provides the preview function for generating interface.Further, on display window It is additionally provided with controls region, controls region is used to show built-in various controls, and the control of controls region can be copied to by towing to be set Count area.In addition, display window further includes attribute area, attribute area control is associated with the attribute for showing control, and for edit control Attribute, the editor of size, background including control, the message subscribing of control etc..
Step S20 receives the event inserting instruction of target widget;
Obtain the event inserting instruction for the target widget that user triggers on display window.One target widget can correspond to There are multiple event inserting instructions, when there are multiple event inserting instructions, according to the corresponding goal behavior tree of event inserting instruction Successive insertion sequence execute.
Step S30, it is according to the event inserting instruction that the goal behavior tree is corresponding with the event inserting instruction The exclusive identification code of goal behavior tree is bound;
After receiving event inserting instruction, interface editor can provide three kinds of binding options according to event inserting instruction, One is transferring saving contents for goal behavior tree, subordinate act tree saves contents the middle exclusive identification code for obtaining goal behavior tree, And target widget and the exclusive identification code of goal behavior tree are bound;Another kind is to provide input frame, and mesh is inputted in input frame The exclusive identification code of mark behavior tree, and target widget and the exclusive identification code of goal behavior tree are bound;The third is according to thing Part inserting instruction transfers behavior tree editing machine, is updated by logic of the behavior tree editing machine to behavior tree template, and Edited behavior tree is saved, obtains the exclusive identification code of new behavior tree, and only by target widget and goal behavior tree The binding of one identification code.Goal behavior tree is stored in the behavior tree file in memory 1005 with json format, facilitates multiplexing. Each behavior tree has unique identification code, without doing the specified of identification information through central control terminal, in this way In the case where, just it is not required to consider title replication problem when Database.
In the present embodiment, according to event inserting instruction by goal behavior tree goal behavior tree corresponding with event inserting instruction Displacement identification code bound, rather than target widget and behavior tree itself are bound, advantageously reduce interface file Size, shorten the enabling time at interface.Goal behavior tree is maintained in behavior tree file, can when executing the event To search goal behavior tree, and performance objective behavior tree by exclusive identification code.
Step S40 detects interface editing END instruction, generates the interface edited according to interface editing END instruction Interface data file, and save.
After inserting event in multiple target widgets, user triggers interface editing END instruction, at this time interface editing Device detects interface editing END instruction, and according to interface editing END instruction by the interface data file at the interface edited It generates preset format to be saved, preferably by interface data file with the preservation of json format.Each interface is corresponding to generate interface Data file, the config directory of a software are provided with interface data file folder, include multiple boundaries in interface data file folder Face data file saves the unique identification of the corresponding goal behavior tree of event of each target widget in interface data file Code.In addition, being additionally provided in behavior tree file in config directory, more behavior trees are preserved in behavior tree file.
In above-mentioned technical proposal, by detecting interface editing sign on, interface is enabled according to interface editing sign on Editting function receives the event inserting instruction of target widget, according to event inserting instruction by target widget and event inserting instruction The exclusive identification code of corresponding goal behavior tree is bound, and is detected interface editing END instruction, is terminated to refer to according to interface editing The interface data file for generating the interface edited is enabled, and is saved.In technical solution of the present invention, by target widget It is inserted into exclusive identification code corresponding with behavior tree in event, corresponding behavior tree is loaded and executed according to exclusive identification code, is passed through Behavior tree completes the execution of logic business, it is only necessary to the node of behavior tree be accordingly increased or be deleted, that is, can reach Quick Extended or modification business, while when needing multiplexing functions, it is only necessary to it can be fast by binding identical exclusive identification code Speed realizes the multiplexing of function, and there is no the problems of compatibility.
It is the flow diagram of invention software development approach second embodiment referring to Fig. 3, Fig. 3.It is described in the present embodiment According to the event inserting instruction by the exclusive identification code of target widget behavior tree corresponding with the event inserting instruction Before the step 30 bound further include:
Step S21 transfers behavior tree template according to the event inserting instruction;
According to described above, when being updated to existing interface, when need to the existing behavior tree of target widget into When edlin, when receiving the event inserting instruction of target widget, behavior tree editing machine is transferred, behavior tree editing machine mentions at this time For independent editing interface.Alternatively, enabling behavior tree editing machine, behavior tree editing machine when needing live edit action tree logic It is built-in with template behavior tree template.Preferably, interface display design area in epideictic behaviour tree editing machine editing interface, When receiving event inserting instruction, it is switched to behavior tree editing interface, and the behavior tree template of invocation target control script.
Step S22 receives the node edit instruction based on the behavior tree template of user's input, is compiled according to the node It collects instruction and generates the goal behavior tree with exclusive identification code, and save.
Behavior tree is the node of tree-shaped presentation, and the type of supporting node has sequential node, condition node and behavior node, The child node of the execution node of sequential node order of representation, condition node indicate determining which sub- section executed after judgement Point, behavior node are the processing to specific affairs.Each behavior tree has a root node, and root node is that behavior tree executes Start.Behavior tree is the node tree for including logic and concrete behavior.Behavior tree editing machine is editor's destination node in behavior tree Position or newly-increased node or delete target node on the basis of destination node, to form a complete function treatment Logic, thus function required for realizing.In the present embodiment, behavior tree possesses one with the description of json file, each behavior A globally unique identification code, for distinguishing different behavior trees.
After behavior tree editing machine is deployed into the behavior tree template of target widget, the node editor for receiving user's input refers to It enables, node edit instruction includes newly-increased node instruction, deletion of node instruction and modification node instruction etc..Behavior tree editing machine according to Node edit instruction executes the operation of newly-increased node, deletion of node or concept transfer position on the target node.Newly-increased node Type has sequential node, condition node or execution node etc..Being generated according to node edit instruction has goal behavior tree, and saves Goal behavior is in behavior tree file, while by the exclusive identification code of the event of target widget and newly-generated goal behavior tree It is bound.
It in other embodiments, can also be before carrying out interface editing by the logic event pre-edit of goal behavior tree It is good, particularly, in the step of detecting interface editing sign on, enabling interface editing function according to interface editing sign on Further include step S01 before S10, detect behavior tree edit instruction, behavior tree is enabled according to behavior tree edit instruction and edits function Can, call behavior tree template;Step S22 receives the node edit instruction based on the behavior tree template of user's input, according to The node edit instruction generates the goal behavior tree with exclusive identification code, and saves.It should be noted that goal behavior tree Foundation can be before enabling interface editing function, be also possible to carry out after enabling interface editing function.
It is the refinement flow diagram of invention software development approach step S22 referring to Fig. 4, Fig. 4.In the present embodiment, institute Stating node edit instruction includes newly-increased news release node instruction, it is described receive user input based on the behavior tree template Node edit instruction generates the goal behavior tree with exclusive identification code, and the step of saving according to the node edit instruction S22 includes:
Step S221 receives the newly-increased news release node instruction based on the behavior tree template of user's input;
Step S222 increases on the destination node of the behavior tree template according to the newly-increased news release node instruction Add news release node, and is believed according to the match messages that the newly-increased news release node instruction defines the news release node Breath;
Step S223 generates goal behavior tree, and saves.
In order to realize the interaction and association between control, news release node, event are inserted into the event of target widget News release execution point when to the control for having subscribed the message issue the message, receive the control of the message then according to preset Readjustment rule executes corresponding readjustment.Specifically, receiving the newly-increased news release node of the Behavior-based control tree template of user's input Instruction, and according to newly-increased news release node instruction, increase news release node on destination node in the behavior tree template, After increasing news release node, news release node is defined according to the information for including in newly-increased news release node instruction, Message includes match messages information.When goal behavior tree goes to news release node, the message is issued to the overall situation, is had subscribed The control of the message will identify that the message, will do it corresponding readjustment.It is close that match messages information can be message name, message The information with message existence anduniquess matching relationship such as spoon or message numbering.Wherein it is possible to be using the behavior tree of null event as Behavior tree template is also possible to not limit here using the behavior tree of existing event as behavior tree template.
It is the flow diagram of invention software development approach 3rd embodiment referring to Fig. 5, Fig. 5.It is described in the present embodiment According to the event inserting instruction by the exclusive identification code of target widget behavior tree corresponding with the event inserting instruction After the step 30 bound, further includes:
Step S31 receives the message subscribing instruction of the target widget;
Step S32 carries out readjustment configuration, the readjustment configuration packet to the target widget according to message subscribing instruction Exclusive identification code containing the match messages information, preset readjustment behavior tree.
Before receiving the message that above-mentioned news release node is sent, need to subscribe to preparation the target widget of the message into Row message subscribing processing, using the recipient as message.It is understood that having message subscribing in the attribute column of target widget Column is configured the message subscribing column of target widget when needing to carry out message subscribing processing to target widget.When receiving Target widget message subscribing instruction when, message subscribing instruction include subscribe to match messages information, readjustment behavior tree it is unique The information such as identification code, according to message subscribing instruction readjustment setting is carried out in message subscribing column, i.e., by message subscribing instruct in wrap The exclusive identification code of the match messages information, preset readjustment behavior tree that contain is stored in message subscribing column.When news release section After point sends message, the target widget of the message is had subscribed when receiving message, then the unique identification saved according to its binding Code executes corresponding readjustment behavior tree.
It is the flow diagram of invention software development approach fourth embodiment referring to Fig. 6, Fig. 6.In the present embodiment, it is based on Above-described embodiment, the detection interface editing END instruction, the interface that will be being edited according to the interface editing END instruction Data file, and before the step S40 saved, further includes:
Step S33 receives the attributes edit instruction of the target widget;
Step S34 is edited and is saved to by the display information of the target widget according to attributes edit instruction, The display information includes that the target widget is believed in the location information at interface, the size information of target widget and background picture Breath.
Target widget is other than insertion event, it is also necessary to edit to the attribute of target widget, be met with layout The interface of aesthetic feeling.The attribute of target widget includes size, shape, position and the background picture of target widget.The back of target widget Scape picture can be default, can also obtain from other storage units.The position of target widget is according to user in design area The towing of target widget is completed.The size and shape of target widget can be customized by the user, and can also choose default value.
It is the flow diagram of the 5th embodiment of invention software development approach referring to Fig. 7, Fig. 7.It is described in the present embodiment Interface editing END instruction is detected, according to the interface data file that the interface editing END instruction will edited, and is saved Step S40 after, further includes:
Step S50 detects interface operating instruction;
Step S51 is loaded according to the interface operating instruction and is rendered the corresponding interface data of the interface operating instruction File obtains target interface;
Step S52 receives the event triggering command of the target widget of the target interface;
Step S53 obtains the exclusive identification code of corresponding goal behavior tree according to the event triggering command, and according to The exclusive identification code of the goal behavior tree searches and executes the goal behavior tree.
In runnable interface after generating interface file, the presentation at interface is realized by load interface data file.Specifically Ground detects interface operating instruction, obtains the storage information of the interface data file of target interface corresponding with interface operating instruction, Interface data file is loaded according to the storage information of interface data file, and renders interface data file to form target interface. When user needs to run a certain target widget, corresponding event triggering command can be generated depending on the user's operation, according to event Triggering command obtains the exclusive identification code of target widget, and corresponding goal behavior tree is searched and executed by exclusive identification code, The completion of corresponding event is realized by goal behavior tree.
It is the flow diagram of invention software development approach sixth embodiment referring to Fig. 8, Fig. 8.It is described in the present embodiment According to the event triggering command, the exclusive identification code of corresponding goal behavior tree is obtained, and according to the goal behavior tree After exclusive identification code searches and executes the step S53 of the goal behavior tree, further includes:
Step S54 detects the message of the news release node publication of the goal behavior tree, disappears to described in overall situation publication Breath;
Step S55, target widget receives the message, and is obtained according to the message and believed with the match messages of the message The exclusive identification code of corresponding readjustment behavior tree is ceased, and is searched and is executed described according to the exclusive identification code of the readjustment behavior tree Readjustment behavior tree.
Software development equipment is also built-in with global message system, and auxiliary of the global message system as behavior tree facilitates The interaction between interface control and the calling of some built-in interfaces are realized by behavior tree.When the news release of goal behavior tree When node gives out information, which can be first stored in global message system, and entire message system includes message queue, publication Message will be stored in message queue, and message queue is popped in the way of first in first out.Then global message system is according to elder generation It gives out information into the stack mode that goes out first gone out to the overall situation.Still using global message system forwards message, either message receiver Message sender returns to successful message without waiting other side, so that it may execute remaining logic, substantially increase at event Reason ability.When global message system sends message to the overall situation, target widget receives the message, and according to the message obtain with The exclusive identification code of the corresponding readjustment behavior tree of the match messages information of the message, according to the unique identification of the readjustment behavior tree Code is searched and executes the readjustment behavior tree.
It is the flow diagram of the 7th embodiment of invention software development approach referring to Fig. 9, Fig. 9.In the present embodiment, it is based on Above-described embodiment, the target widget receives the message, and is obtained according to the message and believed with the match messages of the message The exclusive identification code of corresponding readjustment behavior tree is ceased, and is searched and is executed described according to the exclusive identification code of the readjustment behavior tree The step S55 of readjustment behavior tree includes:
Step S551, the target widget receive the message;
Step S552, judge the message match messages information and readjustment configuration in match messages information whether one It causes;
Step S553 is obtained if the match messages information is consistent with the match messages information in the readjustment configuration The exclusive identification code of readjustment behavior tree corresponding with the match messages information, and according to the unique identification of the readjustment behavior tree Code is searched and executes the readjustment behavior tree;
Step S554, if the match messages information and the match messages information in the readjustment configuration are inconsistent, no Processing.
Since there may be multiple readjustments to configure for a target widget, in order to guarantee that program operation is errorless, target control is needed It is consistent that part receives the match messages information saved in message and the readjustment configuration of target widget.After receiving message, acquisition disappears Whether the match messages information of breath is consistent with the match messages information in readjustment configuration, when title is consistent, then illustrates target control What part received is matched message, can just transfer corresponding readjustment behavior tree, if when inconsistent, illustrating that target widget receives To be unmatched message, do not transfer corresponding readjustment behavior tree then at this time, i.e., do not handle.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium.It is deposited on computer readable storage medium Software development procedures are contained, when wherein software development procedures are executed by processor, realize the software development of any of the above-described embodiment The step of method.
Wherein, software development procedures, which are performed realized method, can refer to each reality of invention software development approach Example is applied, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of software development methodology, which is characterized in that the software development methodology includes the following steps:
Interface editing sign on is detected, interface editing function is enabled according to the interface editing sign on;
Receive the event inserting instruction of target widget;
According to the event inserting instruction by target widget goal behavior tree corresponding with the event inserting instruction only One identification code is bound;
Interface editing END instruction is detected, the interface data at the interface edited is generated according to the interface editing END instruction File, and save.
2. software development methodology as described in claim 1, which is characterized in that it is described will be described according to the event inserting instruction Before the step of exclusive identification code of target widget behavior tree corresponding with the event inserting instruction is bound, further includes:
Behavior tree template is transferred according to the event inserting instruction;
The node edit instruction based on the behavior tree template for receiving user's input generates according to the node edit instruction and has There is the goal behavior tree of exclusive identification code, and saves.
3. software development methodology as claimed in claim 2, which is characterized in that the node edit instruction includes newly-increased message hair Cloth node instruction, the node edit instruction based on the behavior tree template for receiving user's input, is compiled according to the node It collects instruction and generates the goal behavior tree with exclusive identification code, and the step of saving includes:
Receive the newly-increased news release node instruction based on the behavior tree template of user's input;
According to the newly-increased news release node instruction, increase news release section on the destination node of the behavior tree template Point, and define according to the newly-increased news release node instruction match messages information of the news release node;
Goal behavior tree is generated, and is saved.
4. software development methodology as claimed in claim 3, which is characterized in that it is described will be described according to the event inserting instruction After the step of exclusive identification code of target widget behavior tree corresponding with the event inserting instruction is bound, further includes:
Receive the message subscribing instruction of the target widget;
Readjustment configuration is carried out to the target widget according to message subscribing instruction, the readjustment configuration includes the message Match information, the exclusive identification code of preset readjustment behavior tree.
5. software development methodology according to any one of claims 1 to 4, which is characterized in that the detection interface editing knot Shu Zhiling is also wrapped according to the interface data file that the interface editing END instruction will edited, and before the step of saving It includes:
Receive the attributes edit instruction of the target widget;
It is edited and is saved to by the display information of the target widget according to attributes edit instruction, the display information Including the target widget in the location information at interface, the size information of target widget and background picture information.
6. software development methodology according to any one of claims 1 to 4, which is characterized in that the detection interface editing knot Shu Zhiling is also wrapped according to the interface data file that the interface editing END instruction will edited, and after the step of saving It includes:
Detect interface operating instruction;
The corresponding interface data file of the interface operating instruction is loaded and rendered according to the interface operating instruction, obtains target Interface;
Receive the event triggering command of the target widget of the target interface;
According to the event triggering command, the exclusive identification code of corresponding goal behavior tree is obtained, and according to the goal behavior The exclusive identification code of tree searches and executes the goal behavior tree.
7. software development methodology as claimed in claim 6, which is characterized in that it is described according to the event triggering command, it obtains The exclusive identification code of corresponding goal behavior tree, and searched according to the exclusive identification code of the goal behavior tree and execute the mesh After the step of mark behavior tree, further includes:
The message for detecting the news release node publication of the goal behavior tree, issues the message to the overall situation;
Target widget receives the message, and obtains preset corresponding with the match messages information of the message according to the message Readjustment behavior tree exclusive identification code, and searched according to the exclusive identification code of the readjustment behavior tree and execute the readjustment and gone For tree.
8. software development methodology as claimed in claim 7, which is characterized in that the target widget receives the message, and root The exclusive identification code of preset readjustment behavior tree corresponding with the match messages information of the message, and root are obtained according to the message It is searched according to the exclusive identification code of the readjustment behavior tree and includes: the step of executing the readjustment behavior tree
The target widget receives the message;
Judge whether match messages information and the match messages information in readjustment configuration of the message are consistent;
If the match messages information of the message is consistent with the match messages information in the readjustment configuration, according to the message Match information obtains the exclusive identification code of readjustment behavior tree corresponding with the match messages information, and according to the readjustment behavior The exclusive identification code of tree searches and executes the readjustment behavior tree;
If the match messages information of the message and the match messages information in the readjustment configuration are inconsistent, do not handle.
9. a kind of software development equipment, which is characterized in that the software development equipment includes processor, memory and storage On the memory and the software development procedures that can be executed by the processor, wherein the software development procedures are by the place When managing device execution, realize such as the step of software development methodology described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with software on the computer readable storage medium and open Program is sent out, wherein realizing software described in any item of the claim 1 to 8 when the software development procedures are executed by processor The step of development approach.
CN201811047675.6A 2018-09-07 2018-09-07 Software development method, device and computer readable storage medium Active CN109271157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811047675.6A CN109271157B (en) 2018-09-07 2018-09-07 Software development method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811047675.6A CN109271157B (en) 2018-09-07 2018-09-07 Software development method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109271157A true CN109271157A (en) 2019-01-25
CN109271157B CN109271157B (en) 2021-09-07

Family

ID=65187552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811047675.6A Active CN109271157B (en) 2018-09-07 2018-09-07 Software development method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109271157B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888628A (en) * 2019-10-12 2020-03-17 中国平安财产保险股份有限公司 Method, device, equipment and storage medium for generating control tool
CN111984248A (en) * 2019-05-22 2020-11-24 腾讯科技(深圳)有限公司 Page editing method and device, storage medium and electronic device
CN113391801A (en) * 2021-06-11 2021-09-14 斑马网络技术有限公司 Recommendation engine architecture based on cloud service
CN113590086A (en) * 2020-04-30 2021-11-02 深圳中砼物联网科技有限公司 Method for quickly developing software, computer equipment and storage medium
CN115809053A (en) * 2022-07-05 2023-03-17 武汉欧茗典科技有限公司 Modularized software development method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7444622B2 (en) * 2003-08-27 2008-10-28 Microsoft Corporation Access driven filtering
CN101872322A (en) * 2009-04-27 2010-10-27 武汉大学 Method for detecting software features on basis of system requirement model
CN105094754A (en) * 2014-04-21 2015-11-25 阿里巴巴集团控股有限公司 Application development method, response method of page requests and device based on tags
CN105117575A (en) * 2015-06-17 2015-12-02 深圳市腾讯计算机系统有限公司 Behavior processing method and device
WO2017003331A1 (en) * 2015-06-30 2017-01-05 Telefonaktiebolaget Lm Ericsson (Publ) Methods and devices for handling hash-tree based data signatures
CN106815028A (en) * 2017-01-24 2017-06-09 南京创维信息技术研究院有限公司 A kind of construction method of display interface, device and operating method and device
US20180043258A1 (en) * 2015-03-13 2018-02-15 Square Enix Co., Ltd. Information processing apparatus, information processing method, non-transitory computer-readable storage medium
CN107704234A (en) * 2017-08-22 2018-02-16 北京三快在线科技有限公司 Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing
CN107991895A (en) * 2017-11-28 2018-05-04 深圳市东微智能科技股份有限公司 Multi-systematic control method, apparatus, computer equipment and storage medium
CN108491192A (en) * 2018-04-01 2018-09-04 苏州汉能网络科技有限公司 A kind of development approach for software

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7444622B2 (en) * 2003-08-27 2008-10-28 Microsoft Corporation Access driven filtering
CN101872322A (en) * 2009-04-27 2010-10-27 武汉大学 Method for detecting software features on basis of system requirement model
CN105094754A (en) * 2014-04-21 2015-11-25 阿里巴巴集团控股有限公司 Application development method, response method of page requests and device based on tags
US20180043258A1 (en) * 2015-03-13 2018-02-15 Square Enix Co., Ltd. Information processing apparatus, information processing method, non-transitory computer-readable storage medium
CN105117575A (en) * 2015-06-17 2015-12-02 深圳市腾讯计算机系统有限公司 Behavior processing method and device
WO2017003331A1 (en) * 2015-06-30 2017-01-05 Telefonaktiebolaget Lm Ericsson (Publ) Methods and devices for handling hash-tree based data signatures
CN106815028A (en) * 2017-01-24 2017-06-09 南京创维信息技术研究院有限公司 A kind of construction method of display interface, device and operating method and device
CN107704234A (en) * 2017-08-22 2018-02-16 北京三快在线科技有限公司 Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing
CN107991895A (en) * 2017-11-28 2018-05-04 深圳市东微智能科技股份有限公司 Multi-systematic control method, apparatus, computer equipment and storage medium
CN108491192A (en) * 2018-04-01 2018-09-04 苏州汉能网络科技有限公司 A kind of development approach for software

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NERMIN SOKMEN: "Impacts of destructive factors on the product development process: The decision-tree models for software intensive projects", 《2012 PROCEEDINGS OF PICMET "12: TECHNOLOGY MANAGEMENT FOR EMERGING TECHNOLOGIES》 *
徐佳: "基于构件/构架软件开发环境的研究与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984248A (en) * 2019-05-22 2020-11-24 腾讯科技(深圳)有限公司 Page editing method and device, storage medium and electronic device
CN111984248B (en) * 2019-05-22 2023-08-25 腾讯科技(深圳)有限公司 Page editing method and device, storage medium and electronic device
CN110888628A (en) * 2019-10-12 2020-03-17 中国平安财产保险股份有限公司 Method, device, equipment and storage medium for generating control tool
CN113590086A (en) * 2020-04-30 2021-11-02 深圳中砼物联网科技有限公司 Method for quickly developing software, computer equipment and storage medium
CN113590086B (en) * 2020-04-30 2023-09-12 广东中砼物联网科技有限公司 Method for rapidly developing software, computer device and storage medium
CN113391801A (en) * 2021-06-11 2021-09-14 斑马网络技术有限公司 Recommendation engine architecture based on cloud service
CN113391801B (en) * 2021-06-11 2024-03-01 斑马网络技术有限公司 Recommendation engine architecture based on cloud service
CN115809053A (en) * 2022-07-05 2023-03-17 武汉欧茗典科技有限公司 Modularized software development method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109271157B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN109271157A (en) Software development methodology, equipment and computer readable storage medium
KR101146159B1 (en) Layered user interface
US9542065B2 (en) System and method of skinning themes
US8972884B2 (en) Presenting information pertaining to a plurality of tabs in an instant messaging application
US20090031243A1 (en) Method and apparatus for controlling display of windows
US7979801B2 (en) Media presentation driven by meta-data events
CN104636139A (en) Visualized cross-platform mobile application development and generation system
WO2021008334A1 (en) Data binding method, apparatus, and device of mini program, and storage medium
CN108363587A (en) Application program operation and monitoring method, device, computer equipment and storage medium
JP2004005568A (en) Updating of high-speed gui style of legacy application
WO2009126591A1 (en) Systems and methods for programming mobile devices
US20210337015A1 (en) Method and system of application development for multiple device client platforms
CN102455892B (en) Method and device for realizing miniblog message pages
KR20050076719A (en) System and method for dynamically adding features to software applications
CN109558202A (en) Original list development approach, device, equipment and storage medium based on small routine
US20230367464A1 (en) Multi-Application Interaction Method
CN112217671B (en) Method and equipment for performing interface display on front-end micro-service based on split deployment
US20120017160A1 (en) Portable terminal and display data editing method for the same
US20130035137A1 (en) Mobile terminal and method for adding contact information
CN113268232B (en) Page skin generation method and device and computer readable storage medium
CN110232173A (en) List configuration method and its system based on configurableization list engine
CN116301785A (en) Method and device for realizing custom text editor component
JP2001027977A (en) Electronic mail generating device and program recording medium
CN111124386B (en) Animation event processing method, device, equipment and storage medium based on Unity
CN112817782A (en) Data acquisition reporting method and device, electronic equipment 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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 518000 R & D building 1601, block a, building 7, Vanke Cloud City Phase I, Xingke 1st Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (16 / F, block a, building 1, international innovation Valley)

Patentee after: SHENZHEN TENDZONE INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 518000 202-B, 2 floor, block C, office building, Hua Han Innovation Park, 16 Langshan Road, Nanshan District, Shenzhen, Guangdong.

Patentee before: SHENZHEN TENDZONE INTELLIGENT TECHNOLOGY Co.,Ltd.