CN104199814A - Resource sorting method and device - Google Patents

Resource sorting method and device Download PDF

Info

Publication number
CN104199814A
CN104199814A CN201410063536.8A CN201410063536A CN104199814A CN 104199814 A CN104199814 A CN 104199814A CN 201410063536 A CN201410063536 A CN 201410063536A CN 104199814 A CN104199814 A CN 104199814A
Authority
CN
China
Prior art keywords
resource
sorted
rule
sorting
information
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
Application number
CN201410063536.8A
Other languages
Chinese (zh)
Inventor
黄镇
张芳芳
吴承丞
任野飞
杨贺
沈镇
郑凤娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Tvmining Juyuan Media Technology Co Ltd
Original Assignee
Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Tvmining Juyuan Media Technology Co Ltd filed Critical Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority to CN201410063536.8A priority Critical patent/CN104199814A/en
Publication of CN104199814A publication Critical patent/CN104199814A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a resource sorting method. The resource sorting method comprises the steps that rule information and cloud rule information which are arranged in advance are loaded; information of resources to be sorted is obtained; according to the rule information and the cloud rule information which are arranged in advance and information of the resources to be sorted, whether the sorting rule of the resource information to be sorted can be obtained through matching is judged; if the sorting rule of the resource information to be sorted is obtained through matching, the resources to be sorted are sorted according to the sorting rule. The embodiment of the invention further provides a corresponding resource sorting device.

Description

