Specific embodiment
Below in conjunction with the attached drawing in this specification embodiment, the technical solution in this specification embodiment is carried out clear
Chu is fully described by, it is clear that described embodiment is only this specification a part of the embodiment, rather than whole implementation
Example.The embodiment of base in this manual, those of ordinary skill in the art are obtained without creative efforts
Every other embodiment, all should belong to this specification protection range.
Please refer to Fig. 1.This specification embodiment provides a kind of cell type and determines method.The cell type determines method
Using electronic equipment as executing subject.The electronic equipment can specifically include mobile terminal, terminal, server end or class
As arithmetic unit.The cell type determines that method may comprise steps of.
Step S10: multiple transaction data are obtained.
In the present embodiment, the transaction data can be corresponding with the transaction moment, and the transaction moment can be the friendship
The generation moment of easy data.The transaction data may include commodity sign information and shipping address.The commodity sign information
Can be used for identifying commodity, for example, can for the title of commodity, the article No. of commodity, commodity coding or other can orient
Any type of information of commodity.The corresponding commodity of the commodity sign information can belong at least one classification.The class
Mesh can be furniture, household electrical appliances, building materials of house fitting-up, basic building materials or house ornamentation ornaments etc..The shipping address can for example save for XXX
The city XXX (county) town XXX building XXX cell XXX building XXX unit XXX etc..The shipping address can be corresponding with first and include the moment.
At the time of described first includes the moment can be included for shipping address, such as at the time of be credited to database.The place of acceptance
Location can be is included by the electronic equipment, is also possible to be included by other electronic equipments in addition to the electronic equipment
's.Shipping address and commodity sign information can have corresponding relationship in the transaction data.Specifically, in the place of acceptance
Location can receive the corresponding commodity of commodity sign information.
In an embodiment of the present embodiment, the transaction data can also include user identity information.The use
Family identification information can be used for identity user, for example, can for the account of user, the cell-phone number of user, user identification card number,
The name of user or other any type of information that can orient user.In the transaction data user identity information,
Shipping address and commodity sign information can have corresponding relationship.Specifically, the corresponding user of the user identity information can be with
The corresponding commodity of commodity sign information are received in shipping address.
In the present embodiment, the multiple transaction data corresponding transaction moment can be located at specified time interval
It is interior.The size of the specified time interval can flexibly be set according to actual needs, such as can be 12 months, 6 months or 5
A month etc..The multiple transaction data can be located at whole classes in bibliography system now, can also be located at classification
Multiple specified classes in system are now.The specified classification can be furniture, household electrical appliances, building materials of house fitting-up, basic building materials or house ornamentation pendulum
If waiting.
The electronic equipment can have historical transaction record;It can be obtained from the historical transaction record the multiple
Transaction data.For example, the electronic equipment can for Taobao, Jingdone district, Amazon, when the clothes when e-commerce platforms such as, eBay
Business device.The server can obtain the multiple transaction data from historical transaction record.Alternatively, removing the electronic equipment
Other electronic equipments in addition can have historical transaction record;The multiple friendship can be obtained from the historical transaction record
Easy data;The multiple transaction data can be sent to the electronic equipment.The electronic equipment can receive the multiple friendship
Easy data.For example, the electronic equipment can be the service server for determining cell type.Other electronic equipments can
Think Taobao, Jingdone district, Amazon, when the server when e-commerce platforms such as, eBay.The server of the e-commerce platform
The multiple transaction data can be obtained from historical transaction record;The multiple transaction can be sent to the service server
Data.The service server can receive the multiple transaction data.
Step S12: according to the shipping address in the multiple transaction data, at least one cell identity information is obtained.
In the present embodiment, the cell identity information can be used for identifying cell, such as can be the popularization name of cell
Title, the plot title of the registered name of cell, cell, cell coding or other can orient any type of of cell
Information.The cell can be understood as the residential neighborhoods with relatively independent living environment.
In the present embodiment, the shipping address may include multiple address fields.The address field can for save address field,
City (county) address field, town (street) address field, cell address section, building address field or portal address section etc..For example, place of acceptance
Location A1 can be the city SEG2_XX1 of SEG1_XX1 province (county) town SEG3_XX1 building SEG4_XX1 cell SEG5_XX1.So, it receives
Province's address field of address A1 can be SEG1_XX1;City (county) address field can be SEG2_XX1;Town address field can be SEG3_
XX1;Cell address section can be SEG4_XX1;Building address field can be SEG5_XX1.As described electronic equipment can root
According to the cell address section in shipping address in the multiple transaction data, at least one cell identity information is obtained.Difference is received
Cell address section in address can be identical or different, thus the cell obtained according to the cell address section in different shipping addresses
Identification information can be identical or different.In addition, in view of cell identity information being obtained according to the cell address section in shipping address
, thus cell identity information can have corresponding relationship with shipping address.Each cell identity information can specifically correspond to
A few shipping address.
The electronic equipment can extract cell address section from shipping address;It can be according to the cell address extracted
Section, obtains at least one cell identity information.Specifically, the electronic equipment can directly make the cell address section extracted
For cell identity information.Alternatively, for ease of description, it can be using cell address section as the first address field;It can will remove cell
Geographic area that is other than address field and indicating is greater than the address field of cell address section as the second address field.Second ground
Location section can be province's address field, city's (county) address field or town (street) address field etc..The first address in same shipping address
Section and the second address field can have corresponding relationship.It is possible to include with same cells identification information in different geographic areas
Cell.That is, the second different address fields is possible to correspond to identical first address field.For example, shipping address A1 can be
The city SEG2_XX1 of SEG1_XX1 province (county) town SEG3_XX1 building SEG4_XX1 cell SEG5_XX1.Shipping address A2 can be
The city SEG2_XX2 of SEG1_XX2 province (county) town SEG3_XX2 building SEG4_XX1 cell SEG5_XX2.Shipping address A1 and shipping address
A2 the first address field SEG4_XX1 having the same.First address field SEG4_XX1 distinguishes in shipping address A1 and shipping address A2
Corresponding the second different address field.It is distinguished in order to which the first address field of different second address fields will be corresponded to, the electronics is set
It is standby to carry out particular procedure to the cell address section extracted, can will treated cell address section as cell ID
Information.The particular procedure mode for example can be with are as follows: by the cell address section and the second address field in same shipping address
Spliced.Specifically, for example, shipping address A1 can be the city SEG2_XX1 of SEG1_XX1 province (county) town SEG3_XX1 SEG4_
The building XX1 cell SEG5_XX1.So, by cell address section SEG4_XX1, the province address field SEG1_ in shipping address A1
XX1, city (county) address field SEG2_XX1, town address field SEG3_XX1 are spliced, and cell identity information SEG1_XX1- is obtained
SEG2_XX1-SEG3_XX1-SEG4_XX1.Certainly, above-mentioned particular procedure mode is merely illustrative, the actually described particular procedure side
Formula can also include other any modes that can distinguish the first address field of corresponding different second address fields.
Step S14: according to the classification of the corresponding commodity ownership of commodity sign information, determine that each cell identity information is corresponding
Cell type.
In the present embodiment, the cell type can be used for distinguishing new cell and old cell.The cell type is specific
It may include the first kind and Second Type.The first kind can be used to indicate that cell is new cell.The new cell can
Think the later cell of the built time.The house ornamentation demand of new cell is usually larger.The house ornamentation can be understood as residential building
Finishing or decoration, such as may include the contents such as water power transformation, lamp decoration installation, furniture installation, household electrical appliances installation.The Second Type
It can be used to indicate that cell is old cell.The old cell can be the built time cell earlier.The house ornamentation demand of old cell
It is usually smaller.
In an embodiment of the present embodiment, as previously mentioned, cell identity information can with shipping address have pair
It should be related to.Shipping address can have corresponding relationship with commodity sign information.Cell identity information can be with commodity sign in this way
Information has corresponding relationship.The electronic equipment can count each cell identity information, and each class is now in classification set
The quantity of transaction data, as the first quantity;The score value of each cell identity information can be determined according to the first quantity;It can be with
According to score value, the corresponding cell type of each cell identity information is determined.Wherein, the classification set may include the multiple
The classification of the corresponding commodity ownership of commodity sign information in transaction data.
Specifically, the electronic equipment can each class be now in the classification set according to each cell identity information
The first quantity, calculate the score value of the cell identity information.For example, formula can be used in the electronic equipmentCome
Calculate the score value of cell identity information.Wherein, K indicates the score value of the cell identity information;N indicates classification in the classification set
Quantity;λiIndicate the corresponding weighted value of classification i;miIndicate first quantity of the cell identity information at classification i.Here λi
It can be empirical value, can also be obtained by the way of machine learning.Certainly, above-mentioned formula is merely illustrative, the actually described electricity
Sub- equipment can also calculate the score value of cell identity information using other way.
Specifically, the electronic equipment score value of each cell identity information can be compared with preset threshold;It can
To determine the corresponding cell type of the cell identity information according to comparison result.The preset threshold can be empirical value, can also
It is obtained in a manner of using machine learning.The size of the preset threshold can flexibly be set according to actual needs.For example, small
When the score value of area's identification information is greater than or equal to the preset threshold, the electronic equipment can determine the cell identity information pair
The cell type answered is the first kind;When the score value of cell identity information is less than the preset threshold, the electronic equipment can
The corresponding cell type of the cell identity information will be determined as Second Type.
Further, in the present embodiment, it is corresponding can also to count each cell identity information for the electronic equipment
The quantity of transaction data, as the second quantity;The corresponding transaction frequency of each cell identity information can be determined according to the second quantity
It is secondary;The corresponding score value of each cell identity information can be determined according to the transaction frequency and the first quantity.Specifically, the electronics
Equipment can choose maximum transaction moment and minimum transaction moment from the multiple transaction data corresponding transaction moment;Needle
To each cell identity information, which can be calculated according to maximum transaction moment, minimum transaction moment and the second quantity
The corresponding transaction frequency of information.For example, the maximum transaction moment can be on 01 01st, 2018;Minimum transaction the moment can be
On January 1st, 2017;Corresponding second quantity of a certain cell identity information can be 3650.So, the cell identity information is corresponding
The transaction frequency can be 10 times/day.Specifically, the electronic equipment can be according to each cell identity information in the classification
The first quantity of each class now transaction frequency corresponding with the cell identity information, calculates the cell identity information in set
Score value.For example, formula can be used in the electronic equipmentTo calculate the score value of cell identity information.Its
In, K indicates the score value of the cell identity information;N indicates the quantity of classification in classification set;λiIndicate the corresponding weight of classification i
Value;miIndicate first quantity of the cell identity information at classification i;Freq indicates the corresponding transaction frequency of the cell identity information
It is secondary.Certainly, above-mentioned formula is merely illustrative, and the actually described electronic equipment can also calculate cell ID letter using other way
The score value of breath.
Further, in the present embodiment, for each cell identity information, the electronic equipment can be from the cell
The first of at least one corresponding shipping address of identification information was included in the moment, is chosen minimum first and is included the moment, small as this
Area's identification information corresponding second includes the moment;Moment and the first quantity can be included according to second, determine that the cell ID is believed
The score value of breath.For example, formula can be used in the electronic equipmentTo calculate point of cell identity information
Value.Wherein, K indicates the score value of the cell identity information;N indicates the quantity of classification in the classification set;λiIndicate i pairs of classification
The weighted value answered;miIndicate first quantity of the cell identity information at classification i;T0Indicate current time;T indicates the cell
Identification information corresponding second includes the moment.Certainly, above-mentioned formula is merely illustrative, and the actually described electronic equipment can also use
Other way calculates the score value of cell identity information.
Further, in the present embodiment, it is contemplated that when the cell near a certain cell is new cell, the cell
It is often also new cell;When cell near a certain cell is old residential area, which is often also old residential area.It is every determining
After the score value of a cell identity information, for each cell identity information, the electronic equipment can also be according to cell ID
The score value of each cell identity information in information aggregate, is modified the score value of targeted cell identity information.Described small
In area's identification information set between the cell address of each cell identity information and the cell address of targeted cell identity information
Distance is within a preset range.Wherein, it is corresponding small to can be understood as the cell identity information for the cell address of cell identity information
The address in area can specifically be obtained according at least one corresponding shipping address of the cell identity information.The preset range can
Think empirical value, can also be obtained by the way of machine learning.The size of the preset range can be clever according to actual needs
Setting living.The amendment for example can be with are as follows: takes the typical value of each cell identity information score value in cell identity information set;It will
The score value of the typical value and targeted cell identity information performs mathematical calculations;Using the result of mathematical operation as targeted small
The revised score value of area's identification information.The typical value can be mean value, median or mode etc..The mathematical operation includes
But be not limited to add operation, subtraction, multiplying, division arithmetic etc..Certainly, above-mentioned correcting mode is merely illustrative, practical
The upper electronic equipment can also correct score value using other way.
In the another embodiment of the present embodiment, as previously mentioned, the transaction data can also include user identifier
Information.Cell identity information can have corresponding relationship with shipping address.Shipping address can respectively with commodity sign information and
User identity information has corresponding relationship.In this way cell identity information can respectively with user identity information and commodity sign information
With corresponding relationship.In this way, the electronic equipment can determine every according to the classification of the corresponding commodity ownership of commodity sign information
The corresponding probability value of a user identity information;It can be according at least one corresponding user identity information of each cell identity information
Probability value, determine the corresponding score value of the cell identity information;It can determine that each cell identity information is corresponding according to score value
Cell type.The probability value can be used to indicate that the probability of the corresponding user's house ornamentation of user identity information.
Specifically, the electronic equipment can count the friendship of each class now in classification set of each user identity information
The quantity of easy data, as third quantity;The corresponding probability value of each user identity information can be determined according to third quantity.
For example, formula can be used in the electronic equipmentTo calculate the corresponding probability value of user identity information.Wherein,
F indicates the corresponding probability value of the user identity information;N indicates the quantity of classification in the classification set;λiIndicate that classification i is corresponding
Weighted value;uiIndicate transaction data quantity of the user identity information at classification i;Sum indicates that the user identity information exists
The sum of the transaction data quantity of each class now in classification set.
Specifically, for each cell identity information, the electronic equipment can be corresponding according to the cell identity information
The probability value of at least one user identity information calculates the score value of the cell identity information.For example, the electronic equipment can make
Use formulaTo calculate the score value of cell identity information.Wherein, K indicates the score value of the cell identity information;Y is indicated
The quantity of the corresponding user identity information of the cell identity information;FiIndicate the corresponding probability value of user identity information i.
Specifically, the electronic equipment determines the process of cell type according to score value, may refer to aforementioned embodiments.
Further, in the present embodiment, it is corresponding can also to count each cell identity information for the electronic equipment
The quantity of transaction data, as the second quantity;The corresponding transaction frequency of each cell identity information can be determined according to the second quantity
It is secondary;The corresponding score value of each cell identity information can be determined according to the transaction frequency and probability value.Specifically, the electronics is set
It is standby can according to the probability value of the corresponding transaction frequency and at least one corresponding user identity information of each cell identity information,
Calculate the score value of the cell identity information.For example, formula can be used in the electronic equipmentIt is small to calculate
The score value of area's identification information.Wherein, K indicates the score value of the cell identity information;Y indicates the corresponding user of the cell identity information
The quantity of identification information;FiIndicate the corresponding probability value of user identity information i;Freq indicates the corresponding friendship of the cell identity information
The easy frequency.Certainly, above-mentioned formula is merely illustrative, and the actually described electronic equipment can also calculate cell mark using other way
Know the score value of information.
Further, in the present embodiment, for each cell identity information, the electronic equipment can be from the cell
The first of at least one corresponding shipping address of identification information was included in the moment, is chosen minimum first and is included the moment, small as this
Area's identification information corresponding second includes the moment;Moment and probability value can be included according to second, determine the cell identity information
Score value.For example, formula can be used in the electronic equipmentTo calculate the score value of cell identity information.
Wherein, K indicates the score value of the cell identity information;Y indicates the quantity of the corresponding user identity information of the cell identity information;Fi
Indicate the corresponding probability value of user identity information i;T0Indicate current time;T indicates that the cell identity information corresponding second is received
Record the moment.Certainly, above-mentioned formula is merely illustrative, and the actually described electronic equipment can also calculate cell mark using other way
Know the score value of information.
Further, in the present embodiment, it is contemplated that when the cell near a certain cell is new cell, the cell
It is often also new cell;When cell near a certain cell is old residential area, which is often also old residential area.It is every determining
After the score value of a cell identity information, for each cell identity information, the electronic equipment can also be according to cell ID
The score value of each cell identity information in information aggregate, is modified the score value of targeted cell identity information.Described small
In area's identification information set between the cell address of each cell identity information and the cell address of targeted cell identity information
Distance is within a preset range.Modified mode specifically may refer to aforementioned embodiments.
In the present embodiment, the available multiple transaction data of the electronic equipment;It can be according to the multiple number of deals
Shipping address in obtains at least one cell identity information;It can be according to the corresponding commodity ownership of commodity sign information
Classification determines the corresponding cell type of each cell identity information.It is true that transaction data can be used in the electronic equipment described in this way
Determine cell type.
Please refer to Fig. 2.This specification embodiment provides a kind of cell type determining device.The cell type determining device
It may include with lower unit.
Transaction data acquiring unit 20, for obtaining multiple transaction data;Each transaction data includes mutual corresponding quotient
Product identification information and shipping address;
Cell identity information acquiring unit 22, for obtaining at least according to the shipping address in the multiple transaction data
One cell identity information;
Type determining units 24 determine each cell for the classification according to the corresponding commodity ownership of commodity sign information
The corresponding cell type of identification information;The cell type is for distinguishing new cell and old cell.
Please refer to Fig. 3.This specification embodiment provides a kind of electronic equipment.The electronic equipment may include memory and
Processor.
In the present embodiment, the memory can be implemented in any suitable manner.For example, the memory can be
Read-only memory, mechanical hard disk, solid state hard disk or USB flash disk etc..The memory can be used for storing computer instruction.
In the present embodiment, the processor can be implemented in any suitable manner.For example, processor can take example
Such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as software or
Firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.The processor
The computer instruction can be executed to perform the steps of
Obtain multiple transaction data;Each transaction data includes mutual corresponding commodity sign information and shipping address;
According to the shipping address in the multiple transaction data, at least one cell identity information is obtained;
According to the classification of the corresponding commodity ownership of commodity sign information, the corresponding cell class of each cell identity information is determined
Type;The cell type is for distinguishing new cell and old cell.
It is understood that all the embodiments in this specification are described in a progressive manner, each embodiment it
Between the same or similar part may refer to each other, the highlights of each of the examples are it is different from other embodiments it
Place.For cell type determining device embodiment and electronic equipment embodiment, since it is substantially similar to cell class
Type determines embodiment of the method, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Expect in addition, those skilled in the art after reading this specification file, may not need creative work by this
Specification some or all of enumerates embodiment and carries out any combination, these combinations are also in the range of this disclosure and protection
It is interior.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip 2.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly
" logic compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development
Seemingly, and the source code before compiling also handy specific programming language is write, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art
It will be apparent to the skilled artisan that only needing method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages
In, so that it may it is readily available the hardware circuit for realizing the logical method process.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
It can realize by means of software and necessary general hardware platform.Based on this understanding, the technical solution of this specification
Substantially the part that contributes to existing technology can be embodied in the form of software products in other words, the computer software
Product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes each embodiment of this specification or embodiment
Certain parts described in method.
This specification can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer,
Server computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system,
Set top box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer including any of the above system are set
Standby distributed computing environment etc..
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects,
Component, data structure etc..This specification can also be practiced in a distributed computing environment, in these distributed computing environment
In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module
It can be located in the local and remote computer storage media including storage equipment.
Although depicting this specification by embodiment, it will be appreciated by the skilled addressee that there are many become for this specification
Shape and the spirit changed without departing from this specification, it is desirable to which the attached claims include these deformations and change without departing from this
The spirit of specification.