Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.It is common based on the embodiment in the application, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, it should all belong to the application protection
Scope.
Fig. 1 is the flow chart according to the method 100 of determination user's importance of one embodiment of the application.Fig. 1 side
Method 100 is by determining that the device of user's importance performs.It should be understood that the importance of user can be understood as using in the embodiment of the present application
The significance level at family, the importance of user are used to reflect influence power of the user in social networks to a certain extent.User's
Importance is higher, and influence power of the user in social networks is bigger, conversely, then influence power is smaller.
As illustrated in FIG. 1, at S102, it is determined that having multiple second users of social networks with the first user.
It is understood that the social networks between the first user and second user can be direct social networks,
It can be indirect social networks, can also be compound social networks.Indirect social networks refer to the first user and
Two users are by the social networks be used as internuncial user and established, an only user in the first user and second user
There can be direct social networks with the go-between.Compound social networks refer to the first user and second user by one
The individual social relationships established as internuncial user, the first user and second user are direct with that can have per capita among this
Social networks.
Alternatively, in certain embodiments, multiple second users are obtained by the social software of user.For example, by chatting
Its software obtains is defined as second user with the first user chat number in preset period of time more than or equal to the user of preset value,
Or the user that the state delivered in preset period of time in circle of friends the first user is commented on or thumbed up is defined as
Two users.Or multiple second users are determined by the Capital Flow situation of the first user, for example, being obtained by Alipay software
To with the first user have transfer accounts relation user as second user.
S104, according to the importance of the multiple second user, determine the importance of first user.
Alternatively, as an example, in the importance according to multiple second users, the importance of the first user is determined
When, with specific reference to the importance and weighted value of multiple second users, determine the importance of the first user.
Specifically, in certain embodiments, by the importance of multiple second users and the sum of products of weighted value, it is defined as
The importance of first user.For example, it is assumed that there is 3 second users, importance is represented to be followed successively by 3,2 and 1, and weighted value with numerical value
0.2,0.5 and 0.1 is followed successively by, then the importance of the first user is:3 × 0.2+2 × 0.5+1 × 0.1=1.7.Need what is illustrated
That this 3 second users can be the whole users for having social networks with the first user, it is also possible to be it is multiple with first use
Family has the part second user in the second user of social networks, for example, it may be weighted value meets to want in 5 second users
3 second users asked, or can be 3 second users in 5 second users with offline user.
Alternatively, as an example, according to multiple second users and the social networks intensity of the first user, second is determined
The weighted value of user.Social networks strength grade and the first corresponding relation before weighted value are set for example, can preset, true
After the social networks strength grade for making second user and the first user, according to the social networks strength grade determined and upper
The first corresponding relation is stated, determines the weighted value of second user.Or pre-set between social networks intensity level and weighted value
Second corresponding relation, after social networks intensity level of the second user with the first user is determined, according to the social activity determined
Relationship strength value and above-mentioned second corresponding relation, determine the weighted value of second user.
Specifically, in certain embodiments, can be according to a kind of multiple second users of determination of instruction in following parameters
With the social networks intensity of the first user:Type, the multiple second users of multiple second users and the social networks of the first user
The geographical position where duration, multiple second users with the social networks of the first user.
For example, it can determine that multiple second use according to the type of multiple second users and the first user social networks
Family and the social networks intensity of the first user, for example, there is the second user of debition with the first user's with the first user
Social networks intensity is higher than the second user and the social networks of the first user for having common chat friends with the first user
Intensity.Multiple second users and first can be determined according to the duration of multiple second users and the social networks of the first user
The social networks intensity of user.For example, the second user longer with the social networks duration of the first user and the first user
Social networks intensity it is higher.Multiple second users and the first user can also be determined according to the geographical position of multiple second users
Social networks intensity.For example, the distance between geographical position according to the geographical position of multiple second users and the first user,
Determine the intensity of multiple second users and the social networks of the first user, the geographical position at place and the geographical position of the first user
Between the nearer second user of distance and the social networks intensity of the first user it is higher.Or the geography according to multiple second users
Regional economic development level corresponding to position determines the social networks intensity of multiple second users and the first user, place
The higher second user of regional economic development level corresponding to geographical position and the social networks intensity of the first user are higher.
Alternatively, as an example, in the importance according to multiple second users, the importance of the first user is determined
When, the characteristic of importance and the first user with specific reference to multiple second users determines the importance of the first user, first
The characteristic of user is used to describe behavioural characteristic of first user in social networks.Due to it is determined that the first user's is important
When spending, while consider the characteristic attribute of the first user and there is the importance of the other users of social networks with the first user,
The accuracy that the importance of the first user determines can further be improved.
Specifically, in certain embodiments, good friend's quantity of the characteristic of the first user including the first user and/or the
The social activity of one user enlivens the frequency.When specifically determining the importance of the first user, first according to good friend's quantity of the first user and/
Or first the social activity of user enliven the frequency, the basic importance of the first user is determined, afterwards according to basic importance and multiple
The importance of two users, determine the final importance of the first user.
Alternatively, as further example, in the importance according to multiple second users, the importance of the first user is determined
When, the weight of importance, multiple second users with specific reference to multiple second users and the characteristic of first user, really
The importance of fixed first user.For example, the basis that the first user is determined according to the characteristic of the first user can be showed
Importance is 1, and the importance that the first user is determined according to the importance of multiple second users and weighted value is 1.5, then by 2.5
It is defined as the final importance of the first user.
In the embodiment of the present application, alternatively, social networks are not present between the multiple second user, such as institute in Fig. 2
Show, method 100 also includes:
S106, multilayer social network architecture is established, wherein, in the multilayer social network architecture, the multiple second
Social network network layers where user are lower one layer than the social network network layers where first user.
Specifically, in certain embodiments, looked down from the social network network layers where the first user, where the first user
Social network network layers below social network network layers be less than the first user where social network network layers, the social activity where the first user
Social networks floor height above Internet is in the social network network layers where first user.For example, it is assumed that the first user is located at
The second layer of multitiered network framework, if multiple second users are located at the third layer of multitiered network framework, multiple second users
The social network network layers at place are lower one layer than the social network network layers where the first user.
It should be noted that, although in order to express easily, S106 is placed in after S102 for above-described embodiment.But according to
Actual conditions, the execution sequence of the two steps can be exchanged, i.e., first establish multilayer social network architecture, then determine to use with first
Family has multiple second users of social networks.
Alternatively, in certain embodiments, multiple second users can be determined according to the characteristic of multiple second users
Importance, the characteristics of multiple second users is used to describe behavioural characteristic of multiple second users in social networks.Or
Person, can be according to the other users of the social network network layers at place than the social network network layers first layer where the multiple second user
Importance and the characteristic of weighted value and second user determine the importance of second user.
Alternatively, in certain embodiments, the social network network layers where multiple second users are multilayer social network architecture
The bottom, in this case, the importance of multiple second users is determined according to the characteristic of multiple second users.
Alternatively, in certain embodiments, the characteristic of multiple second users includes good friend's number of multiple second users
The social activity of amount and/or multiple second users enlivens the frequency.For example, importance higher rule more according to good friend's quantity, it is determined that
The importance of multiple second users.Or enliven that the frequency is higher according to social activity, the higher rule of importance, determine that multiple second use
The importance at family.
Alternatively, in certain embodiments, the social network network layers where the first user be multilayer social network architecture most
High level, in such a case, it is possible to according to the importance of the first user, determine whether the first user is core customer.
It is understood that also include multiple other users in social network network layers where the first user, this it is multiple other
User and the first user are located at the top of multilayer social network architecture, i.e. this multiple other users and the first user are located at multilayer
The first layer of social network structure.It is determined that during multilayer social network architecture, can first select the first user and this it is multiple other
User, the user that choose has social networks afterwards with the first user and this multiple other users build multilayer social networks frame
Structure.For example, can be taking human as choosing at random the first user and this multiple other users.And it is possible to propagated according to the operation of product
Effect, the number of plies of multilayer social network architecture is constantly adjusted, to obtain higher operation communication effect.
Method below in conjunction with a specific example description according to determination user's importance of the embodiment of the present application.Figure
3 show the multilayer social network architecture according to the embodiment of the present application.It is understood that the social network architecture bag in Fig. 3
Include 3 layers be only the application a specific embodiment.
As shown in Figure 3, social network architecture includes 3 layers, and label is respectively first layer, the second layer and third layer,
Wherein, first layer can be with top in corresponding method 100, and third layer can be with the bottom in corresponding method 100.For description side
Just, it is assumed that first layer has 3 users, respectively user 1-3, and the second layer has 6 users, and respectively user 4-9, third layer has 11
Individual user, respectively user 10-20.
, first can be according to the good friend of the user of third layer according to the method for determination user's importance of the embodiment of the present application
Quantity and/or social activity enliven the importance that the frequency determines each user of third layer, and importance can use numerical representation method.Afterwards true
When determining the importance of the user of the second layer, there is the importance of the user of the third layer of social networks according to the user with the second layer
And weighted value, determine the importance of the user of the second layer.Finally it is determined that first layer user importance when, according to first
The user of layer has the weighted value of the importance of the user of the second layer of social networks, determines the importance of first layer user.
That is in the embodiment of the present application, can be according to formulaDetermine user's
Importance, wherein, i represents the social networks number of plies, NiI-th layer of user N importance is represented,K represents user N
In the weight of k-th of good friend of i+1 layer, Ni+1, k expression user N are in the importance of the good friend of the kth of i+1 layer, j expression use
Good friend sums of the family N in i+1 layer.
By taking the importance of user 1 for determining first layer as an example, the user 1 of first layer has 3 good friends in the second layer, is respectively
User 4, user 5 and user 6.The user 4 of the second layer has 3 good friends, respectively user 10, user 11 and user in third layer
12.The user 5 of the second layer has 2 good friends, respectively user 12 and user 15 in third layer.The user 6 of the second layer is in third layer
There are 2 good friends, respectively user 13 and user 14.Assuming that the user 10 of third layer, user 11, user 12, user 13, user 14
Importance with user 15 is respectively 0.5,0.2,0.1,0.4,0.2 and 0.4.Good friend user 10, user 11 and the user of user 4
12 weighted value is respectively 0.4,0.2 and 0.4, and the good friend user 12 of user 5 and the weighted value of user 15 are respectively 0.5 and 0.5,
The good friend user 13 of user 6 and the weight of user 14 are respectively 0.5 and 0.5.The importance that user 4 can then be drawn is 0.28,
The importance of user 5 is 0.25, and the importance of user 6 is 0.3.Assuming that the power of the good friend user 4 of user 1, user 5 and user 6
Weight values are respectively 0.5,0.2 and 0.3, then the importance of user 1 is 0.28 × 0.5+0.25 × 0.2+0.3 × 0.3=0.28.
Further, after the importance of 3 users of first layer is determined, according to importance and can preset important
The relation of threshold value is spent, determines core customer.
The method of determination user's importance according to the embodiment of the present application is described in detail above in association with Fig. 1 to Fig. 3.Below
Electronic equipment of Fig. 4 detailed descriptions according to the embodiment of the present application will be combined.With reference to figure 4, in hardware view, electronic equipment includes place
Device is managed, alternatively, including internal bus, network interface, memory.Wherein, memory may include internal memory, such as random at a high speed
Access memory (Random-Access Memory, RAM), it is also possible to also including nonvolatile memory (non-volatile
Memory), for example, at least 1 magnetic disk storage etc..Certainly, the shared vehicles are also possible that required for other business
Hardware.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be industry
Standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component Interconnect standard
(Peripheral Component Interconnect, PCI) bus or EISA (Extended
Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus,
Controlling bus etc..For ease of representing, only represented in Fig. 4 with a four-headed arrow, it is not intended that an only bus or one kind
The bus of type.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating
Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer
The device of certificate filing is formed on face.Processor, the program that memory is deposited is performed, and specifically for performing following operate:
It is determined that there are multiple second users of social networks with the first user;
According to the importance of the multiple second user, the importance of first user is determined.
The method that the device of above-mentioned determination user's importance as disclosed in the application Fig. 1 and embodiment illustrated in fig. 2 performs can
To be realized applied in processor, or by processor.Processor is probably a kind of IC chip, has the processing of signal
Ability.In implementation process, each step of the above method can pass through the integrated logic circuit or soft of the hardware in processor
The instruction of part form is completed.Above-mentioned processor can be general processor, including central processing unit (Central
Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be Digital Signal Processing
Device (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated
Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.It can realize or perform the application implementation
Disclosed each method, step and logic diagram in example.General processor can be that microprocessor or the processor can also
It is any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding
Computing device is completed, or performs completion with the hardware in decoding processor and software module combination.Software module can position
In random access memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register
Deng in the ripe storage medium in this area.The storage medium is located at memory, and processor reads the information in memory, with reference to it
Hardware completes the step of above method.
The electronic equipment can also carry out Fig. 1 and Fig. 2 method, and realize the device for determining user's importance in Fig. 1 and Fig. 2
The function of illustrated embodiment, the embodiment of the present application will not be repeated here.
Certainly, in addition to software realization mode, the electronic equipment of the application is not precluded from other implementations, for example patrols
Collect mode of device or software and hardware combining etc., that is to say, that the executive agent of following handling process is not limited to each patrol
Collect unit or hardware or logical device.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs
During row, method that the electronic equipment can be made to perform Fig. 1 and embodiment illustrated in fig. 2, and specifically for performing following methods:
It is determined that there are multiple second users of social networks with the first user;
According to the importance of the multiple second user, the importance of first user is determined.
Fig. 5 is the structural representation of the device of determination user's importance of one embodiment of the application.It refer to Fig. 5,
In a kind of Software Implementation, determining the device 500 of user's importance may include:First processing units 501 and second processing
Unit 502, wherein,
First processing units 501, it is determined that having multiple second users of social networks with the first user;
Second processing unit 502, according to the importance of the multiple second user, determine that first user's is important
Degree.
According to the method for determination user's importance of the embodiment of the present application, it is determined that user importance when consider with should
User has the importance of the other users of social relationships so that the determination of user's importance is more accurate, can more choose conjunction
Suitable core customer, improve product promotion speed.
Alternatively, as one embodiment, the second processing unit 502:
According to the importance of the multiple second user and the characteristic of first user, first user is determined
Importance, the characteristic of first user is used to describe behavioural characteristic of first user in social networks.
Alternatively, as one embodiment, the second processing unit 502:
According to the importance and weighted value of the multiple second user, the importance of first user is determined.
Alternatively, as one embodiment, the second processing unit 502:
By the importance of multiple second users and the sum of products of weighted value, it is defined as the importance of first user.
Alternatively, as one embodiment, the second processing unit 502:
According to the multiple second user and the social networks intensity of first user, the multiple second user is determined
Weighted value.
Alternatively, as one embodiment, the second processing unit 502:
At least one in following parameters determines the multiple second user and the social networks of first user
Intensity:The types of the social networks of the multiple second user and first user, the multiple second user and described the
Geographical position where the duration of the social networks of one user, the multiple second user.
Alternatively, as one embodiment, the first processing units 501:
Multilayer social network architecture is established, wherein, in the multilayer social network architecture, the multiple second user institute
It is lower one layer than the social network network layers where first user in social network network layers.
Alternatively, as one embodiment, the first processing units 501:
According to the characteristic of the multiple second user, the importance of the multiple second user is determined, described second
The characteristic of user is used to describe behavioural characteristic of the multiple second user in social networks.
Alternatively, as one embodiment, the characteristic of first user includes good friend's number of first user
The social activity of amount and/or first user enliven the frequency;
Good friend's quantity of the characteristic of the multiple second user including the multiple second user and/or the multiple
The social activity of second user enlivens the frequency.
Alternatively, as one embodiment, the social network network layers where first user are the multilayer social networks
Top, the second processing unit 502 of framework:
According to the importance of first user, determine whether first user is core customer.
Determine that the device 500 of user's importance can also carry out the method for Fig. 1 and embodiment illustrated in fig. 2, and realize that determination is used
The device of family importance will not be repeated here in Fig. 1 and the function of embodiment illustrated in fig. 2, the embodiment of the present application.
In a word, the preferred embodiment of the application is the foregoing is only, is not intended to limit the protection domain of the application.
All any modification, equivalent substitution and improvements within spirit herein and principle, made etc., should be included in the application's
Within protection domain.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity,
Or realized by the product with certain function.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.