CN107885533A - The method and device of management assembly code - Google Patents

The method and device of management assembly code Download PDF

Info

Publication number
CN107885533A
CN107885533A CN201711233539.1A CN201711233539A CN107885533A CN 107885533 A CN107885533 A CN 107885533A CN 201711233539 A CN201711233539 A CN 201711233539A CN 107885533 A CN107885533 A CN 107885533A
Authority
CN
China
Prior art keywords
code
target element
configuration information
function
application page
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
CN201711233539.1A
Other languages
Chinese (zh)
Other versions
CN107885533B (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201711233539.1A priority Critical patent/CN107885533B/en
Publication of CN107885533A publication Critical patent/CN107885533A/en
Application granted granted Critical
Publication of CN107885533B publication Critical patent/CN107885533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • 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 invention discloses a kind of method and device of management assembly code, belong to visual development technical field.Methods described includes:In the editing process of the intended application page, when receiving the feature list idsplay order of target element in the intended application page, the feature list to be selected of the target element is shown, wherein the feature list to be selected includes the option of multiple functions;After the selection instruction of option of objective function is received, the configuration information of the objective function prestored is obtained;The configuration information of the objective function is added in the configuration information of the target element, based on the configuration information after addition, generates the complete code of the target element.It using the present invention, can improve the efficiency that application page face is developed.

Description

The method and device of management assembly code
Technical field
The present invention relates to visual development technical field, more particularly to a kind of method and device of management assembly code.
Background technology
With the development of visual development technology, increasing user is made using soft using visualization toolkit Part.Visual development refers to, on the graphic user interface that visual developing instrument provides, by various assemblies, generates applications pages The development approach in face, component can include menu component, button assembly, dialog box component, edit box component, radio box component, Check box component, list box element, content display component (picture or word etc.) and scroll-bar component etc..
When user uses visualization toolkit, visualization toolkit is first opened, then can find the selection of component Region, user can select the component needed wherein, be dragged to the relevant position of five application page to be generated, herein mistake Cheng Zhong, user by way of preview component function, can check the functional effect of component.User arranges the component of needs After good, generation button can be clicked on, visualization toolkit can generates corresponding five application page.
During the present invention is realized, inventor has found that prior art at least has problems with:
Component in current visualization toolkit, its function and pattern are all fixed, for the group of certain pattern Part, if the function of component is unsatisfactory for user's request, component can only be changed by way of technical staff changes component source code Function, so as to, cause five application page develop efficiency reduce.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of method and dress of management assembly code Put.The technical scheme is as follows:
First aspect according to embodiments of the present invention, there is provided a kind of method of management assembly code, methods described include:
In the editing process of the intended application page, when the function of receiving target element in the intended application page arranges During table idsplay order, the feature list to be selected of the target element is shown, wherein the feature list to be selected includes multiple work( The option of energy;
After the selection instruction of option of objective function is received, the configuration information of the objective function prestored is obtained;
The configuration information of the objective function is added in the configuration information of the target element, based on matching somebody with somebody after addition Confidence ceases, and generates the complete code of the target element.
Alternatively, it is described when the feature list for receiving target element in the intended application page in editing mode is shown During instruction, before showing the feature list to be selected of the target element, in addition to:
When the addition for receiving the target element instructs, based on the foundation code of the target element, in the mesh Mark in five application page, add the target element.
Alternatively, methods described also includes:
When the page code for receiving the intended application page generates instruction, based on institute in the intended application page The complete code of target element and the complete code of other assemblies are stated, generates the code of the intended application page.
Alternatively, methods described also includes:
When receiving the description information query statement of the objective function, described in the function for each function of prestoring In information, the functional circuit information of the objective function is obtained, shows the functional circuit information of acquisition.Alternatively, it is described by institute State function code to be added in the foundation code of the target element, generate the complete code of the target element, including:
Display parameters input window;
The configuration parameter inputted in the parameter input window is obtained, the configuration parameter is added to the function code In;
The configuration information for adding the objective function after the configuration parameter is added to the configuration information of the target element In, based on the configuration information after addition, the function code after the configuration parameter will be added, introduce the basis of the target element In code, the complete code of the target element is generated.
Second aspect according to embodiments of the present invention, there is provided a kind of device of management assembly code, described device include:
First display module, in the editing process of the intended application page, when receiving the intended application page During the feature list idsplay order of middle target element, the feature list to be selected of the target element is shown, wherein the work(to be selected Energy list includes the option of multiple functions;
Acquisition module, for after the selection instruction of option of objective function is received, obtaining the target work(prestored The configuration information of energy;
First generation module, for the configuration information of the objective function to be added to the configuration information of the target element In, based on the configuration information after addition, generate the complete code of the target element.
Alternatively, described device also includes:
Add module, for described when the function row for receiving target element in the intended application page in editing mode During table idsplay order, before showing the feature list to be selected of the target element, when the addition for receiving the target element refers to When making, based on the foundation code of the target element, in the intended application page, the target element is added.
Alternatively, described device also includes:
Second generation module, for when receive the intended application page page code generate instruction when, based on institute The complete code of target element described in the intended application page and the complete code of other assemblies are stated, generates the intended application page The code in face.
Alternatively, described device also includes:
Second display module, for when receiving the description information query statement of the objective function, prestoring Each function functional circuit information in, obtain the functional circuit information of the objective function, show the function description letter of acquisition Breath.
Alternatively, first generation module, is used for:
Display parameters input window;
The configuration parameter inputted in the parameter input window is obtained, the configuration parameter is added to the function code In;
The configuration information for adding the objective function after the configuration parameter is added to the configuration information of the target element In, based on the configuration information after addition, the function code after the configuration parameter will be added, introduce the basis of the target element In code, the complete code of the target element is generated.
The third aspect according to embodiments of the present invention, there is provided a kind of terminal, the terminal include processor and memory, institute State and at least one instruction is stored with memory, the instruction is loaded by the processor and performed to realize as in first aspect The method of described management assembly code.
Fourth aspect according to embodiments of the present invention, there is provided a kind of computer-readable recording medium, in the storage medium At least one instruction is stored with, the instruction is loaded by processor and performed to realize the management assembly as described in first aspect The method of code.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, in the editing process of the intended application page, when receiving in the intended application page During the feature list idsplay order of target element, the feature list to be selected of the target element is shown, wherein the function to be selected List includes the option of multiple functions;After the selection instruction of option of objective function is received, the mesh prestored is obtained Mark the configuration information of function;The configuration information of the objective function is added in the configuration information of the target element, be based on Configuration information after addition, generate the complete code of the target element.So, the function of the component in visualization toolkit It can voluntarily be selected by user, change the function of component without can by way of changing component source code technical staff, The efficiency for developing five application page improves.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not Can the limitation present invention.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of flow chart of the method for management assembly code provided in an embodiment of the present invention;
Fig. 2 is a kind of interface schematic diagram of management assembly code provided in an embodiment of the present invention;
Fig. 3 is a kind of interface schematic diagram of management assembly code provided in an embodiment of the present invention;
Fig. 4 is a kind of interface schematic diagram of management assembly code provided in an embodiment of the present invention;
Fig. 5 is a kind of interface schematic diagram of management assembly code provided in an embodiment of the present invention;
Fig. 6 is a kind of interface schematic diagram of management assembly code provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of management assembly code device provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of management assembly code device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of management assembly code device provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of management assembly code device provided in an embodiment of the present invention;
Figure 11 is a kind of terminal structure block diagram provided in an embodiment of the present invention.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the present invention, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope of present inventive concept by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate idea of the invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
The embodiments of the invention provide a kind of method of management assembly code, this method can be realized by terminal.Wherein, should Terminal is to be mounted with the terminal of visualization toolkit.
Terminal can include the parts such as processor, memory, screen.Processor, can be CPU (Central Processing Unit, CPU) etc., it can be used for the instruction of analytical capabilities list display, control screen display target The feature list to be selected of component, the function code for obtaining the objective function prestored.Memory, can be RAM (Random Access Memory, random access memory), Flash (flash memory) etc., it can be used for data, processing procedure that storage receives Data generated in required data, processing procedure etc., such as function code, feature list idsplay order, feature list to be selected, mesh Mark selection instruction of option of function etc..Screen can be display screen, be displayed for feature list to be selected, intended application page Face, the editing interface etc. of visualization toolkit.
Terminal can also include transceiver, image-detection component, audio output part and audio input means etc..Transmitting-receiving Device, it can be used for carrying out data transmission with miscellaneous equipment, can be with for example, send feedback information etc. of user to background server Including antenna, match circuit, modem etc..Image-detection component can be that shooting is first-class.Audio output part can be Audio amplifier, earphone etc..Audio input means can be microphone etc..
As shown in figure 1, the handling process of this method can include the steps:
In a step 101, in the editing process of the intended application page, when receiving target element in the intended application page Feature list idsplay order when, the feature list to be selected of display target component.
Wherein, feature list to be selected includes the option of multiple functions.
In force, when user makes five application page using visualization toolkit, visualization toolkit is first opened, Component selection region, page editing region and operation selection region, group can be included in the editing interface of visualization toolkit The icon of selective component can be shown in part selection region, can be shown in editing mode in page editing region Five application page, operate selection region in can show the option of operation that various editing process are used.It is stored with terminal each The foundation code of component, foundation code include the display image data of component and perform the code of display logic.In addition, terminal Feature list to be selected corresponding to each component can also be prestored, technology people is contained in the feature list to be selected of any component Member sets optional function for the component in advance.For example, technical staff is that there is provided redirect webpage function, show for content display component Show the functions such as dialog box function, display form function, redirect webpage function and be used to that after clicking on component a webpage can be jumped to, Display dialog box function, which is used to clicking on after component, can show a dialog box, and display form function can after being used to clicking on component To show a form.
User can select the component (i.e. target element) needed in component selection region, then dragged to and be in The relevant position of the intended application page of editing mode.Now terminal can then receive the addition instruction of target element, and then eventually End can obtain the foundation code of the target element prestored, based on the foundation code in above-mentioned position, display target component. User can find feature list option in selection region is operated, and click on the feature list option, and terminal can then receive mesh The feature list idsplay order of component is marked, and then terminal can be with the feature list to be selected of display target component.
In addition, when the function in feature list to be selected is a lot, in order to facilitate the lookup of user, search work(can be set Can, as shown in Fig. 2 can be provided with search window in feature list to be selected, user can input desired in the search window The function title of search, the function title that terminal can then be inputted based on user, in the institute of target element, functional middle search is corresponding Function, and the function of searching is shown in feature list to be selected, so, makes user's use more convenient, improve editor's effect Rate.When user wants some function, but does not have in feature list to be selected, it is anti-that visualization toolkit can also provide user Infeed mechanism, as shown in figure 3, can be provided with the option of feedback in feature list to be selected, user clicks on the option of feedback, in bullet In the feedback window gone out, the description of desired function is inputted, clicks on and determines option.Terminal can send the feedback information of user To technical staff, technical staff is added function in time according to user's request, make visualization toolkit more to meet to use The demand at family.
, can when clicking on this pictures for example, as shown in figure 4, user wants to add a pictures in the intended application page To jump in a webpage, after user opens visualization toolkit, it can be seen that component can be included in editing interface and selected Region, page editing region and operation selection region are selected, the icon of selective component can be shown in component selection region, The intended application page for being currently at editing mode is shown in page editing region, function can be included by operating in selection region List option etc..User can select content display component, then dragged to user and wished first in the selection region of component The position for hoping the component be shown in the intended application page, then click content display component by right key in the intended application page, The option of insert pictures is selected, in the window of the selection picture of ejection, selects to want the picture of insertion, thus addition is good Picture.Then this component is chosen in the intended application page, feature list option is found in menu selection area, clicking on should Feature list option, feature list to be selected can be then shown below the option.User selects to redirect net in feature list to be selected Page function, click on the option of this function, so that it may so that this component, which has, redirects webpage function.
Alternatively, when user does not know about the effect of some function, the functional circuit information of the function can be inquired about, accordingly Processing can be as follows:When receiving the description information query statement of objective function, in the function for each function of prestoring In description information, the functional circuit information of objective function is obtained, shows the functional circuit information of acquisition.
In force, technical staff has write functional circuit information when writing the function code of function to each function, Functional circuit information is used for the title of representation function and function is played a part of, and stores these functional circuit informations.
After user opens the feature list to be selected of target element, if effect to some function in feature list to be selected or When the effect reached is not known about, the description information of the terminal inquiry function (i.e. objective function) can be operated, terminal receives mesh After the description information query statement for marking function, the functional circuit information for each function of prestoring is found, according to objective function Description information query statement, the functional circuit information of objective function is found wherein, then describe to believe by the function of finding Breath is shown in functional circuit information display box.For example, when some function is not known about during user is to feature list to be selected, user The cursor placement of mouse can be stopped to one section of duration on the option of the function, terminal can occur a display box automatically, show Show in frame be effect to the function and the effect reached description information, user reads that the description information can understands should The effect of function.
In a step 102, after the selection instruction of option of objective function is received, the objective function prestored is obtained Configuration information.
In force, user selects to need function (the i.e. target work(set for target element in feature list to be selected Can), and after clicking on the option of objective function, terminal receives the selection instruction of the option of objective function, parses the selection instruction Afterwards, terminal in the code set prestored, inquires about configuration information corresponding to objective function according to the selection instruction.
In step 103, the configuration information of objective function is added in the configuration information of target element, after addition Configuration information, generate the code of target element.
In force, after inquiring configuration information corresponding to objective function, the configuration information is added to mesh by terminal control In the configuration information for marking component, according to the configuration information after addition, by calling bound functions, the code of objective function is introduced In the foundation code of target element, the complete code of target element is generated.So, the complete code is passed through, it is possible to achieve target The display of component, and the execution of objective function.
Alternatively, during objective function is added for target element, the configuration parameter in function code may need User is set, and related processing can be as follows:Display parameters input window, the configuration ginseng inputted in the input window that gets parms Number, configuration parameter is added in function code, and the configuration information of the objective function after addition configuration parameter is added into target In the configuration information of component, based on the configuration information after addition, by the function code after addition configuration parameter, target element is introduced Foundation code in, generate the complete code of target element.
In force, for some functions of component, possible some configuration parameters are desirable in corresponding function code Set by user, for example, the network address that redirects in redirecting the function code of webpage function is to need the configuration parameter of user configuration, The adding procedure of this kind of function will be described in detail below.User is needed to carry out when configuration parameter in objective function be present During setting, after user clicks on the option of objective function, terminal can parameter input window corresponding to automatic display target function.User Configuration parameter is inputted in parameter input window, is clicked on after determining option, terminal can get user in parameter input window The configuration parameter of middle input, configuration parameter is added to the position that technical staff in function code pre-sets, addition is obtained and matches somebody with somebody Put the function code after parameter.Then, the configuration information of the objective function after addition configuration parameter is added to target element In configuration information, according to the configuration information after addition, the base of target element the function code after configuration parameter will be added is incorporated into In plinth code, and the complete code of the foundation code synthesis target element of target element.For example, as shown in figure 5, user is editing During the intended application page, it is desirable to can be jumped to when clicking on certain pictures in a webpage, then user selects to this component After redirecting webpage function, visualization toolkit can the parameter input window that can input network address of automatic spring one, joining The network address of the webpage redirected is wanted in input in number input window, clicks on after determining option, so that it may is redirected so that this component has To the function of the webpage.
Alternatively, after user completes editor's intended application page, the terminal generation intended application page can be operated, accordingly Processing can be as follows:When the page code for receiving the intended application page generates instruction, based on target in the intended application page The complete code of component and the complete code of other assemblies, generate the code of the intended application page.
In force, user can add various components based on above-mentioned processing mode in the intended application page, And corresponding function is set for component based on the demand of oneself.As shown in fig. 6, when user completes the editor of the intended application page Afterwards, it is desirable to when generating the intended application page, can be found in selection region is operated and complete option, and click on completion option, eventually End can then receive the page code generation instruction of the intended application page, and then, terminal can be with the window of display storage location, window Mouth includes the window of filling in of the information such as storage location, filename and file type, and user can fill in intended application wherein Storage location, filename and file type of the complete code of the page etc., and click on and save options, terminal will transfer target group The complete code of part and the code of other assemblies, by the code of these Code synthesis intended application pages, it is stored in user's selection Storage location.The intended application Page-saving that user edits can thus be got off.
In the embodiment of the present invention, in the editing process of the intended application page, when receiving in the intended application page During the feature list idsplay order of target element, the feature list to be selected of the target element is shown, wherein the function to be selected List includes the option of multiple functions;After the selection instruction of option of objective function is received, the mesh prestored is obtained Mark the configuration information of function;The configuration information of the objective function is added in the configuration information of the target element, be based on Configuration information after addition, generate the complete code of the target element.So, the function of the component in visualization toolkit It can voluntarily be selected by user, change the function of component without can by way of changing component source code technical staff, The efficiency for developing five application page improves.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of device of management assembly code, such as Fig. 7 institutes Show, the device includes:First display module 710, the generation module 730 of acquisition module 720 and first.
First display module 710 is configured as in the editing process of the intended application page, when receiving the target In five application page during the feature list idsplay order of target element, the feature list to be selected of the target element, wherein institute are shown Stating feature list to be selected includes the option of multiple functions;
After the selection instruction for the option that the acquisition module 720 is configured as receiving objective function, acquisition prestores Objective function configuration information;
First generation module 730 is configured as the configuration information of the objective function being added to the target element In configuration information, based on the configuration information after addition, the complete code of the target element is generated.
Alternatively, as shown in figure 8, described device also includes:
Add module 740 ought receive target element in the intended application page in editing mode described in being configured as During feature list idsplay order, before showing the feature list to be selected of the target element, when receiving the target element During addition instruction, based on the foundation code of the target element, in the intended application page, the target element is added.
Alternatively, as shown in figure 9, described device also includes:
When second generation module 750 is configured as receiving the page code generation instruction of the intended application page, Based on the complete code of target element and the complete code of other assemblies described in the intended application page, the target is generated The code of five application page.
Alternatively, as shown in Figure 10, described device also includes:
When second display module 760 is configured as receiving the description information query statement of the objective function, pre- In the functional circuit information for each function of first storing, the functional circuit information of the objective function is obtained, shows the function of acquisition Description information.
Alternatively, first generation module 730 is configured as:
Display parameters input window;
The configuration parameter inputted in the parameter input window is obtained, the configuration parameter is added to the function code In;
The configuration information for adding the objective function after the configuration parameter is added to the configuration information of the target element In, based on the configuration information after addition, the function code after the configuration parameter will be added, introduce the basis of the target element In code, the complete code of the target element is generated.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the embodiment of the present invention, in the editing process of the intended application page, when receiving in the intended application page During the feature list idsplay order of target element, the feature list to be selected of the target element is shown, wherein the function to be selected List includes the option of multiple functions;After the selection instruction of option of objective function is received, the mesh prestored is obtained Mark the configuration information of function;The configuration information of the objective function is added in the configuration information of the target element, be based on Configuration information after addition, generate the complete code of the target element.So, the function of the component in visualization toolkit It can voluntarily be selected by user, change the function of component without can by way of changing component source code technical staff, The efficiency for developing five application page improves.
It should be noted that:The management assembly code that above-described embodiment provides is in management assembly code, only with above-mentioned each The division progress of functional module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application Energy module is completed, i.e., the internal structure of terminal is divided into different functional modules, to complete whole described above or portion Divide function.In addition, the embodiment of the method for the device and management assembly code for the management assembly code that above-described embodiment provides belongs to Same design, its specific implementation process refer to embodiment of the method, repeated no more here.
The embodiment of the present invention additionally provides a kind of terminal structure block diagram.As shown in figure 11, the terminal 1100 can be portable Formula mobile terminal, such as:Smart mobile phone, tablet personal computer.Terminal 1100 be also possible to be referred to as user equipment, portable terminal etc. its His title.
Generally, terminal 1100 includes:Processor 1101 and memory 1102.
Processor 1101 can include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1101 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1101 can also include primary processor and coprocessor, main Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state. In some embodiments, processor 1101 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used for rendering and drawing for the content of display required for being responsible for display screen.In some embodiments, processor 1101 can also wrap AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processors are used to handle relevant machine learning Calculate operation.
Memory 1102 can include one or more computer-readable recording mediums, and the computer-readable recording medium can To be tangible and non-transient.Memory 1102 may also include high-speed random access memory, and nonvolatile memory, Such as one or more disk storage equipments, flash memory device.In certain embodiments, it is non-transient in memory 1102 Computer-readable recording medium is used to store at least one instruction, this is at least one instruct for by processor 1101 it is performed with The method for realizing management assembly code provided herein.
In certain embodiments, terminal 1100 is also optional includes:Peripheral interface 1103 and at least one periphery are set It is standby.Specifically, ancillary equipment includes:It is radio circuit 1104, touch display screen 1105, camera 1106, voicefrequency circuit 1107, fixed At least one of hyte part 1108 and power supply 1109.
Peripheral interface 1103 can be used at least one outer of I/O (Input/Output, input/output) correlations Peripheral equipment is connected to processor 1101 and memory 1102.In certain embodiments, processor 1101, memory 1102 and periphery Equipment interface 1103 is integrated on same chip or circuit board;In some other embodiments, processor 1101, memory 1102 and peripheral interface 1103 in any one or two can be realized on single chip or circuit board, this implementation Example is not limited to this.
Radio circuit 1104 is used to receive and launch RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1104 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1104 is by telecommunications Number being converted to electromagnetic signal is transmitted, or, the electromagnetic signal received is converted into electric signal.Alternatively, radio circuit 1104 include:Antenna system, RF transceivers, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1104 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to:WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations In example, it is relevant that radio circuit 1104 can also include NFC (Near Field Communication, wireless near field communication) Circuit, the application are not limited to this.
Touch display screen 1105 is used to show UI (User Interface, user interface).The UI can include figure, text Sheet, icon, video and its their any combination.Touch display screen 1105 also has collection on the surface of touch display screen 1105 Or the ability of the touch signal of surface.The touch signal can be inputted to processor 1101 as control signal Reason.Touch display screen 1105 is used to provide virtual push button and/or dummy keyboard, also referred to as soft key and/or soft keyboard.In some realities Apply in example, touch display screen 1105 can be one, set the front panel of terminal 1100;In further embodiments, touch aobvious Display screen 1105 can be at least two, be separately positioned on the different surfaces of terminal 1100 or in foldover design;In still other implementation In example, touch display screen 1105 can be flexible display screen, be arranged on the curved surface of terminal 1100 or on fold plane.Very Extremely, touch display screen 1105 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Touch display screen 1105 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. material prepare.
CCD camera assembly 1106 is used to gather image or video.Alternatively, CCD camera assembly 1106 includes front camera And rear camera.Generally, front camera is used to realize video calling or self-timer, and rear camera is used to realize photo or regard The shooting of frequency.In certain embodiments, rear camera at least two, it is that main camera, depth of field camera, wide-angle are taken the photograph respectively As any one in head, to realize main camera and background blurring function is realized in the fusion of depth of field camera, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shoot function are realized in angle camera fusion.In some embodiments In, CCD camera assembly 1106 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp or the flash of light of double-colored temperature Lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, the light compensation that can be used under different-colour.
Voicefrequency circuit 1107 is used to provide the COBBAIF between user and terminal 1100.Voicefrequency circuit 1107 can include Microphone and loudspeaker.Microphone is used for the sound wave for gathering user and environment, and converts sound waves into electric signal and input to processing Device 1101 is handled, or is inputted to radio circuit 1104 to realize voice communication.For stereo collection or the mesh of noise reduction , microphone can be multiple, be separately positioned on the different parts of terminal 1100.Microphone can also be array microphone or complete To collection type microphone.Loudspeaker is then used to the electric signal from processor 1101 or radio circuit 1104 being converted to sound wave. Loudspeaker can be traditional wafer speaker or piezoelectric ceramic loudspeaker.When loudspeaker is piezoelectric ceramic loudspeaker When, the audible sound wave of the mankind can be not only converted electrical signals to, the sound that the mankind do not hear can also be converted electrical signals to Ripple is to carry out the purposes such as ranging.In certain embodiments, voicefrequency circuit 1107 can also include earphone jack.
Positioning component 1108 is used for the current geographic position of positioning terminal 1100, to realize navigation or LBS (Location Based Service, location Based service).Positioning component 1108 can be the GPS (Global based on the U.S. Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group Part.
Power supply 1109 is used to be powered for each component in terminal 1100.Power supply 1109 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1109 includes rechargeable battery, the rechargeable battery can have micro USB Battery or wireless charging battery.Wired rechargeable battery is the battery to be charged by Wireline, and wireless charging battery is to pass through The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In certain embodiments, terminal 1100 also includes one or more sensors 1110.The one or more senses Device 1110 includes but is not limited to:Acceleration transducer 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensing Device 1114, optical sensor 1115 and proximity transducer 1116.
Acceleration transducer 1111 can detect the acceleration in three reference axis of the coordinate system established with terminal 1100 Size.For example acceleration transducer 1111 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1101 acceleration of gravity signals that can be gathered according to acceleration transducer 1111, control touch display screen 1105 is with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1111 can be also used for game or the exercise data of user Collection.
Gyro sensor 1112 can be with the body direction of detection terminal 1100 and rotational angle, gyro sensor 1112 Collection user can be cooperateed with to act the 3D of terminal 1100 with acceleration transducer 1111.Processor 1101 is according to gyro sensors The data that device 1112 gathers, it is possible to achieve following function:Action induction (for example UI is changed according to the tilt operation of user), clap Image stabilization, game control and inertial navigation when taking the photograph.
Pressure sensor 1113 can be arranged on the side frame of terminal 1100 and/or the lower floor of touch display screen 1105.When When pressure sensor 1113 is arranged on the side frame of terminal 1100, gripping signal of the user to terminal 1100 can be detected, according to The gripping signal carries out right-hand man's identification or prompt operation.When pressure sensor 1113 is arranged on the lower floor of touch display screen 1105 When, pressure operation that can be according to user to touch display screen 1105 is realized and the operability control on UI interfaces is controlled System.Operability control includes at least one of button control, scroll bar control, icon control, menu control.
Fingerprint sensor 1114 is used for the fingerprint for gathering user, with the identity according to the fingerprint recognition user collected. When the identity for identifying user is trusted identity, the user is authorized to perform related sensitive operation, the sensitivity by processor 1101 Operation includes solving lock screen, checks encryption information, downloads software, payment and change setting etc..Fingerprint sensor 1114 can be by Front, the back side or the side of terminal 1100 are set.When being provided with physical button or manufacturer Logo in terminal 1100, fingerprint sensing Device 1114 can integrate with physical button or manufacturer Logo.
Optical sensor 1115 is used to gather ambient light intensity.In one embodiment, processor 1101 can be according to light The ambient light intensity that sensor 1115 gathers is learned, controls the display brightness of touch display screen 1105.Specifically, ambient light intensity is worked as When higher, the display brightness of touch display screen 1105 is heightened;When ambient light intensity is relatively low, the aobvious of touch display screen 1105 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1101 can also gather according to optical sensor 1115, is moved State adjusts the acquisition parameters of CCD camera assembly 1106.
Proximity transducer 1116, also referred to as range sensor, it is generally arranged at the front of terminal 1100.Proximity transducer 1116 The distance between front for gathering user and terminal 1100.In one embodiment, when proximity transducer 1116 detects When the distance between front of user and terminal 1100 tapers into, touch display screen 1105 is controlled from bright screen by processor 1101 State switches to breath screen state;When proximity transducer 1116 detects user and the gradual change in the distance between the front of terminal 1100 When big, touch display screen 1105 is controlled to switch to bright screen state from breath screen state by processor 1101.
, can be with it will be understood by those skilled in the art that the restriction of the structure shown in Figure 11 not structure paired terminal 1100 Including than illustrating more or less components, either combining some components or being arranged using different components.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (12)

  1. A kind of 1. method of management assembly code, it is characterised in that methods described includes:
    In the editing process of the intended application page, when the feature list for receiving target element in the intended application page shows When showing instruction, the feature list to be selected of the target element is shown, wherein the feature list to be selected includes multiple functions Option;
    After the selection instruction of option of objective function is received, the configuration information of the objective function prestored is obtained;
    The configuration information of the objective function is added in the configuration information of the target element, based on matching somebody with somebody confidence after addition Breath, generate the code of the target element.
  2. 2. according to the method for claim 1, it is characterised in that described to receive the intended application page in editing mode In face during the feature list idsplay order of target element, before showing the feature list to be selected of the target element, in addition to:
    , should in the target based on the foundation code of the target element when the addition for receiving the target element instructs With in the page, adding the target element.
  3. 3. according to the method for claim 1, it is characterised in that methods described also includes:
    When the page code for receiving the intended application page generates instruction, based on mesh described in the intended application page The complete code of component and the complete code of other assemblies are marked, generates the code of the intended application page.
  4. 4. according to the method for claim 1, it is characterised in that methods described also includes:
    When receiving the description information query statement of the objective function, in the functional circuit information for each function of prestoring In, the functional circuit information of the objective function is obtained, shows the functional circuit information of acquisition.
  5. 5. according to the method for claim 1, it is characterised in that the configuration information by the objective function is added to institute In the configuration information for stating target element, based on the configuration information after addition, the code of the target element is generated, including:
    Display parameters input window;
    The configuration parameter inputted in the parameter input window is obtained, the configuration parameter is added in the function code;
    The configuration information for adding the objective function after the configuration parameter is added in the configuration information of the target element, base Configuration information after addition, the function code after the configuration parameter will be added, introduce the foundation code of the target element In, generate the complete code of the target element.
  6. 6. a kind of device of management assembly code, it is characterised in that described device includes:
    First display module, in the editing process of the intended application page, when receiving mesh in the intended application page When marking the feature list idsplay order of component, the feature list to be selected of the target element is shown, wherein the function row to be selected Table includes the option of multiple functions;
    Acquisition module, for after the selection instruction of option of objective function is received, obtaining the objective function prestored Configuration information;
    First generation module, for the configuration information of the objective function to be added in the configuration information of the target element, Based on the configuration information after addition, the complete code of the target element is generated.
  7. 7. device according to claim 1, it is characterised in that described device also includes:
    Add module, for described when the feature list for receiving target element in the intended application page in editing mode shows When showing instruction, before showing the feature list to be selected of the target element, when the addition for receiving the target element instructs, Based on the foundation code of the target element, in the intended application page, the target element is added.
  8. 8. device according to claim 1, it is characterised in that described device also includes:
    Second generation module, for when receive the intended application page page code generate instruction when, based on the mesh The complete code of target element and the complete code of other assemblies described in five application page are marked, generates the intended application page Code.
  9. 9. device according to claim 1, it is characterised in that described device also includes:
    Second display module, it is each what is prestored for when receiving the description information query statement of the objective function In the functional circuit information of function, the functional circuit information of the objective function is obtained, shows the functional circuit information of acquisition.
  10. 10. device according to claim 1, it is characterised in that first generation module, be used for:
    Display parameters input window;
    The configuration parameter inputted in the parameter input window is obtained, the configuration parameter is added in the function code;
    The configuration information for adding the objective function after the configuration parameter is added in the configuration information of the target element, base Configuration information after addition, the function code after the configuration parameter will be added, introduce the foundation code of the target element In, generate the complete code of the target element.
  11. 11. a kind of terminal, it is characterised in that the terminal includes processor and memory, is stored with least in the memory One instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the generation Code collection or instruction set are loaded by the processor and performed to realize the management assembly code as described in claim 1 to 5 is any Method.
  12. 12. a kind of computer-readable recording medium, it is characterised in that at least one instruction, extremely is stored with the storage medium Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction Collection is loaded by the processor and performed to realize the method for the management assembly code as described in claim 1 to 5 is any.
CN201711233539.1A 2017-11-30 2017-11-30 Method and device for managing component codes Active CN107885533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711233539.1A CN107885533B (en) 2017-11-30 2017-11-30 Method and device for managing component codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711233539.1A CN107885533B (en) 2017-11-30 2017-11-30 Method and device for managing component codes

Publications (2)

Publication Number Publication Date
CN107885533A true CN107885533A (en) 2018-04-06
CN107885533B CN107885533B (en) 2021-06-11

Family

ID=61776048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711233539.1A Active CN107885533B (en) 2017-11-30 2017-11-30 Method and device for managing component codes

Country Status (1)

Country Link
CN (1) CN107885533B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959361A (en) * 2018-05-17 2018-12-07 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus of list management
CN109657182A (en) * 2018-12-18 2019-04-19 深圳店匠科技有限公司 Generation method, system and the computer readable storage medium of webpage
CN109669677A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Loan platform function configuration method, unit and readable storage medium storing program for executing
CN109669688A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Based on visual software development methodology, device, terminal device and storage medium
CN109725901A (en) * 2018-05-31 2019-05-07 中国平安人寿保险股份有限公司 Development approach, device, equipment and the computer storage medium of front-end code
CN110543305A (en) * 2018-05-29 2019-12-06 杭州海康威视系统技术有限公司 method and device for replacing easy UI component
CN110969377A (en) * 2018-09-28 2020-04-07 杭州海康机器人技术有限公司 Logistics package information management system creating method and device and electronic equipment
CN111190657A (en) * 2020-01-07 2020-05-22 北京字节跳动网络技术有限公司 Activity configuration method and device, readable medium and electronic equipment
CN111367513A (en) * 2020-02-20 2020-07-03 北京达佳互联信息技术有限公司 Code completion method and device, electronic equipment and storage medium
CN111679818A (en) * 2020-06-17 2020-09-18 深圳市远云科技有限公司 Method and system for editing display software
CN112130829A (en) * 2020-08-25 2020-12-25 广州华多网络科技有限公司 Program development method, device, equipment and storage medium
CN112230910A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Page generation method, device, equipment and storage medium of embedded program
CN112416195A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Method and device for generating device control function
CN112433724A (en) * 2020-11-09 2021-03-02 北京达佳互联信息技术有限公司 Target component style generation method and device, electronic equipment and storage medium
CN112631566A (en) * 2020-12-28 2021-04-09 航天信息股份有限公司 Code generation method and device, storage medium and electronic equipment
CN113778397A (en) * 2021-09-01 2021-12-10 粒子文化科技集团(杭州)股份有限公司 Page generation method and device, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207854A (en) * 2009-12-28 2011-10-05 海洋王照明科技股份有限公司 Method, device and system for generating monitoring interfaces of equipment
CN102654833A (en) * 2012-02-01 2012-09-05 中兴通讯(香港)有限公司 Mobile phone application development method and system
CN103631947A (en) * 2013-12-13 2014-03-12 广东欧珀移动通信有限公司 List searching method and searching system
CN104219356A (en) * 2014-09-18 2014-12-17 深圳市中兴移动通信有限公司 Method and device for displaying and searching contact man information and mobile terminal
CN105872232A (en) * 2016-04-05 2016-08-17 珠海市小源科技有限公司 Number on-line inquiry method and number on-line inquiry apparatus
CN106412223A (en) * 2016-02-21 2017-02-15 魏新成 Method and system for dial-up search through direct handwriting input on virtual dialing pad
CN106909385A (en) * 2017-02-27 2017-06-30 百度在线网络技术(北京)有限公司 The operating method of visual page editing machine and visual page editing machine
CN107193554A (en) * 2017-04-27 2017-09-22 北京小米移动软件有限公司 A kind of method and apparatus for generating front-end code

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207854A (en) * 2009-12-28 2011-10-05 海洋王照明科技股份有限公司 Method, device and system for generating monitoring interfaces of equipment
CN102654833A (en) * 2012-02-01 2012-09-05 中兴通讯(香港)有限公司 Mobile phone application development method and system
CN103631947A (en) * 2013-12-13 2014-03-12 广东欧珀移动通信有限公司 List searching method and searching system
CN104219356A (en) * 2014-09-18 2014-12-17 深圳市中兴移动通信有限公司 Method and device for displaying and searching contact man information and mobile terminal
CN106412223A (en) * 2016-02-21 2017-02-15 魏新成 Method and system for dial-up search through direct handwriting input on virtual dialing pad
CN105872232A (en) * 2016-04-05 2016-08-17 珠海市小源科技有限公司 Number on-line inquiry method and number on-line inquiry apparatus
CN106909385A (en) * 2017-02-27 2017-06-30 百度在线网络技术(北京)有限公司 The operating method of visual page editing machine and visual page editing machine
CN107193554A (en) * 2017-04-27 2017-09-22 北京小米移动软件有限公司 A kind of method and apparatus for generating front-end code

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959361A (en) * 2018-05-17 2018-12-07 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus of list management
CN110543305A (en) * 2018-05-29 2019-12-06 杭州海康威视系统技术有限公司 method and device for replacing easy UI component
CN110543305B (en) * 2018-05-29 2023-05-30 杭州海康威视系统技术有限公司 Method and device for replacing easy UI component
CN109725901B (en) * 2018-05-31 2024-03-29 中国平安人寿保险股份有限公司 Front-end code development method, device, equipment and computer storage medium
CN109725901A (en) * 2018-05-31 2019-05-07 中国平安人寿保险股份有限公司 Development approach, device, equipment and the computer storage medium of front-end code
CN109669677A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Loan platform function configuration method, unit and readable storage medium storing program for executing
CN109669688A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Based on visual software development methodology, device, terminal device and storage medium
CN110969377A (en) * 2018-09-28 2020-04-07 杭州海康机器人技术有限公司 Logistics package information management system creating method and device and electronic equipment
CN110969377B (en) * 2018-09-28 2023-07-07 杭州海康机器人股份有限公司 Logistics package information management system creation method and device and electronic equipment
CN109657182A (en) * 2018-12-18 2019-04-19 深圳店匠科技有限公司 Generation method, system and the computer readable storage medium of webpage
CN109657182B (en) * 2018-12-18 2020-09-08 深圳店匠科技有限公司 Webpage generation method, system and computer readable storage medium
CN112230910A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Page generation method, device, equipment and storage medium of embedded program
CN112230910B (en) * 2019-07-15 2023-09-15 腾讯科技(深圳)有限公司 Page generation method, device and equipment of embedded program and storage medium
CN111190657B (en) * 2020-01-07 2022-07-05 北京字节跳动网络技术有限公司 Activity configuration method and device, readable medium and electronic equipment
CN111190657A (en) * 2020-01-07 2020-05-22 北京字节跳动网络技术有限公司 Activity configuration method and device, readable medium and electronic equipment
CN111367513A (en) * 2020-02-20 2020-07-03 北京达佳互联信息技术有限公司 Code completion method and device, electronic equipment and storage medium
CN111679818A (en) * 2020-06-17 2020-09-18 深圳市远云科技有限公司 Method and system for editing display software
CN112130829A (en) * 2020-08-25 2020-12-25 广州华多网络科技有限公司 Program development method, device, equipment and storage medium
CN112433724A (en) * 2020-11-09 2021-03-02 北京达佳互联信息技术有限公司 Target component style generation method and device, electronic equipment and storage medium
CN112416195A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Method and device for generating device control function
CN112631566A (en) * 2020-12-28 2021-04-09 航天信息股份有限公司 Code generation method and device, storage medium and electronic equipment
CN113778397A (en) * 2021-09-01 2021-12-10 粒子文化科技集团(杭州)股份有限公司 Page generation method and device, electronic device and storage medium

Also Published As

Publication number Publication date
CN107885533B (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN107885533A (en) The method and device of management assembly code
CN108063981A (en) The method and apparatus that the attribute of direct broadcasting room is set
CN107992305A (en) The layout method and device of function of application button
WO2019127899A1 (en) Method and device for addition of song lyrics
CN109168073A (en) The method and apparatus that direct broadcasting room cover is shown
CN108090210A (en) The method and apparatus for searching for audio
WO2022048398A1 (en) Multimedia data photographing method and terminal
CN110491358A (en) Carry out method, apparatus, equipment, system and the storage medium of audio recording
CN107959893A (en) The method and apparatus for showing account head portrait
CN108959361A (en) The method and apparatus of list management
CN109068160A (en) The methods, devices and systems of inking video
CN109213400A (en) Processing method, device, terminal and the storage medium of multimedia object
WO2022134634A1 (en) Video processing method and electronic device
EP3618055A1 (en) Audio mixing method and apparatus, and storage medium
CN109192218A (en) The method and apparatus of audio processing
CN110109608A (en) Text display method, device, terminal and storage medium
CN109525900A (en) Method, apparatus, terminal and the storage medium of watermark are added in video
CN110225390A (en) Method, apparatus, terminal and the computer readable storage medium of video preview
CN110543350A (en) Method and device for generating page component
CN109218751A (en) The method, apparatus and system of recommendation of audio
CN109547847B (en) Method and device for adding video information and computer readable storage medium
CN107656794A (en) Interface display method and device
CN110244999A (en) Control method, apparatus, equipment and the storage medium of destination application operation
CN110349559A (en) Carry out audio synthetic method, device, system, equipment and storage medium
CN108495183A (en) The method and apparatus for showing album information

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