Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 illustrates a method of locating a target object according to an embodiment of the present application. The method of fig. 1 may be performed by an apparatus for locating a target object. As shown in fig. 1, the method comprises:
s102, a target social communication type identifier and target remark information of the target social communication type identifier are obtained, the target social communication type identifier is not associated with a target service, and the target remark information is remarked to the target social communication type identifier by a third person outside an affiliate of the target social communication type identifier.
Optionally, in S102, the target social communication class identifier includes a target phone number or a target social communication class account. The target phone number includes, but is not limited to, a cell phone number and a landline phone number, where the target social communication account number may be, for example, an instant messaging account number, and the instant messaging account number may be a string of numbers similar to a phone number, or a string of characters including any characters, which is not limited in this embodiment of the present application.
Alternatively, in S102, the target memo information may be, for example, a target memo name.
In S102, obtaining the target social communication identifier and the target remark information of the target social communication identifier may be specifically implemented in the following manner: acquiring contact information of a third person outside the affiliation of the target social communication type identifier, wherein the contact information comprises at least one social communication type identifier and remark information of each social communication type identifier; determining the social communication type identifier which is not found in a target relation table in the at least one social communication type identifier as the target social communication type identifier, and determining remark information of the social communication type identifier which is not found in the target relation table as the target remark information, wherein the target relation table comprises a corresponding relation between an account name of the stock account of the target service and the social communication type identifier.
For example, when the target social communication class identifier is a target phone number, the target remark information for acquiring the target social communication class identifier and the target social communication class identifier may be an acquired target phone number and a target remark name of the target phone number. For example, address book information of a third person outside a person to which the target telephone number belongs is obtained, wherein the address book information comprises at least one telephone number and a remark name of each telephone number; and determining the telephone number which is not searched in the target relation identifier in the at least one telephone number as a target telephone ring number, and determining the target remark information according to the remark information of the social communication identifier which is not searched in the target relation table, wherein the target relation table comprises the corresponding relation between the account name of the stock account of the target service and the telephone number. It is understood that the target service has been opened by a third person other than the owner of the target social communication class identifier, and the number of the third person is at least one. The target social communication class identifier may be stored and remarked by a different third person, so the remark information for the target phone number may be one or more.
For example, assuming that the target social communication class identifier is a target telephone number and the target remark information is a target remark name, and the target telephone number T is stored by the user a, the user B and the user C respectively, and is remarked as "X restaurant" in the address book of the user a, is remarked as "Y restaurant" in the address book of the user B, and is remarked as "Z fast food" in the address book of the user C, the target remark name of the target telephone number T includes "X restaurant", "Y restaurant", and "Z fast food".
Specifically, in some embodiments, in a case where a third person outside the affiliate of the target social communication type identifier is authorized, information uploaded by the third person is collected, where the information uploaded by the third person includes an uploader account id (uid), an uploader account name (U), a stored social communication type identifier (P), and remark information (N) remarked by the uploader to the stored social communication type identifier, and remark information of the social communication type identifier in contact information of all the uploaders is obtained as remark information of one social communication type identifier.
S104, under the condition that the attribution person of the target social communication class identification is determined to be the target object based on the target remark information, the position of the target object is determined based on the target remark information.
As an example, the position of the target object is determined based on the target remark information, and the target remark information may be searched for in a map, and the position of the searched target remark information may be determined as the position of the target object. The search may be a fuzzy matching type search, in which case, a plurality of pieces of information matching the target remark information may be searched, one piece of information may be determined from the plurality of pieces of information matching the target remark information based on a certain rule, and a position corresponding to the one piece of information may be determined as the position of the target object.
As another example, determining a location of a target object based on target remark information includes: and determining the position of the target object according to the address corresponding to the target social communication type identification and the target remark information.
Here, when the target social communication class identifier is the target phone number, the address information corresponding to the target social communication class identifier may be a home location of the target phone number, or an account opening location of the target phone number. Or when the target social communication type identifier is the instant communication account, the address information corresponding to the target social communication type identifier may be a common landing place of the instant communication account, where the common landing place may be determined by counting the landing places of one instant communication account within a period of time.
The home location of the target telephone number or the common landing location of the instant messaging account number may be a prefecture city, province or country, subject to an administrative division code issued by the national statistical office.
In S104, determining the position of the target object according to the address information and the target remark information corresponding to the target social communication identifier may be implemented in the following manner: sending a query request to a map server, wherein the query request comprises target remark information and is used for requesting to query the target remark information at an address corresponding to the target social communication identification; receiving query feedback sent by a map server; and under the condition that target remark information is determined to be inquired in the address based on the inquiry feedback and the social contact communication identifier corresponding to the inquired target remark information is the target social contact communication identifier, determining the position corresponding to the target remark information carried in the inquiry feedback as the position of the target object.
As an example, the target note name is searched in the map APP, while the search city is limited to the home of the target phone number. And if the search result is not null and the contact telephone of the target remark name in the search result is the same as the target telephone number, recording the address of the target remark name as the address of the user of the target telephone number. And if the search result is empty or the contact arc of the target remark name in the search result is different from the target telephone, determining that the target object is positioned unsuccessfully.
In this embodiment of the present application, optionally, the method shown in fig. 1 further includes: and determining whether the affiliation of the target social communication class identifier is the target object or not based on the target remark information and the target keyword set.
For example, if the target remark information is found in the target keyword set, the affiliate of the target social communication class identifier is considered as the target object, otherwise, the affiliate of the target social communication class identifier is not considered as the target object. Or performing word segmentation processing on the target remark information to obtain a plurality of words, if at least one of the words is found in the target keyword set, regarding the affiliation of the target social communication type identifier as the target object, otherwise, regarding the affiliation of the target social communication type identifier as not the target object.
Further, in some embodiments, the target social communication class identifier is a target phone number, and whether the affiliate of the target social communication class identifier is the target object is determined based on the target remark information and the target keyword set, which may be specifically determined based on the target remark information, the target keyword set, and a payment account set for paying for the phone number through the target service.
For example, the number of target remark information is at least one, and if at least one target remark information is successfully matched with the target keyword set and is unsuccessfully matched with the payment account set, whether the attribution of the target telephone number is a target object is determined. Therefore, the method can avoid the situation that the user who has a plurality of telephone numbers including the target telephone number and opens the target service through other telephone numbers except the target telephone number is determined as the target object, and further improves the accuracy of determining the target object.
It should be noted that, matching of the at least one piece of target remark information with the set of target keywords may be performed by means of fuzzy matching. The matching of the at least one target remark information with the set of payment accounts may be by way of an exact match. For example, assuming that one piece of target remark information is XXX fast food, if the word "fast food" is included in the set of target keywords, the matching of the target remark information and the set of target keywords is considered successful; if the XXX fast food is not included in the set of payment accounts, the target remarks information is considered to fail to match the set of payment accounts.
The target keyword set may be a keyword set autonomously generated based on a certain rule, or generated based on remark information of the social communication class identifier associated with the target service, or generated based on a user name of a user who has opened the target service (e.g., a business name of a business that has opened the target service).
As an example, the method in fig. 1 further includes: acquiring user information of a target stock user in stock users of a target service, wherein the user type of the target stock user is a target user type; and determining the target keyword set based on the user information of the target stock quantity user.
For example, the user information includes a user name, a word for identifying an area in the name may be removed from the user name of the target inventory user, and a set of words from which the word for identifying the area is removed is used as the target keyword set, for example, a user name of one target inventory user is called "beijing restaurant", and then "beijing" is removed, and "restaurant" is used as one element in the target keyword set.
For another example, the user information of the target stock user of the target service is subjected to word segmentation processing to obtain an initial keyword set; based on the initial set of keywords, a set of target keywords is determined. When the target keyword set is determined based on the initial keyword set, part of words in the initial keyword set can be filtered according to a certain rule, and a set formed by the rest words is used as the target keyword set. The word segmentation of the user information of the target storage user of the target service can be performed according to a certain rule, and can also be performed through an existing word segmentation model, which is not limited in the embodiment of the application.
Specifically, in some embodiments, a set of words with a word frequency greater than or equal to a preset threshold in the initial keywords is determined as the target keyword set.
For example, by performing word segmentation processing on the user information of the target stock user of the target business, the keywords in the initial keyword set obtained include "hotel", "restaurant", "fast food restaurant", "fruit store", "cake store". The word frequency of "hotel" is 20, the word frequency of "restaurant" is 25, the word frequency of "restaurant" is 15, the word frequency of "fast food restaurant" is 10, the word frequency of "fruit store" is 16, and the word frequency of "cake store" is 9. If the preset threshold is 15, determining that the keywords in the target keyword set comprise: "hotels", "restaurants" and "fruit stores".
It should be noted that the user information of the target inventory user may be understood as information of a user who has opened the target service, a user name in the user information of the target inventory user may be the same as an account name of the target inventory user, and a user name of the target inventory user may also be different from the account name of the target inventory user.
In the embodiment of the present application, the target user type may be a merchant, for example, the target user is "XX restaurant", "YY" shop, "ZZ supermarket", or the like.
On the basis of all the above embodiments, the method shown in fig. 1 further includes: and sending the target social communication type identification, the target remark information of the target social communication type identification and the position of the target object to a popularization person of the target service. For example, a target telephone number, target remark information of the target telephone number and the position of the target object are sent to a service promotion person of the target service, so that the service promotion person can carry out targeted service expansion on the position of the target object.
FIG. 2 is a method of locating a target object according to a specific embodiment of the present application. The method of fig. 2 may be performed by an apparatus for locating a target object. It should be noted that, in fig. 2, the target service is taken as a third party payment service, and the social communication identifier is taken as a mobile phone number for example. As shown in fig. 2, the method includes:
s202, the stored mobile phone number (P) and the remark name N corresponding to the P are obtained.
For example, under the condition of third-party payment service user authorization, an address book uploaded by the user is collected, and the address book uploaded by the user comprises an account id (uid) of an uploader, an account name (U) of the uploader, a stored mobile phone number (P) and a remark name N of a remark of the uploader.
It can be understood that, for any one stored mobile phone number (P), the account names (U) of all the uploaders of the stored mobile phone number (P) and the remark names N of the stored mobile phone number (P) in the address book of all the uploaders can be obtained, that is, one stored mobile phone number (P) may correspond to a plurality of the remark names N and a plurality of the account names (U).
And S204, judging whether the stored mobile phone number P is associated with a third party payment account.
For example, the stored mobile phone number P may be queried in the relationship table between the third party payment account and the mobile phone number, and if the stored mobile phone number P is found, the stored mobile phone number P is considered to have an associated third party payment account, and then S202 and the subsequent steps are executed to turn to the next stored mobile phone number. And if the stored mobile phone number P cannot be found, the stored mobile phone number P is considered to have no associated third party payment account.
S206, when the stored mobile phone number P does not have the third party payment account, judging whether the stored mobile phone number P is a merchant number.
Optionally, as an example, the remark names N of the stored mobile phone number P may be fuzzy-matched with the merchant name keyword set K one by one. And if the remark name N which can be matched with the keyword in the K exists in the remark name N, recording the remark name N which is successfully matched as the merchant name M corresponding to the stored mobile phone number P.
For example, if a remark name N of the stored mobile phone number P includes "XX restaurant", which can be matched with the term "restaurant" in K, the "XX restaurant" is recorded as the merchant name M corresponding to the stored mobile phone number P.
And S208, judging whether the user of the stored mobile phone number P opens the third-party payment service.
Optionally, as an example, a charging record of charging the P with the telephone charge through the third party payment service historically is searched, if the account name of the charger is the same as any remark name N of the P, the user of the P is considered to have opened the third party payment service, otherwise, the user of the P is considered not to have opened the third party payment service. This would allow for multiple cell phone numbers, one of which is associated with the third party payment service but others not.
And S210, if the user of the stored mobile phone number P does not open the third-party payment service, judging whether the position of the user can be accurately positioned.
In S210, if the user of the stored mobile phone number P has opened the third payment service, S202 and the following steps are executed.
Optionally, as an example, when the location of the user is determined, a remark name that is used for determining that P is a merchant number in the remark names N of P is searched in the map APP, and a home location of which the search city is P is limited. And if the search result is not empty and the contact phone corresponding to the remark name in the search result is the same as P, recording the position of the remark name as the position of the user of P.
For example, suppose that matching of AA restaurants and BB restaurants in the remark name of P with the merchant name keyword set K is successful, P belongs to the place C city. And searching for AA restaurants and BB restaurants in the map APP, and limiting the searched city to be a C city. If the AA restaurant or the BB restaurant is searched in the C city, the positioning fails, and if the AA restaurant or the BB restaurant is searched in the C city and the contact telephone of the AA restaurant or the BB restaurant is P, the position of the AA restaurant or the BB restaurant is determined as the position of the user of P.
S212, if the location of the user of P can be accurately located, sending the remark name N of the stored mobile phone number P, P to the promoter of the third party payment service, where P is the remark name of the merchant number and the location of the user of P.
For example, the positions of the AA restaurant or the BB restaurant, the P restaurant, and the AA restaurant or the BB restaurant determined above are notified to the promoter, and the promoter can go directly to the position of the AA restaurant or the BB restaurant to promote the third-party payment service.
Alternatively, as an example, in S212, if the position of the user of P cannot be accurately located, S202 and the subsequent steps are executed.
An electronic device according to an embodiment of the present application will be described in detail below with reference to fig. 3. Referring to fig. 3, at a hardware level, the electronic device includes a processor, optionally an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be interconnected by an internal bus, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form a device for positioning the target user on a logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
acquiring a target social communication type identifier and target remark information of the target social communication type identifier, wherein the target social communication type identifier is not associated with a target service, and the target remark information is remarked to the target social communication type identifier by a third person outside an affiliate of the target social communication type identifier;
and under the condition that the attribution person of the target social communication class identification is determined to be the target object based on the target remark information, determining the position of the target object based on the target remark information.
The method performed by the apparatus for locating a target object disclosed in the embodiment of fig. 1 of the present application may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may also execute the method of fig. 2, and implement the function of the apparatus for positioning a target object in the embodiment shown in fig. 2, which is not described herein again in this embodiment of the present application.
Of course, besides the software implementation, the electronic device of the present application does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
An embodiment of the present application also proposes a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by a mobile payment terminal including a plurality of application programs, can cause the mobile payment terminal to execute the method of the embodiment shown in fig. 4, and is specifically configured to execute the following method:
acquiring a target social communication type identifier and target remark information of the target social communication type identifier, wherein the target social communication type identifier is not associated with a target service, and the target remark information is remarked to the target social communication type identifier by a third person outside an affiliate of the target social communication type identifier;
and under the condition that the attribution person of the target social communication class identification is determined to be the target object based on the target remark information, determining the position of the target object based on the target remark information.
Fig. 4 is a schematic structural diagram of an apparatus for locating a target object according to an embodiment of the present application. Referring to fig. 4, in one software implementation, an apparatus 400 for locating a target object may include: an acquisition unit 41 and a processing unit 42, wherein,
the acquiring unit 41 is configured to acquire a target social communication class identifier and target remark information of the target social communication class identifier, where the target social communication class identifier is not associated with a target service, and the target remark information is a remark of a third person outside an affiliate of the target social communication class identifier to the target social communication class identifier;
and the processing unit 42, in a case that it is determined that the affiliate of the target social communication class identifier is the target object based on the target remark information, determines the location of the target object based on the target remark information.
According to the device for positioning the target object, whether the affiliation of the target social communication type identifier is the target object or not is determined through the target remark information of the target social communication type identifier which is not associated with the target service, and the position of the target object is determined based on the target remark information under the condition that the affiliation of the target social communication type identifier is determined to be the target object. Therefore, the device for positioning the target object of the embodiment of the application can determine the target object without opening the target service through the social communication type identifier and the remark information of the social communication type identifier, and positions the position of the target object, so that service promotion personnel can directly go to the positioned position for service promotion, and the labor cost and the financial cost of service promotion are reduced.
Optionally, as an embodiment, the processing unit 42:
and determining the position of the target object according to the address corresponding to the target social communication type identification and the target remark information.
Optionally, as an embodiment, the processing unit 42:
and determining whether the affiliation of the target social communication class identifier is a target object or not based on the target remark information and the target keyword set.
Optionally, as an embodiment, the target social communication class identifier is a target phone number;
wherein the processing unit 42:
and determining whether the affiliate of the target telephone number is the target object or not based on the target remark information, the target keyword set and a payment account set for paying the target telephone number through the target service.
Therefore, the method can avoid the situation that the user who has a plurality of telephone numbers including the target telephone number and opens the target service through other telephone numbers except the target telephone number is determined as the target object, and further improves the accuracy of determining the target object.
Optionally, as an embodiment, the number of the target remark information is at least one;
wherein the processing unit 42:
and under the condition that at least one piece of target remark information is successfully matched with the target keyword set and is unsuccessfully matched with the payment account set, determining that the attribution person of the target telephone number is the target object.
Optionally, as an embodiment, the obtaining unit 41:
acquiring contact information of a third person outside the user of the target social communication type identifier, wherein the contact information comprises at least one social communication type identifier and remark information of each social communication type identifier;
determining the social communication type identifier which is not found in a target relation table in the at least one social communication type identifier as the target social communication type identifier, and determining remark information of the social communication type identifier which is not found in the target relation table as the target remark information, wherein the target relation table comprises a corresponding relation between an account name of the stock account of the target service and the social communication type identifier.
Optionally, as an embodiment, the obtaining unit 41:
acquiring user information of a target stock user in the stock users of the target service, wherein the user type of the target stock user is a target user type;
and determining the target keyword set based on the user information of the target stock user.
Optionally, as an embodiment, the obtaining unit 41:
performing word segmentation processing on the user information of the target business inventory account to obtain an initial keyword set;
based on the initial keyword set, determining the target keyword set.
Optionally, as an embodiment, the obtaining unit 41:
and determining a set formed by words with word frequency larger than or equal to a preset threshold value in the initial keyword set as the target keyword set.
Optionally, as an embodiment, the processing unit 42:
sending a query request to a map server, wherein the query request comprises the target remark information, and the query request is used for requesting to query the target remark information at an address corresponding to the social communication type identifier;
receiving query feedback sent by the map server;
and under the condition that the target remark information is determined to be inquired in the address based on the inquiry feedback and the social communication type identifier corresponding to the inquired target remark information is the target social communication type identifier, determining the position corresponding to the target remark information carried in the inquiry feedback as the position of the target object.
The device for positioning a target object according to the embodiment of the present application may further perform the method performed by the device for positioning a target object in fig. 1 and 2, and implement the functions of the device for positioning a target object in the embodiments shown in fig. 1 and 2, which are not described herein again.
In short, the above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.