CN107229754A - Information sorting method and device, electronic equipment and storage medium - Google Patents

Information sorting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN107229754A
CN107229754A CN201710520088.3A CN201710520088A CN107229754A CN 107229754 A CN107229754 A CN 107229754A CN 201710520088 A CN201710520088 A CN 201710520088A CN 107229754 A CN107229754 A CN 107229754A
Authority
CN
China
Prior art keywords
information
ratio
weighted value
value
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710520088.3A
Other languages
Chinese (zh)
Other versions
CN107229754B (en
Inventor
赵艺峻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710520088.3A priority Critical patent/CN107229754B/en
Publication of CN107229754A publication Critical patent/CN107229754A/en
Application granted granted Critical
Publication of CN107229754B publication Critical patent/CN107229754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Abstract

The embodiment of the invention discloses an information sorting method, an information sorting device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining N pieces of information to be sorted, wherein N is a positive integer greater than or equal to 1; determining the sorting elements of each piece of information in the N pieces of information respectively, wherein the sorting elements comprise release duration, information heat value and data transfer amount; carrying out weighted calculation on the ranking elements of each piece of information in the N pieces of information by combining the weighting coefficients of the ranking elements to obtain a ranking weight value of each piece of information, wherein the ranking weight value comprises the sum of a time length weight value, an information heat weight value and a data transfer weight value; and sorting the N pieces of information according to the sorting weight values in a descending order. By adopting the scheme of the invention, the useful information can be arranged on the front view interface, and the user can conveniently check the useful information.

Description

Information sorting method, device, electronic equipment and storage medium
Technical field
It is situated between the present invention relates to Internet technical field, more particularly to information sorting method, device, electronic equipment and storage Matter.
Background technology
With developing rapidly for Internet technology, in addition to traditional broadcast, TV, internet turns into one kind and more attached most importance to The one kind wanted takes dissemination of information channel.People issue the information such as the information of oneself, gains in depth of comprehension on the internet, and these information can , can be in these views circle using the user of identical website or client to be presented in the view interface of website or client These information are seen on face, the opinion of oneself can also be delivered for these information.On identical website or client, use Family both can see that the information of oneself issue, can also see the information that others issues, these information are all in the way of arrangement In the view interface for being presented in webpage or client.
Substantial amounts of user releases news on webpage or client, and the sky of a view interface of website or client Between it is limited, information is arranged to different view interfaces and is shown, and the information newly issued is arranged to view circle above It is shown on face, and earlier released information is then arranged to view interface below and is shown, user needs to pass through The action such as page turning or drop-down can be just switched in view interface below, can just be seen earlier released information, may so be led The useless information for causing earlier released useful information largely newly to be issued is covered, when useful information is arranged to below View interface on when being shown, user may miss these useful information.
The content of the invention
In order to solve the above problems, the embodiment of the present invention provides information sorting method, device, electronic equipment and storage and is situated between Matter, can solve the problem of useless information that earlier released useful information largely newly issued is covered.
First aspect of the embodiment of the present invention provides a kind of information sorting method, including:
It is determined that N number of information to be sorted, wherein, N is the positive integer more than or equal to 1;
The sequence element of each information in N number of information is determined respectively, and the sequence element includes issue duration, letter Cease hot value and data transfer amount;
The sequence element of each information in N number of information is weighted with reference to weight coefficient of each sequence element The weight order value for obtaining each information is calculated, wherein, the weight order value includes duration weighted value, heatrate and weighed Weight values and data transfer weighted value sum;
N number of information is ranked up according to order from big to small according to the weight order value.
In a kind of possible design, it is described according to the weight order value according to order from big to small to described N number of Information also includes after being ranked up:The preceding M information in N number of information is determined, wherein, M is just whole less than or equal to N Number;Duration weighted value, heatrate weighted value and the data transfer power of each information in the preceding M information are determined respectively Weight values;Weighted value, which is shifted, according to the duration weighted value, heatrate weighted value and data adjusts adding for each sequence element Weight coefficient.
It is described to be shifted according to the duration weighted value, heatrate weighted value and data in a kind of possible design The weight coefficient that weighted value adjusts each sequence element includes:First ratio of the first information in the preceding M information is determined, Wherein, first information duration weighted value described in the preceding M information is more than described information temperature weighted value and institute State the information that duration weighted value shifts weighted value more than the data;Determine second of the second information in the preceding M information Ratio, wherein, second information is that heatrate weighted value is more than the duration weighted value simultaneously described in the preceding M information And described information temperature weighted value is more than the information that the data shift weighted value;Determine the 3rd information in the preceding M information In the 3rd ratio, wherein, the 3rd information is the weighted value of data transfer described in the preceding M information more than the duration Weighted value and the data transfer weighted value be more than described information temperature weighted value information;According to first ratio, institute State the second ratio and the 3rd ratio adjusts the weight coefficient of each sequence element.
It is described according to first ratio, second ratio and the 3rd ratio in a kind of possible design Adjusting the weight coefficient of each sequence element includes:If in first ratio, second ratio and the 3rd ratio The difference of any two be more than the first difference, then adjust it is described sequence element weight coefficient so that first ratio with it is described Difference between difference, second ratio and the 3rd ratio and first ratio between second ratio with it is described Difference between 3rd ratio is respectively less than first difference.
It is described to be shifted according to the duration weighted value, heatrate weighted value and data in a kind of possible design The weight coefficient that weighted value adjusts each sequence element includes:Fourth ratio of the 4th information in the preceding M information is determined, Wherein, the 4th information is that the ratio between duration weighted value and the weight order value are more than first described in the preceding M information The information of predetermined threshold value;Fiveth ratio of the 5th information in the preceding M information is determined, wherein, the 5th information is institute The ratio between heatrate weighted value and the weight order value are more than the information of the second predetermined threshold value described in M information before stating;Really Fixed sixth ratio of 6th information in the preceding M information, wherein, the 6th information is described in the preceding M information Data shift the information that the ratio between weighted value and described weight order value are more than the 3rd predetermined threshold value;According to the 4th ratio, institute State the 5th ratio, the weight coefficient of the 6th ratio adjustment sequence element.
It is described to be adjusted according to the 4th ratio, the 5th ratio, the 6th ratio in a kind of possible design The weight coefficient of the sequence element includes:If any in the 4th ratio, the 5th ratio and the 6th ratio The difference of two is more than the second difference, then adjusts the weight coefficient of the sequence element so that the 4th ratio and the described 5th The difference and the 5th ratio and the described 6th between difference, the 4th ratio and the 6th ratio between ratio Difference between ratio is respectively less than second difference.
It is described to determine that N number of information to be sorted includes in a kind of possible design:All information that there is currently are true It is set to N number of information to be sorted;Or will in a upper sequence cycle in first L L information and in current sequence The information issued in cycle is defined as N number of information to be sorted, and L is the positive integer more than or equal to 1;Or the last time sorts The H information for being in first H determined and the time interval between the upper time once sorted and the time of this minor sort The information of middle issue is defined as N number of information to be sorted, and H is the positive integer more than or equal to 1.
Second aspect of the embodiment of the present invention provides information sorting device, including:
First information determining unit, for determining N number of information to be sorted, wherein, N is the positive integer more than or equal to 1;
Sort element determining unit, the sequence element for determining each information in N number of information respectively, the row Order elements include issue duration, heatrate value and data transfer amount;
Weighted value computing unit, each sequence member is combined for the sequence element to each information in N number of information The weight order value for obtaining each information is weighted in the weight coefficient of element, wherein, the weight order value includes Duration weighted value, heatrate weighted value and data transfer weighted value sum;
Sequencing unit, for being arranged according to the weight order value according to order from big to small N number of information Sequence.
In a kind of possible design, described device also includes:Second information determination unit, for determining N number of letter Preceding M information in breath, wherein, M is the positive integer less than or equal to N;Weighted value determining unit, for determine respectively it is described before Duration weighted value, heatrate weighted value and the data transfer weighted value of each information in M information;Weight coefficient is adjusted Unit, each sequence element is adjusted for shifting weighted value according to the duration weighted value, heatrate weighted value and data Weight coefficient.
In a kind of possible design, the weight coefficient adjustment unit includes:First ratio-dependent module, for determining First ratio of the first information in the preceding M information, wherein, when the first information is described in the preceding M information Long weighted value is more than described information temperature weighted value and the duration weighted value is more than the information that the data shift weighted value; Second ratio-dependent module, for determining second ratio of second information in the preceding M information, wherein, second letter The heatrate weighted value described in the preceding M information is ceased more than the duration weighted value and described information temperature weighted value More than the information that the data shift weighted value;3rd ratio-dependent module, for determining the 3rd information in the preceding M information In the 3rd ratio, wherein, the 3rd information is the weighted value of data transfer described in the preceding M information more than the duration Weighted value and the data transfer weighted value be more than described information temperature weighted value information;First adjusting module, for root The weight coefficient of each sequence element is adjusted according to first ratio, second ratio and the 3rd ratio.
In a kind of possible design, first adjusting module specifically for:If first ratio, second ratio Example and the 3rd ratio in any two difference be more than the first difference, then adjust it is described sequence element weight coefficient with Make the difference between difference, second ratio and the 3rd ratio between first ratio and second ratio with And the difference between first ratio and the 3rd ratio is respectively less than first difference.
In a kind of possible design, the weight coefficient adjustment unit includes:4th ratio-dependent module, for determining Fourth ratio of 4th information in the preceding M information, wherein, when the 4th information is described in the preceding M information The ratio between long weighted value and the weight order value are more than the information of the first predetermined threshold value;5th ratio-dependent module, for determining Fiveth ratio of 5th information in the preceding M information, wherein, the 5th information is to believe described in the preceding M information Cease the information that the ratio between temperature weighted value and described weight order value are more than the second predetermined threshold value;6th ratio-dependent module, is used for Sixth ratio of the 6th information in the preceding M information is determined, wherein, the 6th information is institute in the preceding M information State the information that the ratio between data transfer weighted value and described weight order value are more than the 3rd predetermined threshold value;Second adjusting module, is used for The weight coefficient of the sequence element is adjusted according to the 4th ratio, the 5th ratio, the 6th ratio.
In a kind of possible design, second adjusting module specifically for:If the 4th ratio, the 5th ratio Example and the 6th ratio in any two difference be more than the second difference, then adjust it is described sequence element weight coefficient with Make the difference between difference, the 4th ratio and the 6th ratio between the 4th ratio and the 5th ratio with And the difference between the 5th ratio and the 6th ratio is respectively less than second difference.
In a kind of possible design, first information determining unit specifically for:All information that there is currently are determined For N number of information to be sorted;Or will be in first L of L information and all in current sequence in a upper sequence cycle The information of interim issue is defined as N number of information to be sorted, and L is the positive integer more than or equal to 1;Or last time sequence is true In the fixed time interval in first H of H information and between the upper time once sorted and the time of this minor sort The information of issue is defined as N number of information to be sorted, and H is the positive integer more than or equal to 1.
The information sorting device that second aspect of the embodiment of the present invention is provided is used for the letter for performing first aspect present invention offer Sort method is ceased, the specific description that can be found in first aspect of the embodiment of the present invention will not be repeated here.
The third aspect of the embodiment of the present invention provides a kind of electronic equipment, including processor, memory, the processor, deposits Reservoir is connected with each other, wherein, the memory is used to store the application code for supporting electronic equipment to perform the above method, institute State the method that processor is arranged to perform above-mentioned first aspect.
Fourth aspect of the embodiment of the present invention provides a kind of computer-readable storage medium, and the computer-readable storage medium is stored with meter Calculation machine program, the computer program includes program signaling, and described program signaling makes the processor when being executed by a processor The method for performing above-mentioned first aspect.
The aspect of the embodiment of the present invention the 5th provides a kind of application program, including programmed instruction, and described program instruction, which is worked as, is held Method during row for performing above-mentioned first aspect.
In embodiments of the present invention, the weighting for the element that sorts is combined by the sequence element of each information in N number of information Coefficient can determine the weight order value of each information, and N number of information is entered according to order from big to small according to weight order value Row sequence.Sequence element includes issue duration, heatrate value and the data transfer amount of information, during the issue of combining information The weight order value of long, heatrate value and data transfer amount can reduce influence of the time factor to information arrangement, make useful Information arrangement in forward view interface.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below by using required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of schematic flow sheet of information sorting method provided in an embodiment of the present invention;
Fig. 2 is contrast schematic diagram before and after a kind of information sorting provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another information sorting method provided in an embodiment of the present invention;
Fig. 4 is a kind of composition structural representation of information sorting device provided in an embodiment of the present invention;
Fig. 5 is that a kind of composition structure of the weight coefficient adjustment unit of information sorting device provided in an embodiment of the present invention is shown It is intended to;
Fig. 6 is another composition structure of the weight coefficient adjustment unit of information sorting device provided in an embodiment of the present invention Schematic diagram;
Fig. 7 is the composition structural representation of a kind of electronic equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, the scope of protection of the invention is belonged to.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of information sorting method provided in an embodiment of the present invention, and the present invention is real Applying the method for example can perform on the equipment that information issue and information browse are serviced is provided, for example, can perform in network service On device, as illustrated, methods described at least includes:
Step S101, it is determined that N number of information to be sorted, wherein, N is the positive integer more than or equal to 1.
Optionally, N number of information to be sorted can be used for content, content of N number of comment of N number of model etc. by multiple The information being presented on the different views interface of same website or same client is checked and arranged at family, and N number of information is same Sequencing is arranged with one interface.
Optionally, all information that there is currently can be defined as to N number of information to be sorted;Can also be by upper one row It is defined as N number of letter to be sorted in first L of L information and the information issued in the current sequence cycle in the sequence cycle Breath;Can also by it is last sort determine in first H of H information and in upper time-domain this minor sort once sorted Time between time interval in the information issued be defined as N number of information to be sorted.
In a kind of possible scene, it can periodically determine N number of information to be sorted and N number of information is arranged Sequence, then when being ranked up all information for there is currently to information first from without sequence, will can there is currently All information are defined as N number of information to be sorted;, can be with when having had partial information in the information that there is currently by sequence The information issued in first L of L information in a upper sequence cycle and in the current sequence cycle is defined as treating N number of information of sequence.
In alternatively possible scene, if aperiodically determining N number of information to be sorted and N number of information being arranged Sequence, then when being ranked up all information for there is currently to information first from without sequence, will can there is currently All information are defined as N number of information to be sorted, and L is the positive integer more than or equal to 1;Have in the information that there is currently , can be by last once the sorting in first H of H information and upper of determining of sorting when partial information is by sequence The information issued in time interval between time and the time of this minor sort is defined as N number of information to be sorted, H to be more than or Positive integer equal to 1.
Illustrate to illustrate above two scene below.
The situation for periodically determining N number of information to be sorted and being ranked up to N number of information is introduced first.For example, The sequence cycle is 1 minute, and L is 500,10:Information content is 3000,10 when 00:00~10:01 has issued 300 information, 10:01~10:02 has issued 700 information, it is assumed that 10:00 first to being ranked up, then passes by~10:00、10:00~ 10:01、10:01~10:02 is respectively a sequence cycle, 10:When 00,3000 information are defined as to be sorted N number of Information, i.e. N=3000;10:When 01, upper one sequence cycle (is pass by~10:00) 500 of first 500 are in Information and in the current sequence cycle (i.e. 10:00~10:01) 300 information of issue are defined as N number of letter to be sorted in Breath, i.e. N=800;10:When 02, upper one is sorted the cycle (i.e. 10:00~10:01) in 500 of first 500 letters in Cease and in the current sequence cycle (i.e. 10:01~10:02) 700 information of issue are defined as N number of information to be sorted in, That is N=1200.
Then the situation for aperiodically determining N number of information to be sorted and being ranked up to N number of information is introduced.For example, H For 1000, it is assumed that 10:Information content is 2000 when 00,10:00 is ranked up to information first, then 10:, will when 00 2000 information are defined as N number of information to be sorted, i.e. N=2000;Assuming that sorting time is 11 next time:00,10:00~ 11:00 issue fresh information 3000, then 11:00 pair when being ranked up, by last time sequence (i.e. 10:00 corresponding sequence) really Fixed 1000 information and 10 for being in first 1000:00~11:3000 information of issue are true in 00 this time interval It is set to N number of information to be sorted, i.e. N=4000.
Step S102, determines the sequence element of each information in N number of information respectively, and the sequence element includes hair Cloth duration, heatrate value and data transfer amount.
Wherein, issue duration refers to the time interval between the issuing time of information and current time, for example, information A exists 10:00 issue, the current time is 10:10, then a length of 10 minutes during information A issue.In the specific implementation, timing can be obtained The timing duration of the timing tools such as device, stopwatch, clock determines the issue duration of each information in N number of information.
Wherein, heatrate value can for the thumb up number of information, comment number, by reprinting number of times, recommended number of times, be clicked Number of times etc. is used for the feature of concerned degree/audient's degree of characterization information;Heatrate value can also be in the unit time Thumb up number, the comment number in the unit interval, the recommended number of times by reprinting number of times or in the unit interval in the unit interval or Number of times is clicked in unit interval.For example, information B is model, the model in 10 minutes by 500 user's thumb ups, Then information B heatrate value can be 500, or 50.In the specific implementation, can according to the attribute of information, information should Determine which kind of feature is heatrate value is used as using with scene etc..In the specific implementation, operation of the user on interface can be obtained The heatrate value of each information in N number of information is determined, for example, user carries out thumb up or comment to an information, then at this The heatrate value of the information is added one in tables of data where information, and then the statistics in tables of data determines N number of information In each information heatrate value.
Wherein, data transfer amount can be from account/account of a user for integrated value, empirical value, wealth value etc. Possibility being used for reward/incentive property for being given to account/account of another user lifts liveness/participation of user Data.Data transfer amount can be used for representing the pouplarity of information, for example, information C is the blog article in a community, Blog article in the community, which is provided with, beats reward integrating function, and the integrated value of blog article is higher, illustrates that blog article is more welcome by user, false If information C integration has 50, then information C data transfer amount is 50.In the specific implementation, behaviour of the user on interface can be obtained Make the data transfer amount of each information in the N number of information of determination, for example, user is integrated to an information beats reward, then at this The data transfer amount of the information is added one in tables of data where information, and then the statistics in tables of data determines N number of information In each information data transfer amount.
Step S103, the weighting system of each sequence element is combined to the sequence element of each information in N number of information The weight order value for obtaining each information is weighted in number, wherein, the weight order value include duration weighted value, Heatrate weighted value and data transfer weighted value sum.
In the specific implementation, the sequence element of each information in N number of information can be weighted according to weighted formula The weight order value of each information is obtained, wherein, the weighted formula includes the weight coefficient of each sequence element.
In one kind realizes scene, weight order value can turn for duration weighted value, heatrate weighted value and data Weighted value sum is moved, then weighted formula may include three subformulas, and three subformulas are respectively duration weight calculation subformula, letter Temperature weight calculation subformula and data transfer weight calculation subformula are ceased, wherein, it is logical according to the issue duration of target information The duration weighted value that duration weight calculation subformula can obtain target information is crossed, letter is passed through according to the heatrate value of target information Breath temperature weight calculation subformula can obtain the heatrate weighted value of target information, logical according to the data transfer amount of target information The data transfer weighted value that data transfer weight calculation subformula can obtain target information is crossed, will be obtained by above three subformula To duration weighted value, heatrate weighted value and data transfer weighted value be added and can obtain the weight order of target information Value.Calculation by each information in N number of information all referring to the weight order value of target information can obtain each information Weight order value.
In a kind of specific implementation, weighted formula can be
Wherein,For duration weight calculation subformula, A and B are to issue adding for duration Weight coefficient, A is duration initial weight value, and B is duration characteristics coefficient, and t is the issue duration of information;For Heatrate weight calculation subformula, C and D are the weight coefficient of heatrate, and C is heatrate initial weight value, and D is letter Temperature characteristic coefficient is ceased, y is the heatrate value of information;For Data transfer weight calculation subformula, E is the weight coefficient of data transfer amount, and x is the data transfer amount of information.By what is got The issue duration of target information substitutes into the duration weighted value that duration weight calculation subformula can obtain target information, by what is got The heatrate value of target information substitutes into the heatrate weighted value that heatrate weight calculation subformula can obtain target information, The data transfer amount of the target information got is substituted into the data that data transfer weight calculation subformula can obtain target information Weighted value is shifted, and then obtains the weight order value of target information.For example, A=5, B=2, C=0, D=22, E=5, information C Issue duration t=300, heatrate value y=300, data transfer amount x=200, then information C duration weighted value beInformation C heatrate weighted value isInformation C data turn Moving weighted value isThe weight order value for further determining that information C is
Step S104, is ranked up according to the weight order value according to order from big to small to N number of information.
Specifically, such as N=5,5 information are respectively information A, information B, information C, information D and information E, pass through step Rapid S103 determines that information A weight order value is 20, and information B weight order value is 50, and information C weight order value is 30, Information D weight order value is 45, and information E weight order value is 60, then to information A, information B, information C, information D and letter Cease E is according to the result after order sequence from big to small:Information E, information B, information D, information C, information A.
Specifically, can according to the order after being ranked up to N number of information by N number of presentation of information where N number of information In view interface.For example, as shown in Fig. 2 Fig. 2 is contrast schematic diagram before and after a kind of information sorting provided in an embodiment of the present invention, In Fig. 2, the order of 5 information is followed successively by information A, information B, information C, information D and information D in the view interface before sequence, After sequence, the orders of 5 information in the view interface after sequence is followed successively by information E, information B, information D, information C and Information A.
The embodiment of the present invention is by determining the sequence element of N number of information to be sorted, with reference to the weighting of each sequence element Coefficient the sequence element of each information of N number of information is weighted the weight order value for obtaining each information, and according to The order of weight order value from big to small is ranked up to N number of information, and sequence element includes issue duration, the letter of information of information Hot value and data transfer amount are ceased, weighted calculation can reduce influence of the time factor to information arrangement, make relatively more useful Information arrangement in forward position, it is to avoid the useful information of a large amount of useless information can be caused to cover for newly issuing.
In a kind of possible scene, the weight coefficient set in each sequence element is not reasonable and cause information to be distributed In the case of being not reaching to expected distributed effect, the weight coefficient that can adjust each sequence element is pre- reach the distribution of information Phase distribution results, can specifically determine whether information distribution reaches pre- by monitoring the distribution situation of all information or partial information Phase distribution results, can be according to the specific distribution of all information or partial information in the case of not up to expected distributed effect Situation adjusts the weight coefficient of each sequence element to make the distribution of information reach expected distribution results.Referring to Fig. 3, Fig. 3 is this The schematic flow sheet for another information sorting method that inventive embodiments are provided, as illustrated, methods described at least includes:
Step S201, it is determined that N number of information to be sorted, wherein, N is the positive integer more than or equal to 1.
Step S202, determines the sequence element of each information in N number of information respectively, and the sequence element includes hair Cloth duration, heatrate value and data transfer amount.
Step S203, the weighting system of each sequence element is combined to the sequence element of each information in N number of information The weight order value for obtaining each information is weighted in number, wherein, the weight order value include duration weighted value, Heatrate weighted value and data transfer weighted value sum.
Step S204, is ranked up according to the weight order value according to order from big to small to N number of information.
Wherein, step S101~S104 is identical in step S201~S204 embodiments corresponding with Fig. 1, and specific descriptions can join Step S101~S104 associated description is examined, be will not be repeated here.
Step S205, determines the preceding M information in N number of information, wherein, M is the positive integer less than or equal to N.
Wherein, M can be equivalent for 100,200.
Scene is realized one kind is possible, M can be determined according to N, in the specific implementation, can be associated M with N, example Such as, M=1/2N, M=1/3N.
Specifically, M information before can the information that M are arranged in front in N number of information be defined as.
Step S206, determines duration weighted value, the heatrate weighted value of each information in the preceding M information respectively And data transfer weighted value.
Specifically, can according to determined in step S103 the duration weighted value of target information, heatrate weighted value and The duration weighted value of each information in M information before the mode of data transfer weighted value is determined, heatrate weighted value and Data shift weighted value, and specific calculation can be found in the associated description in step S103, will not be repeated here.
Step S207, shifts weighted value according to the duration weighted value, heatrate weighted value and data and adjusts each The weight coefficient of sequence element.
In alternate embodiments, preceding M information can be divided into following three types of information:
1) information of the first type is the information for meeting duration weight condition;
2) information of second of type is the information for meeting heatrate weight condition;
3) information of the third type is to meet the information that data shift weight condition.
In alternate embodiments, duration weighted value that can be according to each information in preceding M information, heatrate weight Value and data transfer weighted value determine the type of each information, it is then determined that the information of three types institute in preceding M information The ratio accounted for, the ratio is compared with the expected ratio contemplated, further then each can be adjusted according to result of the comparison The weight coefficient of sequence element so that the ratio of the information after adjustment weight coefficient can reach the ratio of expected imagination or connect The nearly expected ratio contemplated.
For example, it is contemplated that the letter of ratio in preceding M information shared by the information of the first type in contemplating, second type The difference of ratio between any two shared by the information of the shared ratio of breath and the third type is less than the first difference:If it is determined that preceding Ratio in M information shared by the information of the first type, ratio and the third type shared by the information of second type Information shared by ratio in any two difference be more than the first difference, then adjust at least one sequence element weight coefficient So that ratio in preceding M information shared by the information of the first type, the ratio and shared by the information of second type The difference of ratio between any two shared by the information of three types is less than the first difference.
And for example, it is contemplated that the large percentage in imagination in preceding M information shared by the information of second of type, the first type Information shared by ratio it is identical with the ratio shared by the information of the third type:If second type in preceding M information Ratio shared by information is smaller or information of the first type in preceding M information shared by ratio and the third type letter The shared ratio of breath is different, then adjusts the weight coefficient of at least one sequence element so that second type in preceding M information Large percentage shared by information, the ratio shared by the information of the first type and the ratio phase shared by the information of the third type Together.
In a kind of possible implementation, duration weight condition can be more than target for the duration weighted value of target information The heatrate weighted value of information and the data transfer weighted value for being more than target information, heatrate weight condition can be mesh The heatrate weighted value for marking information is more than the duration weighted value of target information and more than the data transfer weight of target information Value, data transfer weight condition can be more than for the data transfer weighted value of target information the duration weighted value of target information and More than the heatrate weighted value of target information;Then shifted according to the duration weighted value, heatrate weighted value and data The weight coefficient that weighted value adjusts each sequence element includes:First ratio of the first information in the preceding M information is determined, Wherein, first information duration weighted value described in the preceding M information is more than described information temperature weighted value and institute State the information that duration weighted value shifts weighted value more than the data;Determine second of the second information in the preceding M information Ratio, wherein, second information is that heatrate weighted value is more than the duration weighted value simultaneously described in the preceding M information And described information temperature weighted value is more than the information that the data shift weighted value;Determine the 3rd information in the preceding M information In the 3rd ratio, wherein, the 3rd information is the weighted value of data transfer described in the preceding M information more than the duration Weighted value and the data transfer weighted value be more than described information temperature weighted value information;According to first ratio, institute State the second ratio and the 3rd ratio adjusts the weight coefficient of each sequence element.
Specifically, in the case where the first ratio, the second ratio and the 3rd ratio are unsatisfactory for the ratio of expected imagination, adjusting The weight coefficient of each whole sequence element is expected the ratio of imagination to cause the first ratio, the second ratio and the 3rd ratio to meet Example, i.e., equal to the expected ratio contemplated or the ratio close to expected imagination.
In alternatively possible implementation, duration weight condition can be the duration weighted value and target of target information The ratio of the weight order value of information is more than the first predetermined threshold value, and heatrate weight condition can be hot for the information of target information The ratio for spending the weight order value that weighted value is more than target information is more than the second predetermined threshold value, and data transfer weight condition can be The data transfer weighted value of target information and the ratio of the weight order value of target information are more than the 3rd predetermined threshold value;Then according to institute State duration weighted value, heatrate weighted value and data transfer weighted value adjust each sequence element weight coefficient include: Fourth ratio of the 4th information in the preceding M information is determined, wherein, the 4th information is institute in the preceding M information State the information that the ratio between duration weighted value and described weight order value are more than the first predetermined threshold value;Determine the 5th information in the preceding M The 5th ratio in individual information, wherein, the 5th information be the preceding M information described in heatrate weighted value with it is described The ratio between weight order value is more than the information of the second predetermined threshold value;Sixth ratio of the 6th information in the preceding M information is determined, Wherein, the 6th information is that data described in the preceding M information shift the ratio between weighted value and described weight order value and are more than The information of 3rd predetermined threshold value;The sequence element is adjusted according to the 4th ratio, the 5th ratio, the 6th ratio Weight coefficient.
Specifically, in the case where the 4th ratio, the 5th ratio and the 6th ratio are unsatisfactory for the ratio of expected imagination, adjusting The weight coefficient of each whole sequence element is expected the ratio of imagination to cause the 4th ratio, the 5th ratio and the 6th ratio to meet Example, i.e., equal to the expected ratio contemplated or the ratio close to expected imagination.
In the specific implementation, at least one in adjustable weighted formula sorts element weight coefficient to adjust the weighting of sequence element Coefficient;For example, weighted formula is in step S102 Any one numerical value in A, B, C, D, E can be then adjusted to adjust the weight coefficient of sequence element.
It should be appreciated that above-mentioned retouch to duration weight condition, heatrate weight condition, data transfer weight condition State that the embodiment of the present invention should not be constituted and limit, in alternate embodiments, other duration weight conditions, letter can also be set Temperature weight condition and data transfer weight condition are ceased, such as duration weight condition can be the duration weighted value of target information More than the heatrate weighted value of target information, heatrate weight condition is more than mesh for the heatrate weighted value of target information The data transfer weighted value of information is marked, data transfer weight condition is less than the letter of target information for the data transfer weighted value of target Cease temperature weighted value.The expection of the above-mentioned information to the information of the first type, the information of Second Type and the third type The ratio of imagination should not also be constituted to the embodiment of the present invention and limited, and in alternate embodiments, can also set other ratios.
The embodiment of the present invention to N number of after the information sorted is ranked up, before determining in N number of information M information when Long weighted value, heatrate weighted value and data transfer weighted value, are weighed according to the duration weighted value of each information, heatrate Weight values and data transfer weighted value are determined to meet the information of different condition ratio shared in M information in M information, entered One step can determine whether whether these ratios meet the ratio of expected imagination, in the case of incongruent, adjust each sequence element Weight coefficient is to enable the ratio of information of different condition to meet the ratio of expected imagination so that meet the information of different condition Distribution it is more reasonable.
The above-mentioned method for illustrating the embodiment of the present invention, is provided below the device of the embodiment of the present invention.
Referring to Fig. 4, Fig. 4 is a kind of composition structural representation of information sorting device provided in an embodiment of the present invention, is such as schemed Shown, described device at least includes:
First information determining unit 310, for determining N number of information to be sorted, wherein, N is just whole more than or equal to 1 Number;
Optionally, N number of information to be sorted can be that the property such as content, the content of N number of comment of N number of model can be multiple User checks and arranged the information being presented on the different views interface of same website or same client, and N number of information exists Sequencing is arranged with same interface.
Optionally, all information that there is currently can be defined as N number of letter to be sorted by first information determining unit 310 Breath;First L of L information and the information in the current all final issues of sequence can also will be in a upper sequence cycle It is defined as N number of information to be sorted, L is the positive integer more than or equal to 1;Last determination of sorting can also be in preceding H The information issued in H information of position and time interval between the time of upper time-domain this minor sort once sorted is true It is set to N number of information to be sorted, H is the positive integer more than or equal to 1.
In a kind of possible scene, it can periodically determine N number of information to be sorted and N number of information is arranged Sequence, then when being ranked up all information that there is currently to information first from without sequence, first information determining unit 310 can be defined as all information that there is currently N number of information to be sorted;There is part in the information that there is currently Information by sequence when, first information determining unit 310 can will in a upper sequence cycle in first L L information with And the information issued in the current sequence cycle is defined as N number of information to be sorted.
In alternatively possible scene, if aperiodically determining N number of information to be sorted and N number of information being arranged Sequence, then when being ranked up all information that there is currently to information first from without sequence, first information determining unit 310 can be defined as all information that there is currently N number of information to be sorted;There is part in the information that there is currently When information is by sequence, the H information for being in first H that first information determining unit 310 will can be determined in last sequence And the information issued in the time interval between the upper time once sorted and the time of this minor sort is defined as waiting to sort N number of information.
Illustrate to illustrate above two scene below.
The situation for periodically determining N number of information to be sorted and being ranked up to N number of information is introduced first.For example, The sequence cycle is 1 minute, and L is 500,10:Information content is 3000,10 when 00:00~10:01 has issued 300 information, 10:01~10:02 has issued 700 information, it is assumed that 10:00 first to being ranked up, then passes by~10:00、10:00~ 10:01、10:01~10:02 is respectively a sequence cycle, 10:When 00, first information determining unit 310 believes 3000 Breath is defined as N number of information to be sorted, i.e. N=3000;10:When 01, first information determining unit 310 is all by upper one sequence Phase (passes by~10:00) in 500 information of first 500 and in the current sequence cycle (i.e. 10 in:00~10:01) 300 information of middle issue are defined as N number of information to be sorted, i.e. N=800;10:When 02, first information determining unit 310 Upper one is sorted the cycle (i.e. 10:00~10:01) in 500 information of first 500 and in the current sequence cycle in (i.e. 10:01~10:02) 700 information of issue are defined as N number of information to be sorted, i.e. N=1200 in.
Then the situation for aperiodically determining N number of information to be sorted and being ranked up to N number of information is introduced.For example, H For 1000, it is assumed that 10:Information content is 2000 when 00,10:00 is ranked up to information first, then 10:When 00, the 2000 information are defined as N number of information to be sorted, i.e. N=2000 by one information determination unit 310;Assuming that during next minor sort Between be 11:00,10:00~11:00 issue fresh information 3000, then 11:00 pair when being ranked up, first information determining unit 310 by last time sequence (i.e. 10:00 corresponding sequence) what is determined is in 1000 information and 10 of first 1000:00~ 11:3000 information of issue are defined as N number of information to be sorted, i.e. N=4000 in 00 this time interval.
Sort element determining unit 320, the sequence element for determining each information in N number of information respectively, institute Stating sequence element includes issue duration, heatrate value and data transfer amount;
Wherein, issue duration refers to the time interval between the issuing time of information and current time, for example, information A exists 10:00 issue, the current time is 10:10, then a length of 10 minutes during information A issue.In the specific implementation, sequence element is determined The timing duration of the timing tools such as the acquisition of unit 320 timer, clock determines the issue duration of each information in N number of information.
Wherein, heatrate value can for the thumb up number of information, comment number, by reprinting number of times, recommended number of times, be clicked Number of times etc. is used for the feature of concerned degree/audient's degree of characterization information;Heatrate value can also be in the unit time Thumb up number, the comment number in the unit interval, the recommended number of times by reprinting number of times or in the unit interval in the unit interval or Number of times is clicked in unit interval.For example, information B is model, the model in 10 minutes by 500 user's thumb ups, Then information B heatrate value can be 500, or 50.In the specific implementation, can according to the attribute of information, information should Determine which kind of feature is heatrate value is used as using with scene etc..In the specific implementation, sequence element determining unit 320 can be obtained Operation of the user on interface determines the heatrate value of each information in N number of information, for example, user is carried out to an information Thumb up or comment, then the element determining unit 320 that sorts add the heatrate value of the information in the tables of data where the information One, and then statistics of the element determining unit 320 in tables of data that sort determines the heatrate of each information in N number of information Value.
Wherein, data transfer amount can be from account/account of a user for integrated value, empirical value, wealth value etc. Possibility being used for reward/incentive property for being given to account/account of another user lifts liveness/participation of user Data.Data transfer amount can be used for representing the pouplarity of information, for example, information C is the blog article in a community, Blog article in the community, which is provided with, beats reward integrating function, and the integrated value of blog article is higher, illustrates that the blog article is more welcome by user, false If information C integration has 50, then information C data transfer amount is 50.In the specific implementation, behaviour of the user on interface can be obtained Make the data transfer amount of each information in the N number of information of determination, for example, user is integrated to an information beats reward, then sort The data transfer amount of the information is added one by element determining unit 320 in the tables of data where the information, and then the element that sorts is true Statistics of the order member 320 in tables of data determines the data transfer amount of each information in N number of information.
Weighted value computing unit 330, sorts for the sequence element to each information in N number of information with reference to each The weight order value for obtaining each information is weighted in the weight coefficient of element, wherein, the weight order value bag Include duration weighted value, heatrate weighted value and data transfer weighted value sum;
In the specific implementation, weighted value computing unit 330 can be according to weighted formula to each information in N number of information sequence The weight order value for obtaining each information is weighted in element, wherein, the weighted formula includes each sequence element Weight coefficient.
In one kind realizes scene, weight order value can turn for duration weighted value, heatrate weighted value and data Weighted value sum is moved, then weighted formula may include three subformulas, and three subformulas are respectively duration weight calculation subformula, letter Temperature weight calculation subformula and data transfer weight calculation subformula are ceased, wherein, weighted value computing unit 330 is according to target The issue duration of information can obtain the duration weighted value of target information, weighted value computing unit by duration weight calculation subformula 330 can obtain the heatrate of target information according to the heatrate value of target information by heatrate weight calculation subformula Weighted value, weighted value computing unit 330 shifts weight calculation subformula according to the data transfer amount of target information by data can Obtain the data transfer weighted value of target information, the duration that weighted value computing unit 330 will be obtained by above three subformula Weighted value, heatrate weighted value and data transfer weighted value are added the weight order value that can obtain target information.Weight Calculation of the value computing unit 330 by each information in N number of information all referring to the weight order value of target information can obtain The weight order value of each information.
In a kind of specific implementation, weighted formula can be
Wherein,For duration weight calculation subformula, A and B are the weighting system for issuing duration Number, A is duration initial weight value, and B is duration characteristics coefficient, and t is the issue duration of information;For Heatrate weight calculation subformula, C and D are the weight coefficient of heatrate, and C is heatrate initial weight value, and D is letter Temperature characteristic coefficient is ceased, y is the heatrate value of information;For Data transfer weight calculation subformula, E is the weight coefficient of data transfer amount, and x is the data transfer amount of information.Weighted value is calculated The issue duration for the target information that unit 330 gets the element determining unit 320 that sorts substitutes into duration weight calculation subformula The duration weighted value of target information is obtained, weighted value computing unit 330 believes the target that the element determining unit 320 that sorts is got The heatrate value of breath substitutes into the heatrate weighted value that heatrate weight calculation subformula obtains target information, weighted value meter The data transfer amount for calculating the target information that unit 330 gets the element determining unit 320 that sorts substitutes into data transfer weight meter Operator formula obtains the data transfer weighted value of target information, and then weighted value computing unit 330 obtains the sequence of target information Weighted value.For example, A=5, B=2, C=0, D=22, E=5, information C issue duration t=300, heatrate value y=300, Data transfer amount x=200, then information C duration weighted value beInformation C heatrate power Weight values areInformation C data shift weighted value Enter one Step determines that information C weight order value is
Sequencing unit 340, for being carried out according to the weight order value according to order from big to small to N number of information Sequence.
Specifically, such as N=5,5 information are respectively information A, information B, information C, information D and information E, pass through step Rapid S103 determines that information A weight order value is 20, and information B weight order value is 50, and information C weight order value is 30, Information D weight order value is 45, and information E weight order value is 60, then to information A, information B, information C, information D and letter Cease E is according to the result after order sequence from big to small:Information E, information B, information D, information C, information A.
Specifically, can according to the order after being ranked up to N number of information by N number of presentation of information where N number of information In view interface.For example, as shown in Fig. 2 Fig. 2 is contrast schematic diagram before and after a kind of information sorting provided in an embodiment of the present invention, In Fig. 2, the order of 5 information is followed successively by information A, information B, information C, information D and information D in the view interface before sequence, After sequence, the orders of 5 information in the view interface after sequence is followed successively by information E, information B, information D, information C and Information A.
Optionally, described device can also include:
Second information determination unit 350, for determining the preceding M information in N number of information, wherein, M is to be less than or wait In N positive integer;
Wherein, M can be equivalent for 100,200.
Scene is realized one kind is possible, and M is determined according to N, in the specific implementation, M can be associated with N, for example, M=1/2N, M=1/3N.
Specifically, the second information determination unit 350 can be arranged in front before the information of M is defined as M from N number of information Information.
Weighted value determining unit 360, for determine respectively each information in the preceding M information duration weighted value, Heatrate weighted value and data transfer weighted value;
Specifically, weighted value determining unit 360, which obtains weighted value computing unit 330, calculates obtained duration weighted value, letter Cease temperature weighted value and data transfer weighted value determines duration weighted value, the heatrate of each information in preceding M information Weighted value and data transfer weighted value.
Weight coefficient adjustment unit 370, for being shifted according to the duration weighted value, heatrate weighted value and data Weighted value adjusts the weight coefficient of each sequence element.
In alternate embodiments, preceding M information can be divided into following three types of by weight coefficient adjustment unit 370 Information:
1) information of the first type is the information for meeting duration weight condition;
2) information of second of type is the information for meeting heatrate weight condition;
3) information of the third type is to meet the information that data shift weight condition.
In alternate embodiments, weight coefficient adjustment unit 370 can be according to the duration of each information in preceding M information Weighted value, heatrate weighted value and data transfer weighted value determine the type of each information, it is then determined that three types Information ratio shared in preceding M information, the ratio is compared with the expected ratio contemplated, further then can basis Result of the comparison adjusts the weight coefficient of each sequence element, to allow the ratio for adjusting the information after weight coefficient to reach It is expected that the ratio or the ratio close to expected imagination contemplated.
Optionally, as shown in figure 5, the weight coefficient adjustment unit 370 includes:
First ratio-dependent module 371, for determining first ratio of the first information in the preceding M information, wherein, The first information is that duration weighted value is more than described information temperature weighted value and the duration described in the preceding M information Weighted value is more than the information that the data shift weighted value;
Second ratio-dependent module 372, for determining second ratio of second information in the preceding M information, wherein, Second information is that heatrate weighted value is more than the duration weighted value and described information described in the preceding M information Temperature weighted value is more than the information that the data shift weighted value;
3rd ratio-dependent module 373, for determining threeth ratio of the 3rd information in the preceding M information, wherein, 3rd information is that the weighted value of data transfer described in the preceding M information is more than the duration weighted value and the data Shift the information that weighted value is more than described information temperature weighted value;
First adjusting module 374, for being adjusted according to first ratio, second ratio and the 3rd ratio The weight coefficient of each sequence element.
Specifically, first adjusting module 374 specifically for:
If the difference of any two is poor more than first in first ratio, second ratio and the 3rd ratio Value, then adjust the weight coefficient of the sequence element so that difference between first ratio and second ratio, described The difference between difference and first ratio and the 3rd ratio between second ratio and the 3rd ratio is small In first difference.
Optionally, as shown in fig. 6, the weight coefficient adjustment unit 370 includes:
4th ratio-dependent module 375, for determining fourth ratio of the 4th information in the preceding M information, wherein, 4th information is that the ratio between duration weighted value and the weight order value described in the preceding M information are more than the first default threshold The information of value;
5th ratio-dependent module 376, for determining fiveth ratio of the 5th information in the preceding M information, wherein, 5th information is that heatrate weighted value described in the preceding M information and the ratio between the weight order value are pre- more than second If the information of threshold value;
6th ratio-dependent module 377, for determining sixth ratio of the 6th information in the preceding M information, wherein, 6th information is that data transfer weighted value described in the preceding M information and the ratio between the weight order value are pre- more than the 3rd If the information of threshold value;
Second adjusting module 378, for adjusting institute according to the 4th ratio, the 5th ratio, the 6th ratio State the weight coefficient of sequence element.
Specifically, second adjusting module 378 specifically for:
If the difference of any two is poor more than second in the 4th ratio, the 5th ratio and the 6th ratio Value, then adjust the weight coefficient of the sequence element so that difference between the 4th ratio and the 5th ratio, described The difference between difference and the 5th ratio and the 6th ratio between 4th ratio and the 6th ratio is small In second difference.
The embodiment of the present invention is by determining the sequence element of N number of information to be sorted, with reference to the weighting of each sequence element Coefficient the sequence element of each information of N number of information is weighted the weight order value for obtaining each information, and according to The order of weight order value from big to small is ranked up to N number of information, and sequence element includes issue duration, the letter of information of information Hot value and data transfer amount are ceased, weighted calculation can be with factors such as issue duration, the pouplarities of balancing information to information The influence put in order, and then make relatively more valuable information arrangement in forward position, it is to avoid a large amount of nothings newly issued The useful information of information can be caused to cover;Meanwhile, the weight coefficient of the element of adjustment sequence in time can to meet different condition The distribution of information is more reasonable.
Referring to Fig. 7, Fig. 7 is the composition structural representation of a kind of electronic equipment provided in an embodiment of the present invention, and the equipment can Think and the equipment that information issue and information browse are serviced is provided, for example, the webserver, as illustrated, the equipment includes processing Device 71 and memory 72.Processor 71 is connected to memory 72, and such as processor 71 can be connected to memory by bus 72。
Processor 71 is configured as supporting the equipment to perform corresponding work(in information sorting method described in Fig. 1 or Fig. 3 Energy.The processor 71 can be central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP), hardware chip or its any combination.Above-mentioned hardware chip can be application specific integrated circuit (Application-Specific Integrated Circuit, ASIC), PLD (Programmable Logic Device, PLD) or its combination.Above-mentioned PLD can be CPLD (Complex Programmable Logic Device, CPLD), field programmable gate array (Field-Programmable Gate Array, FPGA), GAL (Generic Array Logic, GAL) or its any combination.
Memory 72 is used for store program codes etc..Memory 72 can include volatile memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Memory 72 can also include non-volatile Property memory (Non-Volatile Memory), such as read-only storage (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid state hard disc (Solid-State Drive, SSD);Deposit Reservoir 72 can also include the combination of the memory of mentioned kind.
Processor 71 can call described program code to perform following operation:
It is determined that N number of information to be sorted, wherein, N is the positive integer more than or equal to 1;
The sequence element of each information in N number of information is determined respectively, and the sequence element includes issue duration, letter Cease hot value and data transfer amount;
The sequence element of each information in N number of information is weighted with reference to weight coefficient of each sequence element The weight order value for obtaining each information is calculated, wherein, the weight order value includes duration weighted value, heatrate and weighed Weight values and data transfer weighted value sum;
N number of information is ranked up according to order from big to small according to the weight order value.
It should be noted that realization of each operation can also correspond to the phase of reference picture 1 or the embodiment of the method shown in Fig. 3 It should describe;The processor 71 is additionally operable to perform other operations in above method embodiment.
The embodiment of the present invention also provides a kind of computer-readable storage medium (non-transitorycomputer readable storage medium), described Computer-readable storage medium is stored with computer program, and the computer program includes program signaling, and described program signaling is when being counted Calculation machine makes the method for the computer execution as in the foregoing embodiment when performing, the computer can be letter mentioned above Cease a part for collator or electronic equipment.
Above-mentioned non-transitorycomputer readable storage medium can appointing using one or more computer-readable media Meaning combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.Computer can Read storage medium and for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device Or device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes: Electrical connection, portable computer diskette, hard disk, random access memory (RAM), read-only storage with one or more wires Device (Read Only Memory;Hereinafter referred to as:ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory;Hereinafter referred to as:) or flash memory, optical fiber, portable compact disc are read-only deposits EPROM Reservoir (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer Readable storage medium storing program for executing can be it is any include or storage program tangible medium, the program can be commanded execution system, device Or device is used or in connection.
Computer-readable signal media can be included in a base band or as the data-signal of carrier wave part propagation, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or Transmit for being used or program in connection by instruction execution system, device or device.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but do not limit In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
The computer for performing the application operation can be write with one or more programming languages or its combination Program code, described program design language includes object oriented program language-such as Java, Smalltalk, C++, Also including conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, as independent software kit execution, a portion Divide part execution or the execution completely on remote computer or server on the remote computer on the user computer. It is related in the situation of remote computer, remote computer can be by the network of any kind --- including LAN (Local Area Network;Hereinafter referred to as:) or wide area network (Wide Area Network LAN;Hereinafter referred to as:WAN) it is connected to user Computer, or, it may be connected to outer computer (such as using ISP come by Internet connection).
The embodiment of the present invention also provides a kind of computer program product, when the instruction in above computer program product by When managing device execution, it is possible to achieve the information sorting method that Fig. 1 of the present invention or embodiment illustrated in fig. 3 are provided.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting The application." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications.It is also understood that term used herein "and/or" refers to and may combined comprising one or more associated any or all of project listed.
It will be appreciated that though may be described in embodiments of the present invention using term " first ", " second ", " the 3rd " etc. Various ratios and information etc., but these ratios and information etc. should not necessarily be limited by these terms.These terms are only used for ratio and letter Breath etc. is distinguished from each other out.For example, in the case where not departing from range of embodiment of the invention, the first ratio can also be referred to as second Ratio, similarly, the second continued proportion can also be referred to as the first ratio.
Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenient and succinct, can as needed will be upper only with the division progress of above-mentioned each functional module for example, in practical application State function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before may be referred to The corresponding process in embodiment of the method is stated, be will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the module or The division of unit, only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute Display or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, the technical scheme of the application is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the application each The all or part of step of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read Only Memory;Hereinafter referred to as:ROM), random access memory (Random Access Memory;Hereinafter referred to as: RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
It is described above, the only embodiment of the application, but the protection domain of the application is not limited thereto, and it is any Those familiar with the art can readily occur in change or replacement in the technical scope that the application is disclosed, and should all contain Cover within the protection domain of the application.Therefore, the protection domain of the application should be based on the protection scope of the described claims.

Claims (10)

1. a kind of information sorting method, it is characterised in that including:
It is determined that N number of information to be sorted, wherein, N is the positive integer more than or equal to 1;
The sequence element of each information in N number of information is determined respectively, and the sequence element includes issue duration, information heat Angle value and data transfer amount;
The sequence element of each information in N number of information is weighted with reference to weight coefficient of each sequence element The weight order value of each information is obtained, wherein, the weight order value includes duration weighted value, heatrate weighted value And data transfer weighted value sum;
N number of information is ranked up according to order from big to small according to the weight order value.
2. the method as described in claim 1, it is characterised in that described suitable according to from big to small according to the weight order value N number of information described in ordered pair also includes after being ranked up:
The preceding M information in N number of information is determined, wherein, M is the positive integer less than or equal to N;
Duration weighted value, heatrate weighted value and the data transfer of each information in the preceding M information are determined respectively Weighted value;
The weighting that weighted value adjusts each sequence element is shifted according to the duration weighted value, heatrate weighted value and data Coefficient.
3. method as claimed in claim 2, it is characterised in that described according to the duration weighted value, heatrate weighted value And data transfer weighted value adjusts each weight coefficient for sorting element and included:
First ratio of the first information in the preceding M information is determined, wherein, the first information is the preceding M information Described in duration weighted value be more than described information temperature weighted value and the duration weighted value and be more than the data and shift weight The information of value;
Second ratio of second information in the preceding M information is determined, wherein, second information is the preceding M information Described in heatrate weighted value be more than the duration weighted value and described information temperature weighted value and be more than data transfer The information of weighted value;
Threeth ratio of the 3rd information in the preceding M information is determined, wherein, the 3rd information is the preceding M information Described in data transfer weighted value be more than the duration weighted value and the data transfer weighted value be more than described information temperature The information of weighted value;
The weight coefficient of each sequence element is adjusted according to first ratio, second ratio and the 3rd ratio.
4. method as claimed in claim 3, it is characterised in that it is described according to first ratio, second ratio and The weight coefficient that 3rd ratio adjusts each sequence element includes:
If the difference of any two is more than the first difference in first ratio, second ratio and the 3rd ratio, The weight coefficient of the sequence element is then adjusted so that difference between first ratio and second ratio, described second The difference between difference and first ratio and the 3rd ratio between ratio and the 3rd ratio is respectively less than institute State the first difference.
5. method as claimed in claim 2, it is characterised in that described according to the duration weighted value, heatrate weighted value And data transfer weighted value adjusts each weight coefficient for sorting element and included:
Fourth ratio of the 4th information in the preceding M information is determined, wherein, the 4th information is the preceding M information Described in the ratio between duration weighted value and the weight order value be more than the information of the first predetermined threshold value;
Fiveth ratio of the 5th information in the preceding M information is determined, wherein, the 5th information is the preceding M information Described in the ratio between heatrate weighted value and the weight order value be more than the information of the second predetermined threshold value;
Sixth ratio of the 6th information in the preceding M information is determined, wherein, the 6th information is the preceding M information Described in the ratio between data transfer weighted value and described weight order value be more than the information of the 3rd predetermined threshold value;
The weight coefficient of the sequence element is adjusted according to the 4th ratio, the 5th ratio, the 6th ratio.
6. method as claimed in claim 5, it is characterised in that it is described according to the 4th ratio, it is the 5th ratio, described The weight coefficient of the 6th ratio adjustment sequence element includes:
If the difference of any two is more than the second difference in the 4th ratio, the 5th ratio and the 6th ratio, The weight coefficient of the sequence element is then adjusted so that difference between the 4th ratio and the 5th ratio, the described 4th The difference between difference and the 5th ratio and the 6th ratio between ratio and the 6th ratio is respectively less than institute State the second difference.
7. the method as described in claim 1, it is characterised in that described to determine that N number of information to be sorted includes:
All information that there is currently are defined as to N number of information to be sorted;Or
The information issued in first L of L information in a upper sequence cycle and in the current sequence cycle is determined For N number of information to be sorted, L is the positive integer more than or equal to 1;Or
By last sequence determine in first H of H information and the upper time once sorted and this minor sort when Between between time interval in the information issued be defined as N number of information to be sorted, H is the positive integer more than or equal to 1.
8. a kind of information sorting device, it is characterised in that including:
First information determining unit, for determining N number of information to be sorted, wherein, N is the positive integer more than or equal to 1;
Sort element determining unit, the sequence element for determining each information in N number of information respectively, the sequence member Element includes issue duration, heatrate value and data transfer amount;
Weighted value computing unit, each sequence element is combined for the sequence element to each information in N number of information The weight order value for obtaining each information is weighted in weight coefficient, wherein, the weight order value includes duration Weighted value, heatrate weighted value and data transfer weighted value sum;
Sequencing unit, for being ranked up according to the weight order value according to order from big to small to N number of information.
9. a kind of electronic equipment, it is characterised in that including processor and memory, the processor, memory are connected with each other, its In, the memory is used for store program codes, and the processor is used to call described program code, performs such as claim 1- Method described in 7 any one.
10. a kind of storage medium, it is characterised in that the computer-readable storage medium is stored with computer program, the computer Program includes programmed instruction, and described program instruction makes the computer perform such as claim 1-7 when executed by a computer Method described in one.
CN201710520088.3A 2017-06-30 2017-06-30 Information sorting method and device, electronic equipment and storage medium Active CN107229754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710520088.3A CN107229754B (en) 2017-06-30 2017-06-30 Information sorting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710520088.3A CN107229754B (en) 2017-06-30 2017-06-30 Information sorting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107229754A true CN107229754A (en) 2017-10-03
CN107229754B CN107229754B (en) 2021-04-20

Family

ID=59936156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710520088.3A Active CN107229754B (en) 2017-06-30 2017-06-30 Information sorting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107229754B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748787A (en) * 2017-10-27 2018-03-02 姜俊 A kind of heatrate processing method and processing device
CN109241452A (en) * 2018-11-19 2019-01-18 天津网之易创新科技有限公司 Information recommendation method and device, storage medium and electronic equipment
CN109271132A (en) * 2018-09-19 2019-01-25 中南大学 A kind of sort method based on machine learning model
CN110069732A (en) * 2019-03-29 2019-07-30 腾讯科技(深圳)有限公司 A kind of method, device and equipment that information is shown
CN110599639A (en) * 2019-08-13 2019-12-20 深圳市天彦通信股份有限公司 Identity verification method and related product
CN111563217A (en) * 2020-04-02 2020-08-21 北京明略软件系统有限公司 Method and device for managing information in webpage
CN111782702A (en) * 2020-06-29 2020-10-16 北京金山云网络技术有限公司 Metadata hot ranking method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050162A (en) * 2013-03-11 2014-09-17 富士通株式会社 Data processing method and data processing device
US20140279679A1 (en) * 2013-03-14 2014-09-18 Spectrum Investment Advisors, Inc. Multi-Factor Investment Fund Rating Scoring System And Method
CN104077354A (en) * 2014-05-29 2014-10-01 小米科技有限责任公司 Forum post heat determining method and related device thereof
CN105843902A (en) * 2016-03-23 2016-08-10 乐视网信息技术(北京)股份有限公司 Interaction information sorting method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050162A (en) * 2013-03-11 2014-09-17 富士通株式会社 Data processing method and data processing device
US20140279679A1 (en) * 2013-03-14 2014-09-18 Spectrum Investment Advisors, Inc. Multi-Factor Investment Fund Rating Scoring System And Method
CN104077354A (en) * 2014-05-29 2014-10-01 小米科技有限责任公司 Forum post heat determining method and related device thereof
CN105843902A (en) * 2016-03-23 2016-08-10 乐视网信息技术(北京)股份有限公司 Interaction information sorting method and apparatus

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
RICARDO DE A. ARAÚJO: "An intelligent hybrid morphological-rank-linear method for financial time series prediction", 《NEUROCOMPUTING》 *
李立耀: "社交网络研究综述", 《计算机科学》 *
黄祥林: "《图像检索原理与实践》", 30 June 2014, 中国传媒大学出版社 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748787A (en) * 2017-10-27 2018-03-02 姜俊 A kind of heatrate processing method and processing device
CN109271132A (en) * 2018-09-19 2019-01-25 中南大学 A kind of sort method based on machine learning model
CN109271132B (en) * 2018-09-19 2023-07-18 中南大学 Ordering method based on machine learning model
CN109241452A (en) * 2018-11-19 2019-01-18 天津网之易创新科技有限公司 Information recommendation method and device, storage medium and electronic equipment
CN109241452B (en) * 2018-11-19 2022-03-22 天津网之易创新科技有限公司 Information recommendation method and device, storage medium and electronic equipment
CN110069732A (en) * 2019-03-29 2019-07-30 腾讯科技(深圳)有限公司 A kind of method, device and equipment that information is shown
CN110069732B (en) * 2019-03-29 2022-11-22 腾讯科技(深圳)有限公司 Information display method, device and equipment
CN110599639A (en) * 2019-08-13 2019-12-20 深圳市天彦通信股份有限公司 Identity verification method and related product
CN111563217A (en) * 2020-04-02 2020-08-21 北京明略软件系统有限公司 Method and device for managing information in webpage
CN111782702A (en) * 2020-06-29 2020-10-16 北京金山云网络技术有限公司 Metadata hot ranking method, device, equipment and storage medium
CN111782702B (en) * 2020-06-29 2024-05-03 北京金山云网络技术有限公司 Metadata heat sorting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107229754B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN107229754A (en) Information sorting method and device, electronic equipment and storage medium
JP5449628B2 (en) Determining category information using multistage
CN103886068B (en) Data processing method and device for Internet user's behavioural analysis
CN103729383B (en) Push method and device for commodity information
CN103365902B (en) The appraisal procedure and device of internet news
CN103207904B (en) The offer method of Search Results and search engine
CN106021379B (en) A kind of personalized recommendation method and its system based on user preference
CN106294775A (en) Content delivery method and device
CN109766492B (en) Learning recommendation method, device, equipment and readable medium
CN108304399A (en) The recommendation method and device of Web content
CN106131601A (en) Video recommendation method and device
CN107895213A (en) Forecasting Methodology, device and the electronic equipment of spending limit
US9818162B2 (en) Socially and contextually appropriate recommendation systems
CN104199872A (en) Information recommendation method and device
CN104376083B (en) It is a kind of that method is recommended based on concern relation and the figure of multi-user's behavior
CN103631801B (en) A kind of method and device that merchandise news is provided
CN105843902A (en) Interaction information sorting method and apparatus
CN104298674B (en) The method and apparatus for showing article
CN110457580A (en) Focus recommendation method and device based on search
CN109739974A (en) A kind of recommendation information acquisition methods and device, storage medium
WO2014070878A4 (en) Systems and methods of establishing and measuring trust relationships in a community of online users
CN103309984A (en) Data processing method and device
CN105991583A (en) Game application recommendation method, application server, terminal and system
CN109543113B (en) Method and device for determining click recommendation words, storage medium and electronic equipment
CN106997360A (en) The treating method and apparatus of user behavior data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant