CN109992580A - Processing method and processing device, storage medium, the computer equipment of table data - Google Patents
Processing method and processing device, storage medium, the computer equipment of table data Download PDFInfo
- Publication number
- CN109992580A CN109992580A CN201811326417.1A CN201811326417A CN109992580A CN 109992580 A CN109992580 A CN 109992580A CN 201811326417 A CN201811326417 A CN 201811326417A CN 109992580 A CN109992580 A CN 109992580A
- Authority
- CN
- China
- Prior art keywords
- data
- list
- information
- size
- show
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 238000000034 method Methods 0.000 claims abstract description 23
- 238000001514 detection method Methods 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000003550 marker Substances 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
This application discloses a kind of processing method and processing device of table data, storage medium, computer equipments, are related to data processing field, when can effectively solve to realize acquisition table data in the controller, so that size of code increases in controller, lead to too fat to move problem.Wherein method includes: that creation is used to obtain the special object of table data and customizes the data processing rule of the special object;The special object is bound with list object, to obtain the corresponding object listing data of the list object using the special object;When the data that cannot be completely shown when the list size infomation detection according to the list object, which goes out, to be existed in the object listing data and show, according to the data processing rule, the corresponding white space of the list object is created, and shows the data that cannot completely show described in the object listing data using the white space.The application is suitable for the processing of table data.
Description
Technical field
This application involves data processing fields, processing method and processing device, storage particularly with regard to a kind of table data
Medium, computer equipment.
Background technique
With the intelligentized propulsion of science and technology, various application software are come into being, mobile software (Application,
APP in), it is often necessary to the items list (i.e. commodity data) in the display data in a manner of list, such as shopping software, vehicle
Ticket orders the ticket list (i.e. ticket data) etc. in software.
Common practice is to realize to obtain table data in the controller at present.Specifically using controller from server
The table data for needing to show is obtained, these table datas that then will acquire are shown on the corresponding interface of list object.
However, size of code in controller can be made to increase, caused too fat to move when realizing acquisition table data in the controller.
Summary of the invention
In view of this, this application provides a kind of processing method and processing device of table data, storage medium, computers to set
It is standby, when main purpose is to solve the acquisition as realized table data in the controller, size of code in controller can be made to increase,
Lead to too fat to move problem.
According to the one aspect of the application, a kind of processing method of table data is provided, this method comprises:
Creation is used to obtain the special object of table data and customizes the data processing rule of the special object;
The special object is bound with list object, to obtain the list pair using the special object
As corresponding object listing data;
When the list size infomation detection according to the list object go out in the object listing data exist cannot be complete
When the data of displaying, according to the data processing rule, the corresponding white space of the list object is created, and described in utilization
White space shows the data that cannot completely show described in the object listing data.
According to further aspect of the application, a kind of processing unit of table data is provided, which includes:
Creating unit obtains the special object of table data for creating and customizes the data of the special object
Processing rule;
Binding unit, for binding the special object with list object, to be obtained using the special object
Take the corresponding object listing data of the list object;
Display unit goes out the object listing data according to the list size infomation detection of the list object for working as
It is middle to create the corresponding blank area of the list object then according to the data processing rule in the presence of the data that completely show
Domain shows the data that cannot completely show described in the object listing data using the white space.
According to the another aspect of the application, a kind of non-volatile readable storage medium is provided, calculating is stored thereon with
Machine program realizes the processing method of above-mentioned table data when described program is executed by processor.
According to another aspect of the application, a kind of computer equipment is provided, including storage medium, processor and deposit
The computer program that can be run on a storage medium and on a processor is stored up, the processor is realized when executing described program
State the processing method of table data.
By above-mentioned technical proposal, a kind of processing method and processing device of table data provided by the present application, storage medium,
Computer equipment, compared with the processing mode of current existing list data, the application is to will acquire the logic of table data from control
It is separated in device processed, is put into a special object, is bound special object to list object, Jin Ershi by way of classification
It now replaces controller to obtain the table data that list object needs by special object, solves meeting in existing way so that control
Device size of code processed is excessive and leads to too fat to move problem.And works as and target column is gone out according to the list size infomation detection of list object
When there are the data that cannot completely show when showing in table data, it is corresponding can to create list object according to data processing rule
White space shows the data that cannot completely show in object listing data in white space, and marks target table to be filled in
The location information of lattice can make the displaying of data more intuitive in this way, and browsing is got up more convenient.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the application can
It is clearer and more comprehensible, below the special specific embodiment for lifting the application.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please do not constitute the improper restriction to locally applying for explaining the application.In attached drawing
In:
Fig. 1 shows a kind of flow diagram of the processing method of table data provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams of the processing method of another table data provided by the embodiments of the present application;
Fig. 3 shows a kind of structural schematic diagram of the processing unit of table data provided by the embodiments of the present application.
Specific embodiment
The application is described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
When for the acquisition for realizing table data in the controller at present, size of code increase in controller can be made to cause
It is too fat to move, and since the list size of list object is fixed, it be easy to cause the data of partial table that can not show complete or cover
The information content in adjacent table is covered, so that user side be caused to watch unclear problem, present embodiments provides a kind of list number
According to processing method, as shown in Figure 1, this method comprises:
101, creation is used to obtain the special object of table data and customizes the data processing rule of special object.
Wherein, special object is the object for being used to realize acquisition table data logic an of special definition.It will acquire
The logic of table data is separated from controller, is put into a specific object.It first defines one and is specifically used to realize acquisition
The special object of mathematical logic, and the special object is exposed into relevant interface, such as obtain table data (getData), into
And list object can obtain table data information by calling this interface, which realizes this interface pair in inside
The function of answering completes the specific logic for obtaining specific data.Data processing rule can specifically be preset according to actual needs,
For example, obtaining the byte number of each table corresponding data in table data automatically;Obtain the form template of list object;According to
The size of byte number and form template automatically adjusts the displaying mode of table data, then for example new in blank space creation
Display area, table data using recapitulative word content is shown or carried out line feed displaying, hides and shows (i.e.
Be unfolded after click), reduce font and show size etc..
102, special object and list object are bound, it is corresponding to obtain list object using special object
Object listing data.
Wherein, object listing data are the data information content of table corresponding position to be filled up in list object.
In iOS system, some already present class addition classification can be given, it is then new to the addition of original class in classification
Function or attribute.Therefore bound special object to list object by way of classification, realize the spy that will acquire table data
Determine object and list object corresponds, list object can be bound by this, and list number is obtained using special object
According to.
List object b is given for example, special object a is bound by way of classification, then special object a can obtain list
The corresponding object listing data information of object b.
It 103, cannot be complete when the list size infomation detection according to list object, which goes out, to be existed in object listing data and show
When the data of whole displaying, according to data processing rule, the corresponding white space of list object is created, and utilize white space exhibition
Show the data that cannot completely show in object listing data.
Wherein, list size information is dimension information to be filled up a form, the i.e. width and height of table, according to table
Width and height can calculate the information such as the byte number for accommodating corresponding font, font size, word space and line space.
For example, determining that table can show that 15 line-spacings are 23 pounds of No. four Song according to the list size information of list object
The table data that number of words in table data is greater than 15 words is then determined as the data that cannot completely show, then according to number by body word
According to processing rule, white space is created to the table data that should be greater than list size information, will be greater than the table data of 15 words
Completely it is shown in the corresponding white space of list to be filled in.
The processing method of table data in through this embodiment can be created for obtaining column compared with prior art
The special object of table data, and then realize and replace controller to obtain the table data that list object needs, solution by special object
Meeting in existing way of having determined is so that controller code amount is excessive and leads to too fat to move problem.And according to the list of list object
Dimension information is the data processing rule of special object customization, creates the corresponding white space of list object, and utilize blank area
The data that cannot completely show in domain views object listing data, in this way can not with the data of effective solution partial table
The data shown in complete display or a certain table can cover the information content in adjacent table, to cause not obtaining
The problem of complete list data, the table data that can will exceed list size information are intuitively shown in white space,
It is more convenient to make user's browsing get up.
Further, as the refinement and extension of above-described embodiment specific embodiment, in order to completely illustrate the present embodiment
In specific implementation process, provide the processing method of another table data, as shown in Fig. 2, this method comprises:
201, creation is used to obtain the special object of table data and customizes the data processing rule of special object.
For example, creation special object b, for obtaining the corresponding table data of list object c, customization special object a is corresponding
Data processing rule are as follows: if table data is unsatisfactory for the byte number and list object of the table corresponding data that gets
Form template size, then completely showing table data in such a way that blank space creates new display area.
202, special object and list object are bound.
Further, in order to which utilization special object obtains the corresponding object listing data of list object.
In a kind of optional embodiment, step 202 be can specifically include: the corresponding list class of creation list object
Classification;The corresponding attribute of special object is added in classification;By default objc_getAssociatedObject function and
Classification after default objc_setAssociatedObject function adds attribute is bound to list object.
For example, special object a and list object b are bound, then the corresponding list class of list object b is created first
Classification, for example divide the classification of enterprise, the different institutions such as school.The corresponding attribute of special object a is added in classification, than
The different attribute of such as text or picture table data form, and then pass through preset objc_getAssociatedObject
Classification after function and objc_setAssociatedObject function add attribute is bound to list object.
203, the corresponding each table to be filled up a form of list object is obtained from the list size information of list object
Size.
Wherein, table size can be the size of width and height to be filled up a form.Wait fill up a form as list object
It is middle to need to carry out the blank form that table data is filled in.
204, it according to each table size to be filled up a form, detects in object listing data with the presence or absence of cannot be complete
The data of displaying.
In a kind of optional embodiment, step 204 be can specifically include: obtain list from object listing data
It is each wait fill up a form to the data content in requisition for displaying in object;According to corresponding with data content wait in filling up a form
Displaying require information, determine that the corresponding data of data content show size;If data show that size is greater than and data content pair
The table size to be filled up a form answered, it is determined that there are the data that cannot completely show in object listing data.
It wherein, can wait fill up a form to the data content in requisition for displaying to be corresponding to fill message wait fill up a form
Including the contents attribute for needing to show in table, such as image data or lteral data.Wait the displaying requirement letter in filling up a form
Breath is specific can include: when filling up a form corresponding location information and showing that contents attribute is text, corresponding desired word
The information such as body, font size, line space and byte number;If show contents attribute be image data if according to the width of picture and
Height determines corresponding size.
For example, the lteral data content that the A1 to be filled up a form for getting list object from table data needs to show
For " inventory detail ", then from the displaying requirement wait get corresponding text information in filling up a form are as follows: wait fill up a form
Position is D4, font is regular script, No. five words, line-spacing is 23 pounds of fixed value and open ended byte number is 10.Then according to text
The displaying requirement of word information, the font of list data, font number, line-spacing and byte number are set as to show requirement with table
Identical text formatting then can determine that the corresponding data of data content show size.Further, if according to wait fill up a form
The data that determine of displaying require information show that having a size of 3 centimetres, and table is having a size of 2 centimetres long, and can only accommodate a line
Meet the font for showing and requiring, because data show that size is greater than the corresponding table size to be filled up a form of data content, then may be used
Determine that object listing data will appear the phenomenon that content can not show completely when showing.
By it is above-mentioned judge object listing data whether can complete display data method, can be according to different default
Show require information, determine that corresponding data show size, so judge object listing whether can partial data, in this way can be with
According to the actual demand of user, filters out and meets the data information that table shows requirement, find the data that cannot completely show,
And then it is handled, reduce the workload of processing, so that it is more targeted to handle the displaying of list data.
205, it waits filling up a form wait middle acquisition target corresponding with the data that cannot completely show of filling up a form from each,
And semantic parsing is carried out to word segment corresponding with the data that cannot completely show.
Wherein, the semantic syntactic structure for resolving to parsing sentence, the content information to be conveyed, find out central point and
The theme of table data.
206, referring to semantic parsing result, summary definition is carried out to word segment and obtains summary information, and to summarize and believe
The length of breath meets the data displaying size requirement for the corresponding table dimension information that waits filling up a form with target.
In a kind of optional embodiment, step 206 be can specifically include: inquire first in the word segment with column
The relevant keyword of table Data subject;The word segment is divided to obtain each subordinate sentence according to punctuation mark;Again by each subordinate sentence
It is ranked up according to the sequence of the number comprising keyword from more to less, and obtains the subordinate sentence of predetermined number in the top, and
The arrangement that the subordinate sentence of predetermined number waits filling up a form interior in target shows that length meets and waits filling up a form corresponding table with target
The data of dimension information show size requirement;Finally the subordinate sentence of predetermined number is arranged according to the narrative order of word segment
Column combination generates the corresponding summary information of word segment.
Wherein, summary information be original word content is carried out it is necessary delete, make to leave text meets list ruler
Very little requirement, and the text information of content topic is not influenced.
For example, keyword relevant to table data theme is " area construction " in statistics table data in advance, by text
The more a sentences of a, b, c, d are divided into according to punctuation marks such as comma, branch, fullstops in data, are then searched in each sentence
The keyword counted and the number comprising keyword, if a keyword number for including is the keyword number that 1, b includes
For 2, the c keyword number for including be 4, the keyword number that d includes is 3.Then by contained keyword number from more to few suitable
Sequence sequence is c, d, b, a, considers specific size situation to be filled up a form, when such as taking preceding 3 sentences, just meets wait fill in
Size when showing in table, then arrange these three sentences according to the narrative order of word segment, i.e. b, c, d,
And then this 3 sentences are generated into the corresponding summary information of word segment.
207, wait filling up a form in target interior replaces the data that cannot completely show to be shown using summary information.
For example, based on the example in step 206, it is after obtaining summary information to the end, summary information replacement is original super
The object listing data of table size out, and by summary information be filled into it is corresponding wait fill in item carry out data displaying.
It object listing data information is generated into summary information shows wait the method in filling up a form by above-mentioned, it can be with
The main summary information for allowing user to browse to data while meeting data and showing size, is greatly saved the table of user
Reading time helps customer analysis to go out the main contents main points of list data.
It further, can be according to number in order to completely show the data that cannot completely show in object listing data
According to processing rule, the corresponding white space of creation list object, and being shown using white space cannot be complete in object listing data
The data of whole displaying, in a kind of optional embodiment, which be can specifically include: obtain the table of list object first
Grid template information;According still further to form template information, the corresponding white space of list object is created;From form template information really
Fixed target corresponding with the data that cannot completely show waits filling up a form;It is shown in object listing data using white space
When the data that cannot completely show, shows in white space and wait filling up a form corresponding location information with target.
Wherein, form template information is the table area constituted there are position point according to tables all in list object
Cloth, from where it can be seen that a certain specific table location information and shared size, still further it can be seen that the table in list object
Integral layout and do not exist table distribution region.It may include list object each table to be filled in form template information
Font request information in lattice, and dimension information each to be filled up a form;It may include needing to fill in font request information
Font, font size, word space and the line space of text, and if it is picture, the i.e. provisioning information of the width of picture and height,
The dimension information specifically includes width and elevation information to be filled up a form.Each white space has respective specific dimensions
And corresponding mark, specific dimensions can according to need the number of words for the table data filled in, picture size etc. and determine.
For example, can determine whether out each position to be filled up a form according to the form template information of the list object a got
Confidence breath, shared size, can analyze the integral layout of table in list object.Table in list object is analyzed
Integral layout, then the region except table integral layout, creates the corresponding white space of list object a.
In the present embodiment, in order to meet the diversified demand that list data is completely shown, white space can be set in column
Blank space outside table object can be also set in other table areas for not needing currently to be checked in list object.For example,
According to all data exhibitions in location information to be filled up a form each in form template information and fixed object listing data
Show that size is greater than the data information of size to be filled up a form, determine data that each cannot completely show it is corresponding to
It fills up a form.
Such as, however, it is determined that object listing data cannot complete display data, then object listing data are write to the sky of creation
In white region, and the corresponding location information to be filled up a form of object listing data is marked, user can browse table in white space
Data can find the corresponding table position filled in of this table data according to the station location marker of data.
In the present embodiment, in order to meet the diversified demand that list data is completely shown, wherein white space with it is right
Answer target wait filling up a form establish connection mode, be not limited to marker location information to be filled up a form to target, can also establish
Other contact methods, for example, white space can be set to corresponding target annotation form to be filled up a form, or in blank
Region and target add connecting line etc. between waiting filling up a form.
The data that cannot completely show in object listing data are shown using white space by above-mentioned, and are waited in target
Fill up a form get the bid upper corresponding white space mark method, wait for user according to target when browsing list data
Mark in filling up a form easily finds the corresponding white space for showing partial data, and then browses whole data contents.
Keep the displaying of data more intuitive, browsing is got up more convenient.
The present embodiment is deposited in determining object listing data to make the displaying more intuitive and convenient of list data
When the lteral data that cannot be completely shown when showing, two ways can also be combined, be waited filling up a form interior displaying in target
The summary information of text and the corresponding white space mark for showing complete information, while identifying corresponding white space exhibition
Show partial data information.So that can tentatively be understood by summary information when user's browsing list data recorded in the table it is interior
Hold, if it is desired to complete data can be checked by white space by further appreciating that.
Further, when word segment is not present in the data that cannot completely show, in order to help user to be quickly found out
Corresponding data, in a kind of optional embodiment, the present embodiment can also include wait filling up a form in target it is interior using empty
The mark of white region replaces the data that cannot completely show to be shown.Wherein, the mark of white space is specifically as follows the area
The title or ID number in domain etc..For example, the data that cannot completely show are that image data can be by it in order to show the image data
Be shown in white space A, and should show and do not show the image data table in fill in the blanks region A
ID number, such user can be quickly found out the image data in white space A in browser by the ID number.
For the processing method of above-mentioned table data, in available list object it is each wait fill up a form in requisition for
The data content of displaying, and determine that the corresponding data of data content show size, however, it is determined that existing in object listing data cannot
When the data completely shown, then it can create specific dimensions according to form template information and obtain white space, complete content is shown
In the blank area and corresponding location information to be filled up a form is marked, allows user when browsing list data according to mesh
The partial data for easily finding corresponding table wait the mark in filling up a form is marked, and then browses whole data contents, thus
Keep the displaying of data more intuitive, browsing is got up more convenient.Summary definition can also be carried out to word segment to obtain summarizing letter
The summary information for embodying theme is shown wait fill in item, can be allowed while meeting data and showing size in this way by breath
User browses to the main summary information of data, greatlys save the table reading time of user, and customer analysis is helped to go out table number
According to main contents main points;Or two ways can also be merged, so that user both can be browsed complete text in white space
This information, and can improve the diversity of system in this way wait browse summary information in filling up a form, be provided for user more
It experiences again.This application proposes three kinds of solutions altogether, and but it is not limited to this.
Further, the specific implementation as method shown in Fig. 1 and Fig. 2, the embodiment of the present application provide a kind of list number
According to processing unit, as shown in figure 3, the device includes: creating unit 31, binding unit 32, display unit 33.
Creating unit 31 can be used for creation and be used to obtain the special object of table data and customize the data of special object
Processing rule;
Binding unit 32 can be used for binding special object and list object, to obtain column using special object
The corresponding object listing data of table object;
Display unit 33 can be used for working as to go out in object listing data to deposit according to the list size infomation detection of list object
In the data that cannot completely show, according to data processing rule, the corresponding white space of list object is created, blank is utilized
Region shows the data that cannot completely show in object listing data.
In specific application scenarios, binding unit 32 can be also used for point of the corresponding list class of creation list object
Class;The corresponding attribute of special object is added in classification;By default objc_getAssociatedObject function and preset
Classification after objc_setAssociatedObject function adds attribute is bound to list object.
In specific application scenarios, in order to create the corresponding white space of list object, and shown using white space
The data that cannot completely show in object listing data, display unit 33 are particularly used in the form template for obtaining list object
Information;According to form template information, the corresponding white space of list object is created;From form template information determine with cannot
The corresponding target of the data completely shown waits filling up a form;It cannot be complete in object listing data being shown using white space
When the data of displaying, shows in white space and wait filling up a form corresponding location information with target.
It, will in order to summarize the data that cannot completely show in object listing data in specific application scenarios
Meet the summary information that target data to be filled up a form show that size requires to be shown in wait fill up a form, display unit 33,
It specifically can also be used to obtain the corresponding each table size to be filled up a form of list object from list size information;According to
Each table size to be filled up a form detects in object listing data with the presence or absence of the data that cannot completely show;From each
Wait fill up a form it is middle obtain corresponding with the data that cannot completely show target and wait filling up a form, and to cannot completely show
The corresponding word segment of data carry out semantic parsing;Referring to semantic parsing result, summary definition is carried out to word segment and is obtained
Summary information, and the length of summary information is met and is waited filling up a form the data exhibition of corresponding table dimension information with target
Show size requirement;Wait filling up a form in target interior replaces the data that cannot completely show to be shown using summary information.
Correspondingly, summary information in order to obtain, makes the length of summary information meet target data to be filled up a form and shows
Size requirement, display unit 33 specifically can also be used to inquire keyword relevant to table data theme in word segment;It will
Word segment divides to obtain each subordinate sentence according to punctuation mark;From more to less according to the number comprising keyword by each subordinate sentence
Sequence be ranked up, and obtain the subordinate sentence of predetermined number in the top, and the subordinate sentence of predetermined number is in target table to be filled in
Arrangement in lattice shows that length meets the data displaying size requirement for the corresponding table dimension information that waits filling up a form with target;
The subordinate sentence of predetermined number is subjected to permutation and combination according to the narrative order of word segment, generates the corresponding summary letter of word segment
Breath.
In specific application scenarios, if word segment, display unit are not present in the data that cannot completely show
33, it may also be used for wait filling up a form in target interior replaces the data that cannot completely show to be opened up using the mark of white space
Show.
In specific application scenarios, it whether there is the data that cannot completely show in object listing data to determine,
Display unit 33, specifically can also be used in from object listing data obtain list object in it is each wait fill up a form in requisition for
The data content of displaying;According to corresponding with data content wait interior displaying require information of filling up a form, data content pair is determined
The data answered show size;If data show that size is greater than table size to be filled up a form corresponding with data content, really
There are the data that cannot completely show in the table data that sets the goal.
It should be noted that each functional unit involved by a kind of processing unit of table data provided in this embodiment
Other are accordingly described, and can be described referring to figs. 1 to the corresponding of Fig. 2, details are not described herein.
Based on above-mentioned method as shown in Figure 1 to Figure 2, correspondingly, the present embodiment additionally provides a kind of storage medium, thereon
It is stored with computer-readable instruction, which realizes above-mentioned list number as shown in Figure 1 to Figure 2 when being executed by processor
According to processing method.
Based on this understanding, the technical solution of the application can be embodied in the form of software products, which produces
Product can store in a non-volatile memory medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions
With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution the application is each
Method described in implement scene.
Based on above-mentioned method as shown in Figure 1 to Figure 2 and virtual bench embodiment shown in Fig. 3, in order to realize above-mentioned mesh
, the present embodiment additionally provides a kind of computer equipment, which includes storage medium and processor;Storage medium,
For storing computer program;Processor realizes above-mentioned list number as shown in Figure 1 to Figure 2 for executing computer program
According to processing method.
Optionally, which can also include user interface, network interface, camera, radio frequency (Radio
Frequency, RF) circuit, sensor, voicefrequency circuit, WI-FI module etc..User interface may include display screen
(Display), input unit such as keyboard (Keyboard) etc., optional user interface can also include USB interface, card reader
Interface etc..Network interface optionally may include standard wireline interface and wireless interface (such as WI-FI interface).
It will be understood by those skilled in the art that a kind of computer equipment structure provided in this embodiment is not constituted to this
The restriction of entity device may include more or fewer components, perhaps combine certain components or different component layouts.
It can also include operating system, network communication module in non-volatile memory medium.Operating system is that management is above-mentioned
The program of computer equipment hardware and software resource supports the operation of message handling program and other softwares and/or program.
Network communication module is for realizing the communication between each component in non-volatile memory medium inside, and and information processing entities
It is communicated between other hardware and softwares in equipment.
Through the above description of the embodiments, those skilled in the art can be understood that the application can be with
It is realized by the mode of software plus necessary general hardware platform, hardware realization can also be passed through.Pass through application the application's
Technical solution, compared with currently available technology, the logic that will acquire table data is separated from controller, be put into one it is specific
In object, special object is bound to list object by way of classification, if according to the list size information of list object,
It determines the data that exists in object listing data and cannot completely show when showing, then can create list according to data processing rule
The corresponding white space of object shows the data that cannot completely show in object listing data in white space, or using to mesh
It marks the method that table data semanteme is summarized and shows main contents information, solve and realize list in the controller in the prior art
When the acquisition of data, size of code increase can be made to cause in controller too fat to move, and since the list size of list object is solid
It is fixed, it be easy to cause the data of partial table that can not show the information content in the complete or adjacent table of covering, to cause to use
Unclear problem is watched in family side.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, the module in attached drawing
Or process is not necessarily implemented necessary to the application.It will be appreciated by those skilled in the art that in device in implement scene
Module can according to implement scene describe be distributed in the device of implement scene, corresponding change can also be carried out and be located at
Different from one or more devices of this implement scene.The module of above-mentioned implement scene can be merged into a module, can also
To be further split into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the superiority and inferiority of implement scene.Disclosed above is only the application
Several specific implementation scenes, still, the application is not limited to this, the changes that any person skilled in the art can think of
The protection scope of the application should all be fallen into.
Claims (10)
1. a kind of processing method of table data characterized by comprising
Creation is used to obtain the special object of table data and customizes the data processing rule of the special object;
The special object is bound with list object, it is corresponding to obtain the list object using the special object
Object listing data;
Exist in the object listing data and cannot completely show when the list size infomation detection according to the list object goes out
Data when, according to the data processing rule, create the corresponding white space of the list object, and utilize the blank area
The data that cannot be completely shown described in object listing data described in domain views.
2. creating the column the method according to claim 1, wherein described according to the data processing rule
The corresponding white space of table object, and cannot completely be shown using described in the white space displaying object listing data
Data, specifically include:
Obtain the form template information of the list object;
According to the form template information, the corresponding white space of the list object is created;
Determine that target corresponding with the data that cannot completely show waits filling up a form from the form template information;
When showing the data that cannot completely show described in the object listing data using the white space, in the sky
It shows in white region and waits filling up a form corresponding location information with the target.
3. the method according to claim 1, wherein the list size information when according to the list object
When detecting to there are the data that cannot completely show in the object listing data, according to the data processing rule, institute is created
The corresponding white space of list object is stated, and showing using the white space cannot be complete described in the object listing data
The data of displaying, specifically include:
The corresponding each table size to be filled up a form of the list object is obtained from the list size information;
According to each table size to be filled up a form, detect in the object listing data with the presence or absence of cannot completely open up
The data shown;
From it is described each wait fill up a form it is middle obtain corresponding with the data that cannot completely show target and wait filling up a form, and
Semantic parsing is carried out to word segment corresponding with the data that cannot completely show;
Referring to semantic parsing result, summary definition is carried out to the word segment and obtains summary information, and the summary is believed
The length of breath meets the data displaying size requirement for the corresponding table dimension information that waits filling up a form with the target;
The target wait filling up a form it is interior using the summary information replace described in the data that cannot completely show be shown.
4. according to the method described in claim 3, it is characterized in that, described referring to semantic parsing result, to the word segment
Carry out summary definition obtain summary information, and make the summary information length meet wait filling up a form with the target it is corresponding
The table dimension information data show size requirement, specifically include:
Inquire keyword relevant to the table data theme in the word segment;
The word segment is divided to obtain each subordinate sentence according to punctuation mark;
Each subordinate sentence is ranked up according to the sequence of the number comprising the keyword from more to less, and obtains ranking and leans on
The subordinate sentence of preceding predetermined number, and the subordinate sentence of the predetermined number shows that length is full in the arrangement that the target waits filling up a form interior
The data displaying size requirement of the sufficient corresponding table dimension information that waits filling up a form with the target;
The subordinate sentence of the predetermined number is subjected to permutation and combination according to the narrative order of the word segment, generates the character portion
Divide corresponding summary information.
5. according to the method described in claim 3, it is characterized in that, if text is not present in the data that cannot completely show
Part, then the method also includes:
The target wait filling up a form the interior mark using the white space replace described in the data that cannot completely show into
Row is shown.
6. according to the method described in claim 3, it is characterized in that, described according to each Ruler for drawing form to be filled up a form
It is very little, it detects in the object listing data with the presence or absence of the data that cannot completely show, specifically includes:
It is obtained from the object listing data each wait fill up a form in the data in requisition for displaying in the list object
Hold;
According to corresponding with the data content wait interior displaying require information of filling up a form, determine that the data content is corresponding
Data show size;
If the data show that size is greater than table size to be filled up a form corresponding with the data content, it is determined that described
There are the data that cannot completely show in object listing data.
7. the method according to claim 1, wherein described tie up the special object with list object
It is fixed, it specifically includes:
Create the classification of the corresponding list class of the list object;
The corresponding attribute of the special object is added in the classification;
It will by default objc_getAssociatedObject function and default objc_setAssociatedObject function
Classification after the attribute addition is bound to the list object.
8. a kind of processing unit of table data characterized by comprising
Creating unit, for creating the data processing rule for being used to obtain the special object of table data and customizing the special object
Then;
Binding unit, for binding the special object with list object, to obtain institute using the special object
State the corresponding object listing data of list object;
Display unit goes out in the object listing data to exist for working as according to the list size infomation detection of the list object
When the data that cannot completely show, according to the data processing rule, the corresponding white space of the list object is created, is utilized
The white space shows the data that cannot completely show described in the object listing data.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that realization when described program is executed by processor
The processing method of table data described in any one of claims 1 to 7.
10. a kind of computer equipment, including storage medium, processor and storage can be run on a storage medium and on a processor
Computer program, which is characterized in that the processor is realized described in any one of claims 1 to 7 when executing described program
Table data processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811326417.1A CN109992580A (en) | 2018-11-08 | 2018-11-08 | Processing method and processing device, storage medium, the computer equipment of table data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811326417.1A CN109992580A (en) | 2018-11-08 | 2018-11-08 | Processing method and processing device, storage medium, the computer equipment of table data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109992580A true CN109992580A (en) | 2019-07-09 |
Family
ID=67129027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811326417.1A Pending CN109992580A (en) | 2018-11-08 | 2018-11-08 | Processing method and processing device, storage medium, the computer equipment of table data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109992580A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532483A (en) * | 2019-07-25 | 2019-12-03 | 北京金堤科技有限公司 | Simulate the adding method of table, device, computer equipment and can storage medium |
CN111143012A (en) * | 2019-12-27 | 2020-05-12 | 珠海市魅族科技有限公司 | Method, device, equipment and storage medium for completely displaying display elements |
CN112286603A (en) * | 2020-09-28 | 2021-01-29 | 长沙市到家悠享网络科技有限公司 | Table display method and device, electronic equipment and storage medium |
WO2024173335A1 (en) * | 2023-02-13 | 2024-08-22 | Nec Laboratories America, Inc. | Summarizing prevalent opinions for medical decision-making |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006309347A (en) * | 2005-04-26 | 2006-11-09 | Saga Univ | Method, system, and program for extracting keyword from object document |
US20090313597A1 (en) * | 2008-06-16 | 2009-12-17 | Microsoft Corporation | Tabular completion lists |
CN106610785A (en) * | 2015-10-22 | 2017-05-03 | 阿里巴巴集团控股有限公司 | Commodity object list information processing method and apparatus |
CN107657026A (en) * | 2017-09-27 | 2018-02-02 | 武汉斗鱼网络科技有限公司 | User interface elements method of testing, device, readable storage medium storing program for executing and equipment |
-
2018
- 2018-11-08 CN CN201811326417.1A patent/CN109992580A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006309347A (en) * | 2005-04-26 | 2006-11-09 | Saga Univ | Method, system, and program for extracting keyword from object document |
US20090313597A1 (en) * | 2008-06-16 | 2009-12-17 | Microsoft Corporation | Tabular completion lists |
CN106610785A (en) * | 2015-10-22 | 2017-05-03 | 阿里巴巴集团控股有限公司 | Commodity object list information processing method and apparatus |
CN107657026A (en) * | 2017-09-27 | 2018-02-02 | 武汉斗鱼网络科技有限公司 | User interface elements method of testing, device, readable storage medium storing program for executing and equipment |
Non-Patent Citations (1)
Title |
---|
丁明宇;牛玉磊;卢志武;文继荣;: "基于深度学习的图片中商品参数识别方法", 软件学报, no. 04, 4 December 2017 (2017-12-04) * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532483A (en) * | 2019-07-25 | 2019-12-03 | 北京金堤科技有限公司 | Simulate the adding method of table, device, computer equipment and can storage medium |
CN110532483B (en) * | 2019-07-25 | 2022-09-09 | 北京金堤科技有限公司 | Method and device for adding simulation table, computer equipment and storage medium |
CN111143012A (en) * | 2019-12-27 | 2020-05-12 | 珠海市魅族科技有限公司 | Method, device, equipment and storage medium for completely displaying display elements |
CN111143012B (en) * | 2019-12-27 | 2023-11-07 | 珠海市魅族科技有限公司 | Method, device, equipment and storage medium for completely displaying display elements |
CN112286603A (en) * | 2020-09-28 | 2021-01-29 | 长沙市到家悠享网络科技有限公司 | Table display method and device, electronic equipment and storage medium |
WO2024173335A1 (en) * | 2023-02-13 | 2024-08-22 | Nec Laboratories America, Inc. | Summarizing prevalent opinions for medical decision-making |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9208216B2 (en) | Transforming data into consumable content | |
CN109992580A (en) | Processing method and processing device, storage medium, the computer equipment of table data | |
US20140025650A1 (en) | Abstract relational model for transforming data into consumable content | |
US20140025619A1 (en) | Creating variations when transforming data into consumable content | |
US10402470B2 (en) | Effecting multi-step operations in an application in response to direct manipulation of a selected object | |
US20050216834A1 (en) | Method, apparatus, and computer-readable medium for dynamically rendering a user interface menu | |
JP2015529909A (en) | Electronic reader system | |
CN106325687B (en) | Method and terminal for calling program | |
CN110007829B (en) | Content display method, device, terminal and storage medium | |
CN113535176A (en) | Page generation method and device | |
CN107368511A (en) | A kind of information displaying method and device | |
US20150095755A1 (en) | System and Method for Comparing Objects in Document Revisions and Displaying Comparison Objects | |
CN111897607A (en) | Application interface loading and interaction method, device and storage medium | |
CN106844606A (en) | The focus processing method and processing device of webpage | |
JP6679828B2 (en) | Information processing device, information processing program, and recording medium | |
US10452748B2 (en) | Deconstructing and rendering of web page into native application experience | |
US20140223354A1 (en) | Method and system for creating floating keys in a portable device | |
US9965457B2 (en) | Methods and systems of applying a confidence map to a fillable form | |
CN113722630B (en) | Method and equipment for presenting resource data in web page based on client rendering | |
CN116127935A (en) | Document creation method, device, electronic equipment and storage medium | |
CN107451143B (en) | Reading method and reading system of electronic document | |
CN116302193B (en) | Method, device, equipment and storage medium for improving front-end table loading speed | |
US10025464B1 (en) | System and method for highlighting dependent slides while editing master slides of a presentation | |
US11656921B2 (en) | Method for combining unified matters in personal workspace and system using the same | |
CN107545539A (en) | A kind of method and apparatus locally selected picture in webpage |
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 |