A kind of resource method for sorting and device
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of resource method for sorting and device.
Background technology
At present, automated sorting system in kind is very flourishing, for example product sorting system of widespread use on various production lines, and for non-material object, the such as sorting of the digital resource such as picture, video, automated sorting system in kind can not be suitable for completely.Internet era, the speed of data accumulation and total amount are day by day huge, if can not these data effectively be sorted and be classified, huge data will can not produce any benefit, and data volume is larger, and the pressure that storage system is caused is larger.Or dependence main to the sorting of digital resource is at present processed manually, for example, by the different types of picture of artificial cognition or video, they is assigned to each different flow process and processes respectively.Current this processing mode complicated operation, inefficiency, can not meet the demand of contemporary society to mass data operation.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of resource sorting, in order to solve manual handle resource operation complexity in prior art, the problem of inefficiency.
On the one hand, the embodiment of the present invention provides a kind of method of resource sorting, comprising:
The Rule Information that loading sets in advance and cloud Rule Information;
Obtain resource information to be sorted;
According to the described Rule Information setting in advance and cloud Rule Information, and described resource information to be sorted, judge whether to match the sorting rule of resource to be sorted;
If match the sorting rule of described resource to be sorted, use described sorting rule to sort described resource to be sorted.
On the other hand, the embodiment of the present invention provides a kind of device of resource sorting, comprising:
Loading unit, for loading the Rule Information and the cloud Rule Information that set in advance;
Acquiring unit, for obtaining resource information to be sorted;
Matching unit, for the Rule Information and the cloud Rule Information that set in advance described in basis, and described resource information to be sorted, judges whether to match the sorting rule of resource to be sorted;
Sorting unit, if for matching the sorting rule of described resource to be sorted, uses described sorting rule to sort described resource to be sorted.
Use the method and apparatus of the disclosed resource sorting of the embodiment of the present invention, can be according to the Rule Information setting in advance and cloud Rule Information Auto-matching sorting rule, and the resource such as picture or video is sorted automatically according to the sorting rule matching, the resource sorting out can send to different treatment schemees according to setting in advance, thereby no longer need manual sorting's resource, can under the prerequisite that ensures resource sorting accuracy, efficient Resources allocation arrive each flow process.
Brief description of the drawings
It shown in Fig. 1, is the schematic diagram of a kind of resource method for sorting of providing of the embodiment of the present invention;
It shown in Fig. 2, is the process flow diagram of the resource method for sorting that provides of the embodiment of the present invention;
It shown in Fig. 3, is the structural representation of a kind of resource sorting equipment of providing of the embodiment of the present invention;
It shown in Fig. 4, is the structural representation of a kind of resource sorting equipment of providing of another embodiment of the present invention.
Embodiment
In embodiments of the present invention, can be according to the Rule Information setting in advance and cloud Rule Information Auto-matching sorting rule, and the resource such as picture or video is sorted automatically according to the sorting rule matching, the resource sorting out can send to different treatment schemees according to setting in advance, thereby no longer need manual sorting's resource, can under the prerequisite that ensures resource sorting accuracy, efficient Resources allocation arrive each flow process.
Below describe the resource method for sorting that the embodiment of the present invention provides in detail.
Figure 1 shows that the schematic diagram of a kind of resource method for sorting that one embodiment of the invention provides.Following according to this figure, introduce the resource method for sorting that the embodiment of the present invention provides.
Rule Information and cloud Rule Information that step 101, loading set in advance;
Wherein, before the Rule Information setting in advance in loading and cloud Rule Information, also comprise:
Set in advance described Rule Information and cloud Rule Information.
In embodiments of the present invention, need to pre-set Rule Information and the cloud Rule Information of sorting resource, for example, for picture or video resource, can pre-set processing mode of the criteria for classification of picture or video, different types of picture or video etc.
Step 102, obtain resource information to be sorted;
Wherein, resource information to be sorted in the embodiment of the present invention can be the multiple different digital resources such as picture, document, video, and the embodiment of the present invention does not limit this.
Step 103, according to described in the Rule Information and the cloud Rule Information that set in advance, and described resource information to be sorted, judges whether to match the sorting rule of resource to be sorted;
Wherein, when this step specific implementation, Ke Yiwei: generate according to the described Rule Information setting in advance and cloud Rule Information the plug-in unit that needs execution, use described plug-in unit to judge whether to match described sorting rule for described resource to be sorted.
In the time generating the plug-in unit that need to carry out, specifically can generate the described plug-in unit class that needs execution by the reflex mechanism of java language.
If step 104 matches the sorting rule of described resource to be sorted, use described sorting rule to sort described resource to be sorted.
Wherein, resource to be sorted is sorted, can comprise and use described sorting rule that described resource dissemination to be sorted is processed or is further analyzed to user, continuation.
Do different processing to meeting the resource of Different Rule, can in Rule Information and cloud Rule Information, do detailed setting, lift three kinds of situations only for for example above, do not form the restriction to the embodiment of the present invention.
Use the method for the disclosed resource sorting of the embodiment of the present invention, can be according to the Rule Information setting in advance and cloud Rule Information Auto-matching sorting rule, and the resource such as picture or video is sorted automatically according to the sorting rule matching, the resource sorting out can send to different treatment schemees according to setting in advance, thereby no longer need manual sorting's resource, can under the prerequisite that ensures resource sorting accuracy, efficient Resources allocation arrive each flow process.
Figure 2 shows that the process flow diagram of the resource method for sorting that one embodiment of the invention provides.Following according to this figure, introduce in detail the steps flow chart of the resource method for sorting that the embodiment of the present invention provides.
Step 201, loading rule information, regularly carry out every day, loading rule information and cloud Rule Information;
Step 202, the plug-in unit class that need to carry out by the reflex mechanism generation of java language, for mating the sorting rule for each resource;
Step 203, obtain the pending resource informations such as picture, video, document, for follow-up sorting processing;
The resource information that step 204, basis are obtained, Rule Information and cloud Rule Information judge whether to match the sorting rule for described resource;
Step 205, according to the result of step 204 matched rule, if match sorting rule, according to this rule, this resource is processed, for example can be by this resource dissemination to user, continue processing or be further analyzed; Complete after the processing of this resource, continue the processing of next resource;
Step 206, according to the result of step 204 matched rule, coupling less than rule, next resource is processed.
Use the method for the disclosed resource sorting of the embodiment of the present invention, can be according to the Rule Information setting in advance and cloud Rule Information Auto-matching sorting rule, and the resource such as picture or video is sorted automatically according to the sorting rule matching, the resource sorting out can send to different treatment schemees according to setting in advance, thereby no longer need manual sorting's resource, can under the prerequisite that ensures resource sorting accuracy, efficient Resources allocation arrive each flow process.
Following examples disclose a kind of device of resource sorting, in order to carry out the method for the disclosed resource sorting of previous embodiment.Figure 3 shows that the structural representation of a kind of resource sorting equipment that one embodiment of the invention provides.According to this figure, each ingredient that resource sorting equipment is described in detail in detail is as follows.
Loading unit 301, for loading the Rule Information and the cloud Rule Information that set in advance;
Wherein, as shown in Figure 4, the resource sorting equipment providing in another embodiment also comprises setting unit 305, for setting in advance described Rule Information and cloud Rule Information.
Acquiring unit 302, for obtaining resource information to be sorted;
Matching unit 303, for the Rule Information and the cloud Rule Information that set in advance described in basis, and described resource information to be sorted, judges whether to match the sorting rule of resource to be sorted;
Wherein, matching unit 303 generates specifically for the Rule Information and the cloud Rule Information that set in advance described in basis the plug-in unit that needs execution, uses described plug-in unit to judge whether to match described sorting rule for described resource to be sorted.
Generate and need the plug-in unit of carrying out to be specifically as follows: generate the described plug-in unit class that need to carry out by the reflex mechanism of java language.
Sorting unit 304, if for matching the sorting rule of described resource to be sorted, uses described sorting rule to sort described resource to be sorted.
Wherein, sorting unit 304 uses described sorting rule to sort described resource to be sorted, comprising:
Use described sorting rule that described resource dissemination to be sorted is processed or is further analyzed to user, continuation.
Use the device of the disclosed resource sorting of the embodiment of the present invention, can be according to the Rule Information setting in advance and cloud Rule Information Auto-matching sorting rule, and the resource such as picture or video is sorted automatically according to the sorting rule matching, the resource sorting out can send to different treatment schemees according to setting in advance, thereby no longer need manual sorting's resource, can under the prerequisite that ensures resource sorting accuracy, efficient Resources allocation arrive each flow process.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of programmed instruction, aforesaid program can be stored in read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc, CD, network node, schedulers.
Finally it should be noted that: these are only the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (11)

