CN110322259A - Method for managing resource, device and electronic equipment - Google Patents

Method for managing resource, device and electronic equipment Download PDF

Info

Publication number
CN110322259A
CN110322259A CN201810273553.2A CN201810273553A CN110322259A CN 110322259 A CN110322259 A CN 110322259A CN 201810273553 A CN201810273553 A CN 201810273553A CN 110322259 A CN110322259 A CN 110322259A
Authority
CN
China
Prior art keywords
resource
user
target resource
target
scoring
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
CN201810273553.2A
Other languages
Chinese (zh)
Other versions
CN110322259B (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 HONGMA MEDIA CULTURE DEVELOPMENT CO LTD
Original Assignee
BEIJING HONGMA MEDIA CULTURE DEVELOPMENT 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 HONGMA MEDIA CULTURE DEVELOPMENT CO LTD filed Critical BEIJING HONGMA MEDIA CULTURE DEVELOPMENT CO LTD
Priority to CN201810273553.2A priority Critical patent/CN110322259B/en
Publication of CN110322259A publication Critical patent/CN110322259A/en
Application granted granted Critical
Publication of CN110322259B publication Critical patent/CN110322259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0254Targeted advertisements based on statistics
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0282Rating or review of business operators or products

Landscapes

  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Probability & Statistics with Applications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method for managing resource, device and electronic equipments.This method comprises: obtaining user's temperature data of target resource;According to user's temperature data, the resource status scoring of target resource is obtained;It is scored according to resource status, corresponding policy in resource management is implemented to target resource.According to the present invention, it realizes adaptively according to the real-time change of the resource status of target resource, implements corresponding resource management, improve the real-time effectiveness of resource management, promote the efficiency of resource management.

Description

Method for managing resource, device and electronic equipment
Technical field
The present invention relates to field of computer technology, set more particularly, to a kind of method for managing resource, device and electronics It is standby.
Background technique
With popularizing for computer, Internet technology rapid development and Intelligent Terminal, people, which can pass through, provides money The application (such as the ticketing service APP installed on mobile phone) of source booking service performs seat, film seat by internet online booking The resources such as position, restaurant seat, vehicle seat, great convenience life.
And in practical applications, for the resource of different type or different content, due to be received by the market degree and Scarcity of resources degree is different, and corresponding user obtains temperature and differs greatly.For example, different drills for the seat for performing project Out between project, there are great differences for the temperature at user's purchase seat.User obtains the higher resource of temperature, it will usually to mentioning Flow attack is brought for the system of the corresponding application program of online booking.The higher resource of temperature is obtained for this kind of user, is Guarantee that user obtains the efficiency and fairness of resource, usual resource provider can use corresponding policy in resource management, right The resource acquisition behavior of user controls.Common policy in resource management has following two:
One is by way of manually prejudging, estimation user obtains the higher resource of temperature, and resource management is arranged in advance Strategy controls the resource acquisition behavior of user for this kind of resource;
Another kind is to preset alarming flow index, during resource online booking service is provided, monitoring system Changes in flow rate, once flow be more than alarming flow index, generate alarm signal remind artificial treatment, implement resource management, control The resource acquisition behavior of user processed.
But using the first policy in resource management, whether user's acquisition temperature of estimating resource is higher, tends to rely on The personal experience of counterpart personnel or resolution ability, the result manually prejudged usually and physical presence deviation, lead to resource management Strategy fails: some estimation users obtain the not high resource of temperature, practical when providing online booking service, generate a large amount of flows Flow attack is brought to system, but policy in resource management is not set in advance, causes system unstable, it can not be to some use Family is controlled in the behavior that the short time largely obtains resource, influences the fairness of resource acquisition;And some estimation users obtain The higher resource of temperature, practical not generate a large amount of flows but, but because policy in resource management is arranged in advance, the resource of user is obtained Behavior is taken to be tightly controlled, the user for further decreasing corresponding resource obtains temperature, influences resource and provides efficiency;
Using second of policy in resource management, after alarm signal prompting, manpower intervention implements resource management, and there are the times Hysteresis quality obtains the higher resource of temperature for user, is often largely obtained in a short time, and manpower intervention implements resource When management, often resource robs sky or system by user and has paralysed because of flow attack.
Summary of the invention
It is an object of the present invention to provide a kind of for managing the new solution of resource.
According to the first aspect of the invention, a kind of method for managing resource is provided, wherein include:
Obtain user's temperature data of target resource;
Wherein, the user that user's temperature data include at least corresponding resource accesses record or user behavior data two One of person;
According to user's temperature data, the resource status scoring of the target resource is obtained;
It is scored according to the resource status, corresponding policy in resource management is implemented to the target resource;
Wherein, the policy in resource management includes at least the Resource Properties for modifying the target resource or control user couple One of both acquisition behaviors of the target resource.
Optionally, the resource status scoring includes at least bulk flow and scores;
The acquisition resource status score the step of include:
It is accessed and is recorded according to the user, the user for obtaining the target resource in nearest statistics duration accesses total amount;
Total amount and access total amount threshold value are accessed according to the user, calculates the bulk flow scoring.
Optionally, the method also includes obtaining the access total amount threshold value:
Within the historical statistics period, multiple resources of user's temperature data fit heat degree threshold are chosen as comparison resource;
Each user's average access amount for comparing resource in preset access-hours is counted, averaged obtains The access total amount threshold value.
Optionally, the policy in resource management includes modifying the Resource Properties of the target resource;
It is described to the target resource implement corresponding policy in resource management the step of include:
When the bulk flow scoring is higher than bulk flow threshold value, the Resource Properties of the target resource are belonged to from personalization Property is revised as general-purpose attribute, and when the target resource is accessed by the user, the Versatile content of the target resource is shown to user; When bulk flow scoring is lower than bulk flow threshold value, the Resource Properties of the target resource are revised as from general-purpose attribute Property attribute show the corresponding individualized content of the target resource to user when the target resource is accessed by the user;
And/or
Bulk flow scoring be higher than bulk flow threshold interval upper limit value when, by the Resource Properties of the target resource from Personalization attributes are revised as general-purpose attribute, when the target resource is accessed by the user, show the target resource to user Versatile content;, when the bulk flow scoring is lower than the lower limit value of bulk flow threshold interval, by the resource of the target resource Attribute is revised as personalization attributes from general-purpose attribute, when the target resource is accessed by the user, shows the target to user The corresponding individualized content of resource.
Optionally, the resource status scoring includes at least single visitor corresponding with the user of each request corresponding resource Body score traffic;
The acquisition resource status score the step of include:
According to the user behavior data, the user of target resource described in each request is obtained in nearest statistics Resource acquisition number in length;
According to the resource acquisition number and times of acquisition threshold value of the user of target resource described in each request, Calculate corresponding single object score traffic.
Optionally, the method also includes obtaining the times of acquisition threshold value:
Within the historical statistics period, multiple resources of user's temperature data fit heat degree threshold are chosen as comparison resource;
It counts each single user for comparing resource and averagely obtains resource number, averaged obtains the acquisition time Number threshold value.
Optionally, the policy in resource management includes the acquisition behavior for controlling user to the target resource;
It is described to the target resource implement corresponding policy in resource management the step of include:
It chooses single object score traffic and is higher than the user of single object flow threshold as target user;
In preset resource management duration, refuse acquisition request or the limitation institute of the target resource of the target user State the quantity that target user obtains the target resource.
Optionally, the method also includes:
After implementing corresponding policy in resource management to the target resource, the corresponding use for updating the target resource Family temperature data or resource status scoring.
According to the second aspect of the invention, a kind of resource management apparatus is provided, comprising:
Data capture unit, for obtaining user's temperature data of target resource;
Wherein, the user that user's temperature data include at least corresponding resource accesses record and user behavior data;
Score acquiring unit, for obtaining the resource status scoring of the target resource according to user's temperature data;
Rm-cell implements corresponding resource pipe to the target resource for scoring according to the resource status Reason strategy;
Wherein, the policy in resource management includes at least the Resource Properties for modifying the target resource or control user couple One of both acquisition behaviors of the target resource.
According to the third aspect of the invention we, a kind of electronic equipment is provided, wherein include:
Memory, for storing executable instruction;
Processor runs the electronic equipment and executes as of the invention for the control according to the executable instruction Method for managing resource described in any one that first aspect provides.
According to one embodiment of present invention, by obtaining user's temperature data of target resource, corresponding resource is calculated Condition grading scores according to resource status, modifies the acquisition of the Resource Properties or control user of target resource to target resource Behavior is realized adaptively according to the real-time change of the resource status of target resource, implements corresponding resource management, improve resource The real-time effectiveness of management promotes the efficiency of resource management.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Detailed description of the invention
It is combined in the description and the attached drawing for constituting part of specification shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 is the frame for showing the example of hardware configuration for the electronic equipment 1000 that can be used for realizing the embodiment of the present invention Figure.
Fig. 2 shows the flow charts of the method for managing resource of the embodiment of the present invention.
Fig. 3 shows the flow chart for calculating bulk flow scoring step of the embodiment of the present invention.
Fig. 4 shows the flow chart of the acquisition bulk flow threshold step of the embodiment of the present invention.
Fig. 5 shows the flow chart of the single object score traffic step of calculating of the embodiment of the present invention.
Fig. 6 shows the flow chart of the single object flow threshold step of acquisition of the embodiment of the present invention.
Fig. 7 is the schematic diagram of the example of the method for managing resource of the embodiment of the present invention.
Fig. 8 is the block diagram of the resource management apparatus 3000 of the embodiment of the present invention.
Fig. 9 is the block diagram of the electronic equipment 4000 of the embodiment of the present invention.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
<hardware configuration>
Fig. 1 is the block diagram for showing the hardware configuration for the electronic equipment 1000 that the embodiment of the present invention may be implemented.
Electronic equipment 1000 can be portable computer, desktop computer, mobile phone, tablet computer etc..As shown in Figure 1, electric Sub- equipment 1000 may include processor 1100, memory 1200, interface arrangement 1300, communication device 1400, display device 1500, input unit 1600, loudspeaker 1700, microphone 1800 etc..Wherein, processor 1100 can be central processing unit CPU, Micro-processor MCV etc..Memory 1200 is for example including ROM (read-only memory), RAM (random access memory), such as The nonvolatile memory etc. of hard disk.Interface arrangement 1300 is for example including USB interface, earphone interface etc..Communication device 1400 It is such as able to carry out wired or wireless communication, specifically may include Wifi communication, Bluetooth communication, 2G/3G/4G/5G communication etc..It is aobvious Showing device 1500 is, for example, liquid crystal display, touch display screen etc..Input unit 1600 for example may include touch screen, keyboard, Body-sensing input etc..User can pass through 1800 inputting/outputting voice information of loudspeaker 1700 and microphone.
Electronic equipment shown in FIG. 1 is merely illustrative and is in no way intended to the invention, its application, or uses Any restrictions.Using in an embodiment of the present invention, the memory 1200 of electronic equipment 1000 is for storing instruction, described Instruction is operated for controlling the processor 1100 to execute any one resource management side provided in an embodiment of the present invention Method.It will be appreciated by those skilled in the art that although showing multiple devices to electronic equipment 1000 in Fig. 1, the present invention Partial devices therein can be only related to, for example, electronic equipment 1000 pertains only to processor 1100 and storage device 1200.Technology Personnel can disclosed conceptual design instruction according to the present invention.How control processor is operated for instruction, this is this field public affairs Know, therefore is not described in detail herein.
<embodiment>
<method>
In the present embodiment, a kind of method for managing resource is provided.Resource is online pre- by internet progress for user The application resource ordered, may include concert, musical drama, modern drama, film etc. performance project seat, can also include aircraft, The travelling such as the seat of the vehicles such as train, automobile or hotel room resource etc..
The method for managing resource, as shown in Figure 2, comprising: step S2100-S2300.
Step S2100 obtains user's temperature data of target resource.
In the present embodiment, user's temperature data of target resource obtain in real time after target resource is online, can pass through The electronic equipment of real-time the present embodiment, in reservation service on the line for providing target resource, the state change of monitoring objective resource Real-time statistics obtain.According to user's temperature data that real-time statistics obtain, subsequent step computing resource condition grading can be combined, Corresponding resource management strategy is implemented in triggering, realizes the real-time status according to target resource, adaptively implements corresponding resource pipe Reason strategy, improves resources management efficiency.
User's temperature data are to characterize the related data of user's acquisition temperature of corresponding resource.User's temperature data are at least wrapped The user for including corresponding resource accesses one of both record and user behavior data.
It is the relative recording that corresponding resource is accessed by the user that user, which accesses record,.For example, resource is the seat of performance project When, user accesses the record, including page access total amount etc. that the introduction page that record is the performance project is accessed.
User behavior data is the historical data relevant to resource acquisition behavior of the user of request corresponding resource.Example Such as, when resource is the seat of performance project, user behavior data is the History Order data for placing an order and buying the user at seat.
Step S2200 obtains the resource status scoring of target resource according to user's temperature data.
In one example, resource status scoring includes at least bulk flow and scores.
It is corresponding, the step of resource status scores is obtained, as shown in Figure 3, comprising: step S2210-S2220.
Step S2210 is accessed according to user and is recorded, and the user's access for obtaining target resource in nearest statistics duration is total Amount.
The statistics duration can be arranged according to specific application scenarios or application demand.For example, statistics duration can be set It is set to 1 second, the total quantity that target resource is accessed by the user in statistics 1 second.
Step S2220 accesses total amount and access total amount threshold value according to user, calculates bulk flow scoring.
Accessing total amount threshold value can be arranged according to historical empirical data or experiment simulation data.
The method for managing resource provided in the present embodiment can also include the steps that obtaining access total amount threshold value, such as Fig. 4 institute Show, comprising: step S2221-S2222.
Step S2221 chooses multiple resource conducts of user's temperature data fit heat degree threshold within the historical statistics period Compare resource.
The historical statistics period can be arranged according to concrete application scene or application demand.For example, the historical statistics period can To be set as the past 1 month.
Heat degree threshold is that whether user obtains the higher threshold value of temperature for measuring corresponding resource.The heat degree threshold is directed to The setting of user's temperature data.By heat degree threshold, user in the historical statistics period can be obtained to the higher resource choosing of temperature and done Compare resource.
For example, when resource is the seat of performance project, it, can be by user in the historical statistics period by the way that heat degree threshold is arranged It obtains the higher performance project of temperature (usually large and medium-sized project) and selects the resource that compares.
Step S2222 counts each user's average access amount for comparing resource in preset access-hours, seeks average Value obtains access total amount threshold value.
Access-hours can be arranged according to specific application scenarios or application demand.For example, resource is performance project When seat, access-hours can be 15 minutes before corresponding performance project prologue.
User's average access amount is the access times of corresponding resource user in average each chronomere in access-hours. The time quantum can be set to 1 second.By multiple user's average access amounts for comparing resource, averaged obtains corresponding visit Ask total amount threshold value.
For example, when resource is the seat of performance project, access total amount threshold value can be in one month all conducts than To being averaged for the user's average access amount of the performance project (such as large and medium-sized performance project) of resource before prologue in 15 minutes Value.
Total amount QP and access total amount threshold value QP_TH are accessed according to user, calculates bulk flow scoring EnScore:
In another example, resource status scoring includes at least corresponding with the user of each request corresponding resource Single object score traffic.
It is corresponding, the step of resource status scores is obtained, as shown in Figure 5, comprising: step S2230-S2240.
Step S2230 obtains the user of each request target resource in nearest statistics according to user behavior data Resource acquisition number in duration.
The statistics duration can be arranged according to specific application scenarios or application demand.For example, can be set to 10 points Clock.
According to user behavior data, the resource acquisition number of the user of available each request target resource.Example Such as, when resource is the seat of performance project, user behavior data is the History Order data of user, from the History Order number of user In, lower single quantity of the available user in statistics duration recently, as resource acquisition number.
In this example, the user of each request target money, can be single user's account, single user's equipment or Single network address, the resource acquisition number that corresponding statistics obtains can be the resource acquisition number, single of single user's account The resource acquisition number of user equipment or the resource acquisition number of single network address.
Step S2240, according to the resource acquisition number and times of acquisition threshold of the user of each request target resource Value calculates corresponding single object score traffic.
Times of acquisition threshold value can be arranged according to historical empirical data or experiment simulation data.
The method for managing resource provided in the present embodiment can also include the steps that times of acquisition threshold value, as shown in fig. 6, It include: step S2241-S2242.
Step S2241 chooses multiple resource conducts of user's temperature data fit heat degree threshold within the historical statistics period Compare resource.
The historical statistics period can be arranged according to concrete application scene or application demand.For example, the historical statistics period can To be set as the past 1 month.
Heat degree threshold is that whether user obtains the higher threshold value of temperature for measuring corresponding resource.The heat degree threshold is directed to The setting of user's temperature data.By heat degree threshold, user in the historical statistics period can be obtained to the higher resource choosing of temperature and done Compare resource.
For example, when resource is the seat of performance project, it, can be by user in the historical statistics period by the way that heat degree threshold is arranged It obtains the higher performance project of temperature (usually large and medium-sized project) and selects the resource that compares.
Step S2242 counts each single user for comparing resource and averagely obtains resource number, and averaged is obtained Frequency threshold value.
For example, it is drilling as comparison resource that single user, which averagely obtains resource number, when resource is the seat of performance project The averagely lower single quantity of the single user of project (such as large and medium-sized performance project), times of acquisition threshold value are that all single users are average out The average value of lower list quantity.
According to resource acquisition times N and times of acquisition threshold value N_TH, single object score traffic of corresponding user is calculated PuScore:
Step S2300, scores according to resource status, implements corresponding policy in resource management to target resource.
In the present embodiment, policy in resource management includes at least Resource Properties or the control user couple of modification target resource One of both acquisition behaviors of target resource.
In one example, policy in resource management includes modifying the Resource Properties of target resource.
Resource Properties are the service attributes of corresponding resource.In this example, Resource Properties include general-purpose attribute and personalized category Property.
When Resource Properties are general-purpose attributes, when corresponding resource is accessed by the user, the Versatile content of corresponding resource can be shown; It, can be for the user for implementing resource access, displaying pair when corresponding resource is accessed by the user when Resource Properties are a Xinhua's attributes Answer the individualized content of resource.Therefore, Resource Properties are the resources of personalization attributes, and different is loaded for different users Property content, compared to all users to it is unified show corresponding Versatile content, Resource Properties be general-purpose attribute resource, The grade of service is higher, needs the functions such as implementation content load, request processing, and correspondence can consume more storages and flow, to being System bottom layer treatment brings larger pressure.
It is corresponding, it include: step S2311-S2312 to the step of target resource implementation corresponding policy in resource management.
Step S2311, when bulk flow scoring is higher than bulk flow threshold value, by the Resource Properties of target resource from personalization Attribute modification is general-purpose attribute, and when target resource is accessed by the user, the Versatile content of target resource is shown to user.
Step S2312, when bulk flow scoring is lower than bulk flow threshold value, by the Resource Properties of target resource from general category Property be revised as personalization attributes, when target resource is accessed by the user, to user show target resource it is corresponding personalization in Hold.
In this example, bulk flow threshold value is for measuring whether bulk flow scoring triggers corresponding policy in resource management Threshold value.Bulk flow threshold value can according under specific application scenarios or application demand historical empirical data or experiment Emulate data setting.
When bulk flow scoring is higher than bulk flow threshold value, it is meant that target resource is in a short time by a large number of users Access generates compared with various flow, the Resource Properties of target resource is revised as general-purpose attribute, target resource can be made by user When access, all it is the Versatile content of target resource to what all users showed, to avoid needing load pair for different user The individualized content answered is shown, but can be directly from identical Versatile content is read in caching (when being not present in caching Versatile content can suspend the access requests of other users only handling any one user access request, in processing one User access request loads Versatile content after caching, and the access request for handling other users can directly be read from caching Versatile content), cache hit rate is improved, reduces to system processing pressure, is effectively prevented from flow attack.
When bulk flow scoring is higher than bulk flow threshold value, it is meant that the real-time traffic of target resource is smaller, by target The Resource Properties of resource are revised as personalization attributes, target resource can be made when being accessed by the user, for user's displaying pair The individualized content answered effectively promotes user in the case where not influencing the efficiency energy load flow burden of system bottom processing Resource access experience.
In practical applications, only measure whether bulk flow scoring triggers by this single threshold value of bulk flow threshold value Corresponding policy in resource management is easy to cause frequently triggering change policy in resource management, influences the actual effect of resource management, provide Source control efficiency is not high.
Therefore, further, in this example, the step of implementing corresponding policy in resource management to target resource includes: step Rapid S2321-S2322.
Step S2321, when bulk flow scoring is higher than the upper limit value of bulk flow threshold interval, by the resource of target resource Attribute is revised as general-purpose attribute from personalization attributes, when target resource is accessed by the user, shows the logical of target resource to user Use content.
Step S2322, when bulk flow scoring is lower than the lower limit value of bulk flow threshold interval, by the target resource Resource Properties are revised as personalization attributes from general-purpose attribute, when target resource is accessed by the user, show target resource to user Corresponding individualized content.
Bulk flow threshold interval is the threshold that corresponding policy in resource management whether is triggered for measuring bulk flow scoring It is worth section, including corresponding upper limit value and lower limit value.Bulk flow threshold interval according to specific application scenarios or can answer With under demand historical empirical data or experiment simulation data setting.
Judge whether to trigger resource management by bulk flow threshold interval, it can be to avoid only by single bulk flow Threshold triggers implement resource management bring frequent fluctuation, and policy in resource management implements more flexible steady, the better money of acquisition Source control effect effectively promotes resource to the efficiency of management.
In another example, policy in resource management includes the acquisition behavior for controlling user to target resource.
Accordingly, the step of implementing corresponding policy in resource management to target resource includes: step S2331-S2332.
Step S2331 chooses single object score traffic and is higher than the user of single object flow threshold as target user;
Step S2332, in preset resource management duration, refuse the target resource of target user acquisition request or The quantity of limited target user acquisition target resource.
Single object flow threshold is for measuring whether the corresponding single object score traffic of a user triggers corresponding money The threshold value of source control strategy.Single object score traffic can be according to the historical experience under specific application scenarios or application demand Data or the setting of experiment simulation data.
When single object score traffic of some user is higher than single object flow threshold, it is meant that the user is big in a short time Amount obtains corresponding target resource, it may be possible to by largely hoarding abnormal user that target resource attempts to make profit (such as brush tickets-speculator " ox " sold), which is chosen for target user, in preset resource management duration, refuses it and obtains target resource Or limitation obtains the quantity of target resource, can cause flow attack to system to avoid the abnormal behaviour of single user, guarantees The fairness of resource acquisition improves resources management efficiency.
In this example, resource management duration can be arranged according to specific application scenarios or application demand.For example, resource Management duration can be set to 30 seconds.
In the present embodiment, the method for managing resource provided can also include:
After implementing corresponding policy in resource management to target resource, the corresponding user's temperature data for updating target resource or The scoring of person's resource status.
After implementing corresponding policy in resource management, the corresponding user's temperature data or resource status for updating target resource Scoring can make the user's temperature data or resource status scoring of target resource, can more embody actual target resource shape State, it is ensured that user's temperature data or the real-time effectiveness of resource status scoring, so that subsequent can be according to user's temperature data Or resource status scoring, continue to implement corresponding policy in resource management, can more accurately adapt to the resource status of target resource Variation, efficiently realizes resource management adaptively.
<example>
The method for managing resource provided in the present embodiment is provided below with reference to Fig. 7.
In this example, target resource is the seat of performance project.User's temperature data include that the user of the performance project visits Ask that record and request place an order and buy the History Order data of the user at seat.
The method for managing resource, as shown with 7, comprising: step S201-S210.
Step S201, the resource status variation of monitoring objective resource, obtains user's temperature data.
In this example, corresponding user's access can be obtained by the access state of the details page of monitoring performance project Record;Can also by receive the seat of the purchase performance project of user place an order request when, from EDrop order server inquiry To the History Order data of corresponding user.
Step S202 is accessed according to user and is recorded, and calculates bulk flow scoring.
The specific steps of bulk flow scoring are calculated referring to above-mentioned steps S2200, details are not described herein.
Step S203, judges whether bulk flow scoring is higher than the upper limit value of bulk flow threshold interval, if be higher than total The upper limit value in body flow threshold section, enters step S204, otherwise, enters step S205.
The Resource Properties of target resource are revised as general-purpose attribute, enter step S209 by step S204.
In this example, target resource is the seat of performance project, and the Resource Properties of target resource are revised as general-purpose attribute, Accordingly, when user accesses the details page of the performance project, the general details page of the performance project will be shown to user.
Step S205, judges whether bulk flow scoring is lower than the lower limit value of bulk flow threshold interval, if lower than total The lower limit value in body flow threshold section, enters step S206, otherwise, enters step S210.
The Resource Properties of target resource are revised as personalization attributes, enter step S210 by step S206.
In this example, target resource is the seat of performance project, and the Resource Properties of target resource are revised as personalized category Property, accordingly, when user accesses the details page of the performance project, by user show the performance project for the user The personalized details page of design may include user-defined pattern, layout or the individual character recommended for the user preferences Change content.
Step S207 receives the request that places an order of user, single object of the user is calculated according to the History Order data of user Score traffic.
The specific steps of single object score traffic are calculated referring to above-mentioned steps S2200, details are not described herein.
Step S208, judges whether single object score traffic of the user is higher than single object flow threshold, if be higher than single Object flow threshold enters step S209, otherwise, enters step S210.
Step S209 does not allow the user to place an order or limit the number that the user buys seat in management resource duration Amount.
Step S210 updates user's temperature data of target resource.
In this example, the whole flow of the performance project can be calculated in real time according to user's temperature data of performance project Scoring and single object score traffic, it is adaptive respectively for the changes in flow rate of the whole changes in flow rate of performance project and single user Implement corresponding resource management with answering, improves the real-time and efficiency of resource management.
<device>
In the present embodiment, a kind of resource management apparatus 3000 is also provided, as shown in Figure 8, comprising: data capture unit 3100, score acquiring unit 3200 and rm-cell 3300, the resource management side for implementing to provide in the present embodiment Method, details are not described herein.
Data capture unit 3100, for obtaining user's temperature data of target resource;
Wherein, the user that user's temperature data include at least corresponding resource accesses record and user behavior data.
Score acquiring unit 3200, for obtaining the resource status of the target resource according to user's temperature data Scoring.
Optionally, the resource status scoring includes at least bulk flow and scores;
Scoring acquiring unit 3200 is also used to:
It is accessed and is recorded according to the user, the user for obtaining the target resource in nearest statistics duration accesses total amount;
Total amount and access total amount threshold value are accessed according to the user, calculates the bulk flow scoring.
Optionally, scoring acquiring unit 3200 is also used to:
Within the historical statistics period, multiple resources of user's temperature data fit heat degree threshold are chosen as comparison resource;
Each user's average access amount for comparing resource in preset access-hours is counted, averaged obtains The access total amount threshold value.
Optionally, the resource status scoring includes at least single visitor corresponding with the user of each request corresponding resource Body score traffic;
Scoring acquiring unit 3200 is also used to:
According to the user behavior data, the user of target resource described in each request is obtained in nearest statistics Resource acquisition number in length;
According to the resource acquisition number and times of acquisition threshold value of the user of target resource described in each request, Calculate corresponding single object score traffic.
Optionally, scoring acquiring unit 3200 is also used to:
Within the historical statistics period, multiple resources of user's temperature data fit heat degree threshold are chosen as comparison resource;
It counts each single user for comparing resource and averagely obtains resource number, averaged obtains the acquisition time Number threshold value.
Rm-cell 3300 implements corresponding money to the target resource for scoring according to the resource status Source control strategy;
Wherein, policy in resource management includes at least the Resource Properties for modifying the target resource or control user to described One of both acquisition behaviors of target resource.
Optionally, the policy in resource management includes modifying the Resource Properties of the target resource;
Rm-cell 3300 is also used to:
When the bulk flow scoring is higher than bulk flow threshold value, the Resource Properties of the target resource are belonged to from personalization Property is revised as general-purpose attribute, and when the target resource is accessed by the user, the Versatile content of the target resource is shown to user; When bulk flow scoring is lower than bulk flow threshold value, the Resource Properties of the target resource are revised as from general-purpose attribute Property attribute show the corresponding individualized content of the target resource to user when the target resource is accessed by the user;
And/or
Bulk flow scoring be higher than bulk flow threshold interval upper limit value when, by the Resource Properties of the target resource from Personalization attributes are revised as general-purpose attribute, when the target resource is accessed by the user, show the target resource to user Versatile content;, when the bulk flow scoring is lower than the lower limit value of bulk flow threshold interval, by the resource of the target resource Attribute is revised as personalization attributes from general-purpose attribute, when the target resource is accessed by the user, shows the target to user The corresponding individualized content of resource.
Optionally, the resource status scoring includes at least single visitor corresponding with the user of each request corresponding resource Body score traffic;
Rm-cell 3300 is also used to:
According to the user behavior data, the user of target resource described in each request is obtained in nearest statistics Resource acquisition number in length;
According to the resource acquisition number and times of acquisition threshold value of the user of target resource described in each request, Calculate corresponding single object score traffic.
Optionally, resource management apparatus 3000 is also used to:
After implementing corresponding policy in resource management to the target resource, the corresponding use for updating the target resource Family temperature data or resource status scoring.
In the present embodiment, resource management apparatus 3000 can be software program.For example, resource is the seat of performance project When, resource management apparatus 3000, which can be, supports the ticketing service at the seat of the offer online booking for being installed on mobile phone performance project to answer With.
It will be appreciated by those skilled in the art that resource management apparatus 3000 can be realized by various modes.For example, can To realize resource management apparatus 3000 by instruction configuration processor.For example, instruction can be stored in the ROM, and work as When starting device, instruction is read in programming device from ROM and realizes resource management apparatus 3000.For example, can will provide Source control device 3000 is cured in dedicated devices (such as ASIC).Resource management apparatus 3000 can be divided into mutually independent Unit, or they can be merged to realization.Resource management apparatus 3000 can be by above-mentioned various implementations One kind realize, or can be realized by the combination of two or more modes in above-mentioned various implementations.
<electronic equipment>
In the present embodiment, a kind of electronic equipment 4000 is also provided, as shown in Figure 9, comprising:
Memory 4100, for storing executable instruction;
Processor 4200 runs the electronic equipment and executes this implementation for the control according to the executable instruction Method for managing resource described in any one provided in example.
In the present embodiment, electronic equipment 4000 can be mobile phone, palm PC, tablet computer, laptop, desk-top Computer etc..In one example, electronic equipment 4000 can be the ticket that installation is provided with the seat of online booking performance project The mobile phone of business application.
It can also include other hardware devices in electronic equipment 4000.For example, electronic equipment 4000 can also be as shown in Figure 1 Electronic equipment 1000, the hardware devices such as including display device.
Attached drawing is had been combined above and describes the embodiment of the present invention, according to the present embodiment, provides a kind of resource management side Method, device and electronic equipment calculate corresponding resource status scoring by user's temperature data of acquisition target resource, according to Resource status scoring is modified the acquisition behavior of the Resource Properties or control user of target resource to target resource, is realized adaptive Answer according to the real-time change of the resource status of target resource, implement corresponding resource management, that improves resource management has in real time Effect property, promotes the efficiency of resource management.
The present invention can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing operation of the present invention can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the invention Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/ Or block diagram describes various aspects of the invention.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.It is right For those skilled in the art it is well known that, by hardware mode realize, by software mode realize and pass through software and It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In principle, the practical application or to the technological improvement in market for best explaining each embodiment, or make the art its Its those of ordinary skill can understand each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.

Claims (10)

1. a kind of method for managing resource, wherein include:
Obtain user's temperature data of target resource;
Wherein, the user that user's temperature data include at least corresponding resource access record or both user behavior datas its One of;
According to user's temperature data, the resource status scoring of the target resource is obtained;
It is scored according to the resource status, corresponding policy in resource management is implemented to the target resource;
Wherein, the policy in resource management includes at least the Resource Properties for modifying the target resource or control user to described One of both acquisition behaviors of target resource.
2. according to the method described in claim 1, wherein,
The resource status scoring includes at least bulk flow and scores;
The acquisition resource status score the step of include:
It is accessed and is recorded according to the user, the user for obtaining the target resource in nearest statistics duration accesses total amount;
Total amount and access total amount threshold value are accessed according to the user, calculates the bulk flow scoring.
3. according to the method described in claim 2, wherein, further including the steps that obtaining the access total amount threshold value:
Within the historical statistics period, multiple resources of user's temperature data fit heat degree threshold are chosen as comparison resource;
Each user's average access amount for comparing resource in preset access-hours is counted, averaged obtains described Access total amount threshold value.
4. according to the method described in claim 2, wherein,
The policy in resource management includes modifying the Resource Properties of the target resource;
It is described to the target resource implement corresponding policy in resource management the step of include:
When the bulk flow scoring is higher than bulk flow threshold value, the Resource Properties of the target resource are repaired from personalization attributes It is changed to general-purpose attribute, when the target resource is accessed by the user, the Versatile content of the target resource is shown to user;It is described When bulk flow scoring is lower than bulk flow threshold value, the Resource Properties of the target resource are revised as personalization from general-purpose attribute Attribute shows the corresponding individualized content of the target resource to user when the target resource is accessed by the user;
And/or
When bulk flow scoring is higher than the upper limit value of bulk flow threshold interval, by the Resource Properties of the target resource from individual character Change attribute modification is that general-purpose attribute shows the general of the target resource to user when the target resource is accessed by the user Content;, when the bulk flow scoring is lower than the lower limit value of bulk flow threshold interval, by the Resource Properties of the target resource Personalization attributes are revised as from general-purpose attribute, when the target resource is accessed by the user, show the target resource to user Corresponding individualized content.
5. according to the method described in claim 1, wherein, comprising:
The resource status scoring includes at least single object score traffic corresponding with the user of each request corresponding resource;
The acquisition resource status score the step of include:
According to the user behavior data, the user of target resource described in each request is obtained in nearest statistics duration Resource acquisition number;
According to the resource acquisition number and times of acquisition threshold value of the user of target resource described in each request, calculate Corresponding single object score traffic.
6. according to the method described in claim 5, wherein, further including the steps that obtaining the times of acquisition threshold value:
Within the historical statistics period, multiple resources of user's temperature data fit heat degree threshold are chosen as comparison resource;
It counts each single user for comparing resource and averagely obtains resource number, averaged obtains the times of acquisition threshold Value.
7. according to the method described in claim 5, wherein,
The policy in resource management includes the acquisition behavior for controlling user to the target resource;
It is described to the target resource implement corresponding policy in resource management the step of include:
It chooses single object score traffic and is higher than the user of single object flow threshold as target user;
In preset resource management duration, refuse the acquisition request or the limitation mesh of the target resource of the target user Mark user obtains the quantity of the target resource.
8. according to the method described in claim 1, wherein, further includes:
After implementing corresponding policy in resource management to the target resource, the corresponding user heat for updating the target resource Degree evidence or resource status scoring.
9. a kind of resource management apparatus, wherein include:
Data capture unit, for obtaining user's temperature data of target resource;
Wherein, the user that user's temperature data include at least corresponding resource accesses record and user behavior data;
Score acquiring unit, for obtaining the resource status scoring of the target resource according to user's temperature data;
Rm-cell implements corresponding resource management plan to the target resource for scoring according to the resource status Slightly;
Wherein, the policy in resource management includes at least the Resource Properties for modifying the target resource or control user to described One of both acquisition behaviors of target resource.
10. a kind of electronic equipment, wherein include:
Memory, for storing executable instruction;
Processor runs the electronic equipment and executes as in claim 1-8 for the control according to the executable instruction Method for managing resource described in any one.
CN201810273553.2A 2018-03-29 2018-03-29 Resource management method and device and electronic equipment Active CN110322259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810273553.2A CN110322259B (en) 2018-03-29 2018-03-29 Resource management method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810273553.2A CN110322259B (en) 2018-03-29 2018-03-29 Resource management method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110322259A true CN110322259A (en) 2019-10-11
CN110322259B CN110322259B (en) 2022-07-12

Family

ID=68111037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810273553.2A Active CN110322259B (en) 2018-03-29 2018-03-29 Resource management method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110322259B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160043967A1 (en) * 2014-08-08 2016-02-11 Oracle International Corporation Demand policy-based resource management and allocation system
CN107124630A (en) * 2017-03-30 2017-09-01 华为技术有限公司 The method and device of node data management
CN107153973A (en) * 2017-05-12 2017-09-12 微鲸科技有限公司 Information resources pricing method and device
CN107707642A (en) * 2017-09-22 2018-02-16 广东欧珀移动通信有限公司 Brush amount terminal determines method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160043967A1 (en) * 2014-08-08 2016-02-11 Oracle International Corporation Demand policy-based resource management and allocation system
CN107124630A (en) * 2017-03-30 2017-09-01 华为技术有限公司 The method and device of node data management
CN107153973A (en) * 2017-05-12 2017-09-12 微鲸科技有限公司 Information resources pricing method and device
CN107707642A (en) * 2017-09-22 2018-02-16 广东欧珀移动通信有限公司 Brush amount terminal determines method and device

Also Published As

Publication number Publication date
CN110322259B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN105653368B (en) System and method for private cloud computing
US9444696B2 (en) Autonomic SLA breach value estimation
US8762309B2 (en) Storage policy evaluation in a computing environment
CN104348887B (en) Resource allocation methods and device in cloud management platform
CN109933760A (en) List generation method, device, computer equipment and computer readable storage medium
CN104954410A (en) Message pushing method, device thereof and server
US20140136287A1 (en) Using geographical location to determine element and area information to provide to a computing device
US20180308317A1 (en) Scenario Gamification To Provide Actionable Elements And Temporally Appropriate Advertising
WO2019071897A1 (en) Real-time recommendation method, electronic device, and computer readable storage medium
US20200019560A1 (en) Systems and methods for providing predictions to applications executing on a computing device
CN112384888A (en) User interface format adaptation based on context state
CN108255896A (en) Webpage pre-head method, Web access method, equipment and electronic equipment
CN111177613A (en) Page processing method, device, equipment and storage medium
CN110400227A (en) Processing method, device, the system of transaction message data
CN104021226B (en) Prefetch the update method and device of rule
CN108038779A (en) Video face label identity checking method, device, equipment and readable storage medium storing program for executing
CN109062963A (en) From Media Recommendation Method, device and electronic equipment
US9350625B2 (en) Service consumption based on gamification level classification
CN105824671A (en) Information processing method and electronic equipment
CN109308199A (en) A kind of display methods, device and the terminal device of control set
US10636044B2 (en) Projecting resource demand using a computing device
CN110322259A (en) Method for managing resource, device and electronic equipment
CN108984391A (en) Analysis method, device and the electronic equipment of application program
CN108255911A (en) Evaluation method, equipment and the electronic equipment of the network information
CN114925275A (en) Product recommendation method and device, computer equipment and storage medium

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