CN110083775A - A kind of configuration method and configuration device for recommending resource - Google Patents

A kind of configuration method and configuration device for recommending resource Download PDF

Info

Publication number
CN110083775A
CN110083775A CN201910393358.8A CN201910393358A CN110083775A CN 110083775 A CN110083775 A CN 110083775A CN 201910393358 A CN201910393358 A CN 201910393358A CN 110083775 A CN110083775 A CN 110083775A
Authority
CN
China
Prior art keywords
resource
user
target
remainder
scene
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
CN201910393358.8A
Other languages
Chinese (zh)
Other versions
CN110083775B (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 SF Intra City Technology Co Ltd
Original Assignee
Beijing SF Intra City Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing SF Intra City Technology Co Ltd filed Critical Beijing SF Intra City Technology Co Ltd
Priority to CN201910393358.8A priority Critical patent/CN110083775B/en
Publication of CN110083775A publication Critical patent/CN110083775A/en
Application granted granted Critical
Publication of CN110083775B publication Critical patent/CN110083775B/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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

This application provides a kind of configuration methods and configuration device for recommending resource, obtain the user identification code of the user and the scene identity code of the target scene, it is encoded with the first Hash of the determination user, and take the remainder treated the first remainder to first Hash coding;Based on first remainder, determine that target corresponding with first remainder whether is provided in the target scene is recommended resource;It is that target described in the user configuration recommends resource if being provided with target corresponding with first remainder in the target scene recommends resource.In this way, determined by the configuration qualification of the recommendation resource to user and Hash coding, to be shunted to user, and there is the configuration for targetedly recommend to the user after shunting resource, it can be convenient the configuration in each scene to the recommendation resource of different user, help to reduce the waste for recommending resource, improves the utilization rate for recommending resource.

Description

A kind of configuration method and configuration device for recommending resource
Technical field
This application involves network technique fields, more particularly, to a kind of configuration method and configuration device for recommending resource.
Background technique
With the continuous development of science and technology, people exponentially increase the demand and usage amount of Internet resources, especially Be the gradual perfection of the various shopping websites such as shopping at network, information query web etc. and it is universal in the case where, in order to better Favored and providing more convenience property, some relevant informations can be recommended during user's use mostly for user.
It then is all often all or part of with website or in system during carrying out recommendation information for user The relevant information of corresponding scene is all pushed, and is caused Internet resources and is recommended the waste of resource.
Summary of the invention
In view of this, the application's is designed to provide a kind of configuration method and configuration device for recommending resource, Ke Yifang Just the configuration for recommending resource in each scene helps to reduce the waste for recommending resource, improves the utilization rate for recommending resource.
The embodiment of the present application provides a kind of configuration method for recommending resource, and the configuration method includes:
When detecting that user enters target scene, and determining that the user has the configuration qualification for recommending resource, obtain The scene identity code of the user identification code of the user and the target scene;
Based on the user identification code and the scene identity code, the first Hash coding of the user and right is determined First Hash coding take the remainder treated the first remainder;
Based on first remainder, determine target corresponding with first remainder whether is provided in the target scene Recommend resource;
It is the user configuration if being provided with target corresponding with first remainder in the target scene recommends resource The target recommends resource.
In some embodiments of the present application, it ought detect that user enters target scene described, and determine the user Have recommend resource configuration qualification when, obtain the user user identification code and the target scene scene identity code it Before, which comprises
When detecting that user enters target scene, the user identification code of the user is obtained, and mark according to the user Know the second Hash coding that code determines the user;
It is encoded based on second Hash, determines whether the user has the configuration qualification for recommending resource.
In the above-described embodiments, described to be encoded based on second Hash, determine whether the user has recommendation resource Configuration qualification, comprising:
Second Hash coding is obtained by second remainder that takes the remainder that treated;
Determine whether the user is divided in whole scene resource and does not push away based on remainder section belonging to second remainder It recommends in grouping;
Do not recommend in grouping if the user is not divided in whole scene resource, determines that the user has and recommend resource Configure qualification.
It include multiple sub-scenes in home court scape belonging to the target scene in some embodiments of the present application, it is described Target scene is that any one or the target scene in the multiple sub-scene are the home court scape.
It is described to be based on first remainder in some embodiments of the present application, determine in the target scene whether set It is equipped with recommendation resource corresponding with first remainder, comprising:
Determine target remainder section belonging to first remainder;
Based on preset remainder section and recommend the mapping relations between resource, determination is corresponding with target remainder section Target recommend resource;
If it is determined that it is not sky that the target, which recommends resource, determines and be provided in the target scene and first remainder pair The recommendation resource answered.
In the above-described embodiments, first remainder and the mapping relations are based on described, determine first remainder It is described to be based on first remainder after affiliated target remainder section, determine whether be provided in the target scene and institute State the corresponding recommendation resource of the first remainder, further includes:
Determine whether the user is divided in target scene resource and does not recommend in grouping based on target remainder section;
Do not recommend in grouping if the user is not divided in target scene resource, determines and be provided in the target scene Recommendation resource corresponding with first remainder.
In some embodiments of the present application, if having in the target scene corresponding with first remainder Target recommends resource, is after target described in the user configuration recommends resource, the configuration method includes:
Detect the use information that the user recommends the target resource, wherein the use information includes the use Recommend resource and the user that the target is not used using the target and recommend resource in family;
Based on the use information, determine that the target recommends resource to the contribution degree of the target scene;
Based on the contribution degree, the Disposing rate that target described in the target scene recommends resource is adjusted, described in adjustment Respectively recommend the allocation ratio of resource in target scene.
The embodiment of the present application also provides a kind of configuration device for recommending resource, the configuration device includes:
First obtains module, detects that user enters target scene for working as, and determine that the user has recommendation resource Configuration qualification when, obtain the user identification code of the user and the scene identity code of the target scene;
First determining module, for obtaining the user identification code and the scene mark that module obtains based on described first Know code, determine the first Hash coding of the user, and take the remainder to first Hash coding that treated first Remainder;
Second determining module, first remainder for being determined based on first determining module, determines the target It whether is provided with target corresponding with first remainder in scene and recommends resource;
Configuration module is provided with and first remainder if determining for second determining module in the target scene Corresponding target recommends resource, is that target described in the user configuration recommends resource.
In some embodiments of the present application, the configuration device further include:
Second obtains module, for when detecting that user enters target scene, obtaining the user identification code of the user, And determine that the second Hash of the user encodes according to the user identification code;
Third determining module is encoded for obtaining second Hash that module obtains based on described second, described in determination Whether user has the configuration qualification for recommending resource.
In the above-described embodiments, the third determining module is specifically used for:
Second Hash coding is obtained by second remainder that takes the remainder that treated;
Determine whether the user is divided in whole scene resource and does not push away based on remainder section belonging to second remainder It recommends in grouping;
Do not recommend in grouping if the user is not divided in whole scene resource, determines that the user has and recommend resource Configure qualification.
It include multiple sub-scenes in home court scape belonging to the target scene in some embodiments of the present application, it is described Target scene is that any one or the target scene in the multiple sub-scene are the home court scape.
In some embodiments of the present application, second determining module is specifically used for:
Determine target remainder section belonging to first remainder;
Based on preset remainder section and recommend the mapping relations between resource, determination is corresponding with target remainder section Target recommend resource;
If it is determined that it is not sky that the target, which recommends resource, determines and be provided in the target scene and first remainder pair The recommendation resource answered.
In the above-described embodiments, second determining module is specifically also used to:
Determine whether the user is divided in target scene resource and does not recommend in grouping based on target remainder section;
Do not recommend in grouping if the user is not divided in target scene resource, determines and be provided in the target scene Recommendation resource corresponding with first remainder.
In some embodiments of the present application, the configuration device further include:
Detection module recommends the target use information of resource for detecting the user, wherein described to use letter Breath recommends resource and the user that the target is not used and recommends resource including the user using the target;
4th determining module, the use information for being detected based on the detection module, determines that the target pushes away Resource is recommended to the contribution degree of the target scene;
Module is adjusted, the contribution degree for being determined based on the 4th determining module is adjusted in the target scene The target recommends the Disposing rate of resource, to adjust the allocation ratio for respectively recommending resource in the target scene.
The embodiment of the present application also provides a kind of electronic equipment, comprising: processor, storage medium and bus, the storage The machine readable instructions that media storage has the processor executable, when electronic equipment operation, the processor is deposited with described By bus communication between storage media, the processor executes the machine readable instructions, to execute above-mentioned recommendation resource The step of configuration method.
The embodiment of the present application also provides a kind of computer readable storage medium, deposited on the computer readable storage medium Computer program is contained, the computer program executes the step of the configuration method of above-mentioned recommendation resource when being run by processor Suddenly.
It is provided by the embodiments of the present application to recommend the configuration method of resource, configuration device, electronic equipment and computer-readable deposit Storage media obtains institute when detecting that user enters target scene, and determining that the user has the configuration qualification for recommending resource State the user identification code of user and the scene identity code of the target scene;Based on the user identification code and the scene identity Code, determines the first Hash coding of the user, and take the remainder to first Hash coding that treated more than first Number;Based on first remainder, determine that target corresponding with first remainder whether is provided in the target scene is recommended Resource;If being provided with target corresponding with first remainder in the target scene recommends resource, for the user configuration institute It states target and recommends resource.Compared with the method that resource in the prior art is recommended entirely, the application passes through the recommendation resource to user Configuration qualification and Hash coding determined, to be shunted to user, and have targetedly to the user after shunting into Row recommends the configuration of resource, can be convenient the configuration in each scene to the recommendation resource of different user, helps to reduce and recommends money The waste in source improves the utilization rate for recommending resource.
Further, matching for resource is recommended to adjust by service condition of the detection user to recommendation resource in target scene Ratio is set, helps to count different recommendation resources to the contribution degree and functionality of scene, can help to carry out configuration money to scene The allotment in source helps to improve the utilization rate for recommending resource in scene.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the system architecture diagram under a kind of possible application scenarios;
Fig. 2 is a kind of flow chart of the configuration method for recommendation resource that one embodiment of the application provides;
Fig. 3 is a kind of flow chart of the configuration method for recommendation resource that another embodiment of the application provides;
Fig. 4 is a kind of one of the structure chart of configuration device for recommendation resource that one embodiment of the application provides;
Fig. 5 is the two of the structure chart of the configuration device for a kind of recommendation resource that one embodiment of the application provides;
Fig. 6 is the three of the structure chart of the configuration device for a kind of recommendation resource that one embodiment of the application provides;
Fig. 7 shows the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it should be understood that attached drawing in the application The purpose of illustration and description is only played, is not used to limit the protection scope of the application.In addition, it will be appreciated that schematical attached Figure does not press scale.Process used herein shows the behaviour realized according to some embodiments of the present application Make.It should be understood that the operation of flow chart can be realized out of order, the step of context relation of logic can not inverted suitable Sequence is implemented simultaneously.In addition, those skilled in the art are under the guide of teachings herein, can be added to flow chart one or Other multiple operations, can also remove one or more operations from flow chart.
In addition, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
The one aspect of the application is related to a kind of configuration system for recommending resource.The system can be provided in user using network During source (such as shopping network, information inquire network), by detecting the information such as identification code of user, to user into Row shunts, and has the configuration for targetedly recommend to the user after shunting resource.Referring to Fig. 1, Fig. 1 is a kind of possibility Application scenarios under system composition.As shown in fig. 1, recommend resource configuration system include recommend resource configuration device, User terminal and Internet resources, user can by user terminal access network-side storage Internet resources, configuration device can with When family accesses target scene in Internet resources, pass through the scene for the target scene that the user identification code of user and user access Identification code, to realize the shunting to user, to realize the configuration for recommending resource in target scene.
It has been investigated that before the application files an application, in order to preferably obtain user's favor and be provided for user More conveniences can recommend some relevant informations during user's access for user in most of network scenarios, still It is all often all or part of to the phase of corresponding scene in website or system during carrying out recommendation information for user It closes information all to be pushed, cause Internet resources and recommends the waste of resource.
Based on this, the embodiment of the present application provides a kind of configuration method for recommending resource, is applied to recommend money shown in Fig. 1 Configuration device in the configuration system in source helps to reduce the wave for recommending resource to facilitate the configuration for recommending resource in each scene Take, improves the utilization rate for recommending resource.
Referring to Fig. 2, Fig. 2 is a kind of flow chart of the configuration method for recommendation resource that one embodiment of the application provides.Institute As shown in Figure 2, the configuration method provided by the embodiments of the present application for recommending resource, comprising:
Step 201, when detecting that user enters target scene, and determine that the user has the configuration qualification for recommending resource When, obtain the user identification code of the user and the scene identity code of the target scene.
In the step, for recommending the configuration device of resource that can be detected in real time to network environment, if detection To when thering is user to enter access Internet resources in target scene, the user can tentatively be shunted, in determination The user has the configuration qualification for recommending resource, that is, when needs to user's recommendation network resource, the configuration dress Set the user identification code of the available user and the scene identity code of the target scene.
Wherein, the target application scene can be in each webpage or its sub-pages or certain network address in network Display interface or its sub- display interface etc..
Illustratively, as user needs to access some shopping website, input network address enters homepage, and can be further Into each subpage frame, such as enter by the navigation of homepage the subpage frame etc. of food commodity, into homepage and each son The page is to enter each scene.
It further, include multiple sub-scenes in home court scape belonging to the target scene, the target scene is described Any one or the target scene in multiple sub-scenes are the home court scape.
Correspondingly, the home court scape, it can for above-mentioned homepage or main display interface etc., the sub-scene can be with For above-mentioned subpage frame or sub- display interface etc..
Wherein, the user identification code can be logged in for user after used login account or user enter scene The ID code corresponding with scene etc. generated.Whens user logs in same system or website etc., user is corresponding in different scenes User identification code can be identical, be also possible to different.
The scene identity code is the intrinsic ID code of different scenes, and different scenes has different scene identity codes.
Wherein, the recommendation resource can be the product resource, preferential resource, driver resource etc. for recommending user.
Step 202 is based on the user identification code and the scene identity code, determines that the first Hash of the user is compiled Code, and take the remainder treated the first remainder to first Hash coding.
In the step, the configuration device can make after getting the user identification code and the scene identity code The shunting to the user is realized with the user identification code and the scene identity code, specifically, due to a series of In scene, the user identification code is generally fixed and invariable, and the scene identity code of different scenes is different, in order to Accurate shunting is played at family when entering different scenes, the user identification code and the scene can be used in the configuration device Identification code, scene identity is attached to after the user identification code or the scene identity is attached to the user as will be described Identification code such as is overlapped at the forms, forms the new logo code of user, to carry out Hash meter to new logo code by hash algorithm It calculates, so that it is determined that the first Hash corresponding with target scene coding of the user further can be to described the out One Hash coding carries out taking the remainder processing, to obtain remainder treated the first remainder.
Wherein, first Hash coding is carried out taking the remainder processing, first Hash determined can be encoded By percentage remainder, i.e., first Hash coding is reduced 100 times, so that taking indicates last the two of 32 digits of Hash codes Digit, as first remainder.By way of example only above by percentage remainder, any restriction is not done, in other realities Apply in example, can also according to the quantity of access user perhaps the demand multiple that specifically takes the remainder of setting of computational accuracy or The setting of mode.
It, can be with double insurance to realize pair in this way, in conjunction with the user identification code of user and the scene identity code of target scene The shunting of user improves accuracy and precision that user shunts.
Step 203 is based on first remainder, determines whether be provided in the target scene and first remainder pair The target answered recommends resource.
In the step, first remainder is can be used to pushing away after determining first remainder in the configuration device It recommends resource to be matched, thus to determine in the target scene, if be provided with push away corresponding with first remainder Resource is recommended, can be recommended to the user.
Specifically, being based on first remainder, determine whether be provided in the target scene and first remainder pair The recommendation resource answered can be the configuration device according to preset remainder interval division, to judge that first remainder is fallen into Which remainder section has been arrived, target remainder section described in first remainder has been may thereby determine that out, then obtains preset Mapping relations between remainder section and recommendation resource, the mapping relations indicate in different remainder sections, using difference Algorithm come carry out different type or recommend specification etc. recommendations resource recommendation, then according to target remainder section with The mapping relations determine that target corresponding with target remainder section recommends resource then can be to the mesh determined Mark recommends resource to be judged, from the point of view of the target recommend resource whether there is, i.e., whether have and true recommend resource can be into Row is recommended, if it is not sky that the target, which recommends resource, that is, has corresponding resource that can recommend, then being assured that the mesh Recommendation resource corresponding with first remainder is provided in mark scene.
Specifically, being based on first remainder, determine whether be provided in the target scene and first remainder pair The recommendation resource answered can also be the configuration device according to preset remainder interval division, to judge that first remainder is fallen Enter to which remainder section, may thereby determine that out target remainder section described in first remainder, then according to Mapping relations whether the target remainder section and preset remainder section and scenario resources that first remainder is fallen into are recommended, sentence Whether the user of breaking, which is divided in target scene resource, is not recommended in grouping, that is, determines point after shunting to the user Group, if it is determined that the user is not divided in target scene resource and does not recommend in grouping out, determines and sets in the target scene It is equipped with recommendation resource corresponding with first remainder.
Illustratively, remainder section can be the recommendation money being arranged in quantity or scene according to user's access scenario The quantity in source etc. is come the traffic partition that carries out, such as among the above, taking the remainder processing is to take last two, then remainder section is set It sets, can be and divided according to flow for 100 points, and according to the percentage cutting of 1:3:6 with the algorithms of different under scene, phase The corresponding section that can be the ratio cut partition 0 to 99 according to 1:3:6, such as 0 to 9 is a section, and 10 to 39 be a section, 40 to 99 be a section, and can set the recommendation resource in 0 to 9 section to empty, that is, falls in the user in this section It does not need to carry out resource recommendation or 0 to 9 section corresponds to user grouping and do not recommend to be grouped for target scene resource, fall in this The user in section is to fall in target scene resource not recommend in grouping.
It is described if being provided with target corresponding with first remainder in step 204, the target scene recommends resource Target described in user configuration recommends resource.
In the step, the configuration device in the target scene if it is determined that be provided with corresponding with first remainder Target recommend resource if, so that it may according to resource recommendation algorithm corresponding with the target remainder scene, for the use Family configures the target and recommends resource, so that user described in phase carries out the recommendation that the target recommends resource.
The configuration method provided by the embodiments of the present application for recommending resource when detecting that user enters target scene, and determines When the user has the configuration qualification for recommending resource, the user identification code of the user and the scene of the target scene are obtained Identification code;Based on the user identification code and the scene identity code, the first Hash coding of the user is determined, and to institute It states the first Hash coding and take the remainder treated the first remainder;Based on first remainder, determine in the target scene Whether it is provided with target corresponding with first remainder and recommends resource;If being provided in the target scene and described more than first The corresponding target of number recommends resource, is that target described in the user configuration recommends resource.In this way, passing through the recommendation resource to user Configuration qualification and Hash coding determined, to be shunted to user, and have targetedly to the user after shunting into Row recommends the configuration of resource, can be convenient the configuration in each scene to the recommendation resource of different user, helps to reduce and recommends money The waste in source improves the utilization rate for recommending resource.
Referring to Fig. 3, Fig. 3 is the flow chart of the configuration method for the recommendation resource that another embodiment of the application provides.Such as Fig. 3 Shown in, the configuration method provided by the embodiments of the present application for recommending resource, comprising:
Step 301, when detecting that user enters target scene, obtain the user identification code of the user, and according to institute State the second Hash coding that user identification code determines the user.
In the step, the configuration device can carry out the user when having detected that user enters target scene It is preliminary to shunt, thus to determine whether the user has the configuration qualification for recommending resource, specifically, can be described in first acquisition Then the user identification code of user carries out Hash calculation to the user identification code, thus to determine the user identification code pair The second Hash of the user answered encodes.
It, can be with to determine whether user has the configuration qualification for recommending resource in this way, can tentatively be shunted to user The effective shunting for realizing user, helps avoid the waste of resource.
Step 302 is encoded based on second Hash, determines whether the user has the configuration qualification for recommending resource.
In the step, the configuration device, can be by second Hash after determining the second Hash coding Coding, determines whether the user has the configuration qualification for recommending resource.
Specifically, encoding based on second Hash, determine whether the user has the configuration qualification for recommending resource, it can Be the configuration device first to second Hash coding carry out taking the remainder processing, thus to determine and get described second Hash encodes corresponding second remainder, wherein takes the remainder processing to second Hash coding, can be and compile with to the first Hash The process that code takes the remainder processing is same or similar, and which is not described herein again, then can match which second remainder falls in Remainder section, i.e., remainder section belonging to described second remainder, may then based on remainder section belonging to second remainder Determine whether the user is divided in whole scene resource and does not recommend in grouping, if the user is not divided in whole scene resource Do not recommend in grouping, determines that the user has the configuration qualification for recommending resource.
Step 303, when detecting that user enters target scene, and determine that the user has the configuration qualification for recommending resource When, obtain the user identification code of the user and the scene identity code of the target scene.
Step 304 is based on the user identification code and the scene identity code, determines that the first Hash of the user is compiled Code, and take the remainder treated the first remainder to first Hash coding.
Step 305 is based on first remainder, determines whether be provided in the target scene and first remainder pair The target answered recommends resource.
It is described if being provided with target corresponding with first remainder in step 306, the target scene recommends resource Target described in user configuration recommends resource.
Wherein, the description of step 303 to step 306 is referred to the step 201 in embodiment illustrated in fig. 2 to step 204 Description, and can achieve identical technical effect, this will not be repeated here.
In some embodiments of the present application, after step 306, the configuration method includes:
Detect the use information that the user recommends the target resource, wherein the use information includes the use Recommend resource and the user that the target is not used using the target and recommend resource in family;Based on the use information, determine The target recommends resource to the contribution degree of the target scene;Based on the contribution degree, adjust described in the target scene Target recommends the Disposing rate of resource, to adjust the allocation ratio for respectively recommending resource in the target scene.
In the step, complete to the recommendation resource of the target scene with postponing, the configuration device can be to institute It states and the service condition of resource is recommended to be counted, specifically, can be when the user accesses the target scene, it is described to match It sets device and detects the use information that the user recommends the target resource, that is, detect whether the user uses the target Recommend resource, whether such as user entered using the preferential resource or the user of the recommendation resource instruction The Recommendations for recommending resource instruction show that the page can determine the target based on the use information detected Recommend resource to the contribution degree of the target scene, such as user has used the recommendation resource to say to facilitate transaction The bright recommendation resource has certain contribution to the target scene, such as can increase certain contribution angle value, if do not made With, it is possible to reduce the mode of certain contribution angle value etc. can indicate after determining the contribution degree according to the contribution degree Situation is contributed, the Disposing rate that target described in the target scene recommends resource is adjusted, so as to adjust the target scene In respectively recommend the allocation ratio of resource.
Wherein, the use information includes that the user is unused described using target recommendation resource and the user Target recommends resource.
The configuration method provided by the present application for recommending resource obtains the use when detecting that user enters target scene The user identification code at family, and determine that the second Hash of the user encodes according to the user identification code;It is breathed out based on described second Uncommon coding, determines whether the user has the configuration qualification for recommending resource;When detecting that user enters target scene, and determine When the user has the configuration qualification for recommending resource, the user identification code of the user and the scene of the target scene are obtained Identification code;Based on the user identification code and the scene identity code, the first Hash coding of the user is determined, and to institute It states the first Hash coding and take the remainder treated the first remainder;Based on first remainder, determine in the target scene Whether it is provided with target corresponding with first remainder and recommends resource;If being provided in the target scene and described more than first The corresponding target of number recommends resource, is that target described in the user configuration recommends resource.
In this way, determining the configuration qualification of the recommendation resource of user by the identification code of user, user is tentatively shunted, The identification code of identification code and scene in conjunction with user carries out second diffluence to user, has targetedly to the user after shunting The configuration for recommend resource, can be convenient the configuration in each scene to the recommendation resource of different user, helps to reduce and recommend The waste of resource improves the utilization rate for recommending resource.
Fig. 4 to fig. 6 is please referred to, Fig. 4 is a kind of structure of the configuration device for recommendation resource that one embodiment of the application provides One of figure, Fig. 5 is that a kind of two, Fig. 6 of the structure chart of the configuration device for recommendation resource that one embodiment of the application provides is this Shen Please an embodiment provide a kind of recommendation resource configuration device structure chart three.As shown in Figure 4, the configuration device 400 include:
First obtains module 410, detects that user enters target scene for working as, and determine that the user has recommendation money When the configuration qualification in source, the user identification code of the user and the scene identity code of the target scene are obtained;
First determining module 420, for obtaining the user identification code and described that module 410 obtains based on described first Scene identity code determines the first Hash coding of the user, and carries out after taking the remainder processing to first Hash coding The first remainder;
Second determining module 430, first remainder for being determined based on first determining module 420, determines institute It states and whether is provided with target recommendation resource corresponding with first remainder in target scene;
Configuration module 440 is provided with and described the if determining for second determining module 430 in the target scene The corresponding target of one remainder recommends resource, is that target described in the user configuration recommends resource.
In some embodiments of the present application, as shown in Figure 5, the configuration device 400 further include:
Second obtains module 450, for when detecting that user enters target scene, obtaining the user identifier of the user Code, and determine that the second Hash of the user encodes according to the user identification code;
Third determining module 460, for obtaining second Hash coding that module 450 obtains based on described second, really Whether the fixed user has the configuration qualification for recommending resource.
In the above-described embodiments, the third determining module 460 is specifically used for:
Second Hash coding is obtained by second remainder that takes the remainder that treated;
Determine whether the user is divided in whole scene resource and does not push away based on remainder section belonging to second remainder It recommends in grouping;
Do not recommend in grouping if the user is not divided in whole scene resource, determines that the user has and recommend resource Configure qualification.
It in the above-described embodiments, include multiple sub-scenes, the target scene in home court scape belonging to the target scene It is the home court scape for any one or the target scene in the multiple sub-scene.
In some embodiments of the present application, second determining module 430 is specifically used for:
Determine target remainder section belonging to first remainder;
Based on preset remainder section and recommend the mapping relations between resource, determination is corresponding with target remainder section Target recommend resource;
If it is determined that it is not sky that the target, which recommends resource, determines and be provided in the target scene and first remainder pair The recommendation resource answered.
In the above-described embodiments, second determining module 430 is specifically also used to:
Determine whether the user is divided in target scene resource and does not recommend in grouping based on target remainder section;
Do not recommend in grouping if the user is not divided in target scene resource, determines and be provided in the target scene Recommendation resource corresponding with first remainder.
In some embodiments of the present application, as shown in Figure 6, the configuration device 400 further include:
Detection module 470 recommends the target use information of resource for detecting the user, wherein described to make With information, to include the user recommend resource and the user that the target is not used using the target recommends resource;
4th determining module 480, the use information for being detected based on the detection module 470, determine described in Target recommends resource to the contribution degree of the target scene;
Module 490 is adjusted, the contribution degree for determining based on the 4th determining module 480 adjusts the target Target described in scene recommends the Disposing rate of resource, to adjust the allocation ratio for respectively recommending resource in the target scene.
Configuration device 400 provided by the embodiments of the present application, may be implemented the recommendation in above-mentioned Fig. 2 and embodiment illustrated in fig. 3 Each step of the configuration method of resource, and can solve identical technical problem and reach identical technical effect, it is specific real Details are not described herein for existing mode.
Configuration device provided by the embodiments of the present application detects that user enters target scene by working as, and determines the use When family has the configuration qualification for recommending resource, the user identification code of the user and the scene identity of the target scene are obtained Code;Based on the user identification code and the scene identity code, the first Hash coding of the user is determined, and to described the One Hash coding take the remainder treated the first remainder;Based on first remainder, determine in the target scene whether It is provided with target corresponding with first remainder and recommends resource;If being provided in the target scene and first remainder pair The target answered recommends resource, is that target described in the user configuration recommends resource.In this way, matching by the recommendation resource to user It sets qualification and Hash coding is determined, to be shunted to user, and have and targetedly the user after shunting is pushed away The configuration for recommending resource can be convenient the configuration in each scene to the recommendation resource of different user, helps to reduce and recommends resource Waste improves the utilization rate for recommending resource.
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.Such as institute in Fig. 7 Show, the electronic equipment 700 includes processor 710, memory 720 and bus 730.
The memory 720 is stored with the executable machine readable instructions of the processor 710, when electronic equipment 700 is transported When row, communicated between the processor 710 and the memory 720 by bus 730, the machine readable instructions are by the place When managing the execution of device 710, the configuration method that the recommendation resource in the embodiment of the method as shown in above-mentioned Fig. 2 and Fig. 3 can be executed Step, specific implementation can be found in embodiment of the method, and details are not described herein.
The embodiment of the present application also provides a kind of computer readable storage medium, stores on the computer readable storage medium There is computer program, the implementation of the method as shown in above-mentioned Fig. 2 and Fig. 3 can be executed when the computer program is run by processor The step of configuration method of recommendation resource in example, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, the application Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the application State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Finally, it should be noted that embodiment described above, the only specific embodiment of the application, to illustrate the application Technical solution, rather than its limitations, the protection scope of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen It please be described in detail, those skilled in the art should understand that: anyone skilled in the art Within the technical scope of the present application, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution, should all cover the protection in the application Within the scope of.Therefore, the protection scope of the application should be subject to the protection scope in claims.

Claims (16)

1. a kind of configuration method for recommending resource, which is characterized in that the configuration method includes:
When detecting that user enters target scene, and determining that the user has the configuration qualification for recommending resource, described in acquisition The scene identity code of the user identification code of user and the target scene;
Based on the user identification code and the scene identity code, the first Hash coding of the user is determined, and to described First Hash coding take the remainder treated the first remainder;
Based on first remainder, determine that target corresponding with first remainder whether is provided in the target scene is recommended Resource;
It is described in the user configuration if being provided with target corresponding with first remainder in the target scene recommends resource Target recommends resource.
2. configuration method according to claim 1, which is characterized in that it ought detect that user enters target scene described, And when determining that the user has the configuration qualification for recommending resource, the user identification code and the target scene of the user are obtained Scene identity code before, which comprises
When detecting that user enters target scene, the user identification code of the user is obtained, and according to the user identification code Determine the second Hash coding of the user;
It is encoded based on second Hash, determines whether the user has the configuration qualification for recommending resource.
3. configuration method according to claim 2, which is characterized in that it is described to be encoded based on second Hash, determine institute State whether user has the configuration qualification for recommending resource, comprising:
Second Hash coding is obtained by second remainder that takes the remainder that treated;
Determine whether the user is divided in whole scene resource not recommended hour based on remainder section belonging to second remainder In group;
Do not recommend in grouping if the user is not divided in whole scene resource, determines that the user has the configuration for recommending resource Qualification.
4. configuration method according to any one of claim 1 to 3, which is characterized in that master belonging to the target scene It include multiple sub-scenes in scene, the target scene is any one or the target field in the multiple sub-scene Scape is the home court scape.
5. configuration method according to claim 1, which is characterized in that it is described to be based on first remainder, determine the mesh Recommendation resource corresponding with first remainder whether is provided in mark scene, comprising:
Determine target remainder section belonging to first remainder;
Based on preset remainder section and recommend the mapping relations between resource, determines mesh corresponding with target remainder section Mark recommends resource;
If it is determined that the target recommend resource be not it is empty, determine be provided in the target scene it is corresponding with first remainder Recommend resource.
6. configuration method according to claim 5, which is characterized in that be based on first remainder and the mapping described Relationship, it is described to be based on first remainder after determining target remainder section belonging to first remainder, determine the target Whether with first remainder corresponding recommendation resource is provided in scene, further includes:
Determine whether the user is divided in target scene resource and does not recommend in grouping based on target remainder section;
Do not recommend in grouping if the user is not divided in target scene resource, determines and be provided in the target scene and institute State the corresponding recommendation resource of the first remainder.
7. configuration method according to claim 1, which is characterized in that if having in the target scene with it is described The corresponding target of first remainder recommends resource, is the configuration method packet after target described in the user configuration recommends resource It includes:
Detect the use information that the user recommends the target resource, wherein the use information includes that the user makes Recommend resource and the user that the target is not used with the target and recommends resource;
Based on the use information, determine that the target recommends resource to the contribution degree of the target scene;
Based on the contribution degree, the Disposing rate that target described in the target scene recommends resource is adjusted, to adjust the target Respectively recommend the allocation ratio of resource in scene.
8. a kind of configuration device for recommending resource, which is characterized in that the configuration device includes:
First obtains module, detects that user enters target scene for working as, and determine that the user has and recommend matching for resource When setting qualification, the user identification code of the user and the scene identity code of the target scene are obtained;
First determining module, for obtaining the user identification code and the scene identity that module obtains based on described first Code, determines the first Hash coding of the user, and take the remainder to first Hash coding that treated more than first Number;
Second determining module, first remainder for being determined based on first determining module, determines the target scene In whether be provided with corresponding with first remainder target and recommend resource;
Configuration module, if determined for second determining module be provided in the target scene it is corresponding with first remainder Target recommend resource, be the user configuration described in target recommend resource.
9. configuration device according to claim 8, which is characterized in that the configuration device further include:
Second obtains module, for when detecting that user enters target scene, obtaining the user identification code of the user, and root The second Hash coding of the user is determined according to the user identification code;
Third determining module determines the user for obtaining second Hash coding that module obtains based on described second Whether the configuration qualification of recommending resource is had.
10. configuration device according to claim 9, which is characterized in that the third determining module is specifically used for:
Second Hash coding is obtained by second remainder that takes the remainder that treated;
Determine whether the user is divided in whole scene resource not recommended hour based on remainder section belonging to second remainder In group;
Do not recommend in grouping if the user is not divided in whole scene resource, determines that the user has the configuration for recommending resource Qualification.
11. the configuration device according to any one of claim 8 to 10, which is characterized in that belonging to the target scene It include multiple sub-scenes in home court scape, the target scene is any one or the target in the multiple sub-scene Scene is the home court scape.
12. configuration device according to claim 8, which is characterized in that second determining module is specifically used for:
Determine target remainder section belonging to first remainder;
Based on preset remainder section and recommend the mapping relations between resource, determines mesh corresponding with target remainder section Mark recommends resource;
If it is determined that the target recommend resource be not it is empty, determine be provided in the target scene it is corresponding with first remainder Recommend resource.
13. configuration device according to claim 12, which is characterized in that second determining module is specifically also used to:
Determine whether the user is divided in target scene resource and does not recommend in grouping based on target remainder section;
Do not recommend in grouping if the user is not divided in target scene resource, determines and be provided in the target scene and institute State the corresponding recommendation resource of the first remainder.
14. configuration device according to claim 8, which is characterized in that the configuration device further include:
Detection module recommends the target use information of resource for detecting the user, wherein the use information packet It includes the user and recommends resource and the user that the target recommendation resource is not used using the target;
4th determining module, the use information for being detected based on the detection module determine that the target recommends money Contribution degree of the source to the target scene;
Module is adjusted, the contribution degree for being determined based on the 4th determining module is adjusted described in the target scene Target recommends the Disposing rate of resource, to adjust the allocation ratio for respectively recommending resource in the target scene.
15. a kind of electronic equipment characterized by comprising processor, storage medium and bus, the storage medium are stored with The executable machine readable instructions of the processor, when electronic equipment operation, between the processor and the storage medium By bus communication, the processor executes the machine readable instructions, to execute as described in any one of claims 1 to 7 Recommendation resource configuration method the step of.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program executes matching for the recommendation resource as described in any one of claims 1 to 7 when the computer program is run by processor The step of setting method.
CN201910393358.8A 2019-05-13 2019-05-13 Configuration method and configuration device for recommended resources Active CN110083775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910393358.8A CN110083775B (en) 2019-05-13 2019-05-13 Configuration method and configuration device for recommended resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910393358.8A CN110083775B (en) 2019-05-13 2019-05-13 Configuration method and configuration device for recommended resources

Publications (2)

Publication Number Publication Date
CN110083775A true CN110083775A (en) 2019-08-02
CN110083775B CN110083775B (en) 2021-06-25

Family

ID=67419827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910393358.8A Active CN110083775B (en) 2019-05-13 2019-05-13 Configuration method and configuration device for recommended resources

Country Status (1)

Country Link
CN (1) CN110083775B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112001787A (en) * 2020-08-19 2020-11-27 深圳鼎盛电脑科技有限公司 User distribution method, device, server and storage medium
CN113592342A (en) * 2021-08-10 2021-11-02 平安银行股份有限公司 Task processing method, device and equipment based on big data and storage medium
CN116546093A (en) * 2023-07-04 2023-08-04 云账户技术(天津)有限公司 Resource acquisition method and device based on static resource management platform

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102748A (en) * 2014-08-08 2014-10-15 中国联合网络通信集团有限公司 Method and device for file mapping and method and device for file recommendation
CN104462385A (en) * 2014-12-10 2015-03-25 山东科技大学 Personalized movie similarity calculation method based on user interest model
US20170085607A1 (en) * 2013-07-15 2017-03-23 Facebook, Inc. Large-Scale Page Recommendations on Online Social Networks
CN107426336A (en) * 2017-08-22 2017-12-01 北京京东尚科信息技术有限公司 A kind of method and apparatus for adjusting PUSH message opening rate
US20180068344A1 (en) * 2013-10-15 2018-03-08 Jennifer L. Sultzaberger Systems and methods for management of media campaigns
CN108074116A (en) * 2016-11-09 2018-05-25 阿里巴巴集团控股有限公司 Information providing method and device
CN108667893A (en) * 2018-03-07 2018-10-16 阿里巴巴集团控股有限公司 Data recommendation method, device and electronic equipment
CN109145651A (en) * 2018-08-22 2019-01-04 何晓行 A kind of data processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170085607A1 (en) * 2013-07-15 2017-03-23 Facebook, Inc. Large-Scale Page Recommendations on Online Social Networks
US20180068344A1 (en) * 2013-10-15 2018-03-08 Jennifer L. Sultzaberger Systems and methods for management of media campaigns
CN104102748A (en) * 2014-08-08 2014-10-15 中国联合网络通信集团有限公司 Method and device for file mapping and method and device for file recommendation
CN104462385A (en) * 2014-12-10 2015-03-25 山东科技大学 Personalized movie similarity calculation method based on user interest model
CN108074116A (en) * 2016-11-09 2018-05-25 阿里巴巴集团控股有限公司 Information providing method and device
CN107426336A (en) * 2017-08-22 2017-12-01 北京京东尚科信息技术有限公司 A kind of method and apparatus for adjusting PUSH message opening rate
CN108667893A (en) * 2018-03-07 2018-10-16 阿里巴巴集团控股有限公司 Data recommendation method, device and electronic equipment
CN109145651A (en) * 2018-08-22 2019-01-04 何晓行 A kind of data processing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112001787A (en) * 2020-08-19 2020-11-27 深圳鼎盛电脑科技有限公司 User distribution method, device, server and storage medium
CN113592342A (en) * 2021-08-10 2021-11-02 平安银行股份有限公司 Task processing method, device and equipment based on big data and storage medium
CN116546093A (en) * 2023-07-04 2023-08-04 云账户技术(天津)有限公司 Resource acquisition method and device based on static resource management platform
CN116546093B (en) * 2023-07-04 2023-10-20 云账户技术(天津)有限公司 Resource acquisition method and device based on static resource management platform

Also Published As

Publication number Publication date
CN110083775B (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN110083775A (en) A kind of configuration method and configuration device for recommending resource
CN106209953B (en) Order information processing method, device and system
CN105988836B (en) Application recommendation method and device
CN109933617B (en) Data processing method, data processing device, related equipment and related medium
RU2011142328A (en) SECURITY CARD PROTECTION SYSTEM
CN108112038B (en) Method and device for controlling access flow
CN108388512B (en) Data processing method and server
CN109981415A (en) Condition judgement method, electronic equipment, system and medium
CN104219230A (en) Method and device for identifying malicious websites
CN103593444A (en) Network keyword recognition processing method and device
CN112217657A (en) Data transmission method, data processing method, device and medium based on SD-WAN system
CN111179023B (en) Order identification method and device
CN109213782B (en) Search interface configuration and display method and device and communication equipment
CN109033355B (en) Method, apparatus and storage medium for funnel analysis
CN110166272B (en) Method, device and system for providing terminal equipment index arbitration service
CN116302889A (en) Performance test method and device for functional module and server
CN109299948A (en) A kind of red packet sending method, device, wearable device and storage medium
CN113780666B (en) Missing value prediction method and device and readable storage medium
CN111369186B (en) Logistics pushing method, device, server and readable storage medium
CN110795237B (en) Resource processing method, device, electronic equipment and medium
CN110263044B (en) Data storage method, device, equipment and computer readable storage medium
CN115640325A (en) Content recommendation method and device, readable medium and electronic equipment
CN112131468A (en) Data processing method and device in recommendation system
CN106997620A (en) Charging method and device based on GPS data point
CN115114009A (en) Data query method, master node and slave nodes

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