1. a method for resource sorting, is characterized in that, comprising:
The Rule Information that loading sets in advance and cloud Rule Information;
Obtain resource information to be sorted;
According to the described Rule Information setting in advance and cloud Rule Information, and described resource information to be sorted, judge whether to match the sorting rule of resource to be sorted;
If match the sorting rule of described resource to be sorted, use described sorting rule to sort described resource to be sorted.
2. method according to claim 1, is characterized in that, before the Rule Information setting in advance and cloud Rule Information, also comprises in described loading:
Set in advance described Rule Information and cloud Rule Information.
3. method according to claim 1, is characterized in that, described resource to be sorted is picture or video.
4. method according to claim 1, is characterized in that, according to the described Rule Information setting in advance and cloud Rule Information, and described resource information to be sorted, judges whether to match the sorting rule of resource to be sorted, comprising:
Generate according to the described Rule Information setting in advance and cloud Rule Information the plug-in unit that needs execution, use described plug-in unit to judge whether to match described sorting rule for described resource to be sorted.
5. method according to claim 4, is characterized in that, the plug-in unit that described generation need to be carried out, comprising:
Generate the described plug-in unit class that needs execution by the reflex mechanism of java language.
6. according to the method described in any one in claim 1-5, it is characterized in that, the described sorting rule of described use sorts described resource to be sorted, comprising:
Use described sorting rule that described resource dissemination to be sorted is processed or is further analyzed to user, continuation.
7. a device for resource sorting, is characterized in that, comprising:
Loading unit, for loading the Rule Information and the cloud Rule Information that set in advance;
Acquiring unit, for obtaining resource information to be sorted;
Matching unit, for the Rule Information and the cloud Rule Information that set in advance described in basis, and described resource information to be sorted, judges whether to match the sorting rule of resource to be sorted;
Sorting unit, if for matching the sorting rule of described resource to be sorted, uses described sorting rule to sort described resource to be sorted.
8. device according to claim 7, is characterized in that, described device also comprises:
Setting unit, for setting in advance described Rule Information and cloud Rule Information.
9. device according to claim 7, it is characterized in that Rule Information and the cloud Rule Information of described matching unit for setting in advance described in basis, and described resource information to be sorted, the sorting rule that judges whether to match resource to be sorted, comprising:
Generate according to the described Rule Information setting in advance and cloud Rule Information the plug-in unit that needs execution, use described plug-in unit to judge whether to match described sorting rule for described resource to be sorted.
10. device according to claim 9, is characterized in that, the plug-in unit that described generation need to be carried out, comprising:
Generate the described plug-in unit class that needs execution by the reflex mechanism of java language.
11. according to the device described in any one in claim 7-10, it is characterized in that, described sorting unit uses described sorting rule to sort described resource to be sorted, comprising:
Use described sorting rule that described resource dissemination to be sorted is processed or is further analyzed to user, continuation.
CN201410063536.8A 2014-02-24 2014-02-24 Resource sorting method and device Pending CN104199814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410063536.8A CN104199814A (en) 2014-02-24 2014-02-24 Resource sorting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410063536.8A CN104199814A (en) 2014-02-24 2014-02-24 Resource sorting method and device

