CN111353105A - Data processing method and device and data processing device - Google Patents

Data processing method and device and data processing device Download PDF

Info

Publication number
CN111353105A
CN111353105A CN201811575166.0A CN201811575166A CN111353105A CN 111353105 A CN111353105 A CN 111353105A CN 201811575166 A CN201811575166 A CN 201811575166A CN 111353105 A CN111353105 A CN 111353105A
Authority
CN
China
Prior art keywords
user
information
position information
electronic map
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811575166.0A
Other languages
Chinese (zh)
Inventor
罗京
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201811575166.0A priority Critical patent/CN111353105A/en
Publication of CN111353105A publication Critical patent/CN111353105A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a data processing method and device and a device for data processing. The method specifically comprises the following steps: receiving a search word input by a first user; if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification; and displaying the position information of the second user on an electronic map. The embodiment of the invention can reduce the probability that the electronic map can not provide the position information required by the user for the user, thereby improving the accuracy of map search.

Description

Data processing method and device and data processing device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data processing method and apparatus, and an apparatus for translating words.
Background
An electronic map, that is, a digital map, is a map that is stored and referred in a digital manner by using a computer technology, and the electronic map can realize faster position information search by using the data processing capability of a computer, thereby bringing great convenience to a user when going out.
Electronic maps are generally used to search for location information corresponding to a place name. For example, a user may enter a place name such as "Beijing Xiangshan park" in a search box of an electronic map, and the specific location of the labeled "Beijing Xiangshan park" may be obtained in the electronic map.
In practical applications, there may be a case where the location information needs to be searched without knowing the place name. For example, if a user wants to search for location information of a hospital where a doctor is located, but the user does not know the name of the hospital where the doctor is located, the user cannot search for the location information of the hospital in the electronic map by the name of the hospital, so that the electronic map cannot provide the user with the location information required by the user, and the accuracy of searching the electronic map is affected.
Disclosure of Invention
The embodiment of the invention provides a data processing method and device and a data processing device, which can improve the accuracy of electronic map searching.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, including:
receiving a search word input by a first user;
if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification;
and displaying the position information of the second user on an electronic map.
On the other hand, the embodiment of the invention discloses a data processing device, which comprises:
the receiving module is used for receiving a search word input by a first user;
the matching module is used for determining the position information of the second user according to the identification if the search word is matched with the identification of the second user;
and the first display module is used for displaying the position information of the second user on the electronic map.
In yet another aspect, an embodiment of the present invention discloses an apparatus for data processing, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors includes instructions for:
receiving a search word input by a first user;
if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification;
and displaying the position information of the second user on an electronic map.
In yet another aspect, an embodiment of the invention discloses a machine-readable medium having stored thereon instructions, which, when executed by one or more processors, cause an apparatus to perform a data processing method as described in one or more of the preceding.
The embodiment of the invention has the following advantages:
the embodiment of the invention can receive the search word input by the first user, and if the search word is determined to be matched with the identifier of the second user, the position information of the second user can be determined according to the identifier, and the position information of the second user is displayed on the electronic map. Therefore, under the condition that the first user does not know the place name corresponding to the position information of the second user, the position information of the second user can be searched in the electronic map through the identification of the second user, the probability that the electronic map cannot provide the position information required by the user for the user can be reduced, and the accuracy of map searching can be further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of the steps of one data processing method embodiment of the present invention;
FIG. 2 is a block diagram of an embodiment of a data processing apparatus according to the present invention;
FIG. 3 is a block diagram of an apparatus 800 for data processing of the present invention; and
fig. 4 is a schematic diagram of a server in some embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
Method embodiment
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a data processing method according to the present invention is shown, which may specifically include the following steps:
step 101, receiving a search term input by a first user;
step 102, if the search word is matched with the identification of a second user, determining the position information of the second user according to the identification;
and 103, displaying the position information of the second user on the electronic map.
The embodiment of the invention can be applied to an application scene searched by an electronic map, the electronic map can be operated on a terminal, and the terminal specifically comprises but is not limited to: smart phones, tablet computers, electronic book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, and the like.
In the embodiment of the invention, the first user can refer to a user who searches the position information by using the electronic map; the second user may refer to a user who publishes location information using an electronic map, so that the first user may obtain the location information published by the second user through an electronic map search. Of course, in practical applications, the first user may also distribute the location information using the electronic map, and the second user may also search for the location information using the electronic map.
It is understood that the execution subject of step 101, step 102, and step 103 is not limited by the embodiment of the present invention, and the execution subject may be an electronic map application or a non-electronic map application. The non-electronic map application specifically may include: the application may include, for example, a social application, an e-commerce application, a training application, a storage application, and the like, where the social application may include an instant messaging application such as WeChat and QQ, and the e-commerce application may include a Payment.
For example, a search term input by a first user may be received through the electronic map, and the search term is matched with an identifier of a second user, and if the search term is matched with the identifier of the second user, the location information of the second user may be displayed on the electronic map.
For another example, a search term input by a first user may be received through a non-electronic map application, and the search term is matched with an identifier of a second user, and if the search term is matched with the identifier of the second user, the electronic map is called through the non-electronic map application, so that the position information of the second user is displayed on the electronic map.
The embodiment of the invention can receive and respond to the registration request of the first user, determine the account of the first user, so that the first user can log in the account of the first user and search the position information of the second user through the electronic map. Or, the embodiment of the present invention may further receive and respond to a registration request of the second user, and determine an account of the second user, so that the second user may log in the account of the second user and publish its own location information through the electronic map.
The account of the first user and/or the account of the second user may specifically include: an account ID (identification number), or an identification such as a mailbox or a mobile phone number. It can be understood that the embodiment of the present invention does not limit the specific types of the account of the first user and the account of the second user.
In practical applications, the registration manners of the first user and the second user are not limited in the embodiments of the present invention, for example, an account of the first user or an account of the second user may be registered by creating an account, or an existing account may be used as an account of the first user or an account of the second user.
The embodiment of the invention can establish the corresponding relation between the identifier of the second user and the position information issued by the second user. Under the condition that the received search word input by the first user is matched with the identification of the second user, the corresponding relation between the identification of the second user and the position information of the second user can be inquired according to the identification of the second user so as to determine the position information of the second user corresponding to the identification of the second user, and the position information of the second user is displayed on the electronic map.
In an optional embodiment of the present invention, the location information may specifically include: standing position information of the second user; the standing position information may specifically include: the home location information and/or the work location information, it is understood that the specific content of the standing location information is not limited in the embodiment of the present invention.
In an application example of the embodiment of the present invention, it is assumed that a certain known surgeon registers as a second user in an electronic map, and distributes position information of a hospital where the surgeon is located in the electronic map. The user knows the name of the doctor, and wants to obtain the position information of the hospital where the doctor is located, the user can register the name of the doctor in the electronic map to be the first user, after the account information of the first user is logged in, the name of the doctor can be input in the electronic map for searching, the electronic map can retrieve the position information of the hospital where the doctor is located according to the name of the doctor, and the position information of the hospital is displayed in the electronic map.
Therefore, through the embodiment of the invention, under the condition that the first user does not know the place name corresponding to the position information of the second user, the position information of the second user can be searched and obtained in the electronic map through the identification of the second user, the probability that the electronic map cannot provide the position information required by the user for the user can be reduced, and the accuracy of map searching can be further improved.
In an optional embodiment of the invention, the method may further comprise: if the association relationship between the first user and the second user meets a preset condition, the location information may specifically include: real-time location information.
In the embodiment of the invention, under the condition that the association relationship between the first user and the second user is determined and the association relationship meets the preset conditions, the real-time position information of the second user can be obtained, and the real-time position information of the second user is displayed on the electronic map, so that the first user can know the position information of the second user in real time, and more convenience is provided for the user.
It is to be understood that the embodiment of the present invention does not limit the specific manner of setting the preset condition. For example, in order to improve the confidentiality and the security of the real-time location information of the second user, whether the association relationship meets a preset condition may be determined according to the type of the association relationship, specifically, if it is determined that the type of the association relationship between the first user and the second user is a family or a friend relationship, it may be determined that the association relationship meets the preset condition, and the first user may obtain the real-time location information of the second user. Of course, the preset conditions may also be: the first user and the second user have an association relationship.
Optionally, the second user may also turn on a camera in his terminal so that the first user may observe the second user's surroundings in real time.
In an alternative embodiment of the present invention, the association relationship between the first user and the second user can be established in the following two ways.
In a first mode
If the first user and the second user have a social relationship, an association relationship between the first user and the second user may be established.
The social relationship may indicate that the first user and the second user have a closer relationship, and the social relationship may specifically include: family relations, classmate relations, friend relations, colleague relations, etc., it is understood that the embodiment of the present invention does not limit the specific form of the social relations.
For example, if the user a and the user B are a couple relationship, and it may be determined that the user a and the user B have a social relationship, the association relationship between the user a and the user B may be established if both of the user a and the user B agree. If the user A is registered as a first user and the user B is registered as a second user, the user A can obtain the real-time position information of the user B by searching the identification of the user B in the electronic map; or, the user a may be registered as the second user, and the user B may be registered as the first user, and then the user B may obtain the real-time location information of the user a by searching the identifier of the user a in the electronic map.
Mode two
If the activity track of the first user is related to the activity track of the second user, an association relationship between the first user and the second user may be established.
The activity track correlation may refer to that the time of the activity and the position of the activity overlap for a plurality of times, which indicates that there is a high possibility that a close relationship exists between the first user and the second user. The embodiment of the invention can collect the activity tracks of the first user and the second user, and can establish the association relationship between the first user and the second user if the activity track of the first user is related to the activity track of the second user.
For example, the time and the position of the activities of the first user a and the second user b on the weekend are overlapped for a plurality of times, and it can be presumed that the relationship between the first user a and the second user b is relatively close, an inquiry request for whether to be willing to establish the association relationship can be sent to the first user a and the second user b, and the association relationship between the first user a and the second user b can be established under the condition that both the first user a and the second user b agree, so that the first user a can obtain the real-time position information of the second user b. Of course, the first user a may also be registered as the second user, and the second user b may also be registered as the first user, so that the two users can mutually obtain real-time location information of the other party.
It can be understood that the above two ways of establishing the association relationship between the first user and the second user are only used as an application example of the embodiment of the present invention, and in practical applications, a person skilled in the art may establish the association relationship between the first user and the second user according to actual requirements.
In an optional embodiment of the present invention, the access right of the first user may be obtained according to an association relationship between the first user and the second user.
Optionally, in the embodiment of the present invention, the access right of the first user may be determined according to the type of the association relationship.
For example, in the above example, the type of the association relationship may be a family relationship or a friend relationship, and then the access right of the real-time location information of the second user may be opened to the first user.
Optionally, the access right of the second user may also be determined according to the association relationship between the first user and the second user. For example, for a first user and a second user having a family relationship or a friend relationship, the first user and the second user may be granted permission to access real-time location information of each other.
For another example, if the type of the association relationship between the first user and the second user is a relationship between a merchant and a customer, and it is assumed that the first user is the customer and the second user is the merchant, the access right of the information such as the business state, the promotion activity, and the like of the second user can be opened to the first user. Or, if the first user is a customer and the second user is a merchant, the access right of the information such as the business state, the promotion activity and the like of the second user can be opened to the first user.
For another example, if the type of the association relationship between the first user and the second user is a relationship between a doctor and a patient, and the first user is assumed to be the doctor and the second user is assumed to be the patient, the access right of information such as a department where the first user is located, clinical experience, and sitting diagnosis time can be opened to the second user, and the access right of information such as a case and a registration number of the second user can be opened to the first user.
In an alternative embodiment of the invention, the association between the first user and the second user may be determined by the second user.
Specifically, the second user may determine an association relationship with any first user, such as "stranger relationship", "customer relationship", "relativity relationship", "friendship relationship", and the like.
According to one embodiment, in an initial case, the second user may set the association relationship with all the first users as: "stranger relationship". The access right of the first user corresponding to the stranger relationship may include: "provincial location accessible", "gender accessible", etc., and does not include: the access authority of information such as "standing position information", "real-time position information", "age", "photo", and the like.
Optionally, if the first user initiates an association request, where the association request is used to associate the first user with the second user, the second user may determine whether to establish an association relationship with the first user and what kind of association relationship is established according to the request of the first user. That is, the establishment of the association requires obtaining authorization of the second user.
In addition, the incidence relation imported through the social relation, the incidence relation imported through track mining, the incidence relation actively established and the like, and the access authority corresponding to each incidence relation can be authorized by the second user, so that the information security of the second user is improved.
In an optional embodiment of the present invention, the displaying the location information of the second user on the electronic map may specifically include: displaying the position information of the second user on an electronic map according to the display condition set by the second user; wherein the display conditions comprise: the display depth of the position information.
In a specific application, in order to improve the confidentiality and the security of the location information of the second user, the second user may further set a presentation condition corresponding to the location information issued by the second user, where the presentation condition may specifically include: the display depth of the position information.
In an application example of the embodiment of the present invention, it is assumed that a movie star is registered as a second user in an electronic map, and publishing its own location information includes: home location information and work location information. The family position information is as follows: beijing rising sun district Bei four ring Zhonglu No. 6 Hua ting Garden family D seat; the working position information is as follows: beijing, Chaoyang district Jinchan Beili No. 21. The movie star sets the display depth for displaying the home position information as follows: a district or county, that is, a district or county where home location information is displayed; and setting the display depth of the display working position information as follows: in detail, the specific working position information can be displayed. Thus, when the electronic map receives the identifier of the movie star input by the first user, the home location information of the movie star can be displayed on the electronic map according to the display condition as follows: the work position information of the Beijing Chaoyang district and the star showing the movie is as follows: beijing, Chaoyang district Jinchan Beili No. 21.
It should be understood that the above description uses the display depth of the position information as the display condition, and is only an application example of the embodiment of the present invention, and the embodiment of the present invention does not limit the specific content of the display condition. For example, the display conditions may further include: the attribute of the first user, wherein the attribute of the first user may specifically include: the age, gender, school calendar, occupation, etc. of the first user.
For example, in the above example, the movie star may also set the presentation conditions including: if the age of the first user is more than 18 years old, the electronic map can authenticate the first user according to the display condition, and in the case that the age of the first user is more than 18 years old, the electronic map can display the position information of the movie star to the first user.
Therefore, according to the embodiment of the invention, the second user can set the display condition corresponding to the position information of the second user according to the requirement, so that the electronic map can display the position information of the second user according to the display condition, and the confidentiality and the safety of the position information of the second user can be improved.
In an optional embodiment of the invention, the method may further comprise: and displaying the related information of the second user on an electronic map.
In the embodiment of the invention, under the condition that the search word input by the first user is matched with the identifier of the second user, the position information of the second user can be determined according to the identifier, and the position information of the second user is displayed on the electronic map; in addition, the embodiment of the invention can also display the related information of the second user on the electronic map so as to provide more information related to the second user for the first user, and can reduce the operation cost of the first user for further searching the related information of the second user.
In an optional embodiment of the present invention, the related information may specifically include: the user attribute corresponding to the second user and/or the service information corresponding to the second user.
The user attribute may refer to an attribute that the user has. Optionally, the user attribute may include at least one of the following attributes: preference attributes and static attributes.
Static attributes are relatively stable attributes such as the user's age, gender, geography, academic history, business, occupation, marital, consumption level, identity (e.g., dad, mom, etc.), and the like.
The preference attribute is typically dynamic with respect to the relative stability of the static attributes described above, which may change with changing user behavior. In an alternative embodiment of the present application, the preference attribute may refer to a preference attribute of the user for the content. Wherein the attribute may vary with a user's behavior (at least one of browsing behavior, searching behavior, collecting behavior, saving behavior, focusing behavior, selecting behavior, and evaluating behavior) with respect to the content.
A service refers to a transaction that a service provider proposes to meet the needs of a user. For example, if the identity of the second user is a doctor, the service information corresponding to the second user may be business information related to the doctor, such as department information and registration information of the doctor; if the identity of the second user is a cook, the business information corresponding to the second user may be transaction information related to the cook, such as meal ordering information of a restaurant where the cook is located; for another example, if the identity of the second user is a star, the service information corresponding to the second user may be venue information and the like that the star is participating in a game.
In an application example of the present invention, assuming that a chef has a certain name of the certain name input by a first user, the chef may display the position information of the dining room where the certain name is located in the electronic map; in addition, the user attributes of the plum certain item, such as the information of the age, occupation, hobbies, photos and the like of the plum certain item, can be displayed in the electronic map; and/or displaying business information of the plum certain item in the electronic map, such as a restaurant introduction of a restaurant where the plum certain item is located, main dishes, meal ordering information of the first user in the restaurant, and the like.
For another example, if a doctor is registered as a second user in the electronic map and the location information and related information of the hospital where the doctor is located are published in the electronic map, the electronic map may show the location information of the hospital where the doctor is located in the electronic map when the name of the doctor input by the first user is received; in addition, the user attributes of the doctor, such as the age, professional speciality, department and other information of the doctor, can be displayed in the electronic map, and/or the business information of the doctor, such as which departments the doctor is in the hospital and registration information of the first user in the corresponding department, can be displayed in the electronic map.
It should be understood that the above-mentioned related information is only an application example of the present invention, and in practical applications, a person skilled in the art may flexibly set the specific content of the related information, and the embodiment of the present invention does not limit the specific content of the related information shown.
In an optional embodiment of the invention, the method may further comprise: according to the access authority of the first user, filtering the related information of the second user to obtain filtered related information matched with the access authority;
the displaying of the relevant information of the second user on the electronic map may specifically include:
and displaying the filtered related information matched with the access authority on the electronic map.
In order to improve the confidentiality and security of the related information of the second user, the embodiment of the invention can set the access right of the first user, and the access right of the first user can be used for limiting the range of the related information which can be acquired by the first user. Specifically, a correspondence between the account of the first user and the access right of the first user may be established. In this way, in the case of receiving the search term input by the first user, the access right of the first user may be determined according to the account of the first user, and the related information of the second user is filtered according to the access right, so as to show the related information of the second user which accords with the access right of the first user to the first user.
Optionally, the embodiment of the present invention may further establish a mapping relationship between the access right of the first user and the viewing information field, and according to the mapping relationship, it may be determined which fields of the related information of the second user correspond to the information that the first user can view under the access right of the first user.
In an application example of the embodiment of the present invention, it is assumed that a search word input by a first user a is received, and the search word matches with an identifier of a second user B; assuming that the determination of the access right of the first user a according to the account of the first user a includes: if the access permission of the second user is allowed to access the related information corresponding to the fields of the name, age, hobby, and the like of the second user, and the access permission of the second user is not allowed to access the related information corresponding to the fields of the contact way, the photo, and the like of the second user, the related information of the second user B may be filtered according to the access permission of the first user a, so as to obtain the related information of the second user B matched with the access permission of the first user a, and the method specifically includes: the name, age, hobby and other related information of the second user B are displayed on the electronic map, and the contact way, the photo and other related information of the second user B are not displayed, so that the confidentiality and the safety of the related information of the second user B can be improved to a certain extent.
Optionally, in the embodiment of the present invention, a publishing right corresponding to the second user may be further set, so that the second user may publish the location information and/or the related information corresponding to the publishing right of the second user.
Specifically, a corresponding relationship between an account of the second user and a publishing right of the second user may be established, where the publishing right of the second user may be used to limit the location information and/or the related information that the second user may publish.
Optionally, the embodiment of the present invention may further establish a mapping relationship between the publishing authority of the second user and the publishing information field, and according to the mapping relationship, it may be determined which fields of the corresponding location information and/or the related information can be published by the second user under the publishing authority of the second user.
In an application example of the embodiment of the present invention, it is assumed that the issuing authority corresponding to the account of the second user C includes: if the second user C logs in to the account, the second user C may issue the information about the standing position and the information about the name, age, taste, contact information, but may not issue the information about the photograph.
It can be understood that the embodiment of the present invention does not limit the access right of the first user and the specific right content corresponding to the publishing right of the second user, for example, the access right of the first user may also be set to include related information about which second users are allowed to be accessed, and related information about which second users are not allowed to be accessed, and the like.
In addition, the embodiment of the present invention does not limit the specific manner of setting the access right of the first user and the issue right of the second user. For example, the access right of the first user or the issue right of the second user may be determined according to the detailed degree of the user information, or the access right of the first user may be determined according to a payment account of a third-party payment platform such as a bank card, a payment treasure, a WeChat payment, and the like bound to the first user, or the issue right of the second user may be determined according to a payment account of a third-party payment platform such as a bank card, a payment treasure, a WeChat payment, and the like bound to the second user.
In an application example of the embodiment of the present invention, a user may enter a registration interface through a registration entry in an electronic map, and select to register as a first user or a second user in the registration interface. For example, assume that a user selects to register as a first user and the user uploads more detailed user information, which specifically includes: the name, age, hobby, contact way, home address of the user and the payment information bound with the bank card can set the access authority of the first user in a larger range, and more related information of the second user can be accessed. Or, if the user uploads only less user information such as name and age, the access right corresponding to a smaller range of the first user may be set, and less related information of the second user may be accessed.
In an application example of the present invention, in a case where a user uses account information of a non-electronic map application as account information of a first user or a second user, an access right of the first user and a distribution right of the second user may be set according to the account of the non-electronic map application.
Assuming that the non-electronic map application is WeChat, specifically, in the case of receiving a login request of a user, the embodiment of the present invention may display a two-dimensional code for login in an electronic map, so that the user may scan the two-dimensional code using WeChat, and authorize the account information of WeChat to the electronic map, so as to log in the electronic map through a WeChat account.
After the user logs in the electronic map by using the WeChat account, if the user selects to register as the first user, the WeChat account can be used as the account of the first user, optionally, the embodiment of the invention can also obtain user information corresponding to the WeChat account of the user, such as name, age, gender, contact way and the like, through authorization of WeChat application, and can be directly used as the user information of the first user; if the user selects to register as the second user, the wechat account can be used as the account of the second user, and similarly, the embodiment of the present invention can also obtain the user information corresponding to the wechat account of the user, such as name, age, gender, contact information, and the like, through the authorization of the wechat application, and can be directly used as the user information of the second user.
Optionally, the embodiment of the present invention may further perform identity verification on the user information of the first user and/or the second user, for example, verify the authenticity and validity of the identity information, and allow registration to be referred to as the first user or the second user when the user information passes the identity verification. Therefore, the illegal user can be prevented from acquiring the position information or the related information of the second user, and the information safety of the second user can be improved.
It is understood that in practical applications, a person skilled in the art can flexibly set the access right of the first user and the publishing right of the second user according to actual needs, for example, the embodiment of the present invention can use a known historical person as the second user, and establishes the corresponding relation between the known historical characters and the position information of the old residence, the activity place and the like, because the confidentiality of the position information and the related information of the known historical person is not high, the position information and the access authority of the related information of the known historical person can be opened to all users, namely, any user (such as an unregistered user and an unregistered user) can search the name of the known historical person in the electronic map to obtain the position information of the known historical person, such as the place of the old and the place of the activity, and the related information of the person introduction of the known historical person.
To sum up, the embodiment of the present invention may receive a search term input by a first user, and if it is determined that the search term matches an identifier of a second user, may determine, according to the identifier, location information of the second user, and display the location information of the second user on an electronic map. Therefore, under the condition that the first user does not know the place name corresponding to the position information of the second user, the position information of the second user can be searched in the electronic map through the identification of the second user, the probability that the electronic map cannot provide the position information required by the user for the user can be reduced, and the accuracy of map searching can be further improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Device embodiment
Referring to fig. 2, a block diagram of a data processing apparatus according to an embodiment of the present invention is shown, which may specifically include: a receiving module 201, a matching module 202 and a first display module 203;
the receiving module 201 is configured to receive a search term input by a first user;
the matching module 202 is configured to determine, according to the identifier, location information of a second user if the search term matches the identifier of the second user;
the first display module 203 is configured to display the location information of the second user on an electronic map.
Optionally, the apparatus may further include:
the filtering module is used for filtering the related information of the second user according to the access authority of the first user to obtain the filtered related information matched with the access authority;
and the second display module is used for displaying the filtered related information matched with the access authority on the electronic map.
Optionally, the access right of the first user may be obtained according to an association relationship between the first user and the second user.
Optionally, the first display module may specifically include:
the first display sub-module is used for displaying the position information of the second user on the electronic map according to the display condition set by the second user; wherein the display conditions comprise: the display depth of the position information.
Optionally, if the association relationship between the first user and the second user meets a preset condition, the location information may specifically include: real-time location information.
Optionally, the apparatus may further include:
the first establishing module is used for establishing an association relationship between the first user and the second user if the first user and the second user have a social relationship; or
And the second establishing module is used for establishing the association relationship between the first user and the second user if the activity track of the first user is related to the activity track of the second user.
Optionally, the related information may specifically include: the user attribute corresponding to the second user and/or the service information corresponding to the second user.
Optionally, the location information may specifically include: standing position information of the second user; the standing position information may specifically include: home location information, and/or work location information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present invention provides an apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include instructions for: receiving a search word input by a first user; if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification; and displaying the position information of the second user on an electronic map.
Fig. 3 is a block diagram illustrating an apparatus 800 for data processing in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice data processing mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on radio frequency data processing (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 4 is a schematic diagram of a server in some embodiments of the invention. The server 1900, which may vary widely in configuration or performance, may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of an apparatus (server or terminal), enable the apparatus to perform the data processing method shown in fig. 1.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (server or terminal), enable the apparatus to perform a data processing method, the method comprising: receiving a search word input by a first user; if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification; and displaying the position information of the second user on an electronic map.
The embodiment of the invention discloses A1 and a data processing method, which comprises the following steps:
receiving a search word input by a first user;
if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification;
and displaying the position information of the second user on an electronic map.
A2, the method of A1, the method further comprising:
according to the access authority of the first user, filtering the related information of the second user to obtain filtered related information matched with the access authority;
and displaying the filtered related information matched with the access authority on the electronic map.
A3, according to the method in A2, the access right of the first user is obtained according to the association relationship between the first user and the second user.
A4, the method of A1, the showing location information of the second user on an electronic map, comprising:
displaying the position information of the second user on an electronic map according to the display condition set by the second user; wherein the display conditions comprise: the display depth of the position information.
A5, according to the method of A1, if the association relationship between the first user and the second user meets a preset condition, the location information includes: real-time location information.
A6, the method of A1, the method further comprising:
if the first user and the second user have a social relationship, establishing an association relationship between the first user and the second user; or
And if the activity track of the first user is related to the activity track of the second user, establishing an association relationship between the first user and the second user.
A7, the method of A2, the related information comprising: the user attribute corresponding to the second user and/or the service information corresponding to the second user.
A8, the method according to any one of A1 to A7, wherein the position information comprises: standing position information of the second user; wherein the standing position information includes: home location information, and/or work location information.
The embodiment of the invention discloses B9 and a data processing device, which comprises:
the receiving module is used for receiving a search word input by a first user;
the matching module is used for determining the position information of the second user according to the identification if the search word is matched with the identification of the second user;
and the first display module is used for displaying the position information of the second user on the electronic map.
B10, the apparatus of B9, the apparatus further comprising:
the filtering module is used for filtering the related information of the second user according to the access authority of the first user to obtain the filtered related information matched with the access authority;
and the second display module is used for displaying the filtered related information matched with the access authority on the electronic map.
B11, the device according to B10, wherein the access right of the first user is obtained according to the association relationship between the first user and the second user.
B12, the device of B9, the first display module comprising:
the first display sub-module is used for displaying the position information of the second user on the electronic map according to the display condition set by the second user; wherein the display conditions comprise: the display depth of the position information.
B13, according to the device of B9, if the association between the first user and the second user meets a preset condition, the position information comprises: real-time location information.
B14, the apparatus of B9, the apparatus further comprising:
the first establishing module is used for establishing an association relationship between the first user and the second user if the first user and the second user have a social relationship; or
And the second establishing module is used for establishing the association relationship between the first user and the second user if the activity track of the first user is related to the activity track of the second user.
B15, the apparatus according to B10, the related information comprising: the user attribute corresponding to the second user and/or the service information corresponding to the second user.
B16, the apparatus according to any of B9 to B15, the location information comprising: standing position information of the second user; wherein the standing position information includes: home location information, and/or work location information.
The invention discloses C17, an apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors comprise instructions for:
receiving a search word input by a first user;
if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification;
and displaying the position information of the second user on an electronic map.
C18, the device of C17, the device also configured to execute the one or more programs by one or more processors including instructions for:
according to the access authority of the first user, filtering the related information of the second user to obtain filtered related information matched with the access authority;
and displaying the filtered related information matched with the access authority on the electronic map.
And C19, obtaining the access right of the first user according to the association relationship between the first user and the second user by the device according to the C18.
C20, the apparatus of C17, the showing location information of the second user on an electronic map, comprising:
displaying the position information of the second user on an electronic map according to the display condition set by the second user; wherein the display conditions comprise: the display depth of the position information.
C21, according to the apparatus of C17, if the association relationship between the first user and the second user meets a preset condition, the location information includes: real-time location information.
C22, the device of C17, the device also configured to execute the one or more programs by one or more processors including instructions for:
if the first user and the second user have a social relationship, establishing an association relationship between the first user and the second user; or
And if the activity track of the first user is related to the activity track of the second user, establishing an association relationship between the first user and the second user.
C23, the apparatus according to C18, the related information comprising: the user attribute corresponding to the second user and/or the service information corresponding to the second user.
C24, the apparatus according to any of C17 to C23, the location information comprising: standing position information of the second user; wherein the standing position information includes: home location information, and/or work location information.
The invention discloses D25, a machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform a data processing method as described in one or more of a 1-a 8.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
The data processing method, the data processing apparatus and the apparatus for data processing provided by the present invention are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present invention, and the description of the above embodiments is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of data processing, the method comprising:
receiving a search word input by a first user;
if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification;
and displaying the position information of the second user on an electronic map.
2. The method of claim 1, further comprising:
according to the access authority of the first user, filtering the related information of the second user to obtain filtered related information matched with the access authority;
and displaying the filtered related information matched with the access authority on the electronic map.
3. The method of claim 2, wherein the access right of the first user is obtained according to an association relationship between the first user and the second user.
4. The method of claim 1, wherein the presenting the location information of the second user on the electronic map comprises:
displaying the position information of the second user on an electronic map according to the display condition set by the second user; wherein the display conditions comprise: the display depth of the position information.
5. The method according to claim 1, wherein if the association relationship between the first user and the second user meets a preset condition, the location information comprises: real-time location information.
6. The method of claim 1, further comprising:
if the first user and the second user have a social relationship, establishing an association relationship between the first user and the second user; or
And if the activity track of the first user is related to the activity track of the second user, establishing an association relationship between the first user and the second user.
7. The method of claim 2, wherein the related information comprises: the user attribute corresponding to the second user and/or the service information corresponding to the second user.
8. A data processing apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving a search word input by a first user;
the matching module is used for determining the position information of the second user according to the identification if the search word is matched with the identification of the second user;
and the first display module is used for displaying the position information of the second user on the electronic map.
9. An apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein execution of the one or more programs by one or more processors comprises instructions for:
receiving a search word input by a first user;
if the search word is matched with the identification of the second user, determining the position information of the second user according to the identification;
and displaying the position information of the second user on an electronic map.
10. A machine-readable medium having stored thereon instructions which, when executed by one or more processors, cause an apparatus to perform a data processing method as claimed in one or more of claims 1 to 7.
CN201811575166.0A 2018-12-21 2018-12-21 Data processing method and device and data processing device Pending CN111353105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811575166.0A CN111353105A (en) 2018-12-21 2018-12-21 Data processing method and device and data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811575166.0A CN111353105A (en) 2018-12-21 2018-12-21 Data processing method and device and data processing device

Publications (1)

Publication Number Publication Date
CN111353105A true CN111353105A (en) 2020-06-30

Family

ID=71192516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811575166.0A Pending CN111353105A (en) 2018-12-21 2018-12-21 Data processing method and device and data processing device

Country Status (1)

Country Link
CN (1) CN111353105A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455570A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method, client side and system for accessing location information of contacts through search engine
US20150245168A1 (en) * 2014-02-25 2015-08-27 Flock Inc. Systems, devices and methods for location-based social networks
CN105718596A (en) * 2016-02-24 2016-06-29 杨晟志 Commercial map based on celebrity search
US20160302030A1 (en) * 2015-04-10 2016-10-13 Visor, Inc. Location-Based Real-Time Contextual Data System
CN107453987A (en) * 2017-09-30 2017-12-08 珠海市魅族科技有限公司 A kind of contact person information processing method, mobile terminal and computer program product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455570A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method, client side and system for accessing location information of contacts through search engine
US20150245168A1 (en) * 2014-02-25 2015-08-27 Flock Inc. Systems, devices and methods for location-based social networks
US20160302030A1 (en) * 2015-04-10 2016-10-13 Visor, Inc. Location-Based Real-Time Contextual Data System
CN105718596A (en) * 2016-02-24 2016-06-29 杨晟志 Commercial map based on celebrity search
CN107453987A (en) * 2017-09-30 2017-12-08 珠海市魅族科技有限公司 A kind of contact person information processing method, mobile terminal and computer program product

Similar Documents

Publication Publication Date Title
US9253196B2 (en) Content access control in a social network
US9565155B2 (en) System and method for openly sharing and synchronizing information across a plurality of mobile client application computers
US9602516B2 (en) Method, server and terminal device for establishing communication session
US20170118165A1 (en) System and method for controlled sharing and synchronizing information across a plurality of mobile client application computers
CN110020148B (en) Information recommendation method and device and information recommendation device
US20160191534A1 (en) Methods and Systems for Managing Permissions to Access Mobile Device Resources
US10972528B2 (en) Methods and systems for accessing third-party services within applications
US20150134687A1 (en) System and method of sharing profile image card for communication
WO2017206165A1 (en) Information sending method, information receiving method, apparatus and system
CN106897937B (en) Method and device for displaying social sharing information
US20160335599A1 (en) Systems and methods for exchanging information
CN107423386B (en) Method and device for generating electronic card
US10812438B1 (en) Integrated telephone applications on online social networks
KR20150112789A (en) Method for sharing data of electronic device and electronic device thereof
CN105303120B (en) Short message reading method and device
CN108027821B (en) Method and device for processing picture
RU2621293C2 (en) Method for granting permission, method for obtaining permission and corresponding devices
US9667597B2 (en) System and a method for location based anonymous communication over a network
CN107526960B (en) System and method for protecting mobile contact information
CN107070816B (en) Application identification method and device and mobile terminal
EP3282416A1 (en) Methods and systems for accessing third-party services within applications
CN111353105A (en) Data processing method and device and data processing device
CN110807116A (en) Data processing method and device and data processing device
CN113660203B (en) Anchor account processing method, device and system, electronic equipment and storage medium
CN109120500B (en) Information processing method and input method system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination