CN107506380B - A kind of method and server updating business data - Google Patents
A kind of method and server updating business data Download PDFInfo
- Publication number
- CN107506380B CN107506380B CN201710599910.XA CN201710599910A CN107506380B CN 107506380 B CN107506380 B CN 107506380B CN 201710599910 A CN201710599910 A CN 201710599910A CN 107506380 B CN107506380 B CN 107506380B
- Authority
- CN
- China
- Prior art keywords
- enterprise
- business
- type
- data
- mark
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
Abstract
The embodiment of the present invention provide it is a kind of update business data method and server, which comprises obtain the mark of enterprise and in preset period of time the enterprise accessed number;According to the mark and the first preset rules, the type of business belonging to the enterprise is obtained;According to the accessed number and the second preset rules, the corresponding candidate enterprise's set of each type of business is obtained;First object enterprise set is obtained according to candidate enterprise's set, and updates the data of the first object enterprise set.The server executes the above method.The method and server provided in an embodiment of the present invention for updating business data, can obtain in time the business data of update, and make the business data of the update got more targeted.
Description
Technical field
The present embodiments relate to business data update method fields, and in particular to it is a kind of update business data method and
Server.
Background technique
In business survey, it is often necessary to the business data to timely update.
The number of the enterprise in the whole nation is about 100,000,000 2 thousand ten thousand or so, and in the prior art, when update successively presses enterprise name or institute
Locate zone sequence and obtains the business data updated.The problem of this update mode, is, for general company, without so strong
Processing capacity is updated, i.e., can not handle the business data of the update of about 100,000,000 2 thousand ten thousand enterprises within a very short time, and it is practical
On can only handle daily millions of (such as 3,000,000) enterprises, family update business data, and substantially according to title or area
The business data of the sequential update enterprise in domain, in this way, a Ge Quan enterprise update cycle needs wheat harvesting period or so, so user passes through
The business data of the update of enterprise required for cannot often obtaining in time.
Therefore, how the business data of update is got in time, and make the business data of the update got more
Targetedly, becoming need solve the problems, such as.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the present invention provides a kind of method and service for updating business data
Device.
In a first aspect, the embodiment of the present invention provides a kind of method for updating business data, which comprises
Obtain enterprise mark and in preset period of time the enterprise accessed number;
According to the mark and the first preset rules, the type of business belonging to the enterprise is obtained;
According to the accessed number and the second preset rules, the corresponding candidate enterprise's set of each type of business is obtained;
First object enterprise set is obtained according to candidate enterprise's set, and updates the first object enterprise set
Data.
Second aspect, the embodiment of the present invention provide a kind of server for updating business data, and the server includes:
First obtain module, for obtain the mark of enterprise and in preset period of time the enterprise accessed number;
Second obtains module, for obtaining enterprise-class belonging to the enterprise according to the mark and the first preset rules
Type;
Third obtains module, for obtaining each type of business pair according to the accessed number and the second preset rules
The candidate enterprise set answered;
Update module for obtaining first object enterprise set according to candidate enterprise's set, and updates described first
The data of Target Enterprise set.
The third aspect, the embodiment of the present invention provide another server for updating business data, comprising: processor, storage
Device and bus, wherein
The processor and the memory complete mutual communication by the bus;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to
Order is able to carry out following method:
Obtain enterprise mark and in preset period of time the enterprise accessed number;
According to the mark and the first preset rules, the type of business belonging to the enterprise is obtained;
According to the accessed number and the second preset rules, the corresponding candidate enterprise's set of each type of business is obtained;
First object enterprise set is obtained according to candidate enterprise's set, and updates the first object enterprise set
Data.
Fourth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, comprising:
The non-transient computer readable storage medium stores computer instruction, and the computer instruction makes the computer
Execute following method:
Obtain enterprise mark and in preset period of time the enterprise accessed number;
According to the mark and the first preset rules, the type of business belonging to the enterprise is obtained;
According to the accessed number and the second preset rules, the corresponding candidate enterprise's set of each type of business is obtained;
First object enterprise set is obtained according to candidate enterprise's set, and updates the first object enterprise set
Data.
The method and server provided in an embodiment of the present invention for updating business data, can obtain more new firms number in time
According to, and make the business data of the update got more targeted.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention updates business data;
Fig. 2 is the server architecture schematic diagram that the embodiment of the present invention updates business data;
Fig. 3 is server entity structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention updates business data, as shown in Figure 1, the embodiment of the present invention
A kind of method of the update business data provided, comprising the following steps:
S1: obtain the mark of enterprise and in preset period of time the enterprise accessed number.
Specifically, server obtain enterprise mark and in preset period of time the enterprise accessed number.Enterprise
Mark may include enterprise name, ID etc., and enterprise name can also include type keyword, and type keyword can characterize difference
The enterprise of type, the type of business can be divided into company's type (first type of business) i.e.: (company is corresponding with " company " for enterprise name
In first kind keyword) printed words;Type (second type of business) is i.e. in partnership: enterprise name with (corresponding in partnership " in partnership "
Second Type keyword) printed words and do not include first kind keyword (company);Other types (the third type of business), it may be assumed that enterprise
Industry title does not all include company's (first kind keyword) printed words or in partnership (Second Type keyword) printed words, the third type of business
It may include self-employed worker's type etc..Whole nation corporate records quantity about 1.2 hundred million at present, wherein company's type accounts for about 25%, looks forward in partnership
For industry less than 1%, self-employed worker accounts for about 70%.Through counting, the quantity of user access company and partnership business's details, which is far longer than, is checked
The quantity of remaining type, and also have nothing in common with each other to the access of the data dimension of each enterprise.So answering emphasis more new company and conjunction
The high data dimension of the access frequency of partner enterprise, while reducing the renewal frequency of other types enterprise.Preset period of time can basis
Actual conditions are independently arranged, and can choose a upper month for current month, but are not especially limited.It can be obtained from server
The enterprise details page url in month access log is taken, corresponding enterprise name, ID (mark of enterprise) are recorded, and
Counted accessed number of each enterprise in a upper month.
S2: according to the mark and the first preset rules, the type of business belonging to the enterprise is obtained.
Specifically, server obtains the type of business belonging to the enterprise according to the mark and the first preset rules.Mark
Knowledge may include type keyword, will include first kind keyword if being identified as first kind keyword (company)
The corresponding type of business of mark as first type of business belonging to enterprise (company's type).If being identified as Second Type pass
Key word (in partnership), and do not include first kind keyword (company), then it will include Second Type keyword, and do not include first
The corresponding type of business of mark of type keyword is as second type of business (type in partnership) belonging to the enterprise.If will
The corresponding type of business of mark not comprising first kind keyword or Second Type keyword is as belonging to the enterprise the
Three types of business (other types of business in addition to company's type and in partnership type).
S3: according to the accessed number and the second preset rules, the corresponding candidate enterprise's collection of each type of business is obtained
It closes.
Specifically, it is corresponding to obtain each type of business according to the accessed number and the second preset rules for server
Candidate enterprise's set.Accessed number is more than or equal to the enterprise of first type of business of the first preset times as the first candidate
Enterprise's set, the first preset times can be independently arranged according to the actual situation, be illustrated below (the first preset times f1=
20): there are A, B, C in the enterprise of first type of business, and corresponding accessed number is 25,22,19, then the first candidate enterprise
Collection is combined into { A, B }.Accessed number is more than or equal to the enterprise of second type of business of the second preset times as the second candidate
Enterprise's set, wherein the second preset times can independently be set according to the actual situation less than the first preset times, the second preset times
Set, be illustrated below (the second preset times f2=14): there are D, E, F, corresponding quilt in the enterprise of second type of business
Access times are 21,13,8, then second candidate enterprise's collection is combined into { D }.Accessed number is more than or equal to third preset times
The enterprise of the third type of business gathers as third candidate enterprise, wherein third preset times are less than the first preset times or small
In the second preset times, third preset times can be independently arranged according to the actual situation, be illustrated below (third preset times
F3=12): there are G, H in the enterprise of the third type of business, and corresponding accessed number is 16,9, then third candidate enterprise collects
It is combined into { G }.It should be understood that the determination of the first preset times f1 can be according to following methods: first obtaining first type of business
Number of the enterprise the first preset times are determined according to the number of the enterprise of first type of business and the first preset ratio, wherein
One preset ratio can be independently arranged according to the actual situation, be chosen as 0.2, be illustrated below: the enterprise of first type of business
Quantity is 100, then the first preset times f1 is determined as 20 (100*0.2);According to the second preset ratio and the first preset times,
Determine the second preset times f2, wherein the second preset ratio can be independently arranged according to the actual situation, be chosen as 0.7, illustrate
Bright as follows: the first preset times f1 is determined as 20, and the second preset ratio is selected as 0.7, then the second preset times f2 is determined as 14
(0.7*f1).According to third preset ratio and the first preset times, third preset times are determined, wherein third preset ratio can
With autonomous setting according to the actual situation, be chosen as 0.5, be illustrated below: the first preset times f1 is determined as 20, and third is default
Ratio is selected as 0.5, then third preset times f3 is determined as 10 (0.5*f1).
S4: first object enterprise set is obtained according to candidate enterprise's set, and updates the first object enterprise collection
The data of conjunction.
Gather specifically, server obtains first object enterprise according to candidate enterprise's set, and updates described first
The data of Target Enterprise set.First object enterprise set may include first above-mentioned candidate enterprise's set, the second candidate enterprise
Industry set and third candidate enterprise set, it may be assumed that first object enterprise set CP1 is { A, B, D, G }, is gathered first object enterprise
Data be updated, to obtain newest business data.
The method provided in an embodiment of the present invention for updating business data, can obtain in time the business data of update, and make
The business data for the update that must be got is more targeted.
On the basis of the above embodiments, the mark includes type keyword;Correspondingly, it is described according to it is described mark and
First preset rules obtain the type of business belonging to the enterprise, comprising:
It will include the corresponding enterprise of mark of the first kind keyword if described be identified as first kind keyword
Industry type is as first type of business belonging to the enterprise.
If specifically, server judgement know it is described be identified as first kind keyword, will include the first kind
The corresponding type of business of mark of type keyword is as first type of business belonging to the enterprise.It can refer to above-described embodiment,
It repeats no more.
It then will include described if described be identified as Second Type keyword, and does not include the first kind keyword
Second Type keyword, and do not include the corresponding type of business of mark of the first kind keyword as belonging to the enterprise
Second type of business.
If specifically, server judgement know it is described be identified as Second Type keyword, and do not include the first kind
Keyword then will include the Second Type keyword, and not include the corresponding enterprise of mark of the first kind keyword
Industry type is as second type of business belonging to the enterprise.It can refer to above-described embodiment, repeat no more.
The corresponding type of business of mark for not including the first kind keyword or the Second Type keyword is made
For the third type of business belonging to the enterprise.
Specifically, server is corresponding by the mark for not including the first kind keyword or the Second Type keyword
The type of business as the third type of business belonging to the enterprise.It can refer to above-described embodiment, repeat no more.
The method provided in an embodiment of the present invention for updating business data, can reasonably get enterprise-class belonging to enterprise
Type can targetedly distinguish the type of business.
On the basis of the above embodiments, described according to the accessed number and the second preset rules, obtain each enterprise
The corresponding candidate enterprise's set of industry type, comprising:
Accessed number is more than or equal to the enterprise of first type of business of the first preset times as the first candidate enterprise
Set.
Specifically, server using accessed number be more than or equal to the first preset times first type of business enterprise as
First candidate enterprise's set.It can refer to above-described embodiment, repeat no more.
Accessed number is more than or equal to the enterprise of second type of business of the second preset times as the second candidate enterprise
Set, wherein second preset times are less than first preset times.
Specifically, server using accessed number be more than or equal to the second preset times second type of business enterprise as
Second candidate enterprise's set, wherein second preset times are less than first preset times.It can refer to above-described embodiment,
It repeats no more.
Accessed number is more than or equal to the enterprise of the third type of business of third preset times as third candidate enterprise
Set, wherein the third preset times are less than first preset times or are less than second preset times.
Specifically, server using accessed number be more than or equal to third preset times the third type of business enterprise as
Third candidate enterprise set, wherein the third preset times, which are less than first preset times or are less than described second, to be preset
Number.It can refer to above-described embodiment, repeat no more.
The method provided in an embodiment of the present invention for updating business data, by obtaining the corresponding candidate enterprise of each type of business
Industry set is further able to obtain the business data updated in time, and the business data of the update got is more directed to
Property.
On the basis of the above embodiments, the method also includes:
Obtain the number of the enterprise of first type of business.
Specifically, server obtains the number of the enterprise of first type of business.It can refer to above-described embodiment, repeat no more.
According to the number of the enterprise and the first preset ratio of first type of business, first preset times are determined.
Specifically, number of the enterprise and first preset ratio of the server according to first type of business, determine described
One preset times.It can refer to above-described embodiment, repeat no more.
According to the second preset ratio and first preset times, second preset times are determined.
Specifically, server determines second preset times according to the second preset ratio and first preset times.
It can refer to above-described embodiment, repeat no more.
According to the third preset ratio and first preset times, the third preset times are determined.
Specifically, server according to the third preset ratio and first preset times, determines that the third is default
Number.It can refer to above-described embodiment, repeat no more.
The method provided in an embodiment of the present invention for updating business data is more closed by reasonably determining each preset times
Rationally obtain the business data of update.
On the basis of the above embodiments, described that first object enterprise set is obtained according to candidate enterprise's set, and
After the step of updating the data of the first object enterprise set, the method also includes:
The enterprise that accessed number is calculated separately less than the corresponding each type of business of each preset times gathers.
Specifically, server calculates separately the enterprise that accessed number is less than the corresponding each type of business of each preset times
Industry set.It is illustrated referring to above-described embodiment as follows: for first type of business (the first preset times f1=20): the
There are A, B, C in the enterprise of one type of business, and corresponding accessed number is 25,22,19, then the enterprise of first type of business
Collection is combined into { C }.For second type of business (the second preset times f2=14): there are D, E, F in the enterprise of second type of business, point
Not corresponding accessed number is 21,13,8, then enterprise's collection of second type of business is combined into { E, F }.For the third type of business
(third preset times f3=12): there are G, H in the enterprise of the third type of business, and corresponding accessed number is 16,9, then
Enterprise's collection of the third type of business is combined into { H }.
The second Target Enterprise is used as by enterprise's collective combinations of each type of business, and by enterprise's set after combination
Set.
Specifically, server collects cooperation by enterprise's collective combinations of each type of business, and by the enterprise after combination
For the second Target Enterprise set.It is illustrated referring to above-described embodiment as follows: enterprise's set (the second target enterprise after combination
Industry set) CP2 be { C, E, F, H }.
Update the data of the second Target Enterprise set.
Specifically, the data of the second Target Enterprise set described in server update.To enterprise's set (the after said combination
Two Target Enterprise set) { C, E, F, H } progress data update.
The method provided in an embodiment of the present invention for updating business data, by updating the data of the second Target Enterprise set,
The business data updated comprehensively can be obtained.
On the basis of the above embodiments, the mark further includes enterprise name;Correspondingly, the method also includes:
Using the enterprise of not visited mistakes all in the preset period of time as third Target Enterprise set.
Specifically, server is using the enterprise of not visited mistakes all in the preset period of time as third Target Enterprise collection
It closes.Be illustrated below: the enterprise of not visited mistake is { I, J, K, L, M, N } in a upper month (preset period of time), then will
{ I, J, K, L, M, N } is used as third Target Enterprise set CP3.
According to the sequence of the enterprise name of the third Target Enterprise set, the number of the third Target Enterprise set is updated
According to.
Specifically, sequence of the server according to the enterprise name of the third Target Enterprise set, updates the third mesh
Mark the data of enterprise's set.It can be according to the sequence of the corresponding first letter of pinyin of enterprise name, to third Target Enterprise set
Data are orderly updated.
The method provided in an embodiment of the present invention for updating business data, by updating the data of third Target Enterprise set,
It is further able to obtain the business data updated comprehensively.
On the basis of the above embodiments, the method also includes:
The data of first object enterprise set, the second Target Enterprise set are updated in the first predetermined period
The partial data of partial data and the third Target Enterprise set, to complete whole enterprises of the first object enterprise set
The update of data.
Specifically, if server judgement is informed in the number for updating the first object enterprise set in the first predetermined period
According to, the partial data of the partial data of the second Target Enterprise set and the third Target Enterprise set, described in completing
The update of whole business data of first object enterprise set.First predetermined period can be above-mentioned preset period of time (upper one month
Part) the first week of later current month, can independently it be arranged, but be not especially limited.Second Target Enterprise set
Partial data, which can according to need, selects a part therein as partial data, in order to guarantee subsequent each week processing data
The equilibrium of quantity can choose 50% part as the second Target Enterprise set in the second Target Enterprise collective data total amount
Data.Similarly, the partial data of third Target Enterprise set also can choose in third Target Enterprise collective data total amount
50% partial data as third Target Enterprise set.
It repeats to update the data of the first object enterprise set in next first predetermined period, then updates described the
Another part data of another part data of two Target Enterprise set and the third Target Enterprise set, to complete described
The update of whole business data of two Target Enterprise set.
Specifically, server judgement, which is informed in next first predetermined period, repeats to update the first object enterprise collection
The data of conjunction, then update the second Target Enterprise set another part data and the third Target Enterprise set it is another
Partial data, to complete the update of whole business data of the second Target Enterprise set.Next first predetermined period can
Be interpreted as above-mentioned current month the first week after the second week, due to first object enterprise set data phase
It to important, therefore also to repeat to update again, another part number in the second Target Enterprise set can also be selected as needed
According to (partial data corresponding to above-mentioned second Target Enterprise set), can choose another in the second Target Enterprise collective data total amount
Another part data of outer 50% as the second Target Enterprise set.Similarly, the partial data of third Target Enterprise set
It can choose 50% another part number as third Target Enterprise set other in third Target Enterprise collective data total amount
According to third week and the process for carrying out repeating above first week and the second week the 4th week.To next month
Part when, re-execute obtain enterprise mark and in preset period of time the enterprise accessed number into above-described embodiment
The step of explaining.By above method, a middle of the month, the business data accessed by high frequency can be updated weekly,
The some enterprises accessed by middle low frequency and not visited some business data can be also updated simultaneously, substantially update one every two weeks
The secondary business data accessed by middle low frequency, and not visited business data may only then update weekly a part, if this month, is not
Update finishes, then next month continues to update.
The method provided in an embodiment of the present invention for updating business data obtains business data with updating by repeating, not only
It can guarantee the real-time that important business data obtains, and can also ensure that secondary business data obtains comprehensive, realize
The balance that various types of business data update, highly shortened the update cycle.
Fig. 2 is the server architecture schematic diagram that the embodiment of the present invention updates business data, as shown in Fig. 2, the present invention is implemented
Example provides a kind of server for updating business data, including first obtains the acquisition of module 1, second module 2, third obtains module
3 and update module 4, in which:
First acquisition module 1 be used for obtain enterprise mark and in preset period of time the enterprise accessed number;The
Two, which obtain module 2, is used to obtain the type of business belonging to the enterprise according to the mark and the first preset rules;Third obtains
Module 3 is used to obtain the corresponding candidate enterprise's set of each type of business according to the accessed number and the second preset rules;
Update module 4 is used to obtain first object enterprise set according to candidate enterprise's set, and updates the first object enterprise
The data of set.
Specifically, the first acquisition module 1 be used to obtain the mark of enterprise and in preset period of time the enterprise it is accessed
Number;Second, which obtains module 2, is used to obtain the type of business belonging to the enterprise according to the mark and the first preset rules;
Third obtains module 3 and is used to obtain the corresponding candidate of each type of business according to the accessed number and the second preset rules
Enterprise's set;Update module 4 is used to obtain first object enterprise set according to candidate enterprise's set, and updates described first
The data of Target Enterprise set.
The server provided in an embodiment of the present invention for updating business data, can obtain the business data of update in time, and
So that the business data of the update got is more targeted.
The service implement body provided in an embodiment of the present invention for updating business data, which can be used for executing above-mentioned each method, to be implemented
The process flow of example, details are not described herein for function, is referred to the detailed description of above method embodiment.
Fig. 3 is server entity structural schematic diagram provided in an embodiment of the present invention, as shown in figure 3, the server includes:
Processor (processor) 301, memory (memory) 302 and bus 303;
Wherein, the processor 301, memory 302 complete mutual communication by bus 303;
The processor 301 is used to call the program instruction in the memory 302, to execute above-mentioned each method embodiment
Provided method, for example, obtain the mark of enterprise and in preset period of time the enterprise accessed number;According to institute
Mark and the first preset rules are stated, the type of business belonging to the enterprise is obtained;It is default according to the accessed number and second
Rule obtains the corresponding candidate enterprise's set of each type of business;First object enterprise is obtained according to candidate enterprise's set
Set, and update the data of the first object enterprise set.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating
Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated
Machine execute when, computer is able to carry out method provided by above-mentioned each method embodiment, for example, obtain enterprise mark and
The accessed number of the enterprise in preset period of time;According to the mark and the first preset rules, obtain belonging to the enterprise
The type of business;According to the accessed number and the second preset rules, the corresponding candidate enterprise's collection of each type of business is obtained
It closes;First object enterprise set is obtained according to candidate enterprise's set, and updates the data of the first object enterprise set.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium
Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example
Such as include: obtain enterprise mark and in preset period of time the enterprise accessed number;It is pre- according to the mark and first
If regular, the type of business belonging to the enterprise is obtained;According to the accessed number and the second preset rules, each enterprise is obtained
The corresponding candidate enterprise's set of industry type;First object enterprise set is obtained according to candidate enterprise's set, and described in update
The data of first object enterprise set.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
The embodiments such as server described above are only schematical, wherein described single as illustrated by the separation member
Member may or may not be physically separated, and component shown as a unit may or may not be physics
Unit, it can it is in one place, or may be distributed over multiple network units.It can select according to the actual needs
Some or all of the modules therein achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creation
In the case where the labour of property, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right
It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field
Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part
Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution
The range of each embodiment technical solution of the embodiment of the present invention.
Claims (5)
1. a kind of method for updating business data characterized by comprising
Obtain enterprise mark and in preset period of time the enterprise accessed number;
According to the mark and the first preset rules, the type of business belonging to the enterprise is obtained;
According to the accessed number and the second preset rules, the corresponding candidate enterprise's set of each type of business is obtained;
First object enterprise set is obtained according to candidate enterprise's set, and updates the number of the first object enterprise set
According to;
The mark includes type keyword;Correspondingly, it is described according to the mark and the first preset rules, obtain the enterprise
The affiliated type of business, comprising:
It will include the corresponding enterprise-class of mark of the first kind keyword if described be identified as first kind keyword
Type is as first type of business belonging to the enterprise;
It then will include described second if described be identified as Second Type keyword, and does not include the first kind keyword
Type keyword, and do not include the corresponding type of business of mark of the first kind keyword as belonging to the enterprise the
Two types of business;
The mark of the first kind keyword will not included and do not include the corresponding enterprise of mark of the Second Type keyword
Industry type is as the third type of business belonging to the enterprise;
It is described to obtain the corresponding candidate enterprise's set of each type of business according to the accessed number and the second preset rules,
Include:
Accessed number is more than or equal to the enterprise of first type of business of the first preset times as first candidate enterprise's set;
The enterprise that accessed number is more than or equal to second type of business of the second preset times is gathered as the second candidate enterprise,
Wherein, second preset times are less than first preset times;
The enterprise that accessed number is more than or equal to the third type of business of third preset times is gathered as third candidate enterprise,
Wherein, the third preset times are less than first preset times or are less than second preset times;
First object enterprise set includes described first candidate enterprise's set, second candidate enterprise's set and described the
Three candidate enterprise's set;
It is described that first object enterprise set is obtained according to candidate enterprise's set, and update the first object enterprise set
After the step of data, the method also includes:
Accessed number is calculated separately greater than zero, and the enterprise for being less than the corresponding each type of business of each preset times gathers;
The second Target Enterprise collection is used as by enterprise's collective combinations of each type of business, and by enterprise's set after combination
It closes;
Update the data of the second Target Enterprise set;
The mark further includes enterprise name;Correspondingly, the method also includes:
Using the enterprise of not visited mistakes all in the preset period of time as third Target Enterprise set;
According to the sequence of the enterprise name of the third Target Enterprise set, the data of the third Target Enterprise set are updated;
The method also includes:
The data of the first object enterprise set, the part of the second Target Enterprise set are updated in the first predetermined period
The partial data of data and the third Target Enterprise set, to complete whole business data of the first object enterprise set
Update;
It repeats to update the data that the first object enterprise gathers in next first predetermined period, then updates second mesh
Another part data of enterprise's set and another part data of the third Target Enterprise set are marked, to complete second mesh
Mark the update of whole business data of enterprise's set.
2. the method according to claim 1, wherein the method also includes:
Obtain the number of the enterprise of first type of business;
According to the number of the enterprise and the first preset ratio of first type of business, first preset times are determined;
According to the second preset ratio and first preset times, second preset times are determined;
According to third preset ratio and first preset times, the third preset times are determined.
3. a kind of server for updating business data characterized by comprising
First obtain module, for obtain the mark of enterprise and in preset period of time the enterprise accessed number;
Second obtains module, for obtaining the type of business belonging to the enterprise according to the mark and the first preset rules;
Third obtains module, for it is corresponding to obtain each type of business according to the accessed number and the second preset rules
Candidate enterprise's set;
Update module for obtaining first object enterprise set according to candidate enterprise's set, and updates the first object
The data of enterprise's set;
The mark includes type keyword;Correspondingly, the second acquisition module is specifically used for:
It will include the corresponding enterprise-class of mark of the first kind keyword if described be identified as first kind keyword
Type is as first type of business belonging to the enterprise;
It then will include described second if described be identified as Second Type keyword, and does not include the first kind keyword
Type keyword, and do not include the corresponding type of business of mark of the first kind keyword as belonging to the enterprise the
Two types of business;
The mark of the first kind keyword will not included and do not include the corresponding enterprise of mark of the Second Type keyword
Industry type is as the third type of business belonging to the enterprise;
The third obtains module and is specifically used for:
Accessed number is more than or equal to the enterprise of first type of business of the first preset times as first candidate enterprise's set;
The enterprise that accessed number is more than or equal to second type of business of the second preset times is gathered as the second candidate enterprise,
Wherein, second preset times are less than first preset times;
The enterprise that accessed number is more than or equal to the third type of business of third preset times is gathered as third candidate enterprise,
Wherein, the third preset times are less than first preset times or are less than second preset times;
First object enterprise set includes described first candidate enterprise's set, second candidate enterprise's set and described the
Three candidate enterprise's set;
The server is also used to:
Accessed number is calculated separately greater than zero, and the enterprise for being less than the corresponding each type of business of each preset times gathers;
The second Target Enterprise collection is used as by enterprise's collective combinations of each type of business, and by enterprise's set after combination
It closes;
Update the data of the second Target Enterprise set;
The mark further includes enterprise name;Correspondingly, the server is also used to:
Using the enterprise of not visited mistakes all in the preset period of time as third Target Enterprise set;
According to the sequence of the enterprise name of the third Target Enterprise set, the data of the third Target Enterprise set are updated;
The server is also used to:
The data of the first object enterprise set, the part of the second Target Enterprise set are updated in the first predetermined period
The partial data of data and the third Target Enterprise set, to complete whole business data of the first object enterprise set
Update;
It repeats to update the data that the first object enterprise gathers in next first predetermined period, then updates second mesh
Another part data of enterprise's set and another part data of the third Target Enterprise set are marked, to complete second mesh
Mark the update of whole business data of enterprise's set.
4. a kind of server for updating business data characterized by comprising processor, memory and bus, wherein
The processor and the memory complete mutual communication by the bus;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy
It enough executes method according to claim 1 or 2.
5. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Computer instruction is stored up, it is method according to claim 1 or 2 that the computer instruction executes the computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710599910.XA CN107506380B (en) | 2017-07-21 | 2017-07-21 | A kind of method and server updating business data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710599910.XA CN107506380B (en) | 2017-07-21 | 2017-07-21 | A kind of method and server updating business data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107506380A CN107506380A (en) | 2017-12-22 |
CN107506380B true CN107506380B (en) | 2019-03-26 |
Family
ID=60688822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710599910.XA Active CN107506380B (en) | 2017-07-21 | 2017-07-21 | A kind of method and server updating business data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107506380B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111445157A (en) * | 2020-03-31 | 2020-07-24 | 深圳前海微众银行股份有限公司 | Service data management method, device, equipment and storage medium |
CN111930800B (en) * | 2020-07-31 | 2021-09-24 | 东方财富证券股份有限公司 | Enterprise big data analysis and processing system based on cloud computing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202072A (en) * | 2010-03-23 | 2011-09-28 | 盛霆信息技术(上海)有限公司 | Unidirectional synchronization method of internet website data |
CN104851039A (en) * | 2015-04-28 | 2015-08-19 | 信而量数据科技(上海)有限公司 | Personal information data integration system and method |
CN106874332A (en) * | 2016-08-10 | 2017-06-20 | 阿里巴巴集团控股有限公司 | Data bank access method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9348700B2 (en) * | 2013-03-01 | 2016-05-24 | Unisys Corporation | Rollback counters for step records of a database |
CN104021192A (en) * | 2014-06-13 | 2014-09-03 | 北京联时空网络通信设备有限公司 | Database renewing method and device |
CN105871590A (en) * | 2015-12-15 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Client data updating method, client and server |
-
2017
- 2017-07-21 CN CN201710599910.XA patent/CN107506380B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202072A (en) * | 2010-03-23 | 2011-09-28 | 盛霆信息技术(上海)有限公司 | Unidirectional synchronization method of internet website data |
CN104851039A (en) * | 2015-04-28 | 2015-08-19 | 信而量数据科技(上海)有限公司 | Personal information data integration system and method |
CN106874332A (en) * | 2016-08-10 | 2017-06-20 | 阿里巴巴集团控股有限公司 | Data bank access method and device |
Non-Patent Citations (2)
Title |
---|
Meshing Streaming Updates with Persistent Data in an Active Data Warehouse;Neoklis Polyzotis.etc;《IEEE Transactions on Knowledge and Data Engineering 》;20080731;第20卷(第7期);第976-991页 |
分布式空间数据库主动数据更新研究;陈珉;《中国博士学位论文全文数据库》;20040415;A008-21 |
Also Published As
Publication number | Publication date |
---|---|
CN107506380A (en) | 2017-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Van der Aalst | Extracting event data from databases to unleash process mining | |
Rosauer et al. | Phylogenetically informed spatial planning is required to conserve the mammalian tree of life | |
CN107025236B (en) | Data processing method between clearing systems and data clearing system | |
US10642257B2 (en) | Tree search-based scheduling method and electronic apparatus using the same | |
US20070234366A1 (en) | Landscape reorganization algorithm for dynamic load balancing | |
US20170017522A1 (en) | Methods and systems for assigning resources to a task | |
CN105912550A (en) | Method and device for information recommendation of mobile terminal | |
CN109271321A (en) | A kind of contribution code number statistical method and device | |
CN110298539A (en) | Task data processing method, device, computer equipment and storage medium | |
US20180247234A1 (en) | Platform for management and tracking of collaborative projects | |
CN108388852A (en) | A kind of region crowd density prediction technique and device based on deep learning | |
US20220020084A1 (en) | Account assignment manager for collection and recovery | |
CN110347724A (en) | Abnormal behaviour recognition methods, device, electronic equipment and medium | |
CN109766242A (en) | Monitoring method, device and system based on mobile user side and storage medium | |
CN107506380B (en) | A kind of method and server updating business data | |
CN109416684A (en) | The intake manager of analysis platform | |
US10963963B2 (en) | Rule based hierarchical configuration | |
CN109767269A (en) | A kind for the treatment of method and apparatus of game data | |
Latif et al. | FDI and ‘political’violence in Pakistan’s telecommunications | |
CN105868216A (en) | Method for realizing object expiration operation and device and equipment | |
CN109543113B (en) | Method and device for determining click recommendation words, storage medium and electronic equipment | |
CN110267717B (en) | Method and device for automatically generating automatic scaling call rules according to different independent tenants in multi-tenant environment | |
US20190325363A1 (en) | Business insight generation system | |
CN109033210A (en) | A kind of method and apparatus for excavating map point of interest POI | |
CN109359197B (en) | Tax type authentication method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |