CN108804133A - Acquisition methods, system, computer equipment and the storage medium of virtual resource - Google Patents
Acquisition methods, system, computer equipment and the storage medium of virtual resource Download PDFInfo
- Publication number
- CN108804133A CN108804133A CN201810602392.7A CN201810602392A CN108804133A CN 108804133 A CN108804133 A CN 108804133A CN 201810602392 A CN201810602392 A CN 201810602392A CN 108804133 A CN108804133 A CN 108804133A
- Authority
- CN
- China
- Prior art keywords
- configuration
- virtual resource
- resource
- user
- code
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application involves a kind of acquisition methods of virtual resource, system, computer equipment and storage mediums.The method includes:The configuration page of virtual resource is obtained, the configuration page face includes multiple configuration items;According to the configuration operation to the configuration item, corresponding configuration parameter is obtained;The corresponding object code of corresponding configuration item is generated based on the configuration parameter;The corresponding object code of multiple configuration items is added separately to template code, obtains the execution code for obtaining virtual resource;The execution code is run, virtual resource corresponding with the configuration parameter is screened in virtualization pool.Virtual resource can be improved using this method and obtain efficiency and flexibility.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of acquisition methods of virtual resource, system, computer
Equipment and storage medium.
Background technology
With the continuous development of computer technology, realize that the acquisition of virtual resource is more and more common by computer.User
Platform can be obtained in virtual resource obtain the virtual resource oneself being satisfied with based on different acquisition logics.However, developer will
The different logics that obtain of virtual resource are solidificated in virtual resource acquisition platform with code form.In other words, based on traditional virtual
Resource acquisition platform, user can only select a set acquisition logic to carry out virtual resource screening, and flexibility is relatively low.If with
Family it is expected to change set acquisition logic, then needs developer to rewrite acquisition logical code, so as to cause void
Quasi- resource acquisition efficiency reduces.
Invention content
Based on this, it is necessary in view of the above technical problems, provide one kind can improve virtual resource obtain efficiency and flexibly
Acquisition methods, system, computer equipment and the storage medium of the virtual resource of property.
A kind of acquisition methods of virtual resource, the method includes:Obtain the configuration page of virtual resource, the configuration page
Face includes multiple configuration items;According to the configuration operation to the configuration item, corresponding configuration parameter is obtained;Joined based on the configuration
Number generates the corresponding object code of corresponding configuration item;The corresponding object code of multiple configuration items is added separately to template code,
Obtain obtaining the execution code of virtual resource;The execution code is run, screening and the configuration parameter in virtualization pool
Corresponding virtual resource.
The configuration page for obtaining virtual resource in one of the embodiments, including:It is pulled accordingly in mirror image warehouse
Image file;Virtual resource acquisition platform is disposed by starting the image file;It receives to obtain the virtual resource and put down
The access instruction of platform, the access instruction include network identity;According to institute's network identity to the virtual resource obtain platform into
Row network configuration obtains platform with the virtual resource accessed different user and carries out Network Isolation;It is virtual after Network Isolation
Resource acquisition platform shows the configuration page.
The configuration page for obtaining virtual resource in one of the embodiments, including:User information is obtained, according to
The user information establishes user's portrait, obtains the browsing record of user;It is true according to user portrait and browsing record
Determine the preference matrix of user;The resource preference of user is predicted according to the preference matrix;It is predicted according to the resource preference multiple
The corresponding initial configuration parameters of configuration item;According to multiple configuration items and corresponding initial configuration parameters, configuration is generated
The page;Show the configuration page.
The configuration page for obtaining virtual resource in one of the embodiments, including:User information is obtained, is determined
The corresponding class of subscriber of the user information;Obtain the corresponding the Resources list of the class of subscriber;It is recorded in described the Resources list
Multiple resource identifications and the corresponding recommendation hot value of each resource identification;According to the recommendation hot value, prediction and institute
State the target resource identifier that user information matches;According to the corresponding resource information of the target resource identifier, multiple match is determined
Set the corresponding initial configuration parameters of item;According to multiple configuration items and corresponding initial configuration parameters, configuration page is generated
Face;Show the configuration page.
The configuration parameter, which includes back, in one of the embodiments, surveys threshold value;The operation execution code, in void
Screening virtual resource corresponding with the configuration parameter in quasi- resource pool, including:The execution code survey, is returned
Survey result;Judge whether the backtest results reach described return and survey threshold value;If so, the execution code is run, in virtual resource
Virtual resource corresponding with the configuration parameter is screened in pond;Otherwise, configuration adjustment report is generated, shows the configuration adjustment report
It accuses.
A kind of acquisition system of virtual resource, the system comprises:Terminal, the configuration page for obtaining virtual resource;
It is operated according to the configuration of multiple configuration items in the configuration page, obtains corresponding configuration parameter;It is generated based on the configuration parameter
The corresponding object code of corresponding configuration item;The corresponding object code of multiple configuration items is added separately to template code, is obtained
Take the execution code of virtual resource;The execution code is run, is screened in virtualization pool corresponding with the configuration parameter
Virtual resource;Server, the corresponding public opinion index of virtual resource obtained for obtaining screening;The terminal is additionally operable to according to institute
State public opinion index, multiple virtual resources that displaying screening obtains.
The configuration parameter includes sortord in one of the embodiments,;The terminal is additionally operable to according to the row
Sequential mode and the public opinion index, the multiple virtual resources obtained to screening are ranked up;It is screened according to sequence displaying
The multiple virtual resources arrived.
The server is additionally operable to monitor the public feelings information of default platform publication in one of the embodiments, to described
Public feelings information is split, and obtains multiple short texts;Resource identification is extracted in the short text;Utilize preset the analysis of public opinion model
Calculate the corresponding affection index of each short text;Determine the corresponding influence power weight of multiple short texts;According to
The affection index and the influence power weight calculate respective resources and identify corresponding public opinion index.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device realizes following steps when executing the computer program:The configuration page of virtual resource is obtained, the configuration page face includes more
A configuration item;According to the configuration operation to the configuration item, corresponding configuration parameter is obtained;Phase is generated based on the configuration parameter
Answer the corresponding object code of configuration item;The corresponding object code of multiple configuration items is added separately to template code, is obtained
The execution code of virtual resource;The execution code is run, void corresponding with the configuration parameter is screened in virtualization pool
Quasi- resource.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
Following steps are realized when row:The configuration page of virtual resource is obtained, the configuration page face includes multiple configuration items;According to described
The configuration of configuration item operates, and obtains corresponding configuration parameter;The corresponding target of corresponding configuration item is generated based on the configuration parameter
Code;The corresponding object code of multiple configuration items is added separately to template code, obtains the execution code for obtaining virtual resource;
The execution code is run, virtual resource corresponding with the configuration parameter is screened in virtualization pool.
Acquisition methods, system, computer equipment and the storage medium of above-mentioned virtual resource, pass through the configuration in virtual resource
The page configures configuration item, can obtain corresponding configuration parameter;Based on the configuration parameter, corresponding configuration can be generated
The corresponding object code of item;The corresponding object code of multiple configuration items is added separately to template code, operation pair can be obtained
The execution code of the acquisition logic of virtual resource;By running the execution code, can be screened in virtualization pool and institute
State the corresponding virtual resource of configuration parameter.Since user can carry out configuration operation based on configuration page in face of different configuration items, into
And the acquisition logic of self-defined virtual resource, virtual resource can be improved and obtain flexibility;In addition, being obtained according to user-defined
It takes logic to automatically generate corresponding execution code, reduces the workload that developer writes code, obtained to improve virtual resource
Take efficiency.
Description of the drawings
Fig. 1 is the application scenario diagram of the acquisition methods of virtual resource in one embodiment;
Fig. 2 is the flow diagram of the acquisition methods of virtual resource in one embodiment;
Fig. 3 is the flow diagram for the configuration page step that virtual resource is obtained in one embodiment;
Fig. 4 is the flow diagram for the configuration page step that virtual resource is obtained in another embodiment;
Fig. 5 is the flow diagram for the configuration page step that virtual resource is obtained in another embodiment;
Fig. 6 is the structure diagram of the acquisition system of virtual resource in one embodiment;
Fig. 7 is the internal structure chart of one embodiment Computer equipment.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
The acquisition methods of virtual resource provided by the present application can be applied in application environment as shown in Figure 1.Wherein,
Terminal 102 is communicated with server 104 by network.Wherein, terminal 102 can be, but not limited to be various personal computers,
Laptop, smart mobile phone, tablet computer and portable wearable device, server 104 can with independent server or
Person is the server cluster of multiple server compositions to realize.Virtual resource is deployed in terminal 102 obtains platform.User can be with
The configuration that platform carries out resource acquisition logic is obtained based on virtual resource in terminal 102.The reception of terminal 102 obtains virtual resource
The configuring request for taking logic shows the configuration page according to configuring request.Configuration page face includes multiple configuration items.User can with
Page configuration parameter corresponding to configuration item is set to configure.Terminal 102 converts the configuration parameter of each configuration item to correspondence
Object code.The basic logic code (hereinafter referred to as " simulation code ") that terminal 102 has prestored for obtaining certain class virtual resource.
Template code includes the corresponding label of multiple configuration items.Terminal 102 replaces template using the corresponding object code of configuration item
Respective labels in code obtain to which the corresponding object code of multiple configuration items is added separately to template code for obtaining
The execution code of virtual resource.Terminal 102 calls resource to collect the virtual resource that interface monitor specifies platform publication, by monitoring
Virtual resource is stored to virtualization pool.It executes code and contains the acquisition logic for obtaining virtual resource in virtualization pool.
Terminal 102 is by running the execution code, in virtualization pool screening virtual resource corresponding with configuration parameter.Terminal 102
The public opinion index that respective virtual resource can be obtained in server 104 after screening obtains virtual resource, in conjunction with preconfigured
Sortord and public opinion index, the multiple virtual resources obtained to screening are ranked up, and multiple virtual resources are shown according to sequence.
The acquisition process of above-mentioned virtual resource, user can be improved virtual resource and obtained flexibly with the acquisition logic of self-defined virtual resource
Property;In addition, automatically generating corresponding execution code according to user-defined acquisition logic, the work that developer writes code is reduced
It measures, efficiency is obtained to improve virtual resource.
In one embodiment, as shown in Fig. 2, providing a kind of acquisition methods of virtual resource, it is applied in this way
It illustrates, includes the following steps for terminal in Fig. 1:
Step 202, the configuration page of virtual resource is obtained, configuration page face includes multiple configuration items.
Virtual resource has been run in terminal obtains platform.It can be interface-oriented programming that the virtual resource, which obtains platform,
Can support the arbitrary technological frame for realizing the corresponding interface method, to improve the autgmentability that virtual resource obtains platform.Virtually
Resource acquisition platform can also be to be realized based on container techniques such as a kind of Docker (application container engine increased income).Using appearance
Device technology is disposed, and the flexibility that virtual resource obtains platform can be improved.
When user needs to obtain virtual resource, the configuration page that platform can be obtained in virtual resource carries out acquisition logic
Configuration.Specifically, configuration page face includes multiple configuration items.Configuration item includes resource pool filter condition and Screening germplasm condition.
Wherein, resource pool filter condition includes a variety of attribute informations of resource publisher, such as industry, scale.Screening germplasm condition packet
Include many indexes information of resource, such as technical indicator or increment index.The specific Index Content for constituting Screening germplasm condition
And quantity, user can free additions and deletions according to demand.
Step 204, according to the configuration operation to configuration item, corresponding configuration parameter is obtained.
User can be in configuration page additions and deletions configuration item, and is configured respectively to each configuration item, that is, configuration item is arranged
Corresponding configuration parameter.It includes operator, threshold value or index section etc. to configure parameter.Operator can be comparison operator.?
In another embodiment, all or part of configuration item is prefixed corresponding configuration parameter options in the configuration page, and user only need to be from
Configuration can be completed in middle selection, reduces user configuration workload, also improves allocative efficiency.For example, configuration item " industry " corresponds to threshold
The configuration parameter options of value may include building, medium, communication, bank etc..
Step 206, it is based on configuration parameter and generates the corresponding object code of corresponding configuration item.
Virtual resource obtains the corresponding database of Platform deployment, and it is corresponding to store each configuration item in the database
Foundation code.Virtual resource obtains platform and is monitored in the configuration operation of configuration page triggering user, when listening to certain
Obtain corresponding foundation code when the configuration operation of a configuration item, based on configuration operate corresponding configuration parameter to foundation code into
Row update, obtains corresponding object code.
In another embodiment, virtual resource obtains platform and is supervised in the configuration operation of configuration page triggering to user
It listens, often listens to the configuration for completing some configuration item, then convert the configuration item and corresponding configuration parameter to corresponding target
Code, to which when user configuration is completed to obtain logic, virtual resource, which obtains platform, by the configuration item finally configured and need to only match
It sets parameter and is converted into corresponding object code.User often completes the configuration operation of a configuration item, i.e., turns corresponding configuration parameter
Object code is turned to, multiple configuration items is converted to object code compared to unified when obtaining logic configuration and finishing, can improve
Code conversion efficiency executes code building efficiency so as to improve, and then can improve resource acquisition efficiency.
Step 208, the corresponding object code of multiple configuration items is added separately to template code, obtains obtaining virtual resource
Execution code.
Virtual resource obtains platform and also stores template code in the database.Template code is that by virtual resource
The basic logic code of acquisition.In other words, block code includes the identical partial code that can be used in different execution codes.
The template code that different virtual resources acquisition logics use is configured to may be the same or different.Template code includes configuration page
The corresponding label of each configuration item in face.Label corresponds to filling of the object code in template code for recording corresponding configuration item
Position.It should be noted that each label is in invalid state in initial template code, such as stored as comment section
In template code.
When listening to the configuration operation to some configuration item, virtual resource obtains platform will in initial template code
The corresponding tag activation of corresponding configuration item.The mode of activation can delete the comment flags before and after label, make label converting
For executable statement.It is corresponding object code that virtual resource, which obtains platform by the tag replacement,.When user completes to obtain logic
Configuration, that is, complete the configuration to multiple configuration items of concern operation when, each configuration item is corresponded into target in the manner described above
Code has been added in template code, obtains the corresponding execution code of the acquisition logic.
Step 210, operation executes code, the screening virtual resource corresponding with configuration parameter in virtualization pool.
Different resource publisher is respectively provided with corresponding resource pool structure interface.Virtual resource obtains platform and calls accordingly
Resource pool builds interface, extracts the attribute of corresponding virtual resource in respective resources publisher's server according to preset time frequency
Information stores the attribute information of the virtual resource extracted to the virtualization pool built in advance.Virtualization pool can be
Memory module for the attribute information for storing multiple virtual resources, such as database or message queue.
Virtual resource obtains platform and is instructed in the resource acquisition of configuration page triggering according to user, runs above-mentioned execution generation
Code determines the resource publisher for the resource pool filter condition for meeting user configuration based on the acquisition logic that execution code contains.?
In another embodiment, the attribute information for the corresponding virtual resource of resource publisher for meeting resource pool filter condition can be carried
It takes out, independently forms child resource pond.Virtual resource obtains the acquisition logic that platform is contained based on execution code, in child resource pond
The middle virtual resource for screening the Screening germplasm condition for meeting user configuration, the attribute information for the virtual resource that displaying screening obtains.
In the present embodiment, is configured in face of configuration item by the configuration page in virtual resource, corresponding match can be obtained
Set parameter;Based on configuration parameter, the corresponding object code of corresponding configuration item can be generated;By multiple configuration items corresponding target generation
Code is added separately to template code, can obtain running the execution code of the acquisition logic to virtual resource;It is executed by running
Code can screen virtual resource corresponding with configuration parameter in virtualization pool.Since user can be based on the configuration page
Configuration operation, and then the acquisition logic of self-defined virtual resource are carried out to different configuration items, virtual resource can be improved and obtain spirit
Activity;In addition, automatically generating corresponding execution code according to user-defined acquisition logic, reduces developer and write code
Workload, to improve virtual resource obtain efficiency.
In one embodiment, as shown in figure 3, obtaining the configuration page of virtual resource, including:
Step 302, corresponding image file is pulled in mirror image warehouse.
Step 304, virtual resource acquisition platform is disposed by starting image file.
Step 306, the access instruction that platform is obtained to virtual resource is received, access instruction includes network identity.
Step 308, platform is obtained to virtual resource according to institute's network identity and carries out network configuration, to access different user
Virtual resource obtain platform carry out Network Isolation.
Step 310, the virtual resource after Network Isolation obtains the platform displaying configuration page.
The cumbersome for installation of platform is obtained in order to reduce virtual resource, exploitation virtual resource obtains the corresponding mirror image text of platform
Part, and then installation and deployment virtual resource obtains platform in a manner of container.Specifically, developer installs Docker on the server
Serviced component stores the All Files that virtual resource obtains the code file of platform and operation is relied on according to standard directories
In the catalogue of Docker serviced components, based on Docker Build orders by the catalogue be packaged into Docker image files (with
Lower abbreviation " image file "), so that the alternative document that virtual resource acquisition platform and its operation are relied on is bundled to one can
In the container of transplanting.Image file is uploaded to mirror image warehouse by developer by Docker Push orders.User can pass through
Image file is downloaded in mirror image warehouse, virtual resource is accessed and obtains platform.
Terminal can be based on image file and access virtual resource acquisition platform.Specifically, when user needs to access virtual money
When source obtains platform, the image file that virtual resource obtains platform can be downloaded from mirror image warehouse by terminal, in order line window
Mouth input Docker Run orders start image file, and the i.e. addressable virtual money of storage address of image file is inputted in browser
Source obtains platform.
Virtual resource acquisition with shift the property safety due to being related to user, need under safer network environment
It carries out.Safety is obtained in order to improve virtual resource, the virtual resource that different user is accessed obtains platform and carries out Network Isolation.
Specifically, user triggers the access instruction for obtaining platform to virtual resource in terminal.Access instruction carry user identifier and
Overlay network identities (hereinafter referred to as " network identity ").Terminal calls network configuration interface to match to network according to access instruction
It sets server and sends Network Isolation request.Network Isolation request carries user identifier and network identity.Network configuration server
Identify whether the network identity received belongs to the corresponding network identity of other users.If not, then it represents that there has been no user's uses
The network identity, network configuration server obtain corresponding terminal iidentification according to the user identifier received, utilize the network mark
Know and network configuration is carried out to the corresponding terminal of user identifier.Different user accesses virtual resource using different overlay networks and obtains
It makes even platform, to ensure the isolation between different virtual resources obtain platforms.
The every other file relied on is run since image file is integrated with it in advance so that virtual resource obtains platform
User can be made in installation and deployment virtual resource acquisition platform, worked as without being concerned about without relying on other assemblies with independent operating
The support issue of preceding platform release or dependence library, greatly simplifies installation operation.
In the present embodiment, when user needs to access virtual resource acquisition platform, it need to only be downloaded in mirror image warehouse corresponding
Image file starts mirror image by preset instructions, you can directly accesses virtual resource by corresponding access address in browser and obtains
It makes even platform, packet i.e. use is opened to be realized in installation and deployment, it is time saving and energy saving.Different void can be realized by simple network configuration
Isolation between quasi- resource acquisition platform improves virtual resource and obtains platform efficiency of isolation;Platform is obtained to different virtual resources
Network Isolation is carried out, virtual resource can be improved and obtain safety.
In one embodiment, as shown in figure 4, obtaining the configuration page of virtual resource, including:
Step 402, user information is obtained, user's portrait is established according to user information, obtains the browsing record of user.
Step 404, the preference matrix that record determines user is drawn a portrait and browsed according to user.
Step 406, the resource preference of user is predicted according to preference matrix.
Step 408, the corresponding initial configuration parameters of multiple configuration items are predicted according to resource preference.
Step 410, according to multiple configuration items and corresponding initial configuration parameters, the configuration page is generated.
Step 412, the displaying configuration page.
The burden that each configuration item is configured one by one is faced in configuration page in order to reduce user, virtual resource obtains platform
Virtual resource recommendation is carried out to user previously according to user information, and the attribute information of the virtual resource of recommendation is illustrated in configuration
The page.In other words, multiple configuration items in the page are configured and are respectively provided with corresponding initial configuration parameters, user can be in initial configuration
It carries out obtaining logic configuration on parameter basis, improves allocative efficiency.
Traditional main collaborative filtering that passes through carries out virtual resource recommendation.Collaborative filtering is carried out according to user
The account of the history of virtual resource transfer goes to recommend.Virtual resource transfer refers to converting fund resources, is obtained and the fund
The virtual resource of resource equivalence.But cold start-up problem is often faced for new user, accurate recommendation is hardly resulted in, and
And may be disposable for the interest of some virtual resources user, if only carrying out virtual resource transfer according to user
Account of the history is recommended, and the accuracy rate of recommendation is not often high.
Accuracy rate, virtual resource is recommended to obtain platform and obtained according to the user identifier of user's typing in order to improve virtual resource
Corresponding user information.User identifier can be platform account etc..The multiple label informations of user information.Label information includes user
The attributes such as age, gender, occupation, marital status, schooling, occupation, property guarantee, health status.Virtual resource obtains
Multiple label information groups of acquisition are become a text vector by platform, are drawn the text vector of composition as the user of the user
Picture.The virtual representations that user draws a portrait as actual user often build according to product and market, have reacted true
The feature and demand of real user.
Virtual resource obtains the browsing record that platform also captures user.The browsing record of user can be to certain virtual resource
Clicking operation or inquiry operation.For example, browsing record can be set as whether to click certain virtual resource, if having clicked
It is 1, is 0 if not clicking.Can certainly user be clicked into situation or browsing feelings to multiple virtual resources simultaneously
Condition is recorded as browsing.
Virtual resource obtains platform and draws a portrait and browse the preference matrix that record determines user according to user.Specifically, passing through
User is drawn a portrait and browsed record and is combined as a long text vector together, using text vector as an input variable generation
Enter Random Forest model, and then predicts that user it is expected to get the probability of all kinds of virtual resources.Such as, it is assumed that virtual resource at present
There are 100 virtual resources (A1 to A100) in pond, it would be desirable to it is expected according to the browsing record prediction user of user's portrait and user
Obtain the probability of each virtual resource.
The browsing record for whether having clicked A1 virtual resources as user is investigated, it is 1 that user, which obtains then, if user does not have
Obtain is then 0.So input variable of user's portrait and browsing record composition is as shown in table 1:
Table 1
Label 1 | Label 2 | Label 3 | Label 4 | …… | Label n | Browsing record A1 | |
User 1 | Female | 25 years old | White collar | It is unmarried | …… | … | 1 |
User 2 | Man | 40 years old | Blue collar | It is married | …… | … | 0 |
The user that the virtual resource of existing next step is obtained to behavior models as sample, and prediction active user it is expected
The possibility of each virtual resource is obtained, output variable is as shown in table 2:
Table 2
A2 | A3 | A4 | …… | An | |
1 acquisition probability of user | 0.1 | 0.2 | 0.2 | …… | 0.1 |
2 acquisition probability of user | 0.2 | 0.15 | 0.25 | …… | 0.15 |
The probability that virtual resource acquisition platform obtains virtual resource according to expectation obtains the preference matrix of user.For each
For user, all meet P (A2)+P (A3)+...+P (An)=1.Next, consideration can after having clicked A2 virtual resources successively
Can acquisition probability, generate probability tables as shown above, and so on, until establishing 100 virtual resources (A1-A100)
Random Forest model finally obtains user according to the Random Forest model of foundation and it is expected to obtain the preference matrix of each virtual resource.
The algorithm of random forest is used to predict that the preference matrix of user is by have the user of acquisition behavior in next step as sample
Come what is predicted, that is to say, that this method is recommended by probability, personal attribute and the current state in conjunction with whole crowd
, improve the accuracy rate of recommendation.
Virtual resource obtains platform and obtains the list interested of user according to preference matrix, and list interested here can be with
It is the user to the interested probability of all kinds of virtual resources, can also be that user's sense for being screened by interested probability is emerging
The virtual resource of interest, can also be other forms of expression that can embody user resources preference.Virtual resource obtain platform according to
The attribute information of one or more virtual resources determines multiple configuration items in the predicted configuration page in the list interested of the user
Corresponding initial configuration parameters.For example, the attribute information for the virtual resource that the user of prediction may be most interested in
The write-in configuration page.Virtual resource obtains platform according to multiple configuration items and corresponding initial configuration parameters, generates and opens up
Show the configuration page.
In the present embodiment, virtual resource recommendation is carried out to user previously according to user information, and by the virtual resource of recommendation
Attribute information be illustrated in the configuration page, reduce user and face the burden that each configuration item is configured one by one in configuration page, carry
High virtual resource obtains efficiency.
In one embodiment, as shown in figure 5, obtaining the configuration page of virtual resource, including:
Step 502, user information is obtained, determines the corresponding class of subscriber of user information.
Step 504, the corresponding the Resources list of class of subscriber is obtained;Multiple resource identifications and each are had recorded in the Resources list
The corresponding recommendation hot value of resource identification.
Step 506, according to hot value is recommended, the target resource identifier to match with user information is predicted.
Step 508, it according to the corresponding resource information of target resource identifier, determines that multiple configuration items are corresponding and initially matches
Set parameter.
Step 510, according to multiple configuration items and corresponding initial configuration parameters, the configuration page is generated;Displaying configuration
The page.
The burden that each configuration item is configured one by one is faced in configuration page in order to reduce user, virtual resource obtains platform
Virtual resource recommendation is carried out to user previously according to user information, and the attribute information of the virtual resource of recommendation is illustrated in configuration
The page.The present embodiment virtual resource obtains platform and carries out virtual resource recommendation according to class of subscriber.Specifically, class of subscriber refers to
The classification divided previously according to user information.Interested virtual resource corresponding to different user classification is different.According to current
Similarity of the user information (hereinafter referred to as " current user information ") of user between the user information of sample of users determine with
The corresponding class of subscriber of current user information, in order to be distinguished with general class of subscriber, referred to as " target user's classification ".
The mode of distance metric may be used in the calculating of similarity, for example, Euclidean distance may be used, can also use graceful
Hatton's distance.In one embodiment, the calculating of similarity is special according to the corresponding active user of user information of active user
What the distance between sign vector client characteristics vector corresponding with user information was calculated.In order to calculate similarity, first, need
Obtain active user's feature vector corresponding with current user information.Active user's feature vector refers to by each user information
Index be converted to the form of the digital representation that can be weighed.For example, the age can be directly with actual age digital representation, property
0 expression female is not respectively adopted, 1 indicates that man, marital status can be divided into unmarried, married, three kinds of states of divorced, be respectively adopted 1,2
It is indicated with 3.Health status can simply be divided into healthy, unhealthy and three kinds of states of inferior health, naturally it is also possible to be subdivided into 0-
100 healthy numerical value.Occupation is divided into multiple classes according to category of employment, and is arranged per a kind of corresponding number.In another implementation
In example, similarity can also be each between element and the user information respective element of sample of users in user information by obtaining
Then similarity is weighted what summation obtained.
Virtual resource obtains platform and obtains the corresponding the Resources list of target user's classification, and each wait for is had recorded in the Resources list
Recommend the corresponding recommendation hot value of virtual resource.Wherein, the Resources list is corresponding with class of subscriber, different class of subscribers pair
Different virtual resource classifications to be recommended is answered, the corresponding recommendation temperature of each virtual resource to be recommended is had recorded in the Resources list
Value.Recommend hot value to reflect interest level of the user to virtual resource to be recommended, recommends that hot value and user's is interested
Degree is positively correlated, that is, is recommended hot value bigger, shown that the interest level corresponding to virtual resource to be recommended is bigger.At one
In embodiment, it is dynamic change to recommend hot value.
Virtual resource obtains platform and determines and work as according to the recommendation hot value of each virtual resource to be recommended in the Resources list
The corresponding target resource identifier of preceding user information.In one of the embodiments, by the virtual resource to be recommended in the Resources list
According to recommending hot value to be ranked up from big to small, the resource identification of the virtual resource to be recommended of predetermined number is as mesh before obtaining
Mark resource identification.The attribute information that virtual resource acquisition platform corresponds to virtual resource according to target resource identifier determines predicted configuration
The corresponding initial configuration parameters of multiple configuration items in the page.Virtual resource obtains platform according to multiple configuration items and right respectively
The initial configuration parameters answered generate and show the configuration page.
In the present embodiment, virtual resource recommendation is carried out to user previously according to user information, and by the virtual resource of recommendation
Attribute information be illustrated in the configuration page, reduce user and face the burden that each configuration item is configured one by one in configuration page, carry
High virtual resource obtains efficiency.In addition, class of subscriber is determined according to user information, the Resources list corresponding to class of subscriber
In the corresponding recommendation hot value of virtual resource to be recommended recommended, i.e., targetedly user is recommended, improves and push away
The accuracy recommended reduces the waste for recommending resource.
In one embodiment, configuration parameter, which includes back, surveys threshold value;Operation execute code, in virtualization pool screening with
The corresponding class of subscriber of parameter is configured, including:To executing code survey, obtains backtest results;Whether judge backtest results
Reach back and surveys threshold value;If so, operation executes code, the screening virtual resource corresponding with configuration parameter in virtualization pool;It is no
Then, configuration adjustment report, displaying configuration adjustment report are generated.
Configuration item further includes back survey condition.Corresponding time survey condition of different type virtual resource can be different.For example, being used for
The survey condition of returning of the virtual resource of investment may include that resource transaction value, resource hold period, resource allocation ratio, resource allocation
Proportion adjustment span etc..Virtual resource obtains platform according to preset rules, will return survey condition and is converted into corresponding time survey threshold value.It returns
Survey threshold value includes Alpha's income, beta income, Sharp's ratio, income withdraws ratio, maximum is withdrawn, continuously loss period etc. is multinomial
Index.
When acquisition logic configuration finishes, user can trigger back survey instruction in the configuration page.Virtual resource obtains platform
Instruction is surveyed according to returning, calls back survey interface to executing code survey, obtains backtest results.It can be based on to return and survey interface
The high in the clouds such as Python, which are returned, surveys what frame was realized.Virtual resource obtains platform and carries out the backtest results being calculated with survey threshold value is returned
Compare, judges whether to reach to correspond to back and survey threshold value.If backtest results reach corresponding time survey threshold value, indicate that operation code contains
Acquisition Logical presentation it is good, virtual resource obtain platform operation execute code, sieved in virtualization pool in the manner described above
Choosing virtual resource corresponding with configuration parameter.If there are backtest results to be not up to corresponding time survey threshold value, indicate that operation code accumulates
The acquisition logic contained needs to adjust, and virtual resource obtains platform and calculates the difference that backtest results survey threshold value with corresponding time, according to pre-
If a variety of differences determine the corresponding adjustable strategies of the difference with corresponding adjustable strategies, generated based on the adjustable strategies that get
Configuration adjustment report, displaying configuration adjustment report, to prompt user to be adjusted in face of the acquisition logic of virtual resource in configuration page
It is whole.
In the present embodiment, virtual resource recommendation is carried out before obtaining logic configuration, after obtaining logic configuration survey
And provide adjustable strategies in time when backtest results are undesirable, have great convenience for the user the configuration for carrying out obtaining logic, reduces
It obtains logic and configures threshold, and then improve virtual resource and obtain efficiency.
In one embodiment, configuration parameter includes sortord;Method further includes:Obtain the virtual resource that screening obtains
Corresponding public opinion index;According to sortord and public opinion index, the multiple virtual resources obtained to screening are ranked up;According to row
Multiple virtual resources that sequence displaying screening obtains.
Virtual resource obtains platform and executes code by operation, can be screened in virtualization pool corresponding with configuration parameter
Virtual resource.Screening obtained virtual resource may have multiple, be got in the shortest possible time in order to facilitate user
More valuable virtual resource, virtual resource obtain multiple virtual resources that platform obtains screening and are ranked up.Specifically, matching
It further includes sortord to set item.In other words, user can be predefined to the arrangement mode of virtual resource when configuration obtains logic.
Sortord includes one or more sequence indexs, such as technical indicator, profit index.
In order to improve the virtual resource with high value to user, virtual resource obtains platform in virtualization pool
Multiple virtual resources public opinion index carry out periodic evaluation.Public opinion index refers to virtual resource in social situation instantly
The results of measuring of appreciation or the development trend devalued.Virtual resource obtains platform combination user and is pre-configured with arrangement mode and week
The public opinion index for the virtual resource that phase property measures, the comprehensive multiple virtual resources obtained to screening are ranked up.
In the present embodiment, the Static State Index of arrangement mode is pre-configured in conjunction with user, and the virtual money periodically measured
The dynamic indicator of source public opinion index, the comprehensive multiple virtual resources obtained to screening are ranked up, and user can be facilitated to the greatest extent may be used
More valuable virtual resource is got in time that can be short, is improved virtual resource and is obtained efficiency.
In one embodiment, the corresponding public opinion index of virtual resource that screening obtains is obtained, including:Platform is preset in monitoring
The public feelings information of publication splits public feelings information, obtains multiple short texts;Resource identification is extracted in short text;Using default
The analysis of public opinion model calculate the corresponding affection index of each short text;Determine the corresponding influence power power of multiple short texts
Weight;According to affection index and influence power weight, calculates respective resources and identify corresponding public opinion index.
Default platform can be preset a variety of news reader or social platform, such as browser, today's tops news
Reader or wechat, microblogging, mhkc such as know at the social platforms.What server was issued to presetting platform within the monitoring period
Public feelings information carries out text classification respectively, obtains the corresponding one or more public sentiment labels of each public feelings information.Public sentiment label can
To be the keyword in public feelings information.Server has been pre-stored multiple virtual resource related terms.Screening server public sentiment label packet
The public feelings information (hereinafter referred to as " target public feelings information ") of the related term containing virtual resource.
Server splits target public feelings information.Specifically, target public feelings information can be text, voice, video
Or picture etc..If target public feelings information is voice, video or picture, it is first converted into text.Transformed target public sentiment
Information is the long text for including multiple fractionation identifiers.Each fractionation identifier position is determined as splitting position by server
It sets, splitting position in each of long text is split, and multiple short texts are obtained.Splitting identifier can be with statement terminator, such as
Fullstop, exclamation mark etc..Server carries out word segmentation processing to each short text.Server is by dictionary tree (trie) algorithm in short essay
Resource identification is extracted in this.Resource identification can be title or number of virtual resource etc..The preset public sentiment of server by utilizing point
It analyses model and calculates the corresponding affection index of each short text.
What the analysis of public opinion model can obtain machine learning classification model training.Machine learning classification model can be
XGBOOST models etc..Specifically, server carries out word segmentation processing, base to each short text that sample public feelings information is split
Participle is obtained into multiple language materials in word2vec models and is converted into term vector, and corresponding contingency table is added to each term vector
Label.Term vector and corresponding tag along sort composing training collection are trained machine learning classification model based on training set, obtain
The analysis of public opinion model.
Each public feelings information has corresponding profile information, such as issuing time, publication medium, publication author.Server
Profile information based on public feelings information calculates the influence power weight of each public feelings information.For example, influence power weight can be the time
Weight, media weight and author's weight etc. cumulative and.Server can extract different resources in different public feelings informations
Mark.Affection index and corresponding influence power weight of the server according to the corresponding short text of resource identification, calculate respective virtual
The public opinion index of resource.
In the present embodiment, the affection index of each public feelings information is calculated using the analysis of public opinion model;According to public feelings information
Affection index and influence power weight, prediction virtual resource are influenced by public feelings information as a result, improving forecasting accuracy.
It should be understood that although each step in the flow chart of Fig. 2~5 is shown successively according to the instruction of arrow,
Be these steps it is not that the inevitable sequence indicated according to arrow executes successively.Unless expressly stating otherwise herein, these steps
There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2~5 at least
A part of step may include that either these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps
Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to
Secondary progress, but can either the sub-step of other steps or at least part in stage in turn or replace with other steps
Ground executes.
In one embodiment, as shown in fig. 6, providing a kind of acquisition system of virtual resource, including:602 He of terminal
Server 604, wherein:
Terminal 602, the configuration page for obtaining virtual resource;It is grasped according to the configuration of multiple configuration items in the configuration page
Make, obtains corresponding configuration parameter;The corresponding object code of corresponding configuration item is generated based on configuration parameter;By multiple configuration items pair
The object code answered is added separately to template code, obtains the execution code for obtaining virtual resource;Operation executes code, virtual
Screening virtual resource corresponding with configuration parameter in resource pool.
Server 604, the corresponding public opinion index of virtual resource obtained for obtaining screening.
Terminal 602 is additionally operable to the multiple virtual resources obtained according to public opinion index, displaying screening.
In one embodiment, terminal 602 is additionally operable to pull corresponding image file in mirror image warehouse;By starting mirror image
File disposes virtual resource and obtains platform;The access instruction that platform is obtained to virtual resource is received, access instruction includes network mark
Know;Platform is obtained to virtual resource according to institute's network identity and carries out network configuration, to be obtained to the virtual resource that different user accesses
Platform of making even carries out Network Isolation;Virtual resource after Network Isolation obtains the platform displaying configuration page.
In one embodiment, terminal 602 is additionally operable to obtain user information, establishes user's portrait according to user information, obtains
Take the browsing record at family;The preference matrix that record determines user is drawn a portrait and browsed according to user;It predicts to use according to preference matrix
The resource preference at family;The corresponding initial configuration parameters of multiple configuration items are predicted according to resource preference;According to multiple configuration items
And corresponding initial configuration parameters, generate the configuration page;The displaying configuration page.
In one embodiment, terminal 602 is additionally operable to obtain user information, determines the corresponding class of subscriber of user information;
Obtain the corresponding the Resources list of class of subscriber;Multiple resource identifications are had recorded in the Resources list and each resource identification is corresponding pushes away
Recommend hot value;According to hot value is recommended, the target resource identifier to match with user information is predicted;According to target resource identifier pair
The resource information answered determines the corresponding initial configuration parameters of multiple configuration items;According to multiple configuration items and corresponding
Initial configuration parameters generate the configuration page;The displaying configuration page.
In one embodiment, configuration parameter, which includes back, surveys threshold value;Terminal 602 is additionally operable to executing code survey,
Obtain backtest results;Judge whether backtest results reach back and surveys threshold value;If so, operation executes code, sieved in virtualization pool
Choosing virtual resource corresponding with configuration parameter;Otherwise, configuration adjustment report, displaying configuration adjustment report are generated.
In one embodiment, configuration parameter includes sortord;Terminal 602 is additionally operable to be referred to according to sortord and public sentiment
Number, the multiple virtual resources obtained to screening are ranked up;The multiple virtual resources obtained according to sequence displaying screening.
In one embodiment, server 604 is additionally operable to monitor the public feelings information of default platform publication, is torn open to public feelings information
Point, obtain multiple short texts;Resource identification is extracted in short text;Each short text is calculated using preset the analysis of public opinion model
Corresponding affection index;Determine the corresponding influence power weight of multiple short texts;According to affection index and influence power weight, meter
It calculates respective resources and identifies corresponding public opinion index.
The specific of acquisition system about virtual resource limits the acquisition methods that may refer to above for virtual resource
Restriction, details are not described herein.Modules in the acquisition system of above-mentioned virtual resource can be fully or partially through software, hard
Part and combinations thereof is realized.Above-mentioned each module can be embedded in or in the form of hardware independently of in the processor in computer equipment,
It can also in a software form be stored in the memory in computer equipment, the above modules are executed in order to which processor calls
Corresponding operation.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure
Figure can be as shown in Figure 7.The computer equipment includes the processor connected by system bus, memory, network interface, display
Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited
Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey
Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The network interface of machine equipment is used to communicate by network connection with external terminal.When the computer program is executed by processor with
Realize a kind of acquisition methods of virtual resource.The display screen of the computer equipment can be that liquid crystal display or electric ink are aobvious
The input unit of display screen, the computer equipment can be the touch layer covered on display screen, can also be computer equipment shell
Button, trace ball or the Trackpad of upper setting can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 7, is only tied with the relevant part of application scheme
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
May include either combining certain components than more or fewer components as shown in the figure or being arranged with different components.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor realize following steps when executing computer program:Obtain the configuration page of virtual resource, configuration page
Face includes multiple configuration items;According to the configuration operation to configuration item, corresponding configuration parameter is obtained;Phase is generated based on configuration parameter
Answer the corresponding object code of configuration item;The corresponding object code of multiple configuration items is added separately to template code, is obtained
The execution code of virtual resource;Operation executes code, the screening virtual resource corresponding with configuration parameter in virtualization pool.
In one embodiment, following steps are also realized when processor executes computer program:Phase is pulled in mirror image warehouse
The image file answered;Virtual resource acquisition platform is disposed by starting image file;Receive the visit that platform is obtained to virtual resource
Ask that instruction, access instruction include network identity;Platform is obtained to virtual resource according to institute's network identity and carries out network configuration, with right
The virtual resource that different user accesses obtains platform and carries out Network Isolation;Virtual resource after Network Isolation obtains platform displaying
Configure the page.
In one embodiment, following steps are also realized when processor executes computer program:User information is obtained, according to
User information establishes user's portrait, obtains the browsing record of user;The preference that record determines user is drawn a portrait and browsed according to user
Matrix;The resource preference of user is predicted according to preference matrix;Predict that multiple configuration items are corresponding initial according to resource preference
Configure parameter;According to multiple configuration items and corresponding initial configuration parameters, the configuration page is generated;The displaying configuration page.
In one embodiment, following steps are also realized when processor executes computer program:User information is obtained, is determined
The corresponding class of subscriber of user information;Obtain the corresponding the Resources list of class of subscriber;Multiple resource marks are had recorded in the Resources list
Knowledge and the corresponding recommendation hot value of each resource identification;It is provided with the target that user information matches according to hot value, prediction is recommended
Source identifies;According to the corresponding resource information of target resource identifier, the corresponding initial configuration parameters of multiple configuration items are determined;Root
According to multiple configuration items and corresponding initial configuration parameters, the configuration page is generated;The displaying configuration page.
In one embodiment, configuration parameter, which includes back, surveys threshold value;It is also realized when processor executes computer program following
Step:To executing code survey, obtains backtest results;Judge whether backtest results reach back and surveys threshold value;If so, operation is held
Line code, the screening virtual resource corresponding with configuration parameter in virtualization pool;Otherwise, configuration adjustment report, displaying are generated
Configuration adjustment report.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program realizes following steps when being executed by processor:The configuration page of virtual resource is obtained, configuration page face includes multiple configurations
?;According to the configuration operation to configuration item, corresponding configuration parameter is obtained;It is corresponding that corresponding configuration item is generated based on configuration parameter
Object code;The corresponding object code of multiple configuration items is added separately to template code, obtains the execution for obtaining virtual resource
Code;Operation executes code, the screening virtual resource corresponding with configuration parameter in virtualization pool.
In one embodiment, following steps are also realized when computer program is executed by processor:It is pulled in mirror image warehouse
Corresponding image file;Virtual resource acquisition platform is disposed by starting image file;It receives and platform is obtained to virtual resource
Access instruction, access instruction include network identity;Platform is obtained to virtual resource according to institute's network identity and carries out network configuration, with
Platform is obtained to the virtual resource that different user accesses and carries out Network Isolation;Virtual resource after Network Isolation obtains platform exhibition
Show the configuration page.
In one embodiment, following steps are also realized when computer program is executed by processor:Obtain user information, root
User's portrait is established according to user information, obtains the browsing record of user;Record is drawn a portrait and browsed according to user determines that user's is inclined
Good matrix;The resource preference of user is predicted according to preference matrix;Predict that multiple configuration items are corresponding just according to resource preference
Begin configuration parameter;According to multiple configuration items and corresponding initial configuration parameters, the configuration page is generated;The displaying configuration page.
In one embodiment, following steps are also realized when computer program is executed by processor:User information is obtained, really
Determine the corresponding class of subscriber of user information;Obtain the corresponding the Resources list of class of subscriber;Multiple resources are had recorded in the Resources list
Mark and the corresponding recommendation hot value of each resource identification;According to hot value is recommended, the target to match with user information is predicted
Resource identification;According to the corresponding resource information of target resource identifier, the corresponding initial configuration parameters of multiple configuration items are determined;
According to multiple configuration items and corresponding initial configuration parameters, the configuration page is generated;The displaying configuration page.
In one embodiment, configuration parameter, which includes back, surveys threshold value;Also realized when computer program is executed by processor with
Lower step:To executing code survey, obtains backtest results;Judge whether backtest results reach back and surveys threshold value;If so, operation
Code is executed, the screening virtual resource corresponding with configuration parameter in virtualization pool;Otherwise, configuration adjustment report, exhibition are generated
Show configuration adjustment report.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, computer program can be stored in a non-volatile computer readable
It takes in storage medium, the computer program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, this Shen
Any reference to memory, storage, database or other media used in each embodiment please provided, may each comprise
Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to keep description succinct, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield is all considered to be the range of this specification record.
Above example only expresses the several embodiments of the application, the description thereof is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,
Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection domain of the application.
Therefore, the protection domain of the application patent should be determined by the appended claims.
Claims (10)
1. a kind of acquisition methods of virtual resource, the method includes:
The configuration page of virtual resource is obtained, the configuration page face includes multiple configuration items;
According to the configuration operation to the configuration item, corresponding configuration parameter is obtained;
The corresponding object code of corresponding configuration item is generated based on the configuration parameter;
The corresponding object code of multiple configuration items is added separately to template code, obtains the execution code for obtaining virtual resource;
The execution code is run, virtual resource corresponding with the configuration parameter is screened in virtualization pool.
2. according to the method described in claim 1, it is characterized in that, it is described obtain virtual resource the configuration page, including:
Corresponding image file is pulled in mirror image warehouse;
Virtual resource acquisition platform is disposed by starting the image file;
The access instruction that platform is obtained to the virtual resource is received, the access instruction includes network identity;
Platform is obtained to the virtual resource according to institute's network identity and carries out network configuration, with the virtual money accessed different user
Source obtains platform and carries out Network Isolation;
Virtual resource after Network Isolation obtains platform and shows the configuration page.
3. according to the method described in claim 1, it is characterized in that, it is described obtain virtual resource the configuration page, including:
User information is obtained, user's portrait is established according to the user information, obtains the browsing record of user;
The preference matrix of user is determined according to user portrait and the browsing record;
The resource preference of user is predicted according to the preference matrix;
The corresponding initial configuration parameters of multiple configuration items are predicted according to the resource preference;
According to multiple configuration items and corresponding initial configuration parameters, the configuration page is generated;
Show the configuration page.
4. according to the method described in claim 1, it is characterized in that, it is described obtain virtual resource the configuration page, including:
User information is obtained, determines the corresponding class of subscriber of the user information;
Obtain the corresponding the Resources list of the class of subscriber;Multiple resource identifications and each described are had recorded in described the Resources list
The corresponding recommendation hot value of resource identification;
The target resource identifier to be matched with the user information according to the recommendation hot value, prediction;
According to the corresponding resource information of the target resource identifier, the corresponding initial configuration parameters of multiple configuration items are determined;
According to multiple configuration items and corresponding initial configuration parameters, the configuration page is generated;
Show the configuration page.
5. according to the method described in claim 1, it is characterized in that, the configuration parameter, which includes back, surveys threshold value;The operation institute
Execution code is stated, virtual resource corresponding with the configuration parameter is screened in virtualization pool, including:
The execution code survey, backtest results are obtained;
Judge whether the backtest results reach described return and survey threshold value;
If so, running the execution code, virtual resource corresponding with the configuration parameter is screened in virtualization pool;
Otherwise, configuration adjustment report is generated, shows the configuration adjustment report.
6. a kind of acquisition system of virtual resource, which is characterized in that the system comprises:
Terminal, the configuration page for obtaining virtual resource;It operates, obtains according to the configuration of multiple configuration items in the configuration page
Corresponding configuration parameter;The corresponding object code of corresponding configuration item is generated based on the configuration parameter;Multiple configuration items are corresponded to
Object code be added separately to template code, obtain obtain virtual resource execution code;The execution code is run, in void
Screening virtual resource corresponding with the configuration parameter in quasi- resource pool;
Server, the corresponding public opinion index of virtual resource obtained for obtaining screening;
The terminal is additionally operable to the multiple virtual resources obtained according to the public opinion index, displaying screening.
7. system according to claim 6, which is characterized in that the configuration parameter includes sortord;The terminal is also
For according to the sortord and the public opinion index, the multiple virtual resources obtained to screening to be ranked up;According to described
Multiple virtual resources that sequence displaying screening obtains.
8. system according to claim 7, which is characterized in that the server is additionally operable to monitor the carriage of default platform publication
Feelings information splits the public feelings information, obtains multiple short texts;Resource identification is extracted in the short text;Using default
The analysis of public opinion model calculate the corresponding affection index of each short text;Determine the corresponding shadow of multiple short texts
Ring power weight;According to the affection index and the influence power weight, calculates respective resources and identify corresponding public opinion index.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In when the processor executes the computer program the step of any one of realization claim 1 to 5 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claim 1 to 5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810602392.7A CN108804133B (en) | 2018-06-12 | 2018-06-12 | Method, system, computer device and storage medium for acquiring virtual resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810602392.7A CN108804133B (en) | 2018-06-12 | 2018-06-12 | Method, system, computer device and storage medium for acquiring virtual resources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108804133A true CN108804133A (en) | 2018-11-13 |
CN108804133B CN108804133B (en) | 2022-04-08 |
Family
ID=64085434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810602392.7A Active CN108804133B (en) | 2018-06-12 | 2018-06-12 | Method, system, computer device and storage medium for acquiring virtual resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108804133B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739554A (en) * | 2018-12-14 | 2019-05-10 | 深圳壹账通智能科技有限公司 | Prevent code from repeating submission method, system, computer equipment and storage medium |
CN109901912A (en) * | 2019-03-01 | 2019-06-18 | 厦门容能科技有限公司 | A method of recommending the configuration of cloud host |
CN110852870A (en) * | 2019-11-01 | 2020-02-28 | 腾讯科技(深圳)有限公司 | Virtual resource transfer method, device, equipment and readable storage medium |
CN111124579A (en) * | 2019-12-24 | 2020-05-08 | 北京金山安全软件有限公司 | Special effect rendering method and device, electronic equipment and storage medium |
CN113407180A (en) * | 2021-05-28 | 2021-09-17 | 济南浪潮数据技术有限公司 | Configuration page generation method, system, equipment and medium |
CN113676363A (en) * | 2021-10-22 | 2021-11-19 | 南京赛宁信息技术有限公司 | Network target range flow generation system and method |
WO2022028607A1 (en) * | 2020-08-07 | 2022-02-10 | 北京达佳互联信息技术有限公司 | Virtual resource acquisition method and apparatus |
CN118261137A (en) * | 2024-05-30 | 2024-06-28 | 北京联创高科信息技术有限公司 | Unified management method for water control account data of coal mine |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100199276A1 (en) * | 2009-02-04 | 2010-08-05 | Steven Michael Umbehocker | Methods and Systems for Dynamically Switching Between Communications Protocols |
CN104598570A (en) * | 2015-01-12 | 2015-05-06 | 百度在线网络技术(北京)有限公司 | Resource fetching method and device |
CN105446874A (en) * | 2014-09-25 | 2016-03-30 | 北京畅游天下网络技术有限公司 | Method and device for detecting resource configuration file |
CN105718587A (en) * | 2016-01-26 | 2016-06-29 | 王薇 | Network content resource evaluation method and evaluation system |
CN106293664A (en) * | 2015-05-27 | 2017-01-04 | 交通银行股份有限公司 | Code generating method and device |
CN107145380A (en) * | 2017-03-27 | 2017-09-08 | 华为技术有限公司 | Virtual resource method of combination and device |
CN107220895A (en) * | 2017-05-31 | 2017-09-29 | 腾讯科技(深圳)有限公司 | The transfer numerical statistic method and device of virtual resource |
CN107885889A (en) * | 2017-12-13 | 2018-04-06 | 聚好看科技股份有限公司 | Feedback method, methods of exhibiting and the device of search result |
-
2018
- 2018-06-12 CN CN201810602392.7A patent/CN108804133B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100199276A1 (en) * | 2009-02-04 | 2010-08-05 | Steven Michael Umbehocker | Methods and Systems for Dynamically Switching Between Communications Protocols |
CN105446874A (en) * | 2014-09-25 | 2016-03-30 | 北京畅游天下网络技术有限公司 | Method and device for detecting resource configuration file |
CN104598570A (en) * | 2015-01-12 | 2015-05-06 | 百度在线网络技术(北京)有限公司 | Resource fetching method and device |
CN106293664A (en) * | 2015-05-27 | 2017-01-04 | 交通银行股份有限公司 | Code generating method and device |
CN105718587A (en) * | 2016-01-26 | 2016-06-29 | 王薇 | Network content resource evaluation method and evaluation system |
CN107145380A (en) * | 2017-03-27 | 2017-09-08 | 华为技术有限公司 | Virtual resource method of combination and device |
CN107220895A (en) * | 2017-05-31 | 2017-09-29 | 腾讯科技(深圳)有限公司 | The transfer numerical statistic method and device of virtual resource |
CN107885889A (en) * | 2017-12-13 | 2018-04-06 | 聚好看科技股份有限公司 | Feedback method, methods of exhibiting and the device of search result |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739554A (en) * | 2018-12-14 | 2019-05-10 | 深圳壹账通智能科技有限公司 | Prevent code from repeating submission method, system, computer equipment and storage medium |
CN109901912A (en) * | 2019-03-01 | 2019-06-18 | 厦门容能科技有限公司 | A method of recommending the configuration of cloud host |
CN110852870A (en) * | 2019-11-01 | 2020-02-28 | 腾讯科技(深圳)有限公司 | Virtual resource transfer method, device, equipment and readable storage medium |
CN111124579A (en) * | 2019-12-24 | 2020-05-08 | 北京金山安全软件有限公司 | Special effect rendering method and device, electronic equipment and storage medium |
CN111124579B (en) * | 2019-12-24 | 2023-12-19 | 北京金山安全软件有限公司 | Special effect rendering method and device, electronic equipment and storage medium |
WO2022028607A1 (en) * | 2020-08-07 | 2022-02-10 | 北京达佳互联信息技术有限公司 | Virtual resource acquisition method and apparatus |
CN113407180A (en) * | 2021-05-28 | 2021-09-17 | 济南浪潮数据技术有限公司 | Configuration page generation method, system, equipment and medium |
CN113676363A (en) * | 2021-10-22 | 2021-11-19 | 南京赛宁信息技术有限公司 | Network target range flow generation system and method |
CN113676363B (en) * | 2021-10-22 | 2022-02-18 | 南京赛宁信息技术有限公司 | Network target range flow generation system and method |
CN118261137A (en) * | 2024-05-30 | 2024-06-28 | 北京联创高科信息技术有限公司 | Unified management method for water control account data of coal mine |
Also Published As
Publication number | Publication date |
---|---|
CN108804133B (en) | 2022-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108804133A (en) | Acquisition methods, system, computer equipment and the storage medium of virtual resource | |
CN108874992B (en) | Public opinion analysis method, system, computer equipment and storage medium | |
US11392840B2 (en) | System and method for generating recommendations | |
CN108809718A (en) | Network Access Method, system, computer equipment based on virtual resource and medium | |
CN109783730A (en) | Products Show method, apparatus, computer equipment and storage medium | |
CN109582876B (en) | Tourist industry user portrait construction method and device and computer equipment | |
CN108228873A (en) | Object recommendation, publication content delivery method, device, storage medium and equipment | |
CN109376237A (en) | Prediction technique, device, computer equipment and the storage medium of client's stability | |
CN102360386A (en) | Intelligent shopping guide system and method of electronic commerce website | |
CN110134845A (en) | Project public sentiment monitoring method, device, computer equipment and storage medium | |
CN110233879A (en) | Intelligently pushing interfacial process, device, computer equipment and storage medium | |
CN110109750A (en) | Virtual resource acquisition methods, device, computer equipment and storage medium | |
CN113781149B (en) | Information recommendation method and device, computer readable storage medium and electronic equipment | |
CN107992500A (en) | A kind of information processing method and server | |
CN112417133A (en) | Training method and device of ranking model | |
CN113297287A (en) | User policy automatic deployment method and device and electronic equipment | |
CN116823410B (en) | Data processing method, object processing method, recommending method and computing device | |
CN108470289B (en) | Virtual article issuing method and equipment based on E-commerce shopping platform | |
US20190156373A1 (en) | Machine learning system for configuring social media campaigns | |
CN116089745A (en) | Information recommendation method, device, electronic equipment and computer readable storage medium | |
KR102238438B1 (en) | System for providing commercial product transaction service using price standardization | |
KR20210147572A (en) | Operating method of server for providing media marketing service | |
CN116595191A (en) | Construction method and device of interactive low-code knowledge graph | |
US11966957B2 (en) | Methods and systems for modular personalization center | |
KR101990502B1 (en) | a device and a method for extracting generalized information |
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 |