CN108205554A - The sort method and device of array object - Google Patents
The sort method and device of array object Download PDFInfo
- Publication number
- CN108205554A CN108205554A CN201611175796.XA CN201611175796A CN108205554A CN 108205554 A CN108205554 A CN 108205554A CN 201611175796 A CN201611175796 A CN 201611175796A CN 108205554 A CN108205554 A CN 108205554A
- Authority
- CN
- China
- Prior art keywords
- array
- array object
- ranked
- attribute classification
- preset
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90348—Query processing by searching ordered data, e.g. alpha-numerically ordered data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses the sort methods and device of a kind of array object, are related to information technology field, solve the problems, such as it is less efficient when being ranked up to array object, the method includes:Each array element in array object is split respectively according to preset at least one attribute classification first so that at least there are the partitioning portions of a same alike result classification in each array element after segmentation;It attribute classification needed to be considered and puts in order according to for the preconfigured ordering rule of the array object, when determining to be ranked up the array object;It puts in order further according to described, the array object is ranked up.The present invention is suitable for the sequence of array object.
Description
Technical field
The present invention relates to information technology field more particularly to the sort methods and device of a kind of array object.
Background technology
In recent years, Internet technology rapidly develops, in order to adapt to more demands, the environment for writing program also exists therewith
It continues to optimize, Windows PowerShell are a kind of command-line shell program and script environment, make order line user and script
Author can be managed communication, telefile editor, establishment event using the power of Windows PowerShell
Daily record etc..PowerShell is generally exported when exporting object with array, after user can be by the way that array object be ranked up
Output, in order to use the array object after sequence.
At present, when by array object according to a certain item numerical ordering, an object is typically first constructed, then by array
Different array elements in object are filled up in the object properties of construction respectively by manual type, finally by object properties
It is ranked up and array object is ranked up to realize, however, the step of this mode is cumbersome, when needs are to a large amount of array objects
When being ranked up, array object can be caused to sort less efficient.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State the sort method and device of the array object of problem.
In order to achieve the above object, present invention generally provides following technical solutions:
On the one hand, the present invention provides a kind of sort method of array object, this method includes:
Each array element in array object is split respectively according to preset at least one attribute classification so that
At least there are the partitioning portions of a same alike result classification in each array element after segmentation;
According to for the preconfigured ordering rule of the array object, determining to need when being ranked up the array object
It the attribute classification of consideration and puts in order;
It is put in order according to described, the array object is ranked up.
On the other hand, the present invention provides a kind of collator of array object, which includes:
Cutting unit, for by each array element in array object respectively according to preset at least one attribute classification
It is split so that at least there are the partitioning portions of a same alike result classification in each array element after segmentation;
Determination unit, for according to being the preconfigured ordering rule of the array object, determining to the array object
It attribute classification needed to be considered and puts in order when being ranked up;
Sequencing unit for putting in order according to, is ranked up the array object.
By above-mentioned technical proposal, technical solution provided in an embodiment of the present invention at least has following advantages:
The sort method and device of a kind of array object provided by the invention, first by each array member in array object
Element is split respectively according to preset at least one attribute classification so that at least there are one in each array element after segmentation
The partitioning portion of a same alike result classification;Then it according to being the preconfigured ordering rule of the array object, determines to described
It attribute classification needed to be considered and puts in order when array object is ranked up;It puts in order further according to described, to the number
Group objects is ranked up.Compared with prior art, the present invention is other by being split to obtain each Attribute class to array object
Partitioning portion, and array object is ranked up according to the attribute classification of partitioning portion and putting in order, without constructing object, keep away
Exempt from that array object is written to the troublesome operation in object properties after constructing object, so as to improve the effect of array object sequence
Rate.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of sort method flow diagram of array object provided in an embodiment of the present invention;
Fig. 2 shows the sort method flow diagrams of another array object provided in an embodiment of the present invention;
Fig. 3 shows a kind of collator structure diagram of array object provided in an embodiment of the present invention;
Fig. 4 shows the collator structure diagram of another array object provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
The sort method of a kind of array object provided in an embodiment of the present invention, as shown in Figure 1, this method includes:
101st, each array element in array object is split respectively according to preset at least one attribute classification.
Further so that at least there are the cutting parts of a same alike result classification in each array element after segmentation
Point.The attribute classification can be length, age, weight etc..
Wherein, the array can be integer array, size noting, character array etc., and be included in the array object
Array element quantity do not limit in embodiments of the present invention.
Specifically, the step 101 can be:The different array elements in array object are carried out respectively by separator
Segmentation.For example, array object be { 1 length 50cm of desk, 2 length 75cm of desk }, by separator ";" in array object
Array element is split, and obtains { desk 1;Length 50cm, desk 2;Length 75cm }.
102nd, basis is the preconfigured ordering rule of the array object, when determining to be ranked up the array object
It attribute classification needed to be considered and puts in order.
Wherein, the ordering rule can be according to the descending sequence of a certain attribute classification, ascending sequence, by height
To it is low sequence etc., the embodiment of the present invention does not limit.
For example, the preconfigured ordering rule of certain array object { 55 yuan of cap, 220 yuan of shirt, 180 yuan of jeans } is
Price is from high to low, it is determined that the attribute classification needed to refer to when being ranked up to the array object be price, the arrangement of price
Sequence is from high to low.Can obtain later partitioning portion corresponding with attribute classification price be respectively 55 yuan, 220 yuan, 180
Member is ranked up according to the corresponding numerical value of price partitioning portion is descending, i.e., 220 yuan, 180 yuan, 55 yuan.
103rd, it puts in order according to, the array object is ranked up.
For example, the preconfigured ordering rule of certain array object { 55 yuan of cap, 220 yuan of shirt, 180 yuan of jeans } is
From high to low, partitioning portion corresponding with attribute classification price is 55 yuan, 220 yuan, 180 yuan to price, according to these three cutting parts
Point corresponding numerical value is descending is ranked up, and array object is ranked up so that the array object after sequence is { shirt
220 yuan, 180 yuan of jeans, 55 yuan of cap }.
Further, after being ranked up to array object, the array object to sort according to predetermined ordering rule is exported,
In order to which user uses the array object by sequence.
A kind of sort method of array object provided by the invention first distinguishes each array element in array object
It is split according to preset at least one attribute classification so that at least identical there are one in each array element after segmentation
The other partitioning portion of Attribute class;Then it according to being the preconfigured ordering rule of the array object, determines to the array pair
It attribute classification needed to be considered and puts in order during as being ranked up.Compared with prior art, the present invention is by array pair
As being split to obtain the partitioning portion of different attribute classification, and according to the attribute classification of partitioning portion and put in order to array
Object is ranked up, and without constructing object, avoids and array object is written to the troublesome operation in object properties after constructing object,
So as to improve the efficiency of array object sequence.
Specifically, an embodiment of the present invention provides the sort method of another array object, as shown in Fig. 2, this method packet
It includes:
201st, the array object is input in pending pipeline using pre-set commands row tool Powershell pipelines.
Wherein, the command-line tool Powershell is a kind of command-line shell program and script environment, makes order line
User and script edit person can utilize the function of .NET Framework.
202nd, in the pending pipeline, to each array element in array object respectively according to preset at least one
A attribute classification is split.
Specifically, the step 202 includes:In the pending pipeline, by the way that predetermined separator is configured, to array pair
Each array element as in is split respectively according to preset at least one attribute classification.Wherein, the predetermined separator
Can be the punctuation marks such as comma, colon, branch, for example, by separator ":" to array element different in array object into
Row segmentation.
For the embodiment of the present invention, by the way that the array object for needing to sort is input in Powershell pipelines, and lead to
It crosses after Powershell pipelines are split array object and sorts, the efficiency of array object sequence can be improved.
Whether each partitioning portion for the 203rd, detecting the array element meets preset form.
Wherein, the preset form is for each array element, the position of partitioning portion corresponding with each attribute classification
It puts identical.For example, array object is { 1 gender of age, 1 educational background 1, academic 2 genders 2 of age 2 }, preset form can be for every
A array element, with each attribute classification, i.e. age, educational background, gender, the position of corresponding partitioning portion is identical.
If the 204, not meeting preset form, according to the preset form to each partitioning portion of the array element into
Row adjustment.
For example, the array object { 1 gender of age, 1 educational background 1, academic 2 genders 2 of age 2 } described in step 203 is carried out
{ 1/ gender of age, 1/ educational background 1, academic 2/ gender 2 of age 2/ } after segmentation, is obtained, detects the two array elements after segmentation
Each partitioning portion do not meet preset form, then according to preset form { age, educational background, gender } to each point of array element
It cuts part to be adjusted, obtain { academic 1/ gender 1 of age 1/, academic 2/ gender 2 of age 2/ }.
If the 205, meeting preset form, according to being the preconfigured ordering rule of the array object, determine to described
The attribute classification that is needed to refer to when array object is ranked up and with the other partitioning portion pair of the Attribute class needed to refer to
That answers puts in order.
Wherein, the concept explanation of the ordering rule can be referred to and accordingly be described in step 102, and details are not described herein.
For example, to 8 DEG C of array element Shenyang, Beijing 19 in array object { 8 DEG C of Shenyang, 19 DEG C of Beijing, 22 DEG C of Shanghai }
DEG C, 22 DEG C of Shanghai, be split respectively using separator "/", obtain Shenyang/8 DEG C, Beijing/19 DEG C, Shanghai/22 DEG C, these points
Cut part correspond to two attribute classifications, that is, include Shenyang, Beijing, Shanghai city name part and include 8 DEG C, 19 DEG C,
22 DEG C of temperature section, when array object ordering rule for temperature from high to low when, it is determined that the array object is arranged
The attribute classification needed to refer to during sequence is temperature, and determines that the partitioning portion of attribute category temperature is corresponding and put in order as number
It is descending.
For the embodiment of the present invention, attribute classification that by determining and being ranked up to array object first when needs to refer to,
So as to be ranked up when being ranked up to array object according to one of which attribute classification, avoid and obscure different attribute
The partitioning portion of classification and can not sort, so as to improve array object sequence accuracy.
206th, according to clooating sequence corresponding with the other partitioning portion of the Attribute class needed to refer to, to the array pair
Each array element as in is ranked up.
For example, the preconfigured row of certain array object { 25 years old master of Zhang San, 21 years old undergraduate course of Li Si, 5 30 years old doctor of king }
Sequence rule for the age from high to low, it is determined that the attribute classification needed to refer to when being ranked up to the array object be the age, with
And partitioning portion corresponding with the age be 25 years old, 21 years old, 30 years old, then according to the corresponding numerical value of these three partitioning portions by height to
Low is ranked up so that the array object after sequence is { 5 30 years old doctor of king, 25 years old master of Zhang San, 21 years old undergraduate course of Li Si }.
It further, at this time can be by phase if there are the identical partitioning portions of numerical value in the attribute classification needed to refer to
Partitioning portion progress with numerical value is randomly ordered, can also be ranked up according to the second attribute classification.Such as array object { wide day
30 years old, Han Song 26 years old, one intelligence of king 30 years old } be split after obtain { wide day/30 year old, Han Song/26 year old, Wang Yizhi/30 year old }, determine
It is right if being ranked up according to age ascending sequence to array object comprising name attribute classification and age attribute classification
It in age identical wide day and Wang Yizhi, can carry out randomly ordered, can also be further ranked up according to initials,
It can be ranked up herein according to initials, array object is { Han Song 26 years old, wide day 30 years old, Wang Yizhi after being sorted
30 years old }.
The sort method of another kind array object provided by the invention, first by each array element in array object point
It is not split according to preset at least one attribute classification so that at least there are a phases in each array element after segmentation
With the partitioning portion of attribute classification;Then it according to being the preconfigured ordering rule of the array object, determines to the array
It attribute classification needed to be considered and puts in order when object is ranked up.Compared with prior art, the present invention is by array
Object is split to obtain the other partitioning portion of each Attribute class, and the attribute classification according to partitioning portion and the logarithm that puts in order
Group objects is ranked up, and without constructing object, array object is written to the cumbersome behaviour in object properties after avoiding construction object
Make, so as to improve the efficiency of array object sequence.
Further, the specific implementation as method shown in Fig. 1, an embodiment of the present invention provides a kind of rows of array object
Sequence device, as shown in figure 3, described device includes:Cutting unit 31, determination unit 32, sequencing unit 33.
The cutting unit 31 can be used for each array element in array object respectively according to preset at least one
A attribute classification is split so that at least there are the cutting parts of a same alike result classification in each array element after segmentation
Point.
The determination unit 32 can be used for, according to being the preconfigured ordering rule of the array object, determining to institute
It states attribute classification needed to be considered when array object is ranked up and puts in order.
The sequencing unit 33 can be used for putting in order according to, the array object be ranked up.
It should be noted that each functional unit involved by a kind of collator of array object provided in an embodiment of the present invention
Other it is corresponding describe, can be described with the corresponding of reference chart 1, details are not described herein.
A kind of collator of array object provided by the invention first distinguishes each array element in array object
It is split according to preset at least one attribute classification so that at least identical there are one in each array element after segmentation
The other partitioning portion of Attribute class;Then it according to being the preconfigured ordering rule of the array object, determines to the array pair
It attribute classification needed to be considered and puts in order during as being ranked up.Compared with prior art, the present invention is by array pair
As being split to obtain the partitioning portion of different attribute classification, and according to the attribute classification of partitioning portion and put in order to array
Object is ranked up, and without constructing object, avoids and array object is written to the troublesome operation in object properties after constructing object,
So as to improve the efficiency of array object sequence.
Further, the specific implementation as method shown in Fig. 2, an embodiment of the present invention provides another array objects
Collator, as shown in figure 4, described device includes:Cutting unit 41, determination unit 42, sequencing unit 43.
The cutting unit 41 can be used for each array element in array object respectively according to preset at least one
A attribute classification is split so that at least there are the cutting parts of a same alike result classification in each array element after segmentation
Point.
The determination unit 42 can be used for, according to being the preconfigured ordering rule of the array object, determining to institute
It states attribute classification needed to be considered when array object is ranked up and puts in order.
The sequencing unit 43 can be used for putting in order according to, the array object be ranked up.
Further, described device further includes:Output unit 44.
The output unit 44 can be used for utilizing pre-set commands row tool Powershell pipelines by the array object
It is input in pending pipeline.
Further,
The cutting unit 41 specifically can be used in the pending pipeline, to each array in array object
Element is split respectively according to preset at least one attribute classification.
The cutting unit 41 specifically can be also used in the pending pipeline, right by the way that predetermined separator is configured
Each array element in array object is split respectively according to preset at least one attribute classification.
Further, described device further includes:
Whether detection unit 45, each partitioning portion that can be used for detecting the array element meet preset form.
Further, described device further includes:
Adjustment unit 46, if can be used for not meeting preset form, according to the preset form to the array element
Each partitioning portion be adjusted.
The determination unit 42 if specifically can be used for meeting preset form, is matched in advance according to for the array object
The ordering rule put determines the attribute classification needed to refer to when being ranked up to the array object and needs to join with described
The other partitioning portion of Attribute class examined is corresponding to put in order.
The sequencing unit 43 specifically can be used for according to corresponding with the other partitioning portion of the Attribute class needed to refer to
Clooating sequence, each array element in the array object is ranked up.
It should be noted that each function list involved by the collator of another kind array object provided in an embodiment of the present invention
Other corresponding descriptions of member, can be described, details are not described herein with the corresponding of reference chart 2.
The collator of another kind array object provided by the invention, first by each array element in array object point
It is not split according to preset at least one attribute classification so that at least there are a phases in each array element after segmentation
With the partitioning portion of attribute classification;Then it according to being the preconfigured ordering rule of the array object, determines to the array
It attribute classification needed to be considered and puts in order when object is ranked up.Compared with prior art, the present invention is by array
Object is split to obtain the other partitioning portion of each Attribute class, and the attribute classification according to partitioning portion and the logarithm that puts in order
Group objects is ranked up, and without constructing object, array object is written to the cumbersome behaviour in object properties after avoiding construction object
Make, so as to improve the efficiency of array object sequence.
The display device of the label text includes processor and memory, and above-mentioned cutting unit, determination unit, sequence are single
Member etc. in memory, above procedure unit stored in memory is performed Lai real by processor as program unit storage
Now corresponding function.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one
Or more, by adjusting kernel parameter come solve in the prior art can limit service development and can to the layout of full page,
The problem of typesetting impacts.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit
Store up chip.
Present invention also provides a kind of computer program products, first when being performed on data processing equipment, being adapted for carrying out
The program code of beginningization there are as below methods step:By each array element in array object respectively according to preset at least one
Attribute classification is split so that at least there are the cutting parts of a same alike result classification in each array element after segmentation
Point;According to for the preconfigured ordering rule of the array object, determining to need to consider when being ranked up the array object
Attribute classification and put in order;It is put in order according to described, the array object is ranked up.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM read-only memory (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, available for storing the information that can be accessed by a computing device.It defines, calculates according to herein
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It these are only embodiments herein, be not limited to the application.To those skilled in the art,
The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent replacement,
Improve etc., it should be included within the scope of claims hereof.
Claims (10)
1. a kind of sort method of array object, which is characterized in that including:
Each array element in array object is split respectively according to preset at least one attribute classification so that segmentation
At least there are the partitioning portions of a same alike result classification in each array element afterwards;
According to for the preconfigured ordering rule of the array object, determining to need to consider when being ranked up the array object
Attribute classification and put in order;
It is put in order according to described, the array object is ranked up.
2. the sort method of array object according to claim 1, which is characterized in that the basis is the array object
Preconfigured ordering rule determines attribute classification needed to be considered when being ranked up to the array object and puts in order
Before, the method further includes:
Whether each partitioning portion for detecting the array element meets preset form, and the preset form is for each array
Element, the position of partitioning portion corresponding with each attribute classification are identical;
If not meeting, each partitioning portion of the array element is adjusted according to the preset form;
The basis is the preconfigured ordering rule of the array object, determines to need when being ranked up the array object
It the attribute classification of consideration and puts in order, specifically includes:
If meeting, according to being the preconfigured ordering rule of the array object, determine to be ranked up the array object
When the attribute classification that needs to refer to and corresponding with the other partitioning portion of the Attribute class needed to refer to put in order.
3. the sort method of array object according to claim 1 or 2, which is characterized in that described suitable according to the arrangement
Sequence is ranked up the array object, specifically includes:
According to clooating sequence corresponding with the other partitioning portion of the Attribute class needed to refer to, to every in the array object
A array element is ranked up.
4. the sort method of array object according to claim 1, which is characterized in that it is described will be each in array object
Array element is split respectively according to preset at least one attribute classification, is specifically included:
The array object is input in pending pipeline using pre-set commands row tool Powershell pipelines;
In the pending pipeline, to each array element in array object respectively according to preset at least one Attribute class
It is not split.
5. the sort method of array object according to claim 4, which is characterized in that described in the pending pipeline
In, each array element in array object according to preset at least one attribute classification is split respectively, is specifically included:
In the pending pipeline, by the way that predetermined separator is configured, to each array element in array object respectively according to
Preset at least one attribute classification is split.
6. a kind of collator of array object, which is characterized in that including:
Cutting unit, for each array element in array object to be carried out respectively according to preset at least one attribute classification
Segmentation so that at least there are the partitioning portions of a same alike result classification in each array element after segmentation;
Determination unit, for according to being the preconfigured ordering rule of the array object, determining to carry out the array object
It attribute classification needed to be considered and puts in order during sequence;
Sequencing unit for putting in order according to, is ranked up the array object.
7. the collator of array object according to claim 6, which is characterized in that described device further includes:Detection is single
Member, adjustment unit,
Whether the detection unit, each partitioning portion for detecting the array element meet preset form;
The adjustment unit, if for not meeting preset form, according to the preset form to each of the array element
Partitioning portion is adjusted;
If the determination unit specifically for meeting preset form, is advised according to for the preconfigured sequence of the array object
Then, determine the attribute classification needed to refer to when being ranked up to the array object and with the Attribute class needed to refer to
Other partitioning portion is corresponding to put in order.
8. the collator of the array object described according to claim 6 or 7, which is characterized in that
The sequencing unit, specifically for suitable according to sequence corresponding with the other partitioning portion of the Attribute class needed to refer to
Sequence is ranked up each array element in the array object.
9. the collator of array object according to claim 6, which is characterized in that the cutting unit includes:
Input module, for the array object to be input to pending pipe using pre-set commands row tool Powershell pipelines
In road;
Divide module, in the pending pipeline, to array element each in array object respectively according to it is preset extremely
A few attribute classification is split.
10. the collator of array object according to claim 9, which is characterized in that
The segmentation module, specifically in the pending pipeline, by the way that predetermined separator is configured, in array object
Each array element is split respectively according to preset at least one attribute classification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611175796.XA CN108205554A (en) | 2016-12-16 | 2016-12-16 | The sort method and device of array object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611175796.XA CN108205554A (en) | 2016-12-16 | 2016-12-16 | The sort method and device of array object |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108205554A true CN108205554A (en) | 2018-06-26 |
Family
ID=62603051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611175796.XA Pending CN108205554A (en) | 2016-12-16 | 2016-12-16 | The sort method and device of array object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108205554A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111967931A (en) * | 2020-07-29 | 2020-11-20 | 上海悦易网络信息技术有限公司 | Method and equipment for mixed arrangement of list data elements |
CN116991794A (en) * | 2023-05-24 | 2023-11-03 | 阿里云计算有限公司 | Data management method, system, device, equipment and medium in data warehouse |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8090725B1 (en) * | 2006-01-13 | 2012-01-03 | CareerBuilder, LLC | Method and system for matching data sets of non-standard formats |
CN102426543A (en) * | 2010-10-20 | 2012-04-25 | 微软公司 | Placing objects on hosts using hard and soft constraints |
US8788460B2 (en) * | 2008-06-12 | 2014-07-22 | Microsoft Corporation | Exploring attached and unattached content databases |
CN105677803A (en) * | 2015-12-31 | 2016-06-15 | 清华大学 | JSON format setting method of hydrological time series data |
-
2016
- 2016-12-16 CN CN201611175796.XA patent/CN108205554A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8090725B1 (en) * | 2006-01-13 | 2012-01-03 | CareerBuilder, LLC | Method and system for matching data sets of non-standard formats |
US8788460B2 (en) * | 2008-06-12 | 2014-07-22 | Microsoft Corporation | Exploring attached and unattached content databases |
CN102426543A (en) * | 2010-10-20 | 2012-04-25 | 微软公司 | Placing objects on hosts using hard and soft constraints |
CN105677803A (en) * | 2015-12-31 | 2016-06-15 | 清华大学 | JSON format setting method of hydrological time series data |
Non-Patent Citations (1)
Title |
---|
DR SCRIPTO: "Order Your Output by Easily Sorting Objects in Powershell", 《HTTPS://DEVBLOGS.MICROSOFT.COM/SCRIPTING/ORDER-YOUR-OUTPUT-BY- EASILY-SORTING-OBJECTS-IN-POWERSHELL/》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111967931A (en) * | 2020-07-29 | 2020-11-20 | 上海悦易网络信息技术有限公司 | Method and equipment for mixed arrangement of list data elements |
CN111967931B (en) * | 2020-07-29 | 2024-01-12 | 上海万物新生环保科技集团有限公司 | Method and equipment for mixed arrangement of list data elements |
CN116991794A (en) * | 2023-05-24 | 2023-11-03 | 阿里云计算有限公司 | Data management method, system, device, equipment and medium in data warehouse |
CN116991794B (en) * | 2023-05-24 | 2024-07-23 | 阿里云计算有限公司 | Data management method, system, device, equipment and medium in data warehouse |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106874256A (en) | Name the method and device of entity in identification field | |
CN110968695A (en) | Intelligent labeling method, device and platform based on active learning of weak supervision technology | |
CN108255857A (en) | A kind of sentence detection method and device | |
CN106201861A (en) | The detection method of a kind of code quality and device | |
JP2015531126A (en) | Method and apparatus for realizing product characteristic navigation | |
US11367117B1 (en) | Artificial intelligence system for generating network-accessible recommendations with explanatory metadata | |
CN104102696A (en) | Content recommendation method and device | |
CN104750771A (en) | Method and system for contextual data analysis using domain information | |
CN107391545A (en) | A kind of method classified to user, input method and device | |
CN108959359A (en) | A kind of uniform resource locator semanteme De-weight method, device, equipment and medium | |
CN110069676A (en) | Keyword recommendation method and device | |
CN109597983A (en) | A kind of spelling error correction method and device | |
CN107451879A (en) | Information judgment method and device | |
CN107798410B (en) | Method and device for product planning and electronic equipment | |
CN106598379A (en) | Method and device for managing application program | |
CN106610931A (en) | Extraction method and device for topic names | |
CN107274215A (en) | Flight prices Forecasting Methodology, device, equipment and storage medium | |
CN107729330A (en) | The method and apparatus for obtaining data set | |
CN107784127A (en) | A kind of focus localization method and device | |
CN108268550A (en) | The method for drafting and device of path collection of illustrative plates | |
CN108205554A (en) | The sort method and device of array object | |
CN109344255B (en) | Label filling method and terminal equipment | |
CN107391533A (en) | Generate the method and device of graphic data base Query Result | |
Kuriakose et al. | Optimization of a real time web enabled mixed model stochastic assembly line to reduce production time | |
CN108255880A (en) | Data processing method and device |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180626 |