CN109491646A - A kind of message input method, device, electronic equipment and readable medium - Google Patents
A kind of message input method, device, electronic equipment and readable medium Download PDFInfo
- Publication number
- CN109491646A CN109491646A CN201811215883.2A CN201811215883A CN109491646A CN 109491646 A CN109491646 A CN 109491646A CN 201811215883 A CN201811215883 A CN 201811215883A CN 109491646 A CN109491646 A CN 109491646A
- Authority
- CN
- China
- Prior art keywords
- logic
- target element
- form item
- service logic
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/313—Logic programming, e.g. PROLOG programming language
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present disclosure discloses a kind of message input method, device, electronic equipment and readable medium.This method comprises: according to the target element selected from each infrastructure component, and configuration the target element basic logic and service logic, generate the form item of the target element, obtain including that the list of each form item configures;According to the basic logic and service logic of form item in list configuration, the associated target element of form item is rendered, the message of typing is obtained.By using technical solution provided by the disclosure, may be implemented quickly to carry out typing to information, and realize the different service logics of different message.
Description
Technical field
The embodiment of the present disclosure is related to information automation technical field more particularly to a kind of message input method, device, electronics
Equipment and readable medium.
Background technique
The message of different version positions, the information needed are different, the required greater number of labels of selection, for each
Message needs to judge the information of current version position and various labels, to determine whether to push messages to user.However due to
Version bit quantity and number of labels are all constantly increasing, and it is quite huge that this allows for original message input system, in change or
During person increases message, historical burden is overweight, can not accomplish that whole functions returns.Such as a message is added when new
When, it needs to modify a large amount of criterion, and in the information test link being newly added, is merely able to be surveyed for current process
Examination, it is impossible to which the progress of all processes is once tested.
Since process must have very much, the process of each edition position is not also identical.In order to decouple, asked at present for this
The way of topic is by the way of enumerating, and a process is walked in a version position, and be equivalent to that each edition position walk is the process of oneself.
However the drawbacks of such mode, is that replicate a large amount of code, and it is every to increase by one and replicate a set of, then modify it
In content, such words maintenance cost is relatively high, more troublesome.
Summary of the invention
The embodiment of the present disclosure provides a kind of message input method, device, electronic equipment and readable medium, may be implemented quickly
Typing is carried out to information, and realizes the different service logics of different message.
In a first aspect, the embodiment of the present disclosure provides a kind of message input method, this method comprises:
According to the target element selected from each infrastructure component, and configuration the target element basic logic and industry
Be engaged in logic, generate the form item of the target element, obtain include each form item list configure;
According to the list configuration in form item basic logic and service logic, to the associated target element of form item into
Row rendering, obtains the message of typing.
Further, before the target element selected in each infrastructure component, the method also includes:
Base class is done to infrastructure component, determines the basic logic and service logic of infrastructure component;
The basic logic and service logic are set in the logic panel of editing machine for using.
Further, according to the target element selected from each infrastructure component, and configuration the target element base
Plinth logic and service logic, before the form item for generating the target element, further includes:
The target element for selecting list to need by each infrastructure component for including in the logic panel of the editing machine;
The basic logic and service logic of each target element are obtained by the logic panel.
Further, associated to form item according to the basic logic and service logic of form item in list configuration
Target element is rendered, comprising:
The basic logic of form item and the configuration parameter of service logic in the list configuration are obtained, wherein the basis is patrolled
The configuration parameter collected includes at least one of component pattern, module data and component verification, the configuration parameter of service logic
Including component services logic hook;
The configuration parameter of the basic logic of form item and service logic is imported in the associated target element of form item, to table
The target element of unidirectional association is rendered.
Further, the component services logic hook is grouped according to carry position;
The associated target element of form item is rendered, comprising:
In the life cycle of the target element, if current location is the carry position of any group of service logic hook,
Then each component service logic hook in this group of service logic hook is traversed.
Second aspect, the embodiment of the present disclosure additionally provide a kind of message input device, which includes:
List configuration obtains module, for the target element that basis is selected from each infrastructure component, and configures described
The basic logic and service logic of target element, generate the form item of the target element, obtain include each form item list
Configuration;
Message recording module, for the basic logic and service logic according to form item in list configuration, to list
The associated target element of item is rendered, and the message of typing is obtained.
Further, described device further include:
Basic logic and service logic determining module determine that the basis of infrastructure component is patrolled for doing base class to infrastructure component
Volume and service logic;
Editing machine setting unit, for the basic logic and service logic being arranged in the logic panel of editing machine
For using.
Further, described device further include:
Target element determining module, each infrastructure component selection table for including in the logic panel by the editing machine
The target element singly needed;
Logic configuration module, for obtaining the basic logic and service logic of each target element by the logic panel.
Further, the message recording module includes:
Logic parameter acquiring unit, for obtaining the basic logic of form item and matching for service logic in the list configuration
Parameter is set, wherein the configuration parameter of the basic logic includes at least one in component pattern, module data and component verification
Kind, the configuration parameter of service logic includes component services logic hook;
Target element rendering unit, for the configuration parameter of the basic logic of form item and service logic to be imported form item
In associated target element, the associated target element of form item is rendered.
Further, the component services logic hook is grouped according to carry position;
The target element rendering unit includes:
Target element renders subelement, in the life cycle of the target element, if current location is any group
The carry position of service logic hook then traverses each component service logic hook in this group of service logic hook.
The third aspect, the embodiment of the present disclosure provide a kind of electronic equipment, including memory, processor and are stored in storage
It can realize on device and when the computer program of processor operation, the processor execute the computer program as the disclosure is real
Apply message input method described in example.
Fourth aspect, the embodiment of the present disclosure provide a kind of computer-readable medium, are stored thereon with computer program, should
The message input method as described in the embodiment of the present disclosure is realized when program is executed by processor.
Technical solution provided by the embodiment of the present disclosure, the target element selected from each infrastructure component by basis, with
And the basic logic and service logic of the target element of configuration, the form item of the target element is generated, obtains including each
The list of form item configures;It is associated to form item according to the basic logic and service logic of form item in list configuration
Target element is rendered, and the message of typing is obtained.By using technical solution provided by the disclosure, it is quickly right to may be implemented
Information carries out typing, and realizes the different service logics of different message.
Detailed description of the invention
Fig. 1 is the flow chart for the message input method that the embodiment of the present disclosure one provides;
Fig. 2 is the message typing schematic diagram that the disclosure provides;
Fig. 3 is the message typing schematic diagram that the disclosure provides;
Fig. 4 is the flow chart for the message input method that the embodiment of the present disclosure one provides;
Fig. 5 is the structural schematic diagram for the message input device that the embodiment of the present disclosure two provides;
Fig. 6 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present disclosure provides.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the disclosure, rather than the restriction to the disclosure.It also should be noted that in order to just
Part relevant to the disclosure is illustrated only in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
In following each embodiments, optional feature and example are provided simultaneously in each embodiment, that records in embodiment is each
A feature can be combined, and form multiple optinal plans, and the embodiment of each number should not be considered merely as to a technical solution.
Embodiment one
Fig. 1 is the flow chart for the message input method that the embodiment of the present disclosure one provides, the record of the applicable message of the present embodiment
Enter situation, this method message input device provided by the embodiment of the present disclosure executes, the device can by software and/
Or the mode of hardware is realized, and can be integrated in the electronic equipments such as client, terminal and the server for executing message typing.
As shown in Figure 1, the message input method includes:
S110, according to the target element that is selected from each infrastructure component, and the basis of the target element of configuration is patrolled
Volume and service logic, generate the form item of the target element, obtain include each form item list configure.
Wherein, infrastructure component can be input frame, label selection, check box, unit, drop-down option and choosing period of time
Deng.In the Input Process of a message, may relate to an infrastructure component, it is also possible to be related to multiple infrastructure components.It can be with
By the drag operation etc. of detection user put selection operation or be drawn to panel, target element is moved to positions of panels.?
After determining target element, need to configure the logic of target element, logic therein includes basic logic and service logic.
Wherein basic logic can be the logics such as the attribute for being related to target element, data and verification, and service logic can be realization
The information of the logic of different function between target element and other infrastructure components.Such as some is gone in current goal component
When position, need to carry out special setting, Lai Zhihang some way.
In one embodiment, can by method involved by all service logics, in the form of configuration file into
Row encapsulation, in this way, encapsulation all in traversal configuration file can be passed through when target element needs to be implemented some method
The form of method finds corresponding method and executes.The benefit that the present embodiment is arranged in this way is can to need to increase new industry
When logic of being engaged in, it is only necessary to increase corresponding method in original configuration file, and be configured to target element
When, selection is held in place increases hook, and method name performed by hook is identical as the method name newly increased
?.Without recompiling again to whole logics of entire target element, the Code copying work of redundancy, letter are eliminated
The typing process of message is changed.
Wherein, the corresponding form item of each target element can be by its institute after configuring all target elements
Some form item simultaneous get up, and form list configured list, and as list configures.
In the present embodiment, it is preferred that before the target element selected in each infrastructure component, the method also includes:
Base class is done to infrastructure component, determines the basic logic and service logic of infrastructure component;By the basic logic and service logic, if
It sets in the logic panel of editing machine for using.Wherein, after doing base class to all infrastructure components, all components can be determined
Basic logic, it is understood that be generic logic, and the service logic other than basic logic, that is, each basis
The specific logical of component.The benefit being arranged in this way is to can satisfy different business demands.Basic logic and business is being determined
After logic, the option of basic logic and service logic can be arranged in defeated for user in editor's panel of visual editor
Use when entering message.
S120, according to the list configuration in form item basic logic and service logic, to the associated target of form item
Component is rendered, and the message of typing is obtained.
Wherein, according to list configure in basic logic and service logic, to target element corresponding to form item carry out
Rendering.Obtain the message of typing.The process wherein rendered can be understood as the Input Process of target element, when the entire form configures
After rendering, then the typing of entire message is completed.
In the life cycle of each component, it can be executed according to pre-set infrastructure component and Service Component corresponding
Business.Such as when the service logic of an input frame is password authentification, then in addition to the letter of the acquisition user input in text box
Breath is outer, it is also necessary to which the information inputted to user carries out password authentification and shows use in conjunction with other assemblies if authentication failed
Family inputs password mistake, can not log in.
Technical solution provided by the embodiment of the present disclosure, the target element selected from each infrastructure component by basis, with
And the basic logic and service logic of the target element of configuration, the form item of the target element is generated, obtains including each
The list of form item configures;It is associated to form item according to the basic logic and service logic of form item in list configuration
Target element is rendered, and the message of typing is obtained.By using technical solution provided by the disclosure, it is quickly right to may be implemented
Information carries out typing, and realizes the different service logics of different message.
Based on the above technical solution, it is preferred that before the target element selected in each infrastructure component, the side
Method further include: base class is done to infrastructure component, determines the basic logic and service logic of infrastructure component;By the basic logic and industry
Business logic, is arranged in the logic panel of editing machine for using.It wherein, can be true after doing base class to all infrastructure components
Determine the basic logic of all components, it is understood that it is generic logic, and the service logic other than basic logic, also
It is the specific logical of each infrastructure component.The benefit being arranged in this way is to can satisfy different business demands.Basis is being determined
After logic and service logic, the option of basic logic and service logic can be arranged in editor's panel of visual editor
It is used when the middle input message for user.
On the basis of above-mentioned each technical solution, it is preferred that according to the target element selected from each infrastructure component, and
The basic logic and service logic of the target element of configuration, before the form item for generating the target element, further includes: logical
Cross the target element that each infrastructure component selection list for including in the logic panel of the editing machine needs;Pass through the logic face
Plate obtains the basic logic and service logic of each target element.Wherein editor's panel of editing machine can be used to target element into
Row pulls, and carries out the configuration of basic logic and service logic after dragging to target element.In the present embodiment, only made with pulling
It for a kind of example, can also be by other means, such as click, determine target element to from all infrastructure components,
Specifically it can be determined and change according to the exploitation of editing machine and the use habit of user.It, can be in logic panel
Basic logic and service logic to the target element having determined are configured by way of clicking and keying in, wherein
Basic logic can be to be automatically generated according to the type of current goal component, and service logic, can be chosen by obtaining user
Or the mode keyed in determines, particularly realizes service logic configuration in the form of hook, the configuration parameter of hook can be with
Including position of the hook in target element life cycle and specific method.Such as match in the position of before change
Corresponding method is set, executes corresponding method before change to realize.The benefit that the technical program is arranged in this way is can
To realize the typing to message by visual editing machine, the process that user carries out typing to message, and this skill are simplified
Art scheme can be formed corresponding list and matched according to the demand of user with the typing of optimized integration component and Service Component
It sets.
Fig. 2 is the message typing schematic diagram that the disclosure provides.As shown in Fig. 2, in message typing circle of visual editor
Face can select infrastructure component from the left side of editor's panel, specifically can include but is not limited to input frame, label selects, multiple
Select frame, single choice, drop-down selection and choosing period of time etc..Infrastructure component can be moved to face by way of pulling or clicking
Detailed design is carried out among plate, such as can select choosing period of time component, and true according to selection on the release time of message
Determine the specific release time of message.On the right side of editor's panel, can basic logic to target element and service logic carry out
Configuration, wherein basic logic includes at least one of attribute, data and verification, and Service Component includes to hook in hook
Position and execute method configuration.It is worth noting that there may also be the basic logics to target element to be not necessarily to user
The case where manual configuration, such case can be regarded as a kind of basis and carry out generic configuration to the basic logic of all components
A kind of situation, such as can be without being configured to the attribute of component, data and verification.
Fig. 3 is the message typing schematic diagram that the disclosure provides.As shown in figure 3, such as typing is impression information message, then scheme
In can be the operation interface in impression information input system, wherein impression information input system can be and visual edit
The separated system of device can use by the obtained message list configuration of visual editor, and be configured according to list, come
At the typing of message.
Fig. 4 is the flow chart for the message input method that the embodiment of the present disclosure one provides.The technical program is in above-mentioned technology
It is embodied based on each optinal plan in scheme.Specific optimization are as follows: according to the base of form item in list configuration
Plinth logic and service logic render the associated target element of form item, comprising: obtain form item in the list configuration
Basic logic and service logic configuration parameter, wherein the configuration parameter of the basic logic includes component pattern, package count
At least one of accordingly and component verifies, and the configuration parameter of service logic includes component services logic hook;By form item
The configuration parameter of basic logic and service logic imports in the associated target element of form item, to the associated target element of form item
It is rendered.
As shown in figure 4, the message input method includes:
S410, according to the target element that is selected from each infrastructure component, and the basis of the target element of configuration is patrolled
Volume and service logic, generate the form item of the target element, obtain include each form item list configure.
S420, the basic logic of form item and the configuration parameter of service logic in the list configuration are obtained, wherein described
The configuration parameter of basic logic includes at least one of component pattern, module data and component verification, and service logic is matched
Setting parameter includes component services logic hook.
Wherein, in form item, basic logic and service logic are stored in the form of configuration parameter.Wherein base
Plinth logic includes component pattern, sets up at least one of data and component verification.The configuration parameter of service logic includes industry
Business logic hook.Wherein service logic hook may include the two aspect parameter of carry position and execution method of hook, if worked as
The message of preceding typing also needs other parameters, can be arranged accordingly in the configuration interface of hook.
S430, the configuration parameter of the basic logic of form item and service logic is imported into the associated target element of form item
In, the associated target element of form item is rendered.
It wherein with the associated target element of form item, that is, is the form item generated by the target element, the two is an a pair
It should be related to.In the render process for carrying out target element, it is necessary first to target element is determined, further according to form item in list configuration
Basic logic and the configuration parameter of service logic complete the rendering to target element in conjunction with the configuration file pre-set.
The benefit that the technical program is arranged in this way is can be joined according to the basic logic parameter and service logic of target element
The rendering of pairs of target element is counted up to, realizes the typing to message.
In the technical scheme, it is preferred that the component services logic hook is grouped according to carry position;To table
The target element of unidirectional association is rendered, comprising: in the life cycle of the target element, if current location is any group
The carry position of service logic hook then traverses each component service logic hook in this group of service logic hook.Its
In, in the life cycle of target element, the carry position of service logic hook can be multiple, and each carry position institute
The hook of carry is also possible to multiple.So carrying out subregion to service logic hook according to carry position present solution provides a kind of
Mode, the even current location carry position that is any group of service logic hook, then to each in this group of service logic hook
Component services logic hook is traversed.The benefit being arranged in this way is that the traversal speed of service logic hook can be improved, and is not necessarily to
All hooks are traversed in the position of each hook carry.
Embodiment two
Fig. 5 is the structural schematic diagram for the message input device that the embodiment of the present disclosure two provides.As shown in figure 5, the message
Input device, comprising:
List configuration obtains module 510, for according to the target element selected from each infrastructure component, and the institute of configuration
The basic logic and service logic for stating target element, generate the form item of the target element, obtain include each form item table
Single configuration;
Message recording module 520, for the basic logic and service logic according to form item in list configuration, to table
The target element of unidirectional association is rendered, and the message of typing is obtained.
Technical solution provided by the embodiment of the present disclosure, the target element selected from each infrastructure component by basis, with
And the basic logic and service logic of the target element of configuration, the form item of the target element is generated, obtains including each
The list of form item configures;It is associated to form item according to the basic logic and service logic of form item in list configuration
Target element is rendered, and the message of typing is obtained.By using technical solution provided by the disclosure, it is quickly right to may be implemented
Information carries out typing, and realizes the different service logics of different message.
On the basis of the various embodiments described above, optionally, described device further include: basic logic and service logic determine mould
Block determines the basic logic and service logic of infrastructure component for doing base class to infrastructure component;Editing machine setting unit, is used for
The basic logic and service logic are set in the logic panel of editing machine for using.
On the basis of the various embodiments described above, optionally, described device further include: target element determining module, for leading to
Cross the target element that each infrastructure component selection list for including in the logic panel of the editing machine needs;Logic configuration module,
For obtaining the basic logic and service logic of each target element by the logic panel.
On the basis of the various embodiments described above, optionally, the message recording module 520 includes: that logic parameter obtains list
Member, for obtaining the basic logic of form item and the configuration parameter of service logic in the list configuration, wherein the basis is patrolled
The configuration parameter collected includes at least one of component pattern, module data and component verification, the configuration parameter of service logic
Including component services logic hook;Target element rendering unit, for by the configuration of the basic logic of form item and service logic
Parameter imports in the associated target element of form item, renders to the associated target element of form item.
On the basis of the various embodiments described above, optionally, the component services logic hook is carried out according to carry position
Grouping;The target element rendering unit includes: target element rendering subelement, for the life cycle in the target element
In, if current location is the carry position of any group of service logic hook, to each component industry in this group of service logic hook
Business logic hook is traversed.
Method provided by disclosure any embodiment can be performed in the said goods, has the corresponding functional module of execution method
And beneficial effect.
Embodiment three
Fig. 6 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present disclosure provides.Below with reference to Fig. 6, it illustrates
Suitable for being used to realize the structural schematic diagram of the electronic equipment 600 of the embodiment of the present disclosure.Electronic equipment in the embodiment of the present disclosure can
It is (flat to include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD
Plate computer), PMP (portable media player), vehicle electronic device (such as vehicle mounted guidance electronic equipment) etc. electronics
The stationary electronic devices of equipment and such as number TV, desktop computer etc..Electronic equipment shown in Fig. 6 is only one and shows
Example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.)
601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608
Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment
Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604
Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 607 of dynamic device etc.;Storage device 608 including such as tape, hard disk etc.;And communication device 609.Communication device
609, which can permit electronic equipment 600, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6 shows tool
There is the electronic equipment 600 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with
Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608
It is mounted, or is mounted from ROM602.When the computer program is executed by processing unit 601, the embodiment of the present disclosure is executed
Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable medium either the two any combination.Computer-readable medium for example may be-but not limited to-
Electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.It is computer-readable
The more specific example of medium can include but is not limited to: have electrical connection, the portable computer magnetic of one or more conducting wires
Disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or sudden strain of a muscle
Deposit), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned appoint
The suitable combination of meaning.In the disclosure, computer-readable medium can be any tangible medium for including or store program, the journey
Sequence can be commanded execution system, device or device use or in connection.And in the disclosure, it is computer-readable
Signal media may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying computer-readable
Program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal or on
Any appropriate combination stated.Computer-readable signal media can also be that any computer other than computer-readable medium can
Medium is read, which can send, propagates or transmit for by instruction execution system, device or device
Part uses or program in connection.The program code for including on computer-readable medium can use any Jie appropriate
Matter transmission, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. or above-mentioned any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity
When sub- equipment executes, so that the electronic equipment: according to the target element selected from each infrastructure component, and the mesh of configuration
The basic logic and service logic for marking component, generate the form item of the target element, obtain including that the list of each form item is matched
It sets;According to the basic logic and service logic of form item in list configuration, wash with watercolours is carried out to the associated target element of form item
Dye, obtains the message of typing.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs
When being executed by the electronic equipment, so that the electronic equipment: according to the target element selected from each infrastructure component, and configure
The basic logic and service logic of the target element, generate the form item of the target element, obtain including each form item
List configuration;According to the basic logic and service logic of form item in list configuration, to the associated target element of form item
It is rendered, obtains the message of typing.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, module, the title of unit do not constitute the limit to the module, unit itself under certain conditions
It is fixed.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (10)
1. a kind of message input method characterized by comprising
According to the target element selected from each infrastructure component, and configuration the target element basic logic and business patrol
Volume, generate the form item of the target element, obtain include each form item list configure;
According to the basic logic and service logic of form item in list configuration, wash with watercolours is carried out to the associated target element of form item
Dye, obtains the message of typing.
2. the method according to claim 1, wherein before the target element selected in each infrastructure component, institute
State method further include:
Base class is done to infrastructure component, determines the basic logic and service logic of infrastructure component;
The basic logic and service logic are set in the logic panel of editing machine for using.
3. according to the method described in claim 2, it is characterized in that, according to the target element selected from each infrastructure component, with
And the basic logic and service logic of the target element of configuration, before the form item for generating the target element, further includes:
The target element for selecting list to need by each infrastructure component for including in the logic panel of the editing machine;
The basic logic and service logic of each target element are obtained by the logic panel.
4. the method according to claim 1, wherein according to the list configuration in form item basic logic and
Service logic renders the associated target element of form item, comprising:
The basic logic of form item and the configuration parameter of service logic in the list configuration are obtained, wherein the basic logic
Configuration parameter includes at least one of component pattern, module data and component verification, and the configuration parameter of service logic includes
Component services logic hook;
The configuration parameter of the basic logic of form item and service logic is imported in the associated target element of form item, to form item
Associated target element is rendered.
5. according to the method described in claim 4, it is characterized in that, to the component services logic hook according to carry position into
Row grouping;
The associated target element of form item is rendered, comprising:
It is right if current location is the carry position of any group of service logic hook in the life cycle of the target element
Each component service logic hook in this group of service logic hook is traversed.
6. a kind of message input device characterized by comprising
List configuration obtains module, for according to the target element selected from each infrastructure component, and the target of configuration
The basic logic and service logic of component, generate the form item of the target element, obtain include each form item list configuration;
Message recording module closes form item for the basic logic and service logic according to form item in list configuration
The target element of connection is rendered, and the message of typing is obtained.
7. device according to claim 6, which is characterized in that described device further include:
Basic logic and service logic determining module, for doing base class to infrastructure component, determine infrastructure component basic logic and
Service logic;
Editing machine setting unit, for by the basic logic and service logic, being arranged in the logic panel of editing machine for making
With.
8. device according to claim 7, which is characterized in that described device further include:
Target element determining module, each infrastructure component selection list for including in the logic panel by the editing machine need
The target element wanted;
Logic configuration module, for obtaining the basic logic and service logic of each target element by the logic panel.
9. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that when the program is executed by processor
Realize message input method according to any one of claims 1 to 5.
10. a kind of electronic equipment, including memory, processor and storage are on a memory and can be in the computer of processor operation
Program, which is characterized in that the processor is realized according to any one of claims 1 to 5 when executing the computer program
Message input method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811215883.2A CN109491646B (en) | 2018-10-18 | 2018-10-18 | Message entry method and device, electronic equipment and readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811215883.2A CN109491646B (en) | 2018-10-18 | 2018-10-18 | Message entry method and device, electronic equipment and readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109491646A true CN109491646A (en) | 2019-03-19 |
CN109491646B CN109491646B (en) | 2022-08-05 |
Family
ID=65691574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811215883.2A Active CN109491646B (en) | 2018-10-18 | 2018-10-18 | Message entry method and device, electronic equipment and readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491646B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306469A (en) * | 2019-08-21 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Barrier-free component construction method, device, equipment and storage medium |
CN112764729A (en) * | 2021-01-08 | 2021-05-07 | 深圳依时货拉拉科技有限公司 | Application software development method and device, computer equipment and readable storage medium |
CN113495887A (en) * | 2020-03-20 | 2021-10-12 | 北京沃东天骏信息技术有限公司 | Data form processing method, device and system |
CN114003220A (en) * | 2021-12-30 | 2022-02-01 | 思创数码科技股份有限公司 | Workflow model implementation method, system, readable storage medium and computer equipment |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040205525A1 (en) * | 2001-04-30 | 2004-10-14 | Murren Brian T. | Automatic identification of form contents |
US20070157165A1 (en) * | 2006-01-02 | 2007-07-05 | Giloong Kim | System and method for developing software based on business operating system |
US20070198940A1 (en) * | 2006-02-21 | 2007-08-23 | Microsoft Corporation | Logical representation of a user interface form |
JP2012123675A (en) * | 2010-12-09 | 2012-06-28 | Hitachi Ltd | Method and system for extracting system component |
CN103365646A (en) * | 2012-04-11 | 2013-10-23 | 怡丰联合(北京)科技有限责任公司 | Form user-defined, logical definition and processing method based on script engine |
CN103514159A (en) * | 2012-06-14 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Method, system and device for processing form template |
US8949403B1 (en) * | 2003-10-24 | 2015-02-03 | Sap Se | Infrastructure for maintaining cognizance of available and unavailable software components |
CN104572131A (en) * | 2015-02-04 | 2015-04-29 | 浪潮软件股份有限公司 | Method and device for configuring business form |
CN104715347A (en) * | 2015-04-09 | 2015-06-17 | 山东中实易通集团有限公司 | Comprehensive data processing system for debugging work of nuclear power station |
US20150248227A1 (en) * | 2014-03-03 | 2015-09-03 | Microsoft Technology Licensing, Llc | Configurable reusable controls |
CN106033471A (en) * | 2015-03-20 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Method and device for processing form |
CN106843901A (en) * | 2017-02-10 | 2017-06-13 | 广州优视网络科技有限公司 | A kind of page rendering and the method and apparatus of checking |
US20180225273A1 (en) * | 2015-07-31 | 2018-08-09 | Wisetech Global Limited | Methods and systems for creating configurable forms, configuring forms and for form flow and form correlation |
-
2018
- 2018-10-18 CN CN201811215883.2A patent/CN109491646B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040205525A1 (en) * | 2001-04-30 | 2004-10-14 | Murren Brian T. | Automatic identification of form contents |
US8949403B1 (en) * | 2003-10-24 | 2015-02-03 | Sap Se | Infrastructure for maintaining cognizance of available and unavailable software components |
US20070157165A1 (en) * | 2006-01-02 | 2007-07-05 | Giloong Kim | System and method for developing software based on business operating system |
US20070198940A1 (en) * | 2006-02-21 | 2007-08-23 | Microsoft Corporation | Logical representation of a user interface form |
JP2012123675A (en) * | 2010-12-09 | 2012-06-28 | Hitachi Ltd | Method and system for extracting system component |
CN103365646A (en) * | 2012-04-11 | 2013-10-23 | 怡丰联合(北京)科技有限责任公司 | Form user-defined, logical definition and processing method based on script engine |
CN103514159A (en) * | 2012-06-14 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Method, system and device for processing form template |
US20150248227A1 (en) * | 2014-03-03 | 2015-09-03 | Microsoft Technology Licensing, Llc | Configurable reusable controls |
CN104572131A (en) * | 2015-02-04 | 2015-04-29 | 浪潮软件股份有限公司 | Method and device for configuring business form |
CN106033471A (en) * | 2015-03-20 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Method and device for processing form |
CN104715347A (en) * | 2015-04-09 | 2015-06-17 | 山东中实易通集团有限公司 | Comprehensive data processing system for debugging work of nuclear power station |
US20180225273A1 (en) * | 2015-07-31 | 2018-08-09 | Wisetech Global Limited | Methods and systems for creating configurable forms, configuring forms and for form flow and form correlation |
CN106843901A (en) * | 2017-02-10 | 2017-06-13 | 广州优视网络科技有限公司 | A kind of page rendering and the method and apparatus of checking |
Non-Patent Citations (1)
Title |
---|
王骁: ""基于Web的课件开发与发布平台的研究与实践"", 《中国优秀硕士学位论文全文数据库•信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306469A (en) * | 2019-08-21 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Barrier-free component construction method, device, equipment and storage medium |
CN113495887A (en) * | 2020-03-20 | 2021-10-12 | 北京沃东天骏信息技术有限公司 | Data form processing method, device and system |
CN112764729A (en) * | 2021-01-08 | 2021-05-07 | 深圳依时货拉拉科技有限公司 | Application software development method and device, computer equipment and readable storage medium |
CN112764729B (en) * | 2021-01-08 | 2024-02-06 | 深圳依时货拉拉科技有限公司 | Application software development method, device, computer equipment and readable storage medium |
CN114003220A (en) * | 2021-12-30 | 2022-02-01 | 思创数码科技股份有限公司 | Workflow model implementation method, system, readable storage medium and computer equipment |
CN114003220B (en) * | 2021-12-30 | 2022-05-03 | 思创数码科技股份有限公司 | Workflow model implementation method, system, readable storage medium and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109491646B (en) | 2022-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109491646A (en) | A kind of message input method, device, electronic equipment and readable medium | |
CN109074537A (en) | The lazy of template generates | |
CN109523187A (en) | Method for scheduling task, device and equipment | |
CN103984626B (en) | A kind of method and device for generating test case script | |
US11593074B2 (en) | System, method, and apparatus for data-centric networked application development services | |
CN108958736A (en) | Page generation method, device, electronic equipment and computer-readable medium | |
WO2019155369A1 (en) | Tri-affinity model driven method and platform for authoring, realizing, and analyzing a cross-platform application | |
CN109634490A (en) | A kind of list display method, device, equipment and storage medium | |
CN108345543A (en) | A kind of data processing method, device, equipment and storage medium | |
CN109074265A (en) | The preformed instruction of mobile cloud service | |
CN109800101A (en) | Report method, device, terminal device and the storage medium of small routine abnormal conditions | |
EP4058886A1 (en) | Computerized system and method for a distributed low-code / no-code computing environment | |
CN106888236A (en) | Conversation managing method and session management device | |
US20160328264A1 (en) | Network deployment for cellular, backhaul, fiber optic and other network infrastructure | |
CN108255706A (en) | Edit methods, device, terminal device and the storage medium of automatic test script | |
CN110263565A (en) | Method and apparatus for calling service | |
CN109684188A (en) | Test method and device | |
CN109446309A (en) | Problem feedback method and device | |
CN101710351A (en) | Method and system for simulating a plurality of devices | |
US20140279823A1 (en) | Lifecycle product analysis | |
CN111309624B (en) | Test method, test device, test equipment and storage medium | |
CN109471647A (en) | A kind of update method of data, device, electronic equipment and readable medium | |
Dobrica et al. | Experiencing native mobile health applications development | |
CN109492039A (en) | A kind of recording method of daily record data, device, electronic equipment and readable medium | |
CN107133072A (en) | One kind operation performs method and apparatus |
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 |