Publications (1)

Publication Number Publication Date
CN104199814A true CN104199814A (en) 2014-12-10

Family

ID=52085109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410063536.8A Pending CN104199814A (en) 2014-02-24 2014-02-24 Resource sorting method and device

Country Status (1)

Country Link
CN (1) CN104199814A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106503118A (en) * 2016-10-18 2017-03-15 国云科技股份有限公司 A kind of data acquisition system and its implementation based on HC TABLE

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022403A (en) * 2006-09-08 2007-08-22 中山大学 State application blind identifying method
CN101354709A (en) * 2007-07-26 2009-01-28 富士施乐株式会社 Information classifying apparatus, information classifying method and computer readable medium
JP4839585B2 (en) * 2004-07-29 2011-12-21 日本電気株式会社 Resource information collection and distribution method and system
CN102567512A (en) * 2011-12-27 2012-07-11 深信服网络科技(深圳)有限公司 Method and device for webpage video control by classification
CN103354527A (en) * 2013-07-02 2013-10-16 中国人民解放军信息工程大学 QoS improving method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4839585B2 (en) * 2004-07-29 2011-12-21 日本電気株式会社 Resource information collection and distribution method and system
CN101022403A (en) * 2006-09-08 2007-08-22 中山大学 State application blind identifying method
CN101354709A (en) * 2007-07-26 2009-01-28 富士施乐株式会社 Information classifying apparatus, information classifying method and computer readable medium
CN102567512A (en) * 2011-12-27 2012-07-11 深信服网络科技(深圳)有限公司 Method and device for webpage video control by classification
CN103354527A (en) * 2013-07-02 2013-10-16 中国人民解放军信息工程大学 QoS improving method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106503118A (en) * 2016-10-18 2017-03-15 国云科技股份有限公司 A kind of data acquisition system and its implementation based on HC TABLE
CN106503118B (en) * 2016-10-18 2019-06-21 国云科技股份有限公司 A kind of data acquisition system and its implementation based on HC-TABLE

Similar Documents

Publication Publication Date Title
JP6587330B2 (en) Random forest model training method, electronic apparatus, and storage medium
CN102483731B (en) Have according to search load by the medium of the fingerprint database of equilibrium
CN111064712B (en) Game resource packaging method and system
CN103927338A (en) Log information storage processing method and log information storage processing device
CN110347888B (en) Order data processing method and device and storage medium
CN103729120A (en) Method for generating thumbnail image and electronic device thereof
CN105378792A (en) Three-dimensional object modeling
CN107864405B (en) Viewing behavior type prediction method, device and computer readable medium
CN103473076A (en) Issuing method and issuing system for code version
CN105787133A (en) Method and device for filtering advertisement information
CN104468330A (en) Data processing method and device of distributed information queue
CN104484058A (en) Instant expression image outputting method and instant expression image outputting device
CN110019827B (en) Corpus generation method, apparatus, device and computer storage medium
CN106648839B (en) Data processing method and device
CN105653548A (en) Method and system for identifying page type of electronic document
CN111104541A (en) Efficient face picture retrieval method and device
Vonikakis et al. Shaping datasets: Optimal data selection for specific target distributions across dimensions
CN113361618A (en) Industrial data joint modeling method and system based on federal learning
CN104778168A (en) Data processing method and device
CN106293650A (en) A kind of folder attribute method to set up and device
CN104199814A (en) Resource sorting method and device
CN110008880B (en) Model compression method and device
CN104469092A (en) Image acquisition method and electronic equipment
CN111210826A (en) Voice information processing method and device, storage medium and intelligent terminal
CN105260423A (en) Duplicate removal method and apparatus for electronic cards

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141210