CN108255541A - Data source processing method, device, storage medium and the electronic equipment of form controls - Google Patents

Data source processing method, device, storage medium and the electronic equipment of form controls Download PDF

Info

Publication number
CN108255541A
CN108255541A CN201711464475.6A CN201711464475A CN108255541A CN 108255541 A CN108255541 A CN 108255541A CN 201711464475 A CN201711464475 A CN 201711464475A CN 108255541 A CN108255541 A CN 108255541A
Authority
CN
China
Prior art keywords
data
control
source
data source
subordinate
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
CN201711464475.6A
Other languages
Chinese (zh)
Other versions
CN108255541B (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201711464475.6A priority Critical patent/CN108255541B/en
Publication of CN108255541A publication Critical patent/CN108255541A/en
Application granted granted Critical
Publication of CN108255541B publication Critical patent/CN108255541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

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

Abstract

This disclosure relates to data source processing method, device, storage medium and the electronic equipment of a kind of form controls, this method include:After the first control in list is triggered, the first data that first control is triggered are determined, the data in first data, the first data source current for first control;Determine the n subordinate control there are cascade connection with first control, which is included positioned at the first control subordinate, and with first control direct correlation or all controls of indirect association;The n data source with first data correlation, the source of new data as the n subordinate control are extracted in the data source current from the n subordinate control respectively.It can be when form controls be triggered, the data source of all form controls of the form controls subordinate is screened and preloaded according to the data being triggered, dynamically reduce the corresponding data volume of follow-up form controls according to the data being triggered in superior control, improve data loading efficiency.

Description

Data source processing method, device, storage medium and the electronic equipment of form controls
Technical field
A kind of this disclosure relates to user interface controls design field, and in particular, to the data source processing side of form controls Method, device, storage medium and electronic equipment.
Background technology
Form controls is a kind of object in graphic user interface (Graphical User Interface, abbreviation GUI), User can perform the operations such as design and modification to form view by the object.When being developed to GUI, can pass through Form controls creates multiple list columns with cascade connection, such as drop-down option frame or the scroll list.In the prior art, exist When loading data source for above-mentioned multiple list columns with cascade connection, the mode that generally use assigns default value is each list column Fixed data source is loaded, and after upper level list column selection result is obtained, corresponding number is shown in next stage list column According to.In this way, whenever upper level form controls complete operate after, for next stage control data source screening mode still from It goes to search in above-mentioned fixed data source and be loaded, and next stage with the relevant data of form controls of upper level Its corresponding data source of control data volume it is bigger.For example, in a list, there are " province ", " city ", " area " four ranks respectively Control.Behind user selection Liaoning Province in control " province ", control " city " would generally (be also likely to be the model of bigger from the whole nation Enclose, if for example, the form controls also has " country " rank on the net, then the range may be Asia or the whole world) all cities The Urban Data in Liaoning Province is found out in city, data volume is larger, and behind user selection Daliang City in control " city ", control " area " would generally find out the data in Dalian incity area from all areas in the whole nation.It can be seen that when control loading data volume is larger Data source when, loading velocity can be a greater impact, and data loading efficiency is relatively low, consequently, it is possible in the loading procedure of control In there is interim card, influence user experience.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of data source processing method of form controls, dress It puts, storage medium and electronic equipment.
According to the embodiment of the present disclosure in a first aspect, provide a kind of data source processing method of form controls, including:
After the first control in list is triggered, the first data that first control is triggered are determined, described first Data in data the first data source current for first control;
Determine the n subordinate control there are cascade connection with first control, the n subordinate control includes being located at institute It states the first control subordinate, and is directly linked with first control or all controls of indirect association;
The n data with first data correlation are extracted in the data source current from the n subordinate control respectively Source, the source of new data as the n subordinate control.
Optionally, the method further includes:
When the second control in the list is triggered, second data source is loaded for second control, it is described Second control is the next stage control of first control, and first control and second control are appointing in the list Two adjacent controls of meaning;
Determine the second data that second control is triggered, second data are the number in second data source According to;
Determine the m subordinate control with second control, the m subordinate control includes being located under second control Grade, and with second control be directly linked or indirect association all controls;
It is extracted from second data source with the third data source of second data correlation as the m subordinate The data source of control.
Optionally, it extracts in the data source current from the n subordinate control and is closed with first data respectively N data source of connection, as the source of new data of the n subordinate control, including:
Obtain the association mark of each data in the first data source of k-th of control currently in the n subordinate control Know;
Obtain the association identification of first data;
According to the association identification of data each in first data source and the association identification of first data, described It is extracted in first data source with the matched one or more data of the association identification of first data as with described first Associated second data source of data;
Using second data source as the source of new data of k-th of control;
K=k+1 is enabled, and repeats the first current data of k-th of the control obtained in the n subordinate control The association identification of each data in source is to the step using source of new data of second data source as k-th of control Suddenly, until obtaining in the n subordinate control until the source of new data of all controls.
Optionally, the association identification is used to represent the incidence relation and relationship between superior and subordinate between data, described according to institute The association identification of the association identification of each data and first data in the first data source is stated, is carried in first data source It takes out with the matched one or more data of the association identifications of first data as associated the with first data Two data sources, including:
According to the association identification of data each in first data source and the association identification of first data, described The one or more data for determining to belong to the lower level data of first data in first data source are as second data source.
According to the second aspect of the embodiment of the present disclosure, a kind of data source processing unit of form controls, described device are provided Including:
Data determining module after the first control for working as in list is triggered, determines what first control was triggered First data, first data are the data in the first current data source of first control;
Control determining module, for determining the n subordinate control with first control there are cascade connection, the n is a Subordinate control include be located at the first control subordinate, and with first control be directly linked or indirect association all controls Part;
Data source extraction module, for being extracted respectively from the current data source of the n subordinate control and described N data source of one data correlation, the source of new data as the n subordinate control.
Optionally, described device further includes:
Data source load-on module, for when the second control in the list is triggered, being loaded for second control Second data source, next stage control of second control for first control, first control and described second Control is the adjacent control of any two in the list;
The data determining module is additionally operable to determine the second data that second control is triggered, second data For the data in second data source;
The control determining module is additionally operable to determine the m subordinate control with second control, the m subordinate control Part include be located at the second control subordinate, and with second control be directly linked or indirect association all controls;
The data source extraction module is additionally operable to extract from second data source and second data correlation Data source of the third data source as the m subordinate control.
Optionally, the data source extraction module, including:
First association identification acquisition submodule, for obtaining k-th of control in the n subordinate control currently first The association identification of each data in data source;
Second association identification acquisition submodule, for obtaining the association identification of first data;
Data extracting sub-module, for the association identification according to data each in first data source and first number According to association identification, the matched one or more of association identification with first data is extracted in first data source Data are as associated second data source with first data;
Data source determination sub-module, for the source of new data using second data source as k-th of control;
Control submodule is performed, for enabling k=k+1, and repeats the kth obtained in the n subordinate control The association identification of each data in the first current data source of a control is to described using second data source as the kth The step of source of new data of a control, until obtaining in the n subordinate control until the source of new data of all controls.
Optionally, the association identification is used to represent the incidence relation and relationship between superior and subordinate between data, and the data carry Submodule is taken, is used for:
According to the association identification of data each in first data source and the association identification of first data, described The one or more data for determining to belong to the lower level data of first data in first data source are as second data source.
According to the third aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating Machine program, when which is executed by processor described in the first aspect of the realization embodiment of the present disclosure the step of method.
According to the fourth aspect of the embodiment of the present disclosure, a kind of electronic equipment is provided, including:
Computer readable storage medium described in the third aspect of the embodiment of the present disclosure;And
One or more processor, for performing the program in the computer readable storage medium.
Data source processing method, device, storage medium and the equipment of the form controls of the offer of the disclosure, can be in list In the first control be triggered after, determine the first data that first control is triggered, first data for first control work as Data in the first preceding data source;Determine the n subordinate control there are cascade connection with first control, n subordinate's control Part include be located at the first control subordinate, and with first control be directly linked or indirect association all controls;Under the n The n data source with first data correlation is extracted in the current data source of grade control respectively, as the n subordinate control Source of new data.It can be when form controls be triggered, according to all list controls of the data being triggered to the form controls subordinate The data source of part is screened and is preloaded, and dynamically reduces follow-up form controls pair according to the data being triggered in superior control The data volume answered improves data loading efficiency.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Description of the drawings
Attached drawing is for providing further understanding of the disclosure, and a part for constitution instruction, with following tool Body embodiment is used to explain the disclosure, but do not form the limitation to the disclosure together.In the accompanying drawings:
Fig. 1 is the flow chart according to a kind of data source processing method of form controls shown in an exemplary embodiment;
Fig. 2 is the flow chart of the data source processing method for another form controls for implementing to exemplify according to Fig. 1;
Fig. 3 is the flow chart of a kind of data source extracting method for implementing to exemplify according to Fig. 1;
Fig. 4 is the block diagram according to a kind of data source processing unit of form controls shown in an exemplary embodiment;
Fig. 5 is the block diagram according to the data source processing unit of another form controls shown in embodiment illustrated in fig. 4;
Fig. 6 is the block diagram according to a kind of data source extraction module shown in embodiment illustrated in fig. 4;
Fig. 7 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment;
Fig. 8 is the block diagram according to another electronic equipment shown in an exemplary embodiment.
Specific embodiment
The specific embodiment of the disclosure is described in detail below in conjunction with attached drawing.It should be understood that this place is retouched The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
Fig. 1 is according to a kind of flow chart of the data source processing method of form controls shown in an exemplary embodiment, such as Shown in Fig. 1, this method may comprise steps of:
Step 101, after the first control in list is triggered, the first data that first control is triggered are determined.
Wherein, the data in first data, the first data source current for first control.First control can be Any dropdown control in form controls group comprising the multistage dropdown control with cascade connection, wherein, each dropdown control It can be shown in the form of pulling down Option Box or the scroll list, also, when being initialized to the form controls, each drop-down control Part corresponds to an original data source.
Step 102, the n subordinate control with first control there are cascade connection is determined.
Wherein, which includes being located at the first control subordinate, and with first control direct correlation or indirectly Associated all controls.For example, first control is shown as the drop-down option frame for selecting national title, above-mentioned n subordinate The drop-down option frames of titles such as control is respectively indicated as selecting to save, autonomous region or state, for selecting under city name Draw Option Box and the drop-down option frame for selecting district title.
Step 103, it is extracted respectively from the current data source of the n subordinate control and the n of first data correlation Data source, the source of new data as the n subordinate control.
Illustratively, when first control is triggered, the corresponding data source of all subordinate controls of first control is contracted It is small.For example, when user has selected national entitled China in the drop-down option frame of first control, the n subordinate control In, for selecting the corresponding data source of drop-down option frame of the titles such as province, autonomous region or state by global all provinces, autonomy Either state etc. is reduced to all provinces, municipality directly under the Central Government, autonomous region or area within Chinese territory in area, similarly, for selecting city name The corresponding data source of drop-down option frame of title is reduced to all cities within Chinese territory by global all cities, for selecting The corresponding data source of drop-down option frame of district title is reduced to all districts within Chinese territory by global all districts.
In conclusion the data source processing method for the form controls that the disclosure provides, the first control that can be in list After being triggered, the first data that first control is triggered are determined, first data, first data current for first control Data in source;Determine the n subordinate control there are cascade connection with first control, which, which includes being located at, is somebody's turn to do First control subordinate, and with first control be directly linked or indirect association all controls;Current from the n subordinate control The n data source with first data correlation, the source of new data as the n subordinate control are extracted in data source respectively.Energy It is enough when form controls is triggered, according to the data being triggered to the data sources of all form controls of the form controls subordinate into Row screening and preloading, dynamically reduce the corresponding data volume of follow-up form controls according to the data being triggered in superior control, Improve data loading efficiency.
Fig. 2 is the flow chart of the data source processing method for another form controls for implementing to exemplify according to Fig. 1, such as Shown in Fig. 2, after above-mentioned steps 103, this method may also comprise the following steps:.
Step 104, when the second control in the list is triggered, second data source is loaded for second control.
Wherein, which is the next stage control of first control, and first control and second control are the table The adjacent control of any two in list.
Illustratively, before the step 104, the reduction of the subordinate control data source caused by first control is triggered It has been completed that, at this point, the corresponding data source of the subordinate control of first control is new to be extracted in above-mentioned steps 103 Data source.Therefore in the second control of the next stage of the first control when loading data source, the data source loaded is exactly that this is new Data source thus reduces the data volume of the data source of the second control, therefore the data that can accelerate second control add Carry efficiency so that the second control loading ground is faster.
Step 105, the second data that second control is triggered are determined.
Wherein, which is the data in second data source.
Step 106, the m subordinate control with second control is determined.
Wherein, which includes being located at the second control subordinate, and with second control direct correlation or indirectly Associated all controls.
Step 107, it is extracted from second data source with the third data source of second data correlation as under the m The data source of grade control.
Illustratively, it is similar to the process described in step 101-103, when second control is triggered, second control The corresponding data source of all subordinate controls is reduced again.For example, when user selects in the drop-down option frame of second control During Liaoning Province, in the m subordinate control, for selecting the corresponding data source of drop-down option frame of city name by within Chinese territory All cities be reduced to all cities in Liaoning Province, for select the corresponding data source of drop-down option frame of district title by All districts within Chinese territory are reduced to all districts in Liaoning Province.It is understood that when any in form controls group When control is triggered, the corresponding data source of control of the control subordinate is contracted by the same way, until the form controls group In afterbody control be triggered.
Fig. 3 is the flow chart of a kind of data source extracting method for implementing to exemplify according to Fig. 1, as shown in figure 3, above-mentioned Step 103 may comprise steps of.
Step 1031, each data in the first data source of k-th of control currently in the n subordinate control are obtained Association identification.
Wherein, which is any subordinate control of above-mentioned first control, which can be the kth The original data source or carried out on the basis of the original data source that a control is loaded when form controls group initializes Reduce obtained data source.Wherein, when form controls initializes, each data in all data sources are added to accordingly Association identification, to show the superior and the subordinate's incidence relation between data.
Step 1032, the association identification of first data is obtained.
Wherein, which is the data triggered in above-mentioned first control by user.
Step 1033, according to the association identification of data each in first data source and the association identification of first data, Extracted in first data source with the matched one or more data of the association identification of first data as with this first Associated second data source of data.
Illustratively, which is used to represent the incidence relation and relationship between superior and subordinate between data, which wraps It includes:According to the association identification of data each in first data source and the association identification of first data, in first data source In determine the one or more data for the lower level data for belonging to first data as second data source.For example, the first data Comprising 50 data in source, wherein 20 numbers of 20 data comprising subsidiary association identification A, subsidiary association identification B according to this and When the association identification for determining the first data is A, first is filtered out according to association identification A for 10 data of subsidiary association identification C 20 data of subsidiary association identification A in data source as the second data source, and then second count this in the following steps 1034 K-th of control is loaded onto according to source.
Step 1034, using second data source as the source of new data of k-th of control.
Step 1035, enable k=k+1, and repeat k-th of control in the acquisition n subordinate control it is current the The association identification of each data in one data source to this using second data source as the step of the source of new data of k-th of control Suddenly, until obtaining in the n subordinate control until the source of new data of all controls.
It should be understood that the step 1035 is the iteration implementation procedure to above-mentioned steps 1031~1034, whenever above-mentioned Step 1031~1034 perform once, and the data source of a subordinate control of first control is reassigned, until completion pair The update of the data source of all subordinate controls of first control.
In conclusion the data source processing method for the form controls that the disclosure provides, the first control that can be in list After being triggered, the first data that first control is triggered are determined, first data, first data current for first control Data in source;Determine the n subordinate control there are cascade connection with first control, which, which includes being located at, is somebody's turn to do First control subordinate, and with first control be directly linked or indirect association all controls;Current from the n subordinate control The n data source with first data correlation, the source of new data as the n subordinate control are extracted in data source respectively.Energy It is enough when form controls is triggered, according to the data being triggered to the data sources of all form controls of the form controls subordinate into Row screening and preloading, dynamically reduce the corresponding data volume of follow-up form controls according to the data being triggered in superior control, Improve data loading efficiency.
Fig. 4 is according to a kind of block diagram of the data source processing unit of form controls shown in an exemplary embodiment, the table The data source processing unit 400 of single control part can be used for performing the method described in Fig. 1.Referring to Fig. 4, which can include:
Data determining module 410 after the first control for working as in list is triggered, determines what first control was triggered First data, first data are the data in the first current data source of first control;
Control determining module 420, under determining that the n subordinate control with first control there are cascade connection, the n are a Grade control include be located at the first control subordinate, and with first control be directly linked or indirect association all controls;
Data source extraction module 430, for extracted respectively from the current data source of the n subordinate control with this first N data source of data correlation, the source of new data as the n subordinate control.
Fig. 5 is according to the block diagram of the data source processing unit of another form controls shown in embodiment illustrated in fig. 4, the table The data source processing unit 400 of single control part can be used for performing the method described in Fig. 2.Referring to Fig. 5, which can also wrap It includes:
Data source load-on module 440, for when the second control in the list is triggered, being somebody's turn to do for second control loading Second data source, second control are the next stage control of first control, and first control and second control are the list In the adjacent control of any two;
The data determining module 410 is additionally operable to determine the second data that second control is triggered, and second data is are somebody's turn to do Data in second data source;
The control determining module 420 is additionally operable to determine the m subordinate control with second control, the m subordinate control packet It includes positioned at the second control subordinate, and is directly linked with second control or all controls of indirect association;
The data source extraction module 430 is additionally operable to extract with second data correlation from second data source Data source of three data sources as the m subordinate control.
Fig. 6 is according to a kind of block diagram of data source extraction module shown in embodiment illustrated in fig. 4, the data source extraction module 430 can be used for performing the method described in Fig. 3.Referring to Fig. 6, which can include:
First association identification acquisition submodule 431, for obtain k-th of control in the n subordinate control it is current the The association identification of each data in one data source;
Second association identification acquisition submodule 432, for obtaining the association identification of first data;
Data extracting sub-module 433, for the association identification according to data each in first data source and first number According to association identification, extracted in first data source and the matched one or more data of the association identification of first data As associated second data source with first data;
Data source determination sub-module 434, for the source of new data using second data source as k-th of control;
Control submodule 435 is performed, for enabling k=k+1, and repeats k-th in the acquisition n subordinate control The association identification of each data in the first current data source of control to this using second data source as k-th of control The step of source of new data, until obtaining in the n subordinate control until the source of new data of all controls.
Optionally, which is used to represent the incidence relation and relationship between superior and subordinate between data, data extraction Module 433, is used for:
According to the association identification of data each in first data source and the association identification of first data, in first number According to the one or more data for the lower level data for determining to belong to first data in source as second data source.
In conclusion the data source processing unit for the form controls that the disclosure provides, the first control that can be in list After being triggered, the first data that first control is triggered are determined, first data, first data current for first control Data in source;Determine the n subordinate control there are cascade connection with first control, which, which includes being located at, is somebody's turn to do First control subordinate, and with first control be directly linked or indirect association all controls;Current from the n subordinate control The n data source with first data correlation, the source of new data as the n subordinate control are extracted in data source respectively.Energy It is enough when form controls is triggered, according to the data being triggered to the data sources of all form controls of the form controls subordinate into Row screening and preloading, dynamically reduce the corresponding data volume of follow-up form controls according to the data being triggered in superior control, Improve data loading efficiency.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is the block diagram according to a kind of electronic equipment 700 shown in an exemplary embodiment.As shown in fig. 7, the electronics is set Standby 700 can include:Processor 701, memory 702, multimedia component 703, input/output (I/O) interface 704, Yi Jitong Believe component 705.
Wherein, processor 701 is used to control the integrated operation of the electronic equipment 700, to complete above-mentioned form controls All or part of step in data source processing method.Memory 702 is used to store various types of data to support in the electricity The operation of sub- equipment 700, these data can for example include for any application program for being operated on the electronic equipment 700 or The instruction of method and the relevant data of application program, such as contact data, message, picture, audio, the video etc. of transmitting-receiving Deng.The memory 702 can realize by any kind of volatibility or non-volatile memory device or combination thereof, such as Static RAM (Static Random Access Memory, abbreviation SRAM), electrically erasable is read-only to be deposited Reservoir (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), it is erasable can Program read-only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM) may be programmed read-only deposit Reservoir (Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or CD.Multimedia component 703 can include screen and audio component.Wherein Screen for example can be touch screen, and audio component is for output and/or input audio signal.For example, audio component can include One microphone, microphone are used to receive external audio signal.The received audio signal can be further stored in storage Device 702 is sent by communication component 705.Audio component further includes at least one loud speaker, for exports audio signal.I/O Interface 704 provides interface between processor 701 and other interface modules, other above-mentioned interface modules can be keyboard, mouse, Button etc..These buttons can be virtual push button or entity button.Communication component 705 is for the electronic equipment 700 and other Wired or wireless communication is carried out between equipment.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication Component 705 can include:Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 700 can be by one or more application application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part is realized, for performing the data source processing method of above-mentioned form controls.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction, example are additionally provided Such as include the memory 702 of program instruction, above procedure instruction can be performed by the processor 701 of electronic equipment 700 in completion The data source processing method for the form controls stated.
Fig. 8 is the block diagram according to a kind of electronic equipment 800 shown in an exemplary embodiment.For example, electronic equipment 800 can To be provided as a server.With reference to Fig. 8, electronic equipment 800 includes processor 822, and quantity can be one or more, with And memory 832, for storing the computer program that can be performed by processor 822.The computer program stored in memory 832 Can include it is one or more each correspond to the module of one group of instruction.In addition, processor 822 can be configured as The computer program is performed, to perform the data source processing method of above-mentioned form controls.
In addition, electronic equipment 800 can also include power supply module 826 and communication component 850, which can be with It is configured as performing the power management of electronic equipment 800, which, which can be configured as, realizes electronic equipment 800 Communication, for example, wired or wireless communication.In addition, the electronic equipment 800 can also include input/output (I/O) interface 858.Electricity Sub- equipment 800 can be operated based on the operating system for being stored in memory 832, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM etc..
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction, example are additionally provided Such as include the memory 832 of program instruction, above procedure instruction can be performed by the processor 822 of electronic equipment 800 in completion The data source processing method for the form controls stated.
The preferred embodiment of the disclosure is described in detail above in association with attached drawing, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure Monotropic type, these simple variants belong to the protection domain of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the disclosure to it is various can The combination of energy no longer separately illustrates.
In addition, arbitrary combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought should equally be considered as disclosure disclosure of that.

Claims (10)

1. a kind of data source processing method of form controls, which is characterized in that the method includes:
After the first control in list is triggered, the first data that first control is triggered, first data are determined Data in the first data source current for first control;
Determine the n subordinate control there are cascade connection with first control, the n subordinate control is including positioned at described the One control subordinate, and with first control be directly linked or indirect association all controls;
The n data source with first data correlation is extracted in the data source current from the n subordinate control respectively, is made Source of new data for the n subordinate control.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
When the second control in the list is triggered, second data source is loaded for second control, described second Control is the next stage control of first control, and first control and second control are arbitrary two in the list A adjacent control;
Determine the second data that second control is triggered, second data are the data in second data source;
Determining the m subordinate control with second control, the m subordinate control includes being located at the second control subordinate, And with second control be directly linked or indirect association all controls;
It is extracted from second data source with the third data source of second data correlation as the m subordinate control Data source.
3. according to the method described in claim 1, it is characterized in that, in the data source current from the n subordinate control The n data source with first data correlation is extracted respectively, as the source of new data of the n subordinate control, including:
Obtain the association identification of each data in the first data source of k-th of control currently in the n subordinate control;
Obtain the association identification of first data;
According to the association identification of data each in first data source and the association identification of first data, described first Extracted in data source with the matched one or more data of the association identification of first data as with first data Associated second data source;
Using second data source as the source of new data of k-th of control;
K=k+1 is enabled, and is repeated in the first current data source of k-th of the control obtained in the n subordinate control Each data association identification to described using second data source as the step of the source of new data of k-th of control, Until obtaining in the n subordinate control until the source of new data of all controls.
4. according to the method described in claim 3, it is characterized in that, the association identification is used to represent that the association between data to be closed System and relationship between superior and subordinate, the association of the association identification and first data according to data each in first data source Mark extracts and the matched one or more data conducts of the association identification of first data in first data source With associated second data source of first data, including:
According to the association identification of data each in first data source and the association identification of first data, described first The one or more data for determining to belong to the lower level data of first data in data source are as second data source.
5. the data source processing unit of a kind of form controls, which is characterized in that described device includes:
Data determining module after the first control for working as in list is triggered, determines first control is triggered first Data, first data are the data in the first current data source of first control;
Control determining module, for determining that there are n subordinate control of cascade connection, the n subordinates with first control Control include be located at the first control subordinate, and with first control be directly linked or indirect association all controls;
Data source extraction module, for being extracted respectively from the current data source of the n subordinate control and the described first number According to associated n data source, the source of new data as the n subordinate control.
6. device according to claim 5, which is characterized in that described device further includes:
Data source load-on module, for when the second control in the list is triggered, being described in second control loading Second data source, second control are the next stage control of first control, first control and second control For the adjacent control of any two in the list;
The data determining module is additionally operable to determine the second data that second control is triggered, and second data are institute State the data in the second data source;
The control determining module is additionally operable to determine the m subordinate control with second control, the m subordinate control packet It includes positioned at the second control subordinate, and is directly linked with second control or all controls of indirect association;
The data source extraction module is additionally operable to extract the third with second data correlation from second data source Data source of the data source as the m subordinate control.
7. device according to claim 5, which is characterized in that the data source extraction module, including:
First association identification acquisition submodule, for obtaining the first current data of k-th of control in the n subordinate control The association identification of each data in source;
Second association identification acquisition submodule, for obtaining the association identification of first data;
Data extracting sub-module, for the association identification according to data each in first data source and first data Association identification extracts and the matched one or more data of the association identification of first data in first data source As associated second data source with first data;
Data source determination sub-module, for the source of new data using second data source as k-th of control;
Control submodule is performed, for enabling k=k+1, and repeats k-th of the control obtained in the n subordinate control The association identification of each data in the first current data source of part is to described using second data source as described k-th control The step of source of new data of part, until obtaining in the n subordinate control until the source of new data of all controls.
8. device according to claim 7, which is characterized in that the association identification is used to represent that the association between data to be closed System and relationship between superior and subordinate, the data extracting sub-module are used for:
According to the association identification of data each in first data source and the association identification of first data, described first The one or more data for determining to belong to the lower level data of first data in data source are as second data source.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claim 1-4 the methods are realized during row.
10. a kind of electronic equipment, which is characterized in that including:
Computer readable storage medium described in claim 9;And
One or more processor, for performing the program in the computer readable storage medium.
CN201711464475.6A 2017-12-28 2017-12-28 Form control data source processing method and device, storage medium and electronic equipment Active CN108255541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711464475.6A CN108255541B (en) 2017-12-28 2017-12-28 Form control data source processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711464475.6A CN108255541B (en) 2017-12-28 2017-12-28 Form control data source processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108255541A true CN108255541A (en) 2018-07-06
CN108255541B CN108255541B (en) 2021-09-24

Family

ID=62724563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711464475.6A Active CN108255541B (en) 2017-12-28 2017-12-28 Form control data source processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108255541B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287269A (en) * 2020-06-22 2021-01-29 上海柯林布瑞信息技术有限公司 Data loading method and device, computing equipment and computer readable storage medium
CN115525853A (en) * 2022-10-17 2022-12-27 中电科大数据研究院有限公司 Form configuration method, system and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452380A (en) * 2007-12-05 2009-06-10 康佳集团股份有限公司 Method and system for implementing multi-stage linkage pulldown menu based on MVC model
CN101622619A (en) * 2007-04-10 2010-01-06 丁行俊 Be used for navigating and the method and system of the data of visual relational database and/or multi-dimensional database
WO2016184353A1 (en) * 2015-05-21 2016-11-24 阿里巴巴集团控股有限公司 Method and device for retrieving locating information in form
CN106528088A (en) * 2016-10-12 2017-03-22 东软集团股份有限公司 Method and device for addling control in online form

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101622619A (en) * 2007-04-10 2010-01-06 丁行俊 Be used for navigating and the method and system of the data of visual relational database and/or multi-dimensional database
CN101452380A (en) * 2007-12-05 2009-06-10 康佳集团股份有限公司 Method and system for implementing multi-stage linkage pulldown menu based on MVC model
WO2016184353A1 (en) * 2015-05-21 2016-11-24 阿里巴巴集团控股有限公司 Method and device for retrieving locating information in form
CN106528088A (en) * 2016-10-12 2017-03-22 东软集团股份有限公司 Method and device for addling control in online form

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287269A (en) * 2020-06-22 2021-01-29 上海柯林布瑞信息技术有限公司 Data loading method and device, computing equipment and computer readable storage medium
CN112287269B (en) * 2020-06-22 2024-03-22 上海柯林布瑞信息技术有限公司 Data loading method and device, computing equipment and computer readable storage medium
CN115525853A (en) * 2022-10-17 2022-12-27 中电科大数据研究院有限公司 Form configuration method, system and device and electronic equipment

Also Published As

Publication number Publication date
CN108255541B (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN102984383B (en) A kind of method of preview, device and mobile phone
US20180173709A1 (en) Content-aware filter options for media object collections
CN105446957B (en) Similitude determines method, apparatus and terminal
CN105005429B (en) A kind of method and terminal of terminal display picture
CN108255541A (en) Data source processing method, device, storage medium and the electronic equipment of form controls
CN103024156A (en) Method, system and mobile terminal for realizing one-handed mobile terminal operation
CN109739425B (en) Virtual keyboard, voice input method and device and electronic equipment
CN103885943A (en) Method for achieving drop-down list box control in webpage
CN102800048A (en) Electronic map scaling display method
CN107728810A (en) Terminal control method, device, terminal and storage medium
CN102891931A (en) Contact person search processing method based on mobile phone and mobile phone
JP2012190349A (en) Image processing device, image processing method, and control program
CN102508558A (en) Input system, terminal and input method
CN104572219A (en) Photographing mode switching method and photographing mode switching device
CN102184072A (en) Method and terminal for opening folder
CN104461571A (en) Menu level operating method and device
CN106294138A (en) Method for generating test case and device
CN110968998A (en) Intelligent prediction input method and system
CN103513778A (en) Input method and device for personal names
CN104811786A (en) Filtering method and device for menu bar option
CN105912138A (en) Phrase input method and device
CN113918522A (en) File generation method and device and electronic equipment
CN104657668A (en) Terminal
CN106598926A (en) Operation cancellation method and apparatus
CN105354051B (en) Method and device for presenting information flow card and electronic equipment

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