CN104462341A - Method and device for submitting network entities - Google Patents

Method and device for submitting network entities Download PDF

Info

Publication number
CN104462341A
CN104462341A CN201410735255.2A CN201410735255A CN104462341A CN 104462341 A CN104462341 A CN 104462341A CN 201410735255 A CN201410735255 A CN 201410735255A CN 104462341 A CN104462341 A CN 104462341A
Authority
CN
China
Prior art keywords
network entity
entity
network
submits
committed
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
CN201410735255.2A
Other languages
Chinese (zh)
Other versions
CN104462341B (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 Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410735255.2A priority Critical patent/CN104462341B/en
Publication of CN104462341A publication Critical patent/CN104462341A/en
Application granted granted Critical
Publication of CN104462341B publication Critical patent/CN104462341B/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/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and device for submitting network entities. The method comprises the following steps: determining the network entities to be submitted, wherein the network entities to be submitted include various network entities; obtaining the time lengths for submitting various network entities respectively; calculating the unit submitting time lengths of various network entities; obtaining a minimal value in the unit submitting time lengths of various network entities; determining the number of network entities, corresponding to the minimal value in the unit submitting time lengths, to be the number of submitted target entities; submitting the network entities to be submitted according to the number of submitted target entities. Through the method, the problem of low submitting efficiency of the network entities is solved, and then the effect of improving the submitting efficiency of the network entities is achieved by determining the number of network entities, corresponding to the minimal value in the unit submitting time lengths, to be the number of submitted target entities and submitting the network entities to be submitted according to the number of submitted target entities.

Description

The commit method of network entity and device
Technical field
The present invention relates to internet arena, in particular to a kind of commit method and device of network entity.
Background technology
The amendment of network entity, such as, the amendment of keyword, refers to the amendment to the entity thrown in search engine side.Usually, the network entity after amendment can be submitted to search engine side by the application programming interface (Application Programming Interface, referred to as API) provided by search engine side.Each service provider submitting to the efficiency of amendment to depend on API.
At every turn existing entity amendment commit method carries out entity amendment with fixing entity amendment quantity to submit to, and wherein, fixing entity amendment quantity is generally the higher limit of the physical quantities that API provider provides.Due in different network environments and network access time section, submit to the entity of same quantity to revise, execution efficiency is not identical, and therefore this method can cause the operating efficiency of user indefinite, and execution efficiency is often not high.Meanwhile, when carrying out a large amount of entity amendment submit operations, often can cause the long-time phenomenon without response of development system, this have impact on the execution efficiency that entity amendment is submitted to a great extent.
For the problem that execution efficiency when submitting to network entity in correlation technique is low, at present effective solution is not yet proposed.
Summary of the invention
Fundamental purpose of the present invention is the commit method and the device that provide a kind of network entity, the problem that when submitting to network entity to solve, execution efficiency is low.
To achieve these goals, according to an aspect of the present invention, a kind of commit method of network entity is provided.
Commit method according to network entity of the present invention comprises: determine network entity to be committed, wherein, network entity to be committed is the network entity that quantity changes renewal in time, network entity to be committed comprises polytype network entity, and polytype network entity is the network entity that quantity is different; Obtain the duration submitting polytype network entity to respectively; Duration submitted to by unit according to submitting to the duration of polytype network entity and the quantity of polytype network entity to calculate polytype network entity respectively, and wherein, unit submits to duration to be the duration submitting single network entity to; Obtain the minimum value in the unit submission duration of polytype network entity; Determine that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to; Quantity is submitted to submit network entity to be committed to according to target entity.
Further, determine polytype network entity that network entity to be committed comprises in accordance with the following methods: determine default network entity, wherein, the network entity of default network entity to be quantity be predetermined number threshold value; Dichotomy computing is carried out to predetermined number threshold value, obtains multiple operation result; Obtain the network entity that quantity is multiple operation result respectively; Determine that default network entity and quantity be the network entity of multiple operation result are polytype network entity that network entity to be committed comprises.
Further, after submitting network entity to be committed to according to target entity submission quantity, the method also comprises: the variable parameter of monitoring the network environment residing for network entity to be committed; Judge whether the variable parameter of network environment exceedes default change threshold; If the variable parameter of network environment exceedes default change threshold, then under current network conditions, again obtain target entity submit quantity to; Quantity is submitted to continue to submit network entity to be committed to according to the target entity again obtained.
Further, under current network conditions, again obtain target entity submits to quantity to comprise: obtain multiple history target entity and submit quantity to; Calculate the mean value that multiple history target entity submits quantity to; Multiple reference target entity submits quantity to submit to the mean value of quantity to determine according to multiple history target entity; Quantification is that multiple history target entity submits to the mean value of quantity and quantity to be the multiple network entity that multiple reference target entity submits quantity to respectively; Determine that the target entity that multiple network entity is corresponding submits to quantity to be that the target entity again obtained under current network conditions submits quantity to.
Further, again obtain target entity submission quantity under current network conditions after, the method also comprises: obtain multiple history target entity and submit quantity to; Calculating multiple history target entity submits to quantity and the target entity that again obtains to submit the mean value of quantity to, submits to quantity to continue to submit to network entity to be committed to comprise according to the target entity again obtained: submit to quantity and the target entity that again obtains to submit to the mean value of quantity to submit quantity continuation submission network entity to be committed to for target entity with multiple history target entity.
To achieve these goals, according to a further aspect in the invention, a kind of issuing means of network entity is provided.
Issuing means according to network entity of the present invention comprises: the first determining unit, for determining network entity to be committed, wherein, network entity to be committed is the network entity that quantity changes renewal in time, network entity to be committed comprises polytype network entity, and polytype network entity is the network entity that quantity is different; First acquiring unit, for obtaining the duration submitting polytype network entity to respectively; First computing unit, for submitting duration to according to the unit submitting to the duration of polytype network entity and the quantity of polytype network entity to calculate polytype network entity respectively, wherein, unit submits to duration to be the duration submitting single network entity to; Second acquisition unit, the minimum value in duration submitted to by the unit for obtaining polytype network entity; Second determining unit, for determining that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to; First commit unit, for submitting to quantity to submit network entity to be committed to according to target entity.
Further, according to determining polytype network entity that network entity to be committed comprises with lower module: the first determination module, for determining default network entity, wherein, the network entity of default network entity to be quantity be predetermined number threshold value; Computing module, for carrying out dichotomy computing to predetermined number threshold value, obtains multiple operation result; First acquisition module, for obtaining the network entity that quantity is multiple operation result respectively; Second determination module, for determining that default network entity and quantity be the network entity of multiple operation result are polytype network entity that network entity to be committed comprises.
Further, this device also comprises: monitoring means, for monitoring the variable parameter of the network environment residing for network entity to be committed; Judging unit, for judging whether the variable parameter of network environment exceedes default change threshold; 3rd acquiring unit, for when the variable parameter of network environment exceedes default change threshold, again obtains target entity and submits quantity under current network conditions; Second commit unit, continues to submit network entity to be committed to for submitting quantity to according to the target entity again obtained.
Further, the 3rd acquiring unit comprises: the second acquisition module, submits quantity to for obtaining multiple history target entity; Computing module, submits the mean value of quantity to for calculating multiple history target entity; 3rd determination module, for submitting to the mean value of quantity to determine according to multiple history target entity, multiple reference target entity submits quantity to; 4th determination module is that multiple history target entity submits to the mean value of quantity and quantity to be the multiple network entity that multiple reference target entity submits quantity to for quantification respectively; 5th determination module, for determining that target entity corresponding to multiple network entity submits to quantity to be that the target entity again obtained under current network conditions submits quantity to.
Further, this device also comprises: the 4th acquiring unit, submits quantity to for obtaining multiple history target entity; Second computing unit, for calculate multiple history target entity submit to quantity and again obtain target entity submission quantity mean value, second commit unit, also for submitting to quantity and the target entity that again obtains to submit to the mean value of quantity to be that target entity submits to quantity to continue submission network entity to be committed with multiple history target entity.
Pass through the present invention, adopt the method comprised the following steps: determine network entity to be committed, wherein, network entity to be committed is the network entity that quantity changes renewal in time, network entity to be committed comprises polytype network entity, and polytype network entity is the network entity that quantity is different; Obtain the duration submitting polytype network entity to respectively; Duration submitted to by unit according to submitting to the duration of polytype network entity and the quantity of polytype network entity to calculate polytype network entity respectively, and wherein, unit submits to duration to be the duration submitting single network entity to; Obtain the minimum value in the unit submission duration of polytype network entity; Determine that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to; Quantity is submitted to submit network entity to be committed to according to target entity, solve the problem that execution efficiency when submitting to network entity is low, and then by determining that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to, and submit to quantity to submit network entity to be committed to according to target entity, reach and improve the effect that network entity submits efficiency to.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the embodiment of commit method according to network entity of the present invention;
Fig. 2 submits to duration and entity to submit the schematic diagram of the corresponding relation of quantity to according to unit of the present invention; And
Fig. 3 is the schematic diagram of the embodiment of issuing means according to network entity of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The application's scheme is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the embodiment of the application's part, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all should belong to the scope of the application's protection.
It should be noted that, term " first ", " second " etc. in the instructions of the application and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that the embodiment of the application described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to embodiments of the invention, provide a kind of commit method of network entity.
Fig. 1 is the process flow diagram of the embodiment of commit method according to network entity of the present invention.As shown in Figure 1, the method comprising the steps of S102 is to step S112:
Step S102, determines network entity to be committed, and wherein, network entity to be committed is the network entity that quantity changes renewal in time, and network entity to be committed comprises polytype network entity, and polytype network entity is the network entity that quantity is different.
Network entity to be committed is the network entity changing renewal in time, and such as, what be submitted to search engine side has made the entity of amendment.Due to the continuous renewal of network entity to be committed, network entity to be committed can be submitted in batches according to different quantity.Such as, the entity of having made amendment is submitted to search engine side, can carries out in the mode of the entity submitting the varying numbers such as 5000,2500 or 1000 at every turn.Found by API and search engine interactive testing, in the physical quantities upper limit of regulation, (the physical quantities upper limit refers to that each submission physical quantities that API provider specifies must not more than a value, such as 5000), the entity of each submission varying number, the execution time of submitting unit entity to can not be positively related with submitted to physical quantities, but can there is a most effective value.This is the impact due to factors such as network environment (such as network speed) changes, causes the entity of varying number to submit to efficiency different often.Like this, just needs are determined each most effective to submit to network entity to be committed to submit to great quantity under particular circumstances.
Alternatively, under the conditions such as specific network, site visitor's amount, submission test can be carried out to polytype network entity, detect the entity when each submission quantity is much and submit to most effective.Be described for the entity of having made amendment being submitted to search engine side.Supposing that the quantity of the submission amendment entity that API supplier specifies must not more than 5000, then can be 5000,4500,4000 with quantity respectively ... 1000,500 carry out submission test respectively, obtain the quantitative value submitting to most effective network entity corresponding.Or, also can adopt the modes such as dichotomy computing set for test physical quantities value.It should be noted that, the optional test mode of different network entities is different, can according to the actual demand sets itself of user.The network entity of corresponding varying number can think dissimilar network entity.
Preferably, polytype network entity that network entity to be committed comprises can be determined in accordance with the following methods: determine default network entity, wherein, the network entity of default network entity to be quantity be predetermined number threshold value; Dichotomy computing is carried out to predetermined number threshold value, obtains multiple operation result; Obtain the network entity that quantity is multiple operation result respectively; Determine that default network entity and quantity be the network entity of multiple operation result are polytype network entity that network entity to be committed comprises.
Be described for the entity of having made amendment being submitted to search engine side.Supposing that the quantity of the submission amendment entity that API supplier specifies must not more than 5000, then according to dichotomy, can be 5000,1250,625 to quantity respectively ... network entity carry out submission test.The method is utilized to improve testing efficiency.
Step S104, obtains the duration submitting polytype network entity to respectively.
Be described for the entity of having made amendment being submitted to search engine side.Such as, submission quantity is the duration of the network entity of 5000 is 10 minutes, and submission quantity is the duration of the network entity of 2500 is 2 minutes.It should be noted that, under different network environments, the submission duration of the network entity of equal number there are differences often.
Step S106, duration submitted to by the unit according to submitting to the duration of polytype network entity and the quantity of polytype network entity to calculate polytype network entity respectively, and wherein, unit submits to duration to be the duration submitting single network entity to.
The unit of network entity submits to duration to be submit the ratio between the duration of network entity and the quantity of network entity to.Unit submits to duration shorter, shows that the submission efficiency of the network entity of this type is higher; Unit submits to duration longer, shows that the submission efficiency of the network entity of this type is lower.
Fig. 2 submits to duration and entity to submit the schematic diagram of the corresponding relation of quantity to according to unit of the present invention.As shown in Figure 2, horizontal ordinate is each physical quantities submitted to, and ordinate is execution time (namely duration submitted to by unit).Visible, the unit that the network entity of varying number is corresponding submits to duration to be different.When the physical quantities of each submission is between 6000 to 7000, the submission efficiency of network entity is minimum; When the physical quantities of each submission is 1000 or 12000, the submission efficiency of network entity is higher.
Step S108, obtains the minimum value in the unit submission duration of polytype network entity.
Step S110, determines that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to.
Step S112, submits to quantity to submit network entity to be committed to according to target entity.
Such as, tested by the submission duration of mode to the network entity of varying number of dichotomy computing:
(1) amount detection is the submission duration of the network entity of 5000 for the first time, and the execution time is 15 minutes (900 seconds), average each entity 0.18 second;
(2) second time amount detection is the submission duration of the network entity of 2500, and the execution time is 10 minutes (600 seconds), average each entity 0.24 second;
(3) amount detection is the submission duration of the network entity of 1250 for the third time, and the execution time is 2 minutes (120 seconds), average each entity 0.096 second;
(4) the 4th amount detections are the submission duration of the network entity of 625, and the execution time is 2 minutes (120 seconds), average each entity 0.229 second;
……
Through repeatedly attempting above, judging that average each entity submits to duration to be the scheme (submitting to quantity to be 1250) of 0.096 second is the most effective scheme of submission, therefore to submit to quantity to be 1250 submissions carrying out network entity at every turn.The method can make that user's operate in the quantity dynamically determining the network entity often criticizing submission within the scope of submission transformation that API specifies, makes to submit to efficiency substantially can reach the highest.
After submitting network entity to be committed to according to target entity submission quantity, network environment residing for network entity to be committed is meeting change, the variation of network environment can cause the change submitting efficiency to, therefore can also carry out following steps: the variable parameter of monitoring the network environment residing for network entity to be committed; Judge whether the variable parameter of network environment exceedes default change threshold; If the variable parameter of network environment exceedes default change threshold, then under current network conditions, again obtain target entity submit quantity to; Quantity is submitted to continue to submit network entity to be committed to according to the target entity again obtained.
Default change threshold is the parameter describing change of network environment, such as, and network speed.When the change of network environment parameter exceedes default change threshold, such as, network speed lower than 60Mbps more than 120Mbps or network speed, then needs again to obtain target entity and submits quantity to, to ensure to carry out network entity submission in most effective mode.Here, preset change threshold setting can but be not limited to and set according to the test experience of network test personnel.
Under current network conditions, again obtain target entity submits to quantity to carry out in accordance with the following steps: obtain multiple history target entity and submit quantity to; Calculate the mean value that multiple history target entity submits quantity to; Multiple reference target entity submits quantity to submit to the mean value of quantity to determine according to multiple history target entity; Quantification is that multiple history target entity submits to the mean value of quantity and quantity to be the multiple network entity that multiple reference target entity submits quantity to respectively; Determine that the target entity that multiple network entity is corresponding submits to quantity to be that the target entity again obtained under current network conditions submits quantity to.
Again obtain target entity submission quantity under current network conditions after, following steps can also be carried out: obtain multiple history target entity and submit quantity to; Calculating multiple history target entity submits to quantity and the target entity that again obtains to submit the mean value of quantity to, submits to quantity to continue to submit to network entity to be committed to comprise according to the target entity again obtained: submit to quantity and the target entity that again obtains to submit to the mean value of quantity to submit quantity continuation submission network entity to be committed to for target entity with multiple history target entity.
Particularly, after system has carried out above-mentioned test at every turn, system can have been recorded preferred plan, and through record after a while, system can be averaged as the target entity submission quantity often criticizing entity submission according to account of the history and current test case.Can carry out used time estimation to the operation that user submits to like this, error is very little.
In addition, the method can not be tested at every turn all foregoing, and system can with the mean value of the optimum value of historical record for starting point be tested.Such as: first the average optimum value of the previous moon is that target entity submits to quantity to be 1250, so system can automatically choose 2500,1250 and 625 3 kind of situation re-start test for current network conditions.If the final target entity obtained submit to quantity and recording before similar, then directly can choose target entity and submit to quantity to be 1250 carry out entity submission, to save the time of each test consumption.
This embodiment comprises the method for following steps owing to adopting: determine network entity to be committed, wherein, network entity to be committed is the network entity that quantity changes renewal in time, network entity to be committed comprises polytype network entity, and polytype network entity is the network entity that quantity is different; Obtain the duration submitting polytype network entity to respectively; Duration submitted to by unit according to submitting to the duration of polytype network entity and the quantity of polytype network entity to calculate polytype network entity respectively, and wherein, unit submits to duration to be the duration submitting single network entity to; Obtain the minimum value in the unit submission duration of polytype network entity; Determine that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to; Quantity is submitted to submit network entity to be committed to according to target entity, solve the problem that execution efficiency when submitting to network entity is low, and then by determining that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to, and submit to quantity to submit network entity to be committed to according to target entity, reach and improve the effect that network entity submits efficiency to.
According to embodiments of the invention, provide a kind of issuing means of network entity.It should be noted that, the issuing means of the network entity of the embodiment of the present invention may be used for the commit method performing the network entity that the embodiment of the present invention provides, and the issuing means of the network entity that the commit method of the network entity of the embodiment of the present invention also can be provided by the embodiment of the present invention performs.
Fig. 3 is the schematic diagram of the embodiment of issuing means according to network entity of the present invention.As shown in Figure 3, this device comprises: the first determining unit 10, first acquiring unit 20, computing unit 30, second acquisition unit 40, second determining unit 50 and the first commit unit 60.
First determining unit 10, for determining network entity to be committed, wherein, network entity to be committed is the network entity that quantity changes renewal in time, network entity to be committed comprises polytype network entity, and polytype network entity is the network entity that quantity is different.
Can according to determining polytype network entity that network entity to be committed comprises with lower module: the first determination module, for determining default network entity, wherein, the network entity of default network entity to be quantity be predetermined number threshold value; Computing module, for carrying out dichotomy computing to predetermined number threshold value, obtains multiple operation result; Acquisition module, for obtaining the network entity that quantity is multiple operation result respectively; Second determination module, for determining that default network entity and quantity be the network entity of multiple operation result are polytype network entity that network entity to be committed comprises.
First acquiring unit 20, for obtaining the duration submitting polytype network entity to respectively.
Computing unit 30, for submitting duration to according to the unit submitting to the duration of polytype network entity and the quantity of polytype network entity to calculate polytype network entity respectively, wherein, unit submits to duration to be the duration submitting single network entity to.
Second acquisition unit 40, the minimum value in duration submitted to by the unit for obtaining polytype network entity.
Second determining unit 50, for determining that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to.
First commit unit 60, for submitting to quantity to submit network entity to be committed to according to target entity.
This device can also comprise: monitoring means, for monitoring the variable parameter of the network environment residing for network entity to be committed; Judging unit, for judging whether the variable parameter of network environment exceedes default change threshold; 3rd acquiring unit, for when the variable parameter of network environment exceedes default change threshold, again obtains target entity and submits quantity under current network conditions; Second commit unit, continues to submit network entity to be committed to for submitting quantity to according to the target entity again obtained.
Wherein, the 3rd acquiring unit can also comprise: the second acquisition module, submits quantity to for obtaining multiple history target entity; Computing module, submits the mean value of quantity to for calculating multiple history target entity; 3rd determination module, for submitting to the mean value of quantity to determine according to multiple history target entity, multiple reference target entity submits quantity to; 4th determination module is that multiple history target entity submits to the mean value of quantity and quantity to be the multiple network entity that multiple reference target entity submits quantity to for quantification respectively; 5th determination module, for determining that target entity corresponding to multiple network entity submits to quantity to be that the target entity again obtained under current network conditions submits quantity to.
Alternatively, this device can also comprise: the 4th acquiring unit, submits quantity to for obtaining multiple history target entity; Second computing unit, for calculate multiple history target entity submit to quantity and again obtain target entity submission quantity mean value, second commit unit, also for submitting to quantity and the target entity that again obtains to submit to the mean value of quantity to be that target entity submits to quantity to continue submission network entity to be committed with multiple history target entity.
The issuing means of the network entity that this embodiment provides comprises: the first determining unit 10, first acquiring unit 20, computing unit 30, second acquisition unit 40, second determining unit 50 and the first commit unit 60.By the second determining unit 50, this device determines that unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to, and utilize the first commit unit 60 to submit to quantity to submit network entity to be committed to according to target entity, solve the problem that execution efficiency when submitting to network entity is low, and then reach the effect improving network entity submission efficiency.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a commit method for network entity, is characterized in that, comprising:
Determine network entity to be committed, wherein, described network entity to be committed is the network entity that quantity changes renewal in time, and described network entity to be committed comprises polytype network entity, and described polytype network entity is the network entity that quantity is different;
Obtain the duration submitting described polytype network entity to respectively;
Duration submitted to by unit according to submitting to the duration of described polytype network entity and the quantity of described polytype network entity to calculate described polytype network entity respectively, and wherein, described unit submits to duration to be the duration submitting single network entity to;
Obtain the minimum value in the unit submission duration of described polytype network entity;
Determine that described unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to; And
Quantity is submitted to submit described network entity to be committed to according to described target entity.
2. method according to claim 1, is characterized in that, determines polytype network entity that described network entity to be committed comprises in accordance with the following methods:
Determine default network entity, wherein, the network entity of described default network entity to be quantity be predetermined number threshold value;
Dichotomy computing is carried out to described predetermined number threshold value, obtains multiple operation result;
Obtain the network entity that quantity is described multiple operation result respectively; And
Determine that described default network entity and quantity be the network entity of described multiple operation result are polytype network entity that described network entity to be committed comprises.
3. method according to claim 1, is characterized in that, after submit the described network entity to be committed of quantity submission to according to described target entity, described method also comprises:
Monitor the variable parameter of the network environment residing for described network entity to be committed;
Judge whether the variable parameter of described network environment exceedes default change threshold;
If the variable parameter of described network environment exceedes described default change threshold, then under current network conditions, again obtain described target entity submit quantity to; And
Quantity is submitted to continue to submit described network entity to be committed to according to the target entity again obtained.
4. method according to claim 3, is characterized in that, again obtains described target entity and submit to quantity to comprise under current network conditions:
Obtain multiple history target entity and submit quantity to;
Calculate the mean value that described multiple history target entity submits quantity to;
Multiple reference target entity submits quantity to submit to the mean value of quantity to determine according to described multiple history target entity;
Quantification is that described multiple history target entity submits to the mean value of quantity and quantity to be the multiple network entity that described multiple reference target entity submits quantity to respectively; And
Determine that the target entity that described multiple network entity is corresponding submits to quantity to be that the target entity again obtained under current network conditions submits quantity to.
5. method according to claim 3, is characterized in that,
Again, obtain described target entity submission quantity under current network conditions after, described method also comprises:
Obtain multiple history target entity and submit quantity to;
Calculating described multiple history target entity submits to quantity and the described target entity again obtained to submit the mean value of quantity to,
Quantity is submitted to continue to submit to described network entity to be committed to comprise according to the target entity again obtained: to submit to quantity and the described target entity again obtained to submit to the mean value of quantity to be that described target entity submits to quantity to continue to submit described network entity to be committed to described multiple history target entity.
6. an issuing means for network entity, is characterized in that, comprising:
First determining unit, for determining network entity to be committed, wherein, described network entity to be committed is the network entity that quantity changes renewal in time, described network entity to be committed comprises polytype network entity, and described polytype network entity is the network entity that quantity is different;
First acquiring unit, for obtaining the duration submitting described polytype network entity to respectively;
First computing unit, for submitting duration to according to the unit submitting to the duration of described polytype network entity and the quantity of described polytype network entity to calculate described polytype network entity respectively, wherein, described unit submits to duration to be the duration submitting single network entity to;
Second acquisition unit, the minimum value in duration submitted to by the unit for obtaining described polytype network entity;
Second determining unit, for determining that described unit submits to the quantity of network entity corresponding to the minimum value in duration to be that target entity submits quantity to; And
First commit unit, for submitting to quantity to submit described network entity to be committed to according to described target entity.
7. device according to claim 6, is characterized in that, according to determining polytype network entity that described network entity to be committed comprises with lower module:
First determination module, for determining default network entity, wherein, the network entity of described default network entity to be quantity be predetermined number threshold value;
Computing module, for carrying out dichotomy computing to described predetermined number threshold value, obtains multiple operation result;
First acquisition module, for obtaining the network entity that quantity is described multiple operation result respectively; And
Second determination module, for determining that described default network entity and quantity be the network entity of described multiple operation result are polytype network entity that described network entity to be committed comprises.
8. device according to claim 6, is characterized in that, described device also comprises:
Monitoring means, for monitoring the variable parameter of the network environment residing for described network entity to be committed;
Judging unit, for judging whether the variable parameter of described network environment exceedes default change threshold;
3rd acquiring unit, for when the variable parameter of described network environment exceedes described default change threshold, again obtains described target entity and submits quantity under current network conditions; And
Second commit unit, continues to submit described network entity to be committed to for submitting quantity to according to the target entity again obtained.
9. device according to claim 8, is characterized in that, described 3rd acquiring unit comprises:
Second acquisition module, submits quantity to for obtaining multiple history target entity;
Computing module, submits the mean value of quantity to for calculating described multiple history target entity;
3rd determination module, for submitting to the mean value of quantity to determine according to described multiple history target entity, multiple reference target entity submits quantity to;
4th determination module is that described multiple history target entity submits to the mean value of quantity and quantity to be the multiple network entity that described multiple reference target entity submits quantity to for quantification respectively; And
5th determination module, for determining that target entity corresponding to described multiple network entity submits to quantity to be that the target entity again obtained under current network conditions submits quantity to.
10. device according to claim 8, is characterized in that,
Described device also comprises: the 4th acquiring unit, submits quantity to for obtaining multiple history target entity; And second computing unit, submit to quantity and the described target entity again obtained to submit the mean value of quantity to for calculating described multiple history target entity,
Described second commit unit, also for submitting to quantity and the described target entity again obtained to submit to the mean value of quantity to be that described target entity submits to quantity to continue to submit described network entity to be committed to described multiple history target entity.
CN201410735255.2A 2014-12-04 2014-12-04 The submission method and device of network entity Active CN104462341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410735255.2A CN104462341B (en) 2014-12-04 2014-12-04 The submission method and device of network entity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410735255.2A CN104462341B (en) 2014-12-04 2014-12-04 The submission method and device of network entity

Publications (2)

Publication Number Publication Date
CN104462341A true CN104462341A (en) 2015-03-25
CN104462341B CN104462341B (en) 2017-11-21

Family

ID=52908376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410735255.2A Active CN104462341B (en) 2014-12-04 2014-12-04 The submission method and device of network entity

Country Status (1)

Country Link
CN (1) CN104462341B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090070194A1 (en) * 2007-09-06 2009-03-12 Nhn Corporation Method of providing estimated cost for keyword advertisement
CN101877699A (en) * 2009-11-30 2010-11-03 英业达股份有限公司 Device for testing efficiency of server and method for determining amount of virtual clients
CN102708496A (en) * 2012-01-09 2012-10-03 合一网络技术(北京)有限公司 Adaptive video advertisement release method and device
CN103179171A (en) * 2011-12-26 2013-06-26 中国移动通信集团山东有限公司 File transmission method and device based on distribution type system framework
CN103678679A (en) * 2013-12-25 2014-03-26 北京奇虎科技有限公司 Method and device for releasing website information
US8803882B2 (en) * 2008-06-06 2014-08-12 Microsoft Corporation Identifying on a graphical depiction candidate points and top-moving queries

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090070194A1 (en) * 2007-09-06 2009-03-12 Nhn Corporation Method of providing estimated cost for keyword advertisement
US8803882B2 (en) * 2008-06-06 2014-08-12 Microsoft Corporation Identifying on a graphical depiction candidate points and top-moving queries
CN101877699A (en) * 2009-11-30 2010-11-03 英业达股份有限公司 Device for testing efficiency of server and method for determining amount of virtual clients
CN103179171A (en) * 2011-12-26 2013-06-26 中国移动通信集团山东有限公司 File transmission method and device based on distribution type system framework
CN102708496A (en) * 2012-01-09 2012-10-03 合一网络技术(北京)有限公司 Adaptive video advertisement release method and device
CN103678679A (en) * 2013-12-25 2014-03-26 北京奇虎科技有限公司 Method and device for releasing website information

Also Published As

Publication number Publication date
CN104462341B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
RU2628127C2 (en) Method and device for identification of user behavior
US10379830B2 (en) Context-based analytical engine for extending application functionality
US20190026344A1 (en) Application Recommending Method and System, and Server
US20150377935A1 (en) Signal identification methods and systems
CN104021019A (en) Application self-staring control method, terminal and server
CN103959242A (en) Methods and systems for planning execution of an application in a cloud computing system
CN104780185A (en) Information sharing control method and device
CN111222553B (en) Training data processing method and device of machine learning model and computer equipment
CN104883585A (en) Method for displaying media data, equipment and system thereof
CN105704487A (en) Television stability testing method and device
CN105813172A (en) LTE slave mode network search method and system
CN104866526A (en) Intelligent terminal and method for recommending applications thereof
CN104378406A (en) Information push method and device
CN104954528A (en) Detection method and apparatus of electricity consumption information of terminal equipment
US10473702B2 (en) Estimating operation state of individual load
CN112583617B (en) Fault determination method, server, control terminal and storage medium
CN106682054B (en) Terminal application recommendation method, device and system
CN110162361B (en) Intelligent prompting method and device based on user behavior, terminal and storage medium
CN104462341A (en) Method and device for submitting network entities
CN103577290A (en) Test script playback rhythm control method and system
CN110909036A (en) Functional module recommendation method and device
CN104506579A (en) Method and device for downloading network data
KR101653720B1 (en) Home Appliance Identification Method based on Real Time Power Consumption Analysis
CN114327693A (en) AB experiment method and system, terminal device and storage medium
KR101377704B1 (en) Hacking preventing method on communication terminal, and communication terminal thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for submitting network entities

Effective date of registration: 20190531

Granted publication date: 20171121

Pledgee: Shenzhen Black Horse World Investment Consulting Co.,Ltd.

Pledgor: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Registration number: 2019990000503

PE01 Entry into force of the registration of the contract for pledge of patent right
CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
PP01 Preservation of patent right

Effective date of registration: 20240604

Granted publication date: 20171121