WO2014048101A1 - 用户数据标注方法、终端设备及服务器 - Google Patents

用户数据标注方法、终端设备及服务器 Download PDF

Info

Publication number
WO2014048101A1
WO2014048101A1 PCT/CN2013/073557 CN2013073557W WO2014048101A1 WO 2014048101 A1 WO2014048101 A1 WO 2014048101A1 CN 2013073557 W CN2013073557 W CN 2013073557W WO 2014048101 A1 WO2014048101 A1 WO 2014048101A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
terminal device
information
location information
game
Prior art date
Application number
PCT/CN2013/073557
Other languages
English (en)
French (fr)
Inventor
张弓
金洪波
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP13805215.4A priority Critical patent/EP2741468B1/en
Priority to US14/109,299 priority patent/US20140108317A1/en
Publication of WO2014048101A1 publication Critical patent/WO2014048101A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/211Input arrangements for video game devices characterised by their sensors, purposes or types using inertial sensors, e.g. accelerometers or gyroscopes
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/216Input arrangements for video game devices characterised by their sensors, purposes or types using geographical information, e.g. location of the game device or player using GPS
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list

Definitions

  • the present invention relates to communication technologies, and in particular, to a user data annotation method, a terminal device, and a server. Background technique
  • User behavior recognition is the process of collecting relevant information about a user in a particular environment and inferring user behavior or intentions.
  • the collection of user-related information is mainly performed by behavior sensors (such as acceleration, gyroscope, electronic compass, etc.) carried by the user and sensing sensors (such as temperature sensors, pressure sensors, brightness sensors, etc.) that sense the surrounding environment of the user.
  • behavior sensors such as acceleration, gyroscope, electronic compass, etc.
  • sensing sensors such as temperature sensors, pressure sensors, brightness sensors, etc.
  • the invention provides a user data labeling method, a terminal device and a server, which are used to improve the number of labeled data and overcome the limitation on the application of user behavior recognition.
  • the first aspect provides a user data annotation method, including:
  • the server labels the location information of the first user, the behavior information of the first user, and the sensing data to obtain the annotation data of the first user.
  • the server receives location information of the first user corresponding to the first terminal device that is sent by the first terminal device during the game, and the first user
  • the behavior information and the sensing data of each sensor on the first terminal device include:
  • the server receives location information of the first user corresponding to the first terminal device that is sent by the first terminal device during the game, and the first user
  • the behavior information and the sensing data of each sensor on the first terminal device include:
  • the server predicts, according to the sensing data, candidate user location information and candidate user behavior information
  • the server predicts, according to the sensing data, candidate user location information and an alternative User behavior information includes:
  • the server obtains, according to the sensing data, the predicted location sensing data and the predicted behavior sensing data corresponding to the first user;
  • the server identifies the predicted location sensing data and the predicted behavior sensing data according to a correspondence between a pre-stored semantic location and behavior and sensing data, to obtain the candidate user location. Information and the alternative user behavior information.
  • the server may receive the first terminal that is sent by the first terminal device during a game.
  • the location information of the first user corresponding to the device, the behavior information of the first user, and the sensing data of each sensor on the first terminal device include:
  • the server receives the identification information of the second terminal device that is invited to join the game sent by the first terminal device during the game;
  • the server sends an invite notification message to the second terminal device according to the identifier information of the second terminal device, to notify the second terminal device to join the game, and the location information of the first user Sending to the second terminal device, for the third user corresponding to the third terminal device that joins the game in the second terminal device to guess the behavior of the first user;
  • the second aspect provides a user data annotation method, including:
  • the first terminal device acquires location information of the first user corresponding to the first terminal device, behavior information of the first user, and sensing data of each sensor on the first terminal device;
  • the first terminal device sends the location information of the first user, the behavior information of the first user, and the sensing data to a server, so that the server obtains the annotation data of the first user.
  • the first terminal device acquires location information of the first user corresponding to the first terminal device, behavior information of the first user, and The sensing data of each sensor on the first terminal device includes:
  • the first terminal device acquires the sensing data in an initial stage of the game.
  • the first terminal device acquires location information of the first user corresponding to the first terminal device, behavior information of the first user, and
  • the sensing data of each sensor on the first terminal device includes: The first terminal device acquires the sensing data in an initial stage of the game, and sends the sensing data to the server;
  • the first terminal device displays the candidate user location information and the candidate user behavior information to the first user for selection by the first user;
  • the first terminal device receives a selection instruction input by the first user, where the selection instruction includes a location selected by the first user from the candidate user location information and the candidate user behavior information respectively The location information of the first user and the behavior information of the first user.
  • the first terminal device acquires location information of the first user corresponding to the first terminal device, behavior information of the first user, and The sensing data of each sensor on the first terminal device includes:
  • the first terminal device acquires the sensing data in an initial stage of the game
  • the first terminal displays the candidate user location information and the candidate user behavior information to the first user for selection by the first user;
  • the first terminal device receives a selection instruction input by the first user, where the selection instruction includes a location selected by the first user from the candidate user location information and the candidate user behavior information respectively The location information of the first user and the behavior information of the first user.
  • the first terminal device predicts, according to the sensing data, candidate user location information and Selected user behavior information includes:
  • the first terminal device obtains sensing data for prediction position and sensing data for prediction behavior corresponding to the first user according to the sensing data;
  • the first terminal device identifies the predicted location sensing data and the predicted behavior sensing data according to a correspondence between a pre-stored semantic location and behavior and sensing data, to obtain the candidate User location information and the alternative user behavior information.
  • the third aspect provides a server, including: a first receiving module, configured to receive, by the first terminal device, the location information of the first user corresponding to the first terminal device that is sent by the first terminal device, the behavior information of the first user, and the first terminal device Sensing data of the sensor;
  • An annotation obtaining module configured to mark location information of the first user, the behavior information of the first user, and the sensing data received by the first receiving module, to obtain an annotation of the first user data.
  • the first receiving module is specifically configured to receive location information of the first user that is sent by the first terminal device in an initial stage of the game,
  • the behavior information of the first user and the sensing data of each sensor on the first terminal device, the location information of the first user and the behavior information of the first user are initials of the first user according to the game
  • the prompt of the phase is input to the first terminal device.
  • the first receiving module includes: a first receiving unit, configured to receive the first terminal that is sent by the first terminal device in an initial stage of the game Sensing data of each sensor on the device;
  • a prediction unit configured to: after the first receiving unit receives the sensing data, predict, according to the sensing data, candidate user location information and candidate user behavior information;
  • a sending unit configured to send the candidate user location information and the candidate user behavior information to the first terminal device for selection by the first user
  • a second receiving unit configured to receive the location information of the first user and the behavior information of the first user that are returned by the first terminal device, where the location information of the first user is the first user
  • the first terminal device is selected from the candidate user location information, and the location information of the first user is selected by the first user from the candidate user behavior information by using the first terminal device.
  • the predicting unit is specifically configured to obtain, according to the sensing data, a prediction corresponding to the first user
  • the position sensing data and the prediction behavior sensing data are performed on the predicted position sensing data and the prediction behavior sensing data according to a correspondence relationship between the semantic position and the behavior and the sensing data stored in advance. Identifying, obtaining the candidate user location information and the candidate user behavior information.
  • the server further includes: a second receiving module, configured, in the first receiving After receiving the location information of the first user, the behavior information of the first user, and the sensing data, the module receives the invitation sent by the first terminal device during the game to be invited to join the game. Identification information of the second terminal device;
  • a first sending module configured to send an invite notification message to the second terminal device according to the identifier information of the second terminal device, to notify the second terminal device to join the game, and the first The location information of the user is sent to the second terminal device, so that the third user corresponding to the third terminal device that joins the game in the second terminal device guesses the behavior of the first user; And configured to receive the guessing behavior information sent by the third terminal device, and compare the behavior information of the first user with the guess behavior information;
  • a second sending module configured to send the comparison result of the third receiving module to the third terminal device, so that the third user knows the guess result.
  • the fourth aspect provides a first terminal device, including:
  • an acquiring module configured to acquire location information of the first user corresponding to the first terminal device, behavior information of the first user, and sensing data of each sensor on the first terminal device during a game
  • a first sending module configured to send the location information of the first user, the behavior information of the first user, and the sensing data to a server, so that the server obtains the annotation data of the first user.
  • the acquiring module is specifically configured to receive, in an initial stage of the game, the first input that is input by the first user according to a prompt of an initial stage of the game.
  • the location information of the user and the behavior information of the first user, and the sensor data is acquired at an initial stage of the game.
  • the acquiring module includes:
  • a first acquiring unit configured to acquire the sensing data in an initial stage of the game
  • a sending unit configured to send the transmission to the server after the first acquiring unit acquires the sensing data Sense data
  • a first receiving unit configured to receive candidate user location information returned by the server, and candidate user behavior information, where the candidate user location information and the candidate user behavior information are The server predicts based on the sensor data;
  • a first display unit configured to display the candidate user location information and the candidate user behavior information to the first user for selection by the first user
  • a second receiving unit configured to receive a selection instruction input by the first user, where the selection instruction includes the first user separately selecting from the candidate user location information and the candidate user behavior information Location information of the first user and behavior information of the first user.
  • the acquiring module includes:
  • a second acquiring unit configured to acquire the sensing data in an initial stage of the game
  • a prediction unit configured to predict, according to the sensing data, candidate user location information and optional user behavior information
  • a second display unit configured to display the candidate user location information and the candidate user behavior information to the first user for selection by the first user
  • a third receiving unit configured to receive a selection instruction of the first user input, where the selection instruction includes the first user separately selecting from the candidate user location information and the candidate user behavior information Location information of the first user and behavior information of the first user.
  • the predicting unit is configured to obtain, according to the sensing data, a prediction corresponding to the first user
  • the position sensing data and the prediction behavior sensing data are performed on the predicted position sensing data and the prediction behavior sensing data according to a correspondence relationship between the semantic position and the behavior and the sensing data stored in advance. Identifying, obtaining the candidate user location information and the candidate user behavior information.
  • the user data annotation method, the terminal device and the server provided by the embodiment of the present invention, the terminal device acquires the location information, the behavior information of the user and the sensor data of each sensor on the terminal device during the game process, and provides the data to the server, and the server passes the user
  • the location information, the behavior information and the sensor data are marked to obtain the user's annotation data, and the manner of obtaining the user's annotation data in the user game process can obtain richer and large amount of annotation data, which is beneficial to the application of user behavior recognition.
  • FIG. 1 is a flowchart of a user data labeling method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for labeling user data according to another embodiment of the present invention.
  • FIG. 3 is a flowchart of a user data labeling method according to another embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for labeling user data according to another embodiment of the present invention.
  • FIG. 5 is a flowchart of a user data labeling method according to another embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for labeling user data according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a server according to another embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a server according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a first terminal device according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a first terminal device according to another embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a first terminal device according to another embodiment of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of a user data labeling method according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
  • Step 101 The server receives location information of the first user corresponding to the first terminal device sent by the first terminal device during the game, behavior information of the first user, and sensing data of each sensor on the first terminal device.
  • the server of the present embodiment mainly refers to a server that provides the above-described game service, and is mainly responsible for cooperating with each terminal device to complete the above-mentioned game, and acquires the annotation data of the user who plays the game during the game.
  • the first terminal device as the initiator of the game, first starts the first terminal.
  • the game program on the device, and the first user corresponding to the first terminal device starts the game by cooperating with the server.
  • the first terminal device acquires location information of the first user, behavior information of the first user, and sensing data of each sensor on the first terminal device.
  • the process in which the first terminal device acquires the location information of the first user, the behavior information of the first user, and the sensory data of the sensor belongs to a step in the game, and is associated with a specific process of the game.
  • Such a way of using the user's location information, behavior information, and the like as information required in the game process to engage the user in the game can acquire the user's location information and behavior information, and does not involve the user's privacy problem.
  • the location information of the first user refers to information that can represent the current location of the first user and can be understood by the user, and the information conforms to the semantic understanding of the person, for example, the first user may be in an office building, An office in an office or a classroom in a school.
  • the behavior information of the first user refers to information capable of characterizing the ongoing action of the first user and can be understood by the user, and the information is also in line with the semantic understanding of the person, for example, the first user is in a meeting, the first user is listening to a lecture, and the like.
  • the sensors on the first terminal device may include, but are not limited to, a Global Positioning System (GPS), an accelerometer, an audio sensor, a direction sensor, and the like.
  • GPS Global Positioning System
  • the sensor data obtained by different sensors is different.
  • the sensor data of GPS is generally the coordinate information of format (latitude, longitude, altitude), and the sensor data of the accelerometer is generally squared in meters per second (m/s).
  • the acceleration value, the sensor data of the audio sensor is generally an audio signal of a certain frequency, and so on.
  • the sensory data of these sensors is usually not in line with people's semantic understanding.
  • the sensing data of each sensor on the first terminal device may have a mapping relationship with the location information of the first user or the behavior information of the first user.
  • the correspondence between the sensing data and the location information of the first user or the behavior information of the first user needs to be found, and the location information of the first user, the behavior information of the first user, and the corresponding transmission
  • the correspondence between the sensed data is marked to obtain the annotation data of the first user.
  • an implementation manner of step 101 includes: receiving, by the server, location information of the first user that is sent by the first terminal device in an initial stage of the game, behavior information of the first user, and Sensor sensing data.
  • the initial stage of the game refers to the stage before the game is officially entered into the game.
  • the prompt operation is set in the game, and the first user is required to input the position information and behavior information of the first user according to the prompt, so as to facilitate Provide the information needed for the subsequent game process. Therefore, in this embodiment, the location information of the first user and the behavior information of the first user are that the first user inputs the first terminal setting according to the prompt of the initial stage of the game. Prepared.
  • the first user may input behavior information and location information of the first user to the first terminal device through an input device of the first terminal device, such as a keyboard, a mouse, a display, or a display screen.
  • the first user inputs the location information and the behavior information of the first user to the first terminal device according to the prompt given by the initial stage of the game after the first terminal device starts the game, in the process, the first The terminal device acquires sensing data of each sensor thereon, and then transmits the location information of the first user input by the first user and the behavior information of the first user and the acquired sensing data to the server.
  • an implementation manner of step 101 includes: receiving, by the server, sensing data of each sensor on the first terminal device that is sent by the first terminal device in an initial stage of the game; the server predicting according to the sensing data Obtaining alternate user location information and alternative user behavior information; the server transmitting the alternate user location information and the alternate user behavior information to the first terminal device for selection by the first user; the server receiving the first terminal device Returning the location information of the first user and the behavior information of the first user, where the location information of the first user is selected by the first user from the candidate user location information by using the first terminal device, where the location information of the first user It is the first user selected from the alternative user behavior information by the first terminal device.
  • the first terminal device acquires the sensing data of each sensor in the initial stage of the game, and then sends the acquired sensing data of each sensor to the server.
  • the server predicts the location information and the behavior information of the first user according to the sensing data, and obtains the candidate user location information and the candidate user behavior information, and obtains the obtained user location information.
  • the optional user behavior information is sent to the first terminal device for the first user to make a selection.
  • the server may predict the current location of the first user according to the GPS data, for example, it may be predicted that the first user is in an office building, a cell, or a school ladder classroom; the server may predict the first user according to the data of the accelerometer; The current state of motion, for example, can predict that the first user is in a stationary state or a motion state, etc.; the server can predict the complexity of the surrounding environment in which the first user is located according to the data of the audio sensor, for example, it is possible to predict the periphery of the first user. It is quieter or the surrounding area of the first user is noisy, etc.
  • the server can predict the behavior of the first user according to the predicted location of the first user, the state of motion, the degree of noise of the surrounding environment, and the like, for example, predicting the first user. Being in a meeting or the first user is listening to a lecture, etc.
  • the first terminal device After receiving the candidate user location information and the candidate user behavior information, the first terminal device displays the candidate user location information and the candidate user behavior information to the first user for the first user. Make a choice.
  • the first user may select, from the candidate user location information and the candidate user behavior information, the location information that is closest to the current location and behavior of the first user, and the behavior information of the first user, thereby
  • the device issues a selection instruction including location information of the first user and behavior information of the first user.
  • the first user may issue a selection instruction to the first terminal device by using a selection button on the first terminal device or in a touch screen manner.
  • the first terminal device After receiving the selection instruction of the first user, acquires the location information of the first user and the behavior information of the first user, and then sends the location information of the first user and the behavior information of the first user to the server.
  • the server directly obtains the sensing data for the predicted position and the sensing data for the predicted behavior according to the sensing data of each sensor, and the data may not be directly understood by the user, so the sensing data for the predicted position is needed.
  • the predictive behavior is identified by sensory data and converted into location information and behavioral information that the user can understand. Among them, there are many ways to identify the sensing data for the predicted position and the sensing data for the prediction behavior, and the simpler method is pattern matching.
  • the server predicts the candidate user location information and the candidate user behavior information according to the sensing data of each sensor, and the server includes: according to the sensing data of each sensor, the first user correspondingly
  • the predicted position uses sensing data for sensing data and predictive behavior, and then performs sensing data for sensing data and predictive behavior for the predicted position based on the correspondence between the previously stored semantic position and behavior and the sensing data.
  • Identification obtaining alternative user location information and alternative user behavior information.
  • the correspondence between the semantic position and the behavior and the sensor data is pre-stored on the server, and the predicted position sensing data and the predictive behavior sensing data can be converted into an alternative user position that the user can understand.
  • Information and alternative user behavior information is pre-stored on the server, and the predicted position sensing data and the predictive behavior sensing data can be converted into an alternative user position that the user can understand.
  • the sensing data for the predicted location may be GPS data or a Point of Interest (POI) data obtained by processing the GPS data.
  • the sensing data obtained by the server directly based on the sensing data may be (latitude X, longitude Y, height ⁇ ), the user can not intuitively understand the location of the sensor data through this predicted position, so the server uses the sensor data in the pre-stored semantic position and behavior and sensing.
  • the correspondence between the data is matched, and the location information corresponding to the sensing data corresponding to the sensing location can be found, for example, the user is in an office building or a classroom classroom of a certain school, so that the user can select from multiple standbys.
  • the selected user location information determines its own location information.
  • the sensing behavior sensing data may be accelerometer data
  • the sensing behavior data directly obtained by the server according to the sensing data may be the current acceleration value of the user, and the user cannot directly pass the acceleration value.
  • the server matches the acceleration value in the pre-stored semantic position and the correspondence between the behavior and the sensor data, and finds the behavior information corresponding to the sensory data for predicting behavior that can be understood by the user. For example, the user is in a stationary state, or a slow motion state or an accelerated motion state, so that the user can determine the current behavior of the user from a plurality of alternative user behavior information.
  • the sensing behavior sensing data may be accelerometer data and/or audio sensing data
  • the sensing behavior data directly obtained by the server according to the sensing data may be a user's current acceleration value and a decibel value of the environmental noise.
  • the user can not directly understand the behavior of the acceleration value and the decibel value of the environmental noise. Therefore, the server compares the acceleration value and the decibel value of the environmental noise in the pre-stored semantic position and the relationship between the behavior and the sensor data. Matching is performed to find behavioral information that can be understood by the user corresponding to the sensing data, such as the user listening to a lecture in a classroom or meeting in a conference room.
  • Step 102 The server marks the location information of the first user, the behavior information of the first user, and the sensing data, to obtain the annotation data of the first user.
  • the server After the server obtains the location information of the first user, the behavior information of the first user, and the sensor data, the data is labeled to obtain the label data of the first user.
  • the annotation data of the first user includes location information of the first user and behavior information of the first user, and sensing data corresponding to the location information of the first user and the behavior information of the first user, respectively.
  • the server may determine, according to the sensing data in a period of time (for example, 1 minute), a correspondence between the currently received sensing data and the location information and behavior information of the first user.
  • the manner in which the server records the annotation data of the first user is as shown in Table 1, and mainly includes: the identifier of the first user, the time, the sensor data, and the annotation data.
  • the identifier of the first user may be an identifier of the first terminal device.
  • the terminal device acquires the location information, the behavior information of the user, and the sensor data of each sensor on the terminal device during the game process, and provides the data to the server.
  • the server obtains the user's annotation data. This way, the user's annotation data can be obtained in the user game process, which can obtain more abundant and large amount of annotation data, which is beneficial to the server.
  • Application of user behavior recognition is provided by the embodiment.
  • the method further includes: the first terminal device interacts with the server to use the location information of the first user and the behavior information of the first user to complete operations of other parts of the game.
  • the game opened by the first terminal device is a guessing game such as "Guess who I am". Such a game requires other users to participate in the joint completion.
  • the user data labeling method in this embodiment is in step 101. After that:
  • Step 103 The server receives the identifier information of the second terminal device that is invited to join the game sent by the first terminal device during the game.
  • the second terminal device which is invited to join the game here, represents the second user who is invited to join the game, and the second user completes the game through the second terminal device.
  • the second terminal device here may be one or more.
  • the second user who is invited to join the game may be the player who registered the game (ie, the user in the system), and the corresponding second terminal device is the terminal device used by the user in the system, and the identification information of the corresponding second terminal device may be It is the game account used by the second terminal device.
  • the second user may also be a user other than the player of the game (ie, a user outside the system), and the corresponding second terminal is a terminal device used by users outside the system, for example, the second user may be the first user.
  • the contact information in the address book of the terminal device, the identification information of the corresponding second terminal device may be the mobile phone number of the second terminal device; for example, the second user may also be the mailbox (email) used by the first terminal device.
  • the contact information in the buddy list, the identification information of the corresponding second terminal device may be the mailbox number used by the second terminal device, and the like. It is, if a user registers to become the player of the game, then the user is the user in the system, and vice versa, the user outside the system.
  • the first terminal device may be prompted to select the second user invited to join the game. And receiving an invitation to join the first user input, where the invitation to join includes the identification information of the second terminal device selected by the first user.
  • the first terminal device learns the identification information of the second terminal device that is invited to join the game, the first terminal device sends the identification information of the second terminal device to the server.
  • Step 104 The server sends the identifier to the second terminal device according to the identifier information of the second terminal device.
  • the notification message is invited to notify the second terminal device to join the game, and the location information of the first user is sent to the second terminal device, so that the third terminal device corresponding to the third terminal device of the game is added to the second terminal device. Guess the behavior of the first user.
  • the server After receiving the identifier information of the second terminal device sent by the first terminal device, the server sends an invite notification message to the second terminal device to notify the second terminal device to join the game.
  • the manner in which the server sends the invited notification message to the second terminal device is different according to the identification information of the second terminal device. For example, if the identification information of the second terminal device is the mobile phone number, the server may send the invitation notification message to the second terminal device by using the short message method; if the identification information of the second terminal device is the mailbox number, the server may The second terminal device sends the invited notification message; if the identification information of the second terminal device is a game account, the server may send the invited notification message to the second terminal device in a system message manner.
  • the game may be selected to join the game, or may choose to refuse to join the game.
  • the server Sending, by the server to the second terminal device, the location information of the first user, as the prompt information, for the third terminal device corresponding to the third terminal device selected by the second terminal device
  • the user guesses the behavior of the first user.
  • the third user is the user who actually participates in the above game.
  • the third user may input the guessing behavior information for the first user through the third terminal device, and the third terminal device sends the guessing behavior information to the server.
  • the location information of the first user provided by the server, the current time, and the knowledge of the first user may be integrated (for example: knowing what time the first user generally likes to engage in) Give guess information about the behavior.
  • Step 105 The server receives the guessing behavior information sent by the third terminal device, compares the behavior information of the first user with the guessing behavior information, and sends the comparison result to the third terminal device, so that the third user knows the guessing result.
  • the server After receiving the guessing behavior information sent by the third terminal device, the server compares the behavior information of the first user with the guessing behavior information to determine whether the third user guesses correctly, and sends the comparison result to the third terminal device, so that Three users learned the guess results.
  • the server may further collect the invitation state information and the guess state information corresponding to the first terminal device.
  • the invitation status information includes: how many times each user is invited, how many times to reply, how many times to reject, and so on. Guessing status information can include: How much does each user participating in the game guess? Times, guessing probability over time, and so on.
  • step 102 the order of the above steps 103-105 and step 102 is not limited, and the two operations can be performed in parallel.
  • the new friend can also be made while maintaining the relationship of the friend.
  • the user initiates the game actively.
  • the user's location information and behavior information are obtained while providing the user with the game service.
  • the user's annotation data which can obtain the user's annotation data in the user's game process, can obtain more abundant and a large amount of annotation data, which is beneficial to the application of user behavior recognition.
  • the game that is opened by the first terminal device is a game that is "a person you may be interested in”.
  • the user data labeling method of this embodiment includes after step 101:
  • Step 201 The server receives an interest user request sent by the first terminal device.
  • Step 202 The server acquires information about the second user that is interested in the first user from the user information database according to the location information of the first user, the behavior information of the first user, and/or the sensing data, and the second user The information is returned to the first terminal device.
  • the user information database is used to store location information, behavior information, and corresponding sensor data of all users who are playing the game during the first game play by the first user.
  • the first terminal device After the first terminal device sends the location information of the first user, the behavior information of the first user, and the sensing data of the sensor to the server, the first terminal device continues to send the user request to the server, so that the server returns according to the request of the interested user.
  • a server information database is provided on the server, and the user information database stores location information, behavior information, and corresponding sensor data of all users who are playing the above game.
  • the server may separately receive the previously received location information of the first user, the behavior information of the first user, and/or the sensor data, respectively, in the user information database.
  • the location information, behavior information, and corresponding sensor data of other users other than the first user are compared to obtain information of the second user that the first user may be interested in.
  • the server uses one or more of the location information, the behavior information, and the sensor data to obtain the interested user, and may be preset.
  • the server may use only the sensing data to find the second user (that is, the user in the same position as the first user) that is the same as the sensing data corresponding to the first user, and the second user A user who is interested in the first user.
  • the server can simultaneously use the sensing data and the behavior information to find the second user that has the same sensing data corresponding to the first user and has the same behavior, that is, the user who performs the same behavior at the same location.
  • the second user is the user of interest to the first user.
  • the server can simultaneously use the sensing data and the behavior information to find a user who is within a certain range from the first user (for example, the Euclidean distance of two sensing data is within a threshold range) and engages in the same behavior as the second user.
  • the sensor data used here to calculate the user's location mainly refers to the GPS data.
  • the similarity can be determined to find the user who satisfies the similarity requirement as the second user.
  • the first user can find like-minded people to work together.
  • the user can find a person who is like-minded by the user by participating in the game, and is beneficial to the user to make new friends.
  • the user actively initiates the game description to share his position and behavior information, so There is a problem of user privacy and spoofing of the annotated data; for the server, while providing the game service to the user, the user's location information and behavior information are acquired, and then the user's annotation data is obtained, which is obtained during the user's game process.
  • the user's way of labeling data can obtain more abundant and a large amount of annotation data, which is beneficial to the application of user behavior recognition.
  • FIG. 4 is a flowchart of a method for labeling user data according to another embodiment of the present invention. As shown in FIG. 4, the method in this embodiment includes:
  • Step 401 The first terminal device acquires location information of the first user corresponding to the first terminal device, behavior information of the first user, and sensing data of each sensor on the first terminal device during the game.
  • Step 402 The first terminal device sends the location information of the first user, the behavior information of the first user, and the sensing data to the server, so that the server obtains the annotation data of the first user.
  • the server of the present embodiment mainly refers to a server that provides the above-described game service, and is mainly responsible for cooperating with each terminal device to complete the above-mentioned game, and acquires the annotation data of the user who plays the game during the game.
  • the first terminal device as the initiator of the game, first starts the game program on the first terminal device, and cooperates with the server to start the game by the first user corresponding to the first terminal device.
  • the first terminal device acquires location information of the first user, behavior information of the first user, and sensing data of each sensor on the first terminal device.
  • the first terminal device The process of obtaining the location information of the first user, the behavior information of the first user, and the sensory data of the sensor is a step in the game and is associated with a specific process of the game.
  • Such a way of using the user's location information, behavior information, and the like as information required in the game process to engage the user in the game can acquire the user's location information and behavior information, and does not involve the user's privacy problem.
  • the location information of the first user refers to the location where the first user is currently located, for example, the first user may be in an office building, in an office of an office building, or in a classroom of a school.
  • the behavior information of the first user refers to an action that the first user is performing, for example, the first user is in a meeting, the first user is listening to a lecture, and the like.
  • the sensors on the first terminal device may include, but are not limited to, a GPS, an accelerometer, an audio sensor, a direction sensor, and the like.
  • an implementation manner of the step 401 includes: the first terminal device receiving, at an initial stage of the game, the location information of the first user and the first user input according to the prompt of the initial phase of the game. Behavior information of a user; the first terminal device acquires sensing data of each sensor on the initial stage of the game.
  • the order in which the first terminal device receives the location information of the first user input by the first user and the behavior information of the first user and the operation of acquiring the sensor data of the sensor on the first terminal device is not limited. .
  • the first terminal device can periodically acquire sensing data of each sensor on the terminal device and send it to the server.
  • the implementation manner of step 401 includes: the first terminal device acquires sensing data of each sensor on the initial stage of the game, and sends the acquired sensing data to the server; the first terminal device Receiving, by the server, candidate user location information and candidate user behavior information, where the candidate user location information and the candidate user behavior information are predicted by the server according to the sensing data sent by the first terminal device; A terminal device displays the alternate user location information and the candidate user behavior information to the first user for selection by the first user; the first terminal device receives a selection instruction input by the first user, the selection instruction including the first user The location information of the first user and the behavior information of the first user selected from the alternate user location information and the alternate user behavior information.
  • the implementation of step 401 includes: the first terminal device is on The initial stage of the game acquires sensing data of each sensor thereon; the first terminal device predicts candidate user location information and candidate user behavior information according to the acquired sensing data; the first terminal device will select an alternative The user location information and the optional user behavior information are displayed to the first user for selection by the first user; the first terminal device receives a selection instruction input by the first user, the selection instruction including the first user separately from the candidate user location The location information of the first user and the behavior information of the first user selected in the information and the alternative user behavior information.
  • the first terminal device may predict the current location of the first user according to the data of the GPS, for example, may predict that the first user is in an office building, a cell or a school ladder classroom, etc.;
  • the current state of the first user may be predicted according to the data of the accelerometer, for example, the first user may be predicted to be in a stationary state or a motion state, etc.;
  • the first terminal device may predict the surrounding environment of the first user according to the data of the audio sensor.
  • the degree of noisy for example, may predict that the periphery of the first user is quieter or the periphery of the first user is noisy, etc., and then, the first terminal device may be based on the predicted location, motion state, and surrounding environment of the first user.
  • the degree of noisy or the like predicts the behavior of the first user, for example, predicting that the first user is in a meeting or the first user is listening to a lecture or the like.
  • the first terminal device can obtain candidate user location information and candidate user behavior information by predicting the acquired sensor data, and then display the candidate user location information and the candidate user behavior information to the first user. For the first user to make a choice.
  • the first user may select, from the candidate user location information and the candidate user behavior information, the location information that is closest to the current location and behavior of the first user, and the behavior information of the first user, thereby
  • the device issues a selection instruction including location information of the first user and behavior information of the first user.
  • the first user may issue a selection instruction to the first terminal device through a selection button on the first terminal device or in a touch screen manner. After receiving the selection instruction of the first user, the first terminal device acquires the location information of the first user and the behavior information of the first user.
  • the first terminal device directly obtains sensing data for predicting position and sensing data for predicting behavior according to the sensing data of each sensor, and the information may not be directly understood by the user, so
  • the predicted position directly obtained by the data is identified by the sensor data and the predicted behavior using the sensor data, and converted into position information and behavior information that the user can understand.
  • there are many ways to identify the above-mentioned predicted position sensing data and prediction behavior sensing data and a simpler method is pattern matching.
  • the first terminal device predicts the preparation according to the acquired sensing data.
  • the implementation process of the selected user location information and the optional user behavior information includes: the first terminal device obtains the sensing data for the predicted location corresponding to the first user and the sensing data for the prediction behavior according to the acquired sensing data; The terminal device identifies the predicted location sensing data and the prediction behavior sensing data according to the pre-stored semantic location and the correspondence between the behavior and the sensing data, to obtain candidate user location information and an alternative user. Behavioral information.
  • the correspondence between the semantic location and the behavior and the sensing data is pre-stored on the first terminal device, and the sensing position and the sensing behavior sensing data can be converted into the user-readable alternative by using the corresponding relationship.
  • the predicted position sensing data may be GPS data or processed by GPS data to obtain POI data, and the first terminal device directly obtains the predicted position sensing data according to the GPS data (latitude X, longitude Y, height ⁇ ).
  • the user can not intuitively understand the location of the sensor data through the predicted location, so the first terminal device queries the pre-stored semantic location and the correspondence between the behavior and the sensor data, and acquires the sensor data for the predicted location.
  • the location information for example, the user is in a certain office building or a school ladder classroom, so that the user can choose to determine his or her location information from a plurality of alternative user location information.
  • the sensing behavior sensing data may be accelerometer data, or accelerometer data and audio sensing data, or a combination of accelerometer, audio sensing data, directional sensing data, and GPS data.
  • the first terminal device directly obtains the predicted behavior using the sensor data as the current acceleration value of the user, and the user cannot directly understand the acceleration value through the acceleration value.
  • the behavior of the first terminal device queries the pre-stored semantic position and behavior and the sensor data, and obtains behavior information that the user can understand corresponding to the acceleration value, such as the user is in a stationary state, or a slow motion state. Or speed up the motion state, which is convenient for the user to determine the current behavior of the user from a plurality of alternative user behavior information.
  • the correspondence between the semantic location and behavior on the first terminal device and the sensory data can be updated periodically.
  • the first terminal device can periodically download the correspondence between the semantic location and the behavior and the sensing data from the server, so that the first terminal device can only store the semantic location and behavior between the sensing data and the sensing data for a period of time.
  • the corresponding relationship fully considers the performance limitation of the first terminal device, which is beneficial to the implementation of the first terminal device.
  • the method in this embodiment further includes: after step 402: Step 403: The first terminal device sends the identifier information of the second terminal device invited to join the game to the server during the above game.
  • the game may be a "guess who I am" game that requires other users to participate.
  • the new friend can also be made while maintaining the relationship of the friend.
  • the user initiates the game actively.
  • the user's location information and behavior information are obtained while providing the user with the game service.
  • the user's annotation data which can obtain the user's annotation data in the user's game process, can obtain more abundant and a large amount of annotation data, which is beneficial to the application of user behavior recognition.
  • the method in this embodiment further includes after step 402:
  • Step 501 The first terminal device sends an interest user request to the server.
  • Step 502 The first terminal device receives information about the second user returned by the server, where the information of the second user is from the user information database according to the location information of the first user, the behavior information of the first user, and/or the sensing data. Obtain information about the user of interest to the first user.
  • the user information database is used to store location information, behavior information, and corresponding sensor data of all users who are playing the game during the first game play by the first user.
  • the game may be a "person you may be interested in” such a game that does not require participation by other users.
  • the user can find a person who is like-minded by the user by participating in the game, and is beneficial to the user to make new friends.
  • the user actively initiates the game description to share his position and behavior information, so There is a problem of user privacy and spoofing of the annotated data; for the server, while providing the game service to the user, the user's location information and behavior information are acquired, and then the user's annotation data is obtained, which is obtained during the user's game process.
  • User's annotation Data can be obtained in a richer and richer set of annotation data, which is beneficial to the application of user behavior recognition.
  • FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present invention. As shown in FIG. 7, the server of this embodiment includes: a first receiving module 71 and an annotation acquiring module 72.
  • the first receiving module 71 is configured to receive location information of the first user corresponding to the first terminal device sent by the first terminal device during the game, behavior information of the first user, and sensing data of each sensor on the first terminal device .
  • An annotation obtaining module 72 is connected to the first receiving module 71, and is configured to mark the location information of the first user, the behavior information of the first user, and the sensing data received by the first receiving module 71, and obtain the label of the first user. data.
  • the first receiving module 71 is specifically configured to receive location information of the first user that is sent by the first terminal device in an initial stage of the game, behavior information of the first user, and sensors on the first terminal device.
  • the sensing data where the location information of the first user and the behavior information of the first user are input by the first user to the first terminal device according to the prompt of the initial stage of the game.
  • an implementation structure of the first receiving module 71 includes: a first receiving unit 711, a prediction unit 712, a sending unit 713, and a second receiving unit 714.
  • the first receiving unit 711 is configured to receive sensing data of each sensor on the first terminal device that is sent by the first terminal device in an initial stage of the game.
  • the first receiving unit 711 is connected to the annotation acquiring module 72 for providing the received sensing data to the annotation acquiring module 72.
  • the prediction unit 712 is connected to the first receiving unit 711, and is configured to predict, according to the sensing data, candidate user location information and candidate user behavior information after the first receiving unit 711 receives the sensing data.
  • the sending unit 713 is connected to the prediction unit 712, and is configured to send the predicted user location information predicted by the prediction unit 712 and the candidate user behavior information to the first terminal device for selection by the first user.
  • the second receiving unit 714 is configured to receive location information of the first user returned by the first terminal device and behavior information of the first user, where the location information of the first user is the first user from the candidate user by using the first terminal device The location information selected in the location information, where the first user's location information is selected by the first user from the candidate user behavior information by the first terminal device.
  • the second receiving unit 714 is connected to the annotation obtaining module 72, and is configured to provide the location of the first user to the annotation acquiring module 72.
  • Information and behavior information of the first user is connected to the sending unit 713, and configured to receive, after the sending unit 713 sends the candidate user location information and the candidate user behavior information, the location information of the first user returned by the first terminal device. And behavior information of the first user.
  • the foregoing prediction unit 712 is specifically configured to obtain, according to the sensing data received by the first receiving unit 711, the sensing data for the predicted position corresponding to the first user and the sensing data for the predicted behavior, according to the semantic position and behavior stored in advance. And corresponding to the sensing data, the predicted position sensing data and the predicted behavior sensing data are used to obtain the candidate user location information and the candidate user behavior information.
  • the server of this embodiment further includes: a second receiving module 73, a first sending module 74, a third receiving module 75, and a second sending module 76.
  • the second receiving module 73 is configured to: after the first receiving module 71 receives the location information of the first user, the behavior information of the first user, and the sensing data, receive the invited party sent by the first terminal device in the foregoing game process. Identification information of the second terminal device of the game.
  • the second receiving module 73 is connected to the first receiving module 71, and more specifically to the first receiving unit 711 and the second receiving unit 714.
  • the first sending module 74 is connected to the second receiving module 73, and configured to send an invite notification message to the second terminal device according to the identifier information of the second terminal device received by the second receiving module 73, to notify the second terminal device.
  • the game is added to the game, and the location information of the first user is sent to the second terminal device, so that the third user corresponding to the third terminal device that joins the game in the second terminal device guesses the behavior of the first user.
  • the third receiving module 75 is configured to receive the guessing behavior information sent by the third terminal device, and compare the behavior information of the first user with the guessing behavior information.
  • the third receiving module 75 is connected to the first sending module 74, and configured to receive the guessing behavior information after the first sending module 74 sends the invited notification message and the location information of the first user.
  • the second sending module 76 is connected to the third receiving module 75, and is configured to send the comparison result of the third receiving module 75 to the third terminal device, so that the third user knows the guessing result.
  • the server in this embodiment further includes: a statistics module 77.
  • the statistics module 77 is configured to collect the invitation state information and the guess state information corresponding to the first terminal device.
  • the statistic module 77 is connected to the second receiving module 73 and the third receiving module 75, and is configured to use the identifier information of the second terminal device received by the second receiving module 73 and the third receiving module 75. The received guessing behavior information returned by the third terminal device is counted.
  • the identifier information of the second terminal device may be a mobile phone number of the second terminal device, a mailbox number corresponding to the second terminal device, or an account number of the second terminal device in the game.
  • the server in this embodiment further includes: a fourth receiving module 78 and a third sending module 79.
  • the fourth receiving module 78 is configured to receive the interest user request sent by the first terminal device after the first receiving module receives the location information of the first user, the behavior information of the first user, and the sensing data.
  • the third sending module 79 is connected to the fourth receiving module 78 and the first receiving module 71, and configured to use the first user's location information, the first user's behavior information, and/or the sensing data according to the first receiving module 71.
  • the server provided in this embodiment receives the location information, the behavior information of the user acquired by the terminal device during the game play by the user, and the sensor data of each sensor on the terminal device, and then passes the location information, behavior information and sensor data of the user.
  • the annotation is performed to obtain the user's annotation data. This method of obtaining the user's annotation data during the user's game process can obtain richer and large amount of annotation data, which is beneficial to the application of user behavior recognition.
  • FIG. 9 is a schematic structural diagram of a server according to another embodiment of the present invention.
  • the server of this embodiment includes: a communication interface 91, a processor 92, a memory 93, and a bus.
  • the communication interface 91, the processor 92, and the memory 93 are connected to each other through a bus and complete communication with each other.
  • the bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • Wait The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
  • the first interface of the first user Sensing data for each sensor on the device.
  • the memory 93 is used to store a program.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 93 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 92 is configured to execute a program to mark the location information of the first user, the behavior information of the first user, and the sensing data received by the communication interface 91, to obtain the annotation data of the first user.
  • the processor 92 may be a central processing unit (CPU), an application specific integrated circuit (hereinafter referred to as an ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the communication interface 91 of the present embodiment can transmit other information or data to the first terminal device in addition to various information or data transmitted by the first terminal device.
  • the memory 93 of the present embodiment can store various kinds of information or data received by the communication interface 91 in addition to the program.
  • the server provided in this embodiment can be used to perform the corresponding processes in the foregoing embodiments shown in FIG. 1 to FIG. 3.
  • the specific working principle is not described here. For details, refer to the description of the method embodiments.
  • the server provided in this embodiment receives the location information, the behavior information of the user acquired by the terminal device during the game play by the user, and the sensor data of each sensor on the terminal device, and then passes the location information, behavior information and sensor data of the user.
  • the annotation is performed to obtain the user's annotation data. This method of obtaining the user's annotation data during the user's game process can obtain richer and large amount of annotation data, which is beneficial to the application of user behavior recognition.
  • FIG. 10 is a schematic structural diagram of a first terminal device according to an embodiment of the present invention. As shown in FIG. 10, the first terminal device in this embodiment includes: an obtaining module 1001 and a first sending module 1002.
  • the obtaining module 1001 is configured to acquire location information of the first user corresponding to the first terminal device, behavior information of the first user, and sensing data of each sensor on the first terminal device during the game.
  • the first sending module 1002 is connected to the obtaining module 1001, and configured to send the location information of the first user acquired by the obtaining module 1001, the behavior information of the first user, and the sensing data to the server, so that the server obtains the label of the first user. data.
  • the obtaining module 1001 is specifically configured to receive, at an initial stage of the game, location information of the first user and behavior information of the first user that are input by the first user according to the prompt of the initial stage of the game, and In the initial stage of the above game, acquiring the sensing on the first terminal device Sensing data.
  • an implementation structure of the obtaining module 1001 includes: a first obtaining unit 10011, a sending unit 10012, a first receiving unit 10013, a first display unit 10014, and a second receiving unit. 10015.
  • the first obtaining unit 10011 is configured to acquire sensing data of each sensor on the first terminal device in an initial stage of the game.
  • the first obtaining unit 10011 is connected to the first sending module 1002 and configured to provide the sensing data to the first sending module 1002.
  • the sending unit 10012 is connected to the first obtaining unit 10011, and configured to send the sensing data to the server after the first acquiring unit 10011 obtains the sensing data.
  • the first receiving unit 10013 is configured to receive alternate user location information and optional user behavior information returned by the server, where the candidate user location information and the optional user behavior information are sent by the server according to the sending unit 10012.
  • the data is predicted.
  • the first display unit 10014 is connected to the first receiving unit 10013, and configured to display the candidate user location information and the optional user behavior information received by the first receiving unit 10013 to the first user for selection by the first user. .
  • the second receiving unit 10015 is configured to receive a selection instruction input by the first user, where the selection instruction includes location information of the first user and the first user selected from the candidate user location information and the alternate user behavior information, respectively. A user's behavioral information.
  • the second receiving unit 10015 is connected to the first display unit 10014.
  • the second receiving unit 10015 is connected to the first sending module 1002, and is configured to provide the first sending module 1002 with location information of the first user and behavior information of the first user.
  • another implementation structure of the obtaining module 1001 includes: a second obtaining unit 10016, a predicting unit 10017, a second display unit 10018, and a third receiving unit 10019.
  • the second obtaining unit 10016 is configured to acquire sensing data of each sensor on the first terminal device in an initial stage of the game.
  • the second obtaining unit 10016 is connected to the first sending module 1002 and configured to provide the sensing data to the first sending module 1002.
  • the prediction unit 10017 is connected to the second obtaining unit 10016, and is configured to predict, according to the sensing data acquired by the second acquiring unit 10016, the candidate user location information and the candidate user behavior information.
  • the second display unit 10018 is connected to the prediction unit 10017 for using the prediction unit 10017
  • the predicted alternative user location information and alternate user behavior information are displayed to the first user for selection by the first user.
  • the third receiving unit 10019 is configured to receive a selection instruction input by the first user, where the selection instruction includes location information of the first user selected by the first user from the alternate user location information and the candidate user behavior information, respectively. A user's behavioral information.
  • the third receiving unit 10019 is connected to the second display unit 10018.
  • the third receiving unit 10019 is connected to the first sending module 1002, and is configured to provide the first sending module 1002 with location information of the first user and behavior information of the first user.
  • the predicting unit 10017 is specifically configured to obtain, according to the sensing data acquired by the second acquiring unit 10016, the sensing data for the predicted position corresponding to the first user and the sensing data for the predicted behavior, according to the pre-stored semantic position and behavior.
  • the sensing position is used to identify the sensing data and the sensing behavior using the sensing data to obtain alternative user location information and alternative user behavior information.
  • the first terminal device in this embodiment further includes: a second sending module 1003.
  • the second sending module 1003 is connected to the first sending module 1002, and is configured to send, after the first sending module 1002, the location information of the first user, the behavior information of the first user, and the sensing data, to the server during the game process.
  • the second sending module 1003 is specifically configured to receive an invitation to join the first user input in the game process, where the invitation to join includes the identification information of the second terminal device, and then send the identifier information of the second terminal device. Give the server.
  • the first terminal device in this embodiment further includes: a third sending module 1004 and a receiving module 1005.
  • the third sending module 1004 is connected to the first sending module 1002, and is configured to send an interest user request to the server after the first sending module 1002 sends the location information of the first user, the behavior information of the first user, and the sensing data.
  • the receiving module 1005 is configured to receive information about the second user returned by the server, where the information of the second user is obtained by the server according to the location information of the first user, the behavior information of the first user, and/or the sensor data.
  • the user's information of the first user is used to store location information, behavior information, and corresponding sensor data of all users who are playing the game during the first game play by the first user.
  • the receiving module 1005 and the third sending module 1004 connection are configured to receive information about the second user returned by the server, where the information of the second user is obtained by the server according to the location information of the first user, the behavior information of the first user, and/or the sensor data.
  • the user's information of the first user is used to store location information, behavior information, and corresponding sensor data of all users who are playing the game during the first game play by the first user.
  • the receiving module 1005 and the third sending module 1004 connection are configured to receive information about the second user returned by the server, where the information of the second user is obtained by the server according to the
  • the function modules or units of the first terminal device provided in this embodiment may be used to perform the corresponding processes provided in the embodiments shown in FIG. 4-6.
  • the specific working principles are not described here. For details, refer to the description of the method embodiments.
  • the first terminal device acquires location information, behavior information, and sensor data of each sensor on the terminal device during the game and provides the data to the server, so that the server passes the location information, behavior information, and transmission of the user.
  • the sensory data is labeled to obtain the user's annotation data. This way of obtaining the user's annotation data in the user's game process can obtain more abundant and a large amount of annotation data, which is beneficial to the application of user behavior recognition.
  • FIG. 12 is a schematic structural diagram of a first terminal device according to another embodiment of the present invention.
  • the terminal device of this embodiment includes: a processor 1201, a communication interface 1202, a memory 1203, and a bus.
  • the communication interface 1202, the processor 1201, and the memory 1203 are connected to each other through a bus and complete communication with each other.
  • the bus can be an ISA bus, a PCI bus or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12, but it does not mean that there is only one bus or one type of bus. among them:
  • the memory 1203 is configured to store a program.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 1203 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk storage crying port.
  • the processor 1201 is configured to execute a program, to obtain location information of the first user corresponding to the first terminal device, behavior information of the first user, and sensing data of each sensor on the first terminal device during the game.
  • the processor 1201 can obtain the location information of the first user, the behavior information of the first user, and the sensing data of each sensor on the first terminal device through the communication interface 1202.
  • the first terminal device of this embodiment further includes at least one sensor 1204.
  • the at least one sensor 1204 includes, but is not limited to: a GPS, an accelerometer, an audio sensor, and a direction sensor.
  • the communication interface 1202 is configured to implement communication between the first terminal device and the server, for example, location information of the first user acquired by the processor 1201, behavior information of the first user, and sensing data of each sensor on the first terminal device. Sent to the server. Additionally, communication interface 1202 can also receive information or data transmitted by the server.
  • the first terminal device provided in this embodiment may be used to perform the phase provided by the embodiment shown in FIG. 4-6.
  • the specific working principle of the process should not be repeated, as described in the description of the method embodiment.
  • the first terminal device acquires location information, behavior information, and sensor data of each sensor on the terminal device during the game and provides the data to the server, so that the server passes the location information, behavior information, and transmission of the user.
  • the sensory data is labeled to obtain the user's annotation data. This way of obtaining the user's annotation data in the user's game process can obtain more abundant and a large amount of annotation data, which is beneficial to the application of user behavior recognition.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明实施例提供一种用户数据标注方法、终端设备及服务器。一种方法包括:服务器接收第一终端设备在游戏过程中发送的该第一终端设备对应的第一用户的位置信息、该第一用户的行为信息和该第一终端设备上各传感器的传感数据;该服务器对该第一用户的位置信息、该第一用户的行为信息和该传感数据进行标注,得到该第一用户的标注数据。本发明技术方案可以提高标注数据的数量,克服对用户行为识别应用的限制。

Description

用户数据标注方法、 终端设备及服务器
技术领域
本发明涉及通信技术, 尤其涉及一种用户数据标注方法、 终端设备及服 务器。 背景技术
用户行为识别是收集用户在特定环境下的相关信息并推测用户行为或意 图的过程。 用户相关信息的收集主要是通过用户身上携带的行为传感器(例 如加速度、 陀螺仪、 电子罗盘等)和感知用户周边环境的感知传感器(例如 温度传感器、 压力传感器、 亮度传感器等) 来完成的。
随着智能终端的普及, 智能终端上的传感器种类也越来越多, 如何通过 用户携带的智能终端完成用户相关信息的收集并推测用户的行为或意图成为 当前一个研究热点。 通常的做法是把分析传感器信息推断用户的行为或意图 看成一个分类问题, 但该分类问题的关键在于训练样本的标注, 这里的训练 样本是指用户的行为或意图信息, 即分析传感器信息推测用户的行为或意图 的关键在于预先对用户的一些行为或意图进行标注, 将这些标注数据作为分 类的依据, 目前用户行为识别都是基于一些实验标注数据, 这些实验标注数 据的量有限, 限制了用户行为识别的应用。 发明内容
本发明提供一种用户数据标注方法、 终端设备及服务器, 用以提高标注 数据的数量, 克服对用户行为识别应用的限制。
第一方面提供一种用户数据标注方法, 包括:
服务器接收第一终端设备在游戏过程中发送的所述第一终端设备对应的 第一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传 感器的传感数据;
所述服务器对所述第一用户的位置信息、 所述第一用户的行为信息和所 述传感数据进行标注, 得到所述第一用户的标注数据。 在第一方面的第一种可能的是实现方式中, 所述服务器接收第一终端设 备在游戏过程中发送的所述第一终端设备对应的第一用户的位置信息、 所述 第一用户的行为信息和所述第一终端设备上各传感器的传感数据包括:
所述服务器接收所述第一终端设备在所述游戏的初始阶段发送的所述第 一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感 器的传感数据, 所述第一用户的位置信息和所述第一用户的行为信息是所述 第一用户根据所述游戏的初始阶段的提示输入所述第一终端设备的。
在第一方面的第二种可能的是实现方式中, 所述服务器接收第一终端设 备在游戏过程中发送的所述第一终端设备对应的第一用户的位置信息、 所述 第一用户的行为信息和所述第一终端设备上各传感器的传感数据包括:
所述服务器接收所述第一终端设备在所述游戏的初始阶段发送的所述第 一终端设备上各传感器的传感数据;
所述服务器根据所述传感数据, 预测得到备选的用户位置信息和备选的 用户行为信息;
所述服务器将所述备选的用户位置信息和备选的用户行为信息发送给所 述第一终端设备, 以供所述第一用户选择;
所述服务器接收所述第一终端设备返回的所述第一用户的位置信息和所 述第一用户的行为信息, 所述第一用户的位置信息是所述第一用户通过所述 第一终端设备从所述备选的用户位置信息中选择的, 所述第一用户的位置信 息是所述第一用户通过所述第一终端设备从所述备选的用户行为信息中选择 的。
结合第一方面的第二种可能的是实现方式, 在第一方面的第三种可能的 实现方式中, 所述服务器根据所述传感数据, 预测得到备选的用户位置信息 和备选的用户行为信息包括:
所述服务器根据所述传感数据, 得到所述第一用户对应的预测位置用传 感数据和预测行为用传感数据;
所述服务器根据预先存储的语义位置和行为与传感数据之间的对应关 系, 对所述预测位置用传感数据和所述预测行为用传感数据进行识别, 得到 所述备选的用户位置信息和所述备选的用户行为信息。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式或第一方面的第三种可能的实现方式, 在第一方面的第四种 可能的实现方式中, 所述服务器接收第一终端设备在游戏过程中发送的所述 第一终端设备对应的第一用户的位置信息、 所述第一用户的行为信息和所述 第一终端设备上各传感器的传感数据之后包括:
所述服务器接收所述第一终端设备在所述游戏过程中发送的被邀请加入 所述游戏的第二终端设备的标识信息;
所述服务器根据所述第二终端设备的标识信息, 向所述第二终端设备发 送被邀请通知消息, 以通知所述第二终端设备加入所述游戏, 并将所述第一 用户的位置信息发送给所述第二终端设备, 以供所述第二终端设备中加入所 述游戏的第三终端设备对应的第三用户猜测所述第一用户的行为;
所述服务器接收所述第三终端设备发送的猜测行为信息, 将所述第一用 户的行为信息和所述猜测行为信息进行比较, 将比较结果发送给所述第三终 端设备, 以使所述第三用户获知猜测结果。
第二方面提供一种用户数据标注方法, 包括:
第一终端设备在游戏过程中, 获取所述第一终端设备对应的第一用户的 位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感 数据;
所述第一终端设备将所述第一用户的位置信息、 所述第一用户的行为信 息和所述传感数据发送给服务器, 以使所述服务器获得所述第一用户的标注 数据。
在第二方面的第一种可能的实现方式中, 所述第一终端设备在游戏过程 中, 获取所述第一终端设备对应的第一用户的位置信息、 所述第一用户的行 为信息和所述第一终端设备上各传感器的传感数据包括:
所述第一终端设备在所述游戏的初始阶段, 接收所述第一用户根据所述 游戏的初始阶段的提示输入的所述第一用户的位置信息和所述第一用户的行 为信息;
所述第一终端设备在所述游戏的初始阶段, 获取所述传感数据。
在第二方面的第二种可能的实现方式中, 所述第一终端设备在游戏过程 中, 获取所述第一终端设备对应的第一用户的位置信息、 所述第一用户的行 为信息和所述第一终端设备上各传感器的传感数据包括: 所述第一终端设备在所述游戏的初始阶段获取所述传感数据, 并向所述 服务器发送所述传感数据;
所述第一终端设备接收所述服务器返回的备选的用户位置信息和备选的 用户行为信息, 所述备选的用户位置信息和所述备选的用户行为信息是所述 服务器根据所述传感数据预测得到的;
所述第一终端设备将所述备选的用户位置信息和所述备选的用户行为信 息显示给所述第一用户, 以供所述第一用户选择;
所述第一终端设备接收所述第一用户输入的选择指令, 所述选择指令包 括所述第一用户分别从所述备选的用户位置信息和所述备选的用户行为信息 中选择的所述第一用户的位置信息和所述第一用户的行为信息。
在第二方面的第三种可能的实现方式中, 所述第一终端设备在游戏过程 中, 获取所述第一终端设备对应的第一用户的位置信息、 所述第一用户的行 为信息和所述第一终端设备上各传感器的传感数据包括:
所述第一终端设备在所述游戏的初始阶段获取所述传感数据;
所述第一终端设备根据所述传感数据, 预测得到备选的用户位置信息和 备选的用户行为信息;
所述第一终端将所述备选的用户位置信息和所述备选的用户行为信息显 示给所述第一用户, 以供所述第一用户选择;
所述第一终端设备接收所述第一用户输入的选择指令, 所述选择指令包 括所述第一用户分别从所述备选的用户位置信息和所述备选的用户行为信息 中选择的所述第一用户的位置信息和所述第一用户的行为信息。
结合第二方面的第三种可能的实现方式, 在第二方面的第四种可能的实 现方式中, 所述第一终端设备根据所述传感数据, 预测得到备选的用户位置 信息和备选的用户行为信息包括:
所述第一终端设备根据所述传感数据, 得到所述第一用户对应的预测位 置用传感数据和预测行为用传感数据;
所述第一终端设备根据预先存储的语义位置和行为与传感数据之间的对 应关系, 对所述预测位置用传感数据和所述预测行为用传感数据进行识别, 得到所述备选的用户位置信息和所述备选的用户行为信息。
第三方面提供一种服务器, 包括: 第一接收模块, 用于接收第一终端设备在游戏过程中发送的所述第一终 端设备对应的第一用户的位置信息、 所述第一用户的行为信息和所述第一终 端设备上各传感器的传感数据;
标注获取模块, 用于对所述第一接收模块接收到的所述第一用户的位置 信息、 所述第一用户的行为信息和所述传感数据进行标注, 得到所述第一用 户的标注数据。
在第三方面的第一种可能的实现方式中, 所述第一接收模块具体用于接 收所述第一终端设备在所述游戏的初始阶段发送的所述第一用户的位置信 息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感数据, 所述第一用户的位置信息和所述第一用户的行为信息是所述第一用户根据所 述游戏的初始阶段的提示输入所述第一终端设备的。
在第三方面的第二种可能的实现方式中, 所述第一接收模块包括: 第一接收单元, 用于接收所述第一终端设备在所述游戏的初始阶段发送 的所述第一终端设备上各传感器的传感数据;
预测单元, 用于在所述第一接收单元接收到所述传感数据后, 根据所述 传感数据, 预测得到备选的用户位置信息和备选的用户行为信息;
发送单元, 用于将所述备选的用户位置信息和所述备选的用户行为信息 发送给所述第一终端设备, 以供所述第一用户选择;
第二接收单元, 用于接收所述第一终端设备返回的所述第一用户的位置 信息和所述第一用户的行为信息, 所述第一用户的位置信息是所述第一用户 通过所述第一终端设备从所述备选的用户位置信息中选择的, 所述第一用户 的位置信息是所述第一用户通过所述第一终端设备从所述备选的用户行为信 息中选择的。
结合第三方面的第二种可能的实现方式, 在第三方面的第三种可能的实 现方式中, 所述预测单元具体用于根据所述传感数据, 得到所述第一用户对 应的预测位置用传感数据和预测行为用传感数据, 根据预先存储的语义位置 和行为与传感数据之间的对应关系, 对所述预测位置用传感数据和所述预测 行为用传感数据进行识别, 得到所述备选的用户位置信息和所述备选的用户 行为信息。
结合第三方面或第三方面的第一种可能的实现方式或第三方面的第二种 可能的实现方式或第三方面的第三种可能的实现方式, 在第三方面的第四种 可能的实现方式中, 所述服务器还包括: 第二接收模块, 用于在所述第一接 收模块接收到所述第一用户的位置信息、 所述第一用户的行为信息和所述传 感数据之后, 接收所述第一终端设备在所述游戏过程中发送的被邀请加入所 述游戏的第二终端设备的标识信息;
第一发送模块, 用于根据所述第二终端设备的标识信息, 向所述第二终 端设备发送被邀请通知消息, 以通知所述第二终端设备加入所述游戏, 并将 所述第一用户的位置信息发送给所述第二终端设备, 以供所述第二终端设备 中加入所述游戏的第三终端设备对应的第三用户猜测所述第一用户的行为; 第三接收模块, 用于接收所述第三终端设备发送的猜测行为信息, 将所 述第一用户的行为信息和所述猜测行为信息进行比较;
第二发送模块, 用于将所述第三接收模块的比较结果发送给所述第三终 端设备, 以使所述第三用户获知猜测结果。
第四方面提供一种第一终端设备, 包括:
获取模块, 用于在游戏过程中, 获取所述第一终端设备对应的第一用户 的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传 感数据;
第一发送模块, 用于将所述第一用户的位置信息、 所述第一用户的行为 信息和所述传感数据发送给服务器, 以使所述服务器获得所述第一用户的标 注数据。
在第四方面的第一种可能的实现方式中, 所述获取模块具体用于在所述 游戏的初始阶段, 接收所述第一用户根据所述游戏的初始阶段的提示输入的 所述第一用户的位置信息和所述第一用户的行为信息, 并在所述游戏的初始 阶段, 获取所述传感数据。
在第四方面的第二种可能的实现方式中, 所述获取模块包括:
第一获取单元, 用于在所述游戏的初始阶段获取所述传感数据; 发送单元, 用于在所述第一获取单元获取到所述传感数据后, 向所述服 务器发送所述传感数据;
第一接收单元, 用于接收所述服务器返回的备选的用户位置信息和备选 的用户行为信息, 所述备选的用户位置信息和所述备选的用户行为信息是所 述服务器根据所述传感数据预测得到的;
第一显示单元, 用于将所述备选的用户位置信息和所述备选的用户行为 信息显示给所述第一用户, 以供所述第一用户选择;
第二接收单元, 用于接收所述第一用户输入的选择指令, 所述选择指令 包括所述第一用户分别从所述备选的用户位置信息和所述备选的用户行为信 息中选择的所述第一用户的位置信息和所述第一用户的行为信息。
在第四方面的第三种可能的实现方式中, 所述获取模块包括:
第二获取单元, 用于在所述游戏的初始阶段获取所述传感数据; 预测单元, 用于根据所述传感数据, 预测得到备选的用户位置信息和备 选的用户行为信息;
第二显示单元, 用于将所述备选的用户位置信息和所述备选的用户行为 信息显示给所述第一用户, 以供所述第一用户选择;
第三接收单元, 用于接收所述第一用户输入的选择指令, 所述选择指令 包括所述第一用户分别从所述备选的用户位置信息和所述备选的用户行为信 息中选择的所述第一用户的位置信息和所述第一用户的行为信息。
结合第四方面的第三种可能的实现方式, 在第四方面的第四种可能的实 现方式中, 所述预测单元具体用于根据所述传感数据, 得到所述第一用户对 应的预测位置用传感数据和预测行为用传感数据, 根据预先存储的语义位置 和行为与传感数据之间的对应关系, 对所述预测位置用传感数据和所述预测 行为用传感数据进行识别, 得到所述备选的用户位置信息和所述备选的用户 行为信息。
本发明实施例提供的用户数据标注方法、 终端设备及服务器, 终端设备 在游戏过程中获取用户的位置信息、 行为信息和终端设备上各传感器的传感 数据并提供给服务器, 服务器通过对用户的位置信息、 行为信息和传感数据 进行标注, 得到用户的标注数据, 这种在用户游戏过程中获取用户的标注数 据的方式可以获得更加丰富和大量的标注数据,有利于用户行为识别的应用。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明一实施例提供的用户数据标注方法的流程图;
图 2为本发明另一实施例提供的用户数据标注方法的流程图;
图 3为本发明又一实施例提供的用户数据标注方法的流程图;
图 4为本发明又一实施例提供的用户数据标注方法的流程图;
图 5为本发明又一实施例提供的用户数据标注方法的流程图;
图 6为本发明又一实施例提供的用户数据标注方法的流程图;
图 7为本发明一实施例提供的服务器的结构示意图;
图 8为本发明另一实施例提供的服务器的结构示意图;
图 9为本发明又一实施例提供的服务器的结构示意图;
图 10为本发明一实施例提供的第一终端设备的结构示意图;
图 1 1为本发明另一实施例提供的第一终端设备的结构示意图;
图 12为本发明又一实施例提供的第一终端设备的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明一实施例提供的用户数据标注方法的流程图。如图 1所示, 本实施例的方法包括:
步骤 101、 服务器接收第一终端设备在游戏过程中发送的第一终端设备 对应的第一用户的位置信息、 第一用户的行为信息和第一终端设备上各传感 器的传感数据。
本实施例的服务器主要是指提供上述游戏服务的服务器, 主要负责与各 终端设备相互配合完成上述游戏, 并且在游戏过程中获取玩游戏的用户的标 注数据。
在本实施例中, 第一终端设备作为游戏的发起者, 首先会启动第一终端 设备上的游戏程序, 并通过与服务器相配合使第一终端设备对应的第一用户 开始游戏。 在游戏过程中, 第一终端设备获取第一用户的位置信息、 第一用 户的行为信息和第一终端设备上各传感器的传感数据。 其中, 第一终端设备 获取第一用户的位置信息、 第一用户的行为信息以及传感器的传感数据的过 程属于游戏中的一个步骤, 并且与游戏的具体过程相关联。 这种将用户的位 置信息、 行为信息等作为游戏过程中所需的信息使用户参与游戏的方式, 既 可以获取用户的位置信息和行为信息等, 又不会涉及用户的隐私问题。
在本实施例中, 第一用户的位置信息是指能够表征第一用户当前所在的 位置且能够被用户理解的信息, 这些信息符合人们的语义理解, 例如第一用 户可能在某个写字楼、 在某个写字楼的办公室或在某个学校的阶梯教室等。 第一用户的行为信息是指能够表征第一用户正在进行的动作且能够被用户理 解的信息, 这些信息也符合人们的语义理解, 例如第一用户正在开会、 第一 用户正在听讲座等。 相应的, 第一终端设备上的传感器可以包括但不限于全 球定位系统(Global Positioning System, 简称为 GPS ) 、 加速度计、 音频传 感器和方向传感器等。 不同传感器获取到的传感数据不同, 例如 GPS的传感 数据一般是格式为 (纬度、 经度、 高度) 的坐标信息, 加速度计的传感数据 一般是单位为米每秒的平方 (m/s2 ) 的加速度值, 音频传感器的传感数据一 般是一定频率的音频信号, 等等。 这些传感器的传感数据通常不符合人们的 语义理解。 在本实施例中, 第一终端设备上各传感器的传感数据可能与第一 用户的位置信息或第一用户的行为信息之间存在映射关系。 对服务器来说, 需要找到这些传感数据与第一用户的位置信息或第一用户的行为信息之间的 对应关系, 并对第一用户的位置信息、 第一用户的行为信息以及与相应传感 数据之间的对应关系进行标注, 从而得到第一用户的标注数据。
在一可选实施方式中, 步骤 101的一种实施方式包括: 服务器接收第一 终端设备在游戏的初始阶段发送的第一用户的位置信息、 第一用户的行为信 息和第一终端设备上各传感器的传感数据。 其中, 游戏的初始阶段是指游戏 启动之后正式进入游戏之前这一阶段,在这一阶段中游戏中设置了提示操作, 要求第一用户根据提示输入第一用户的位置信息和行为信息, 以便于为后续 游戏过程提供所需的信息。 因此, 在该实施方式中, 第一用户的位置信息和 第一用户的行为信息是第一用户根据游戏的初始阶段的提示输入第一终端设 备的。 其中, 第一用户可以通过第一终端设备的输入设备, 例如键盘、 鼠标、 显示器或显示屏等向第一终端设备输入第一用户的行为信息和位置信息。 在 该实施方式中, 第一用户在第一终端设备开启游戏后根据游戏的初始阶段给 出的提示, 向第一终端设备输入第一用户的位置信息和行为信息, 在该过程 中, 第一终端设备获取其上各传感器的传感数据, 然后将第一用户输入的第 一用户的位置信息和第一用户的行为信息以及获取到的传感数据发送给服务 器。
在另一可选实施方式中, 步骤 101的一种实施方式包括: 服务器接收第 一终端设备在游戏的初始阶段发送的第一终端设备上各传感器的传感数据; 服务器根据传感数据,预测得到备选的用户位置信息和备选的用户行为信息; 服务器将备选的用户位置信息和备选的用户行为信息发送给第一终端设备, 以供第一用户选择; 服务器接收第一终端设备返回的第一用户的位置信息和 第一用户的行为信息, 这里第一用户的位置信息是第一用户通过第一终端设 备从备选的用户位置信息中选择的, 这里第一用户的位置信息是第一用户通 过第一终端设备从备选的用户行为信息中选择的。
具体的, 第一终端设备在启动游戏后, 在游戏的初始阶段获取其上各传 感器的传感数据, 然后将获取的各传感器的传感数据发送给服务器。 服务器 接收到传感数据之后, 根据传感数据对第一用户的位置信息和行为信息进行 预测, 得到备选的用户位置信息和备选的用户行为信息, 并将得到的备选的 用户位置信息和备选的用户行为信息发送给第一终端设备, 以供第一用户进 行选择。 例如, 服务器可以根据 GPS数据, 预测第一用户当前所在的位置, 例如可能预测到第一用户正在一个写字楼、 一个小区或一个学校的阶梯教室 等; 服务器可以根据加速度计的数据, 预测第一用户当前的运动状态, 例如 可以预测到第一用户处于静止状态或运动状态等; 服务器可以根据音频传感 器的数据, 预测第一用户所处周边环境的嘈杂程度, 例如可能预测到第一用 户所处周边较安静或者第一用户所处周边较嘈杂等, 然后, 服务器可以根据 预测出的第一用户所在位置、 运动状态、 周边环境的嘈杂程度等预测出第一 用户的行为, 例如预测到第一用户正在开会或第一用户正在听讲座等。
第一终端设备接收到备选的用户位置信息和备选的用户行为信息后, 将 备选的用户位置信息和备选的用户行为信息显示给第一用户, 以供第一用户 进行选择。 第一用户可以从备选的用户位置信息和备选的用户行为信息中选 择与自己当前位置和行为最接近的, 作为第一用户的位置信息和第一用户的 行为信息, 从而向第一终端设备发出选择指令, 该选择指令包括第一用户的 位置信息和第一用户的行为信息。 其中, 第一用户可以通过第一终端设备上 的选择按键或者以触屏方式向第一终端设备发出选择指令。 第一终端设备接 收到第一用户的选择指令后, 就会获知第一用户的位置信息和第一用户的行 为信息, 然后将第一用户的位置信息和第一用户的行为信息发送给服务器。
在上述过程中, 服务器根据各传感器的传感数据直接得到的是预测位置 用传感数据和预测行为用传感数据, 这些数据可能并不能被用户直接理解, 故需要对预测位置用传感数据和预测行为用传感数据进行识别, 转换为用户 能够理解的位置信息和行为信息。 其中, 对上述预测位置用传感数据和预测 行为用传感数据进行识别的方式可以有^ ί艮多, 较为简单的方式是模式匹配。
以模式匹配方式为例, 服务器根据各传感器的传感数据, 预测得到备选 的用户位置信息和备选的用户行为信息的实施过程包括: 服务器根据各传感 器的传感数据, 得到第一用户对应的预测位置用传感数据和预测行为用传感 数据, 然后根据预先存储的语义位置和行为与传感数据之间的对应关系, 对 上述预测位置用传感数据和预测行为用传感数据进行识别, 得到备选的用户 位置信息和备选的用户行为信息。 服务器上预先存储了语义位置和行为与传 感数据之间的对应关系, 通过该对应关系可以将上述预测位置用传感数据和 预测行为用传感数据转换为用户能够理解的备选的用户位置信息和备选的用 户行为信息。例如,预测位置用传感数据可以是 GPS数据或经 GPS数据处理 得到的感兴趣点 (Point of Interest, 简称为 POI )数据, 例如服务器根据传感 数据直接得到的预测位置用传感数据可能是(纬度 X、 经度 Y、 高度 Η ) , 用户通过这个预测位置用传感数据无法直观了解自己所在的位置, 故服务器 通过将该预测位置用传感数据在预先存储的语义位置和行为与传感数据之间 的对应关系中进行匹配, 找到预测位置用传感数据对应的能够被用户理解的 位置信息, 例如用户正在某个写字楼或某个学校的阶梯教室中, 这样便于用 户选择从多个备选的用户位置信息中确定自己的位置信息。 又例如, 预测行 为用传感数据可能是加速度计数据, 则服务器根据传感数据直接得到的预测 行为用传感数据可能是用户当前的加速度值, 用户通过该加速度值并不能直 接了解自己的行为, 故服务器通过将该加速度值在预先存储的语义位置和行 为与传感数据之间的对应关系中进行匹配, 找到预测行为用传感数据对应的 能够被用户理解的行为信息, 例如用户处于静止状态, 或慢速运动状态或加 速运动状态, 这样便于用户从多个备选的用户行为信息中确定用户当前的行 为。 又例如, 预测行为用传感数据可能是加速度计数据和 /或音频传感数据, 则服务器根据传感数据直接得到的预测行为用传感数据可能是用户当前的加 速度值和环境噪声的分贝值, 用户通过该加速度值和环境噪声的分贝值并不 能直接了解自己的行为, 故服务器通过将该加速度值和环境噪声的分贝值在 预先存储的语义位置和行为与传感数据之间的对应关系中进行匹配, 找到预 测行为用传感数据对应的能够被用户理解的行为信息, 例如用户在教室中听 讲座或在会议室开会等。
步骤 102、 服务器对上述第一用户的位置信息、 第一用户的行为信息和 传感数据进行标注, 得到第一用户的标注数据。
服务器获取到第一用户的位置信息、 第一用户的行为信息和传感数据之 后, 对这些数据进行标注处理, 得到第一用户的标注数据。 其中, 第一用户 的标注数据包括第一用户的位置信息和第一用户的行为信息, 以及与第一用 户的位置信息和第一用户的行为信息分别对应的传感数据。 可选的, 服务器 可以根据一段时间 (例如 1分钟) 内的传感数据, 确定当前接收到的传感数 据与第一用户的位置信息和行为信息之间的对应关系。
例如, 服务器记录第一用户的标注数据的方式如表 1所示, 主要包括: 第一用户的标识、 时间、 传感器数据和标注数据。 其中, 第一用户的标识可 以为第一终端设备的标识。
表 1
Figure imgf000014_0001
本实施例提供的用户数据标注方法, 终端设备在游戏过程中获取用户的 位置信息、 行为信息和终端设备上各传感器的传感数据并提供给服务器, 服 务器通过对用户的位置信息、 行为信息和传感数据进行标注, 得到用户的标 注数据, 这种在用户游戏过程中获取用户的标注数据的方式可以获得更加丰 富和大量的标注数据, 有利于用户行为识别的应用。
在上述各实施方式的基础上, 步骤 101之后还包括: 第一终端设备与服 务器相互配合使用第一用户的位置信息和第一用户的行为信息完成游戏中其 他部分的操作。
例如, 第一终端设备开启的游戏为 "猜猜我是谁" 这样的猜谜游戏, 这 类游戏需要其他用户参与共同完成, 则如图 2所示, 本实施例的用户数据标 注方法在步骤 101之后包括:
步骤 103、 服务器接收第一终端设备在游戏过程中发送的被邀请加入该 游戏的第二终端设备的标识信息。
这里被邀请加入该游戏的第二终端设备代表着被邀请加入该游戏的第二 用户, 第二用户通过第二终端设备来完成上述游戏。 这里的第二终端设备可 以是一个或多个。 这里被邀请加入该游戏的第二用户可以是注册该游戏的玩 家(即系统内用户), 则对应的第二终端设备是系统内用户使用的终端设备, 对应的第二终端设备的标识信息可以是第二终端设备使用的游戏账号。或者, 第二用户也可以是除该游戏的玩家之外的其他用户 (即系统外的用户) , 则 对应的第二终端是这些系统外用户使用的终端设备, 例如第二用户可以是第 一终端设备的通讯簿中的联系人, 则对应的第二终端设备的标识信息可以是 第二终端设备的手机号码; 又例如, 第二用户还可以是第一终端设备使用的 邮箱 (email ) 的好友列表中的联系人, 对应的第二终端设备的标识信息可以 是第二终端设备使用的邮箱号, 等等。 其, 如果一个用户进行注册成为该游 戏的玩家, 则该用户就是系统内用户, 反之, 就是系统外用户。
可选的, 第一终端设备在将第一用户的位置信息、 第一用户的行为信息 和各传感器的传感数据发送给服务器之后, 可以提示第一用户选择邀请加入 该游戏的第二用户, 并接收第一用户输入的邀请加入指令, 该邀请加入指令 包括第一用户选的第二终端设备的标识信息。 第一终端设备获知被邀请加入 该游戏的第二终端设备的标识信息后, 将第二终端设备的标识信息发送给服 务器。
步骤 104、 服务器根据第二终端设备的标识信息, 向第二终端设备发送 被邀请通知消息, 以通知第二终端设备加入上述游戏, 并将第一用户的位置 信息发送给第二终端设备, 以供第二终端设备中加入该游戏的第三终端设备 对应的第三用户猜测第一用户的行为。
服务器接收到第一终端设备发送的第二终端设备的标识信息后, 向第二 终端设备发送被邀请通知消息, 以通知第二终端设备加入上述游戏。 其中, 根据第二终端设备的标识信息的不同, 服务器向第二终端设备发送被邀请通 知消息的方式也不同。 例如, 如果第二终端设备的标识信息为手机号码, 则 服务器可以以短信方式向第二终端设备发送被邀请通知消息; 如果第二终端 设备的标识信息为邮箱号, 则服务器可以以邮箱方式向第二终端设备发送被 邀请通知消息; 如果第二终端设备的标识信息为游戏账号, 则服务器可以以 系统消息的方式向第二终端设备发送被邀请通知消息。
对于第二终端设备来说, 在接收到服务器发送的被邀请通知消息后, 可 以选择加入游戏, 也可以选择拒绝加入游戏。
服务器向第二终端设备发送被邀请通知消息的同时向第二终端设备发送 第一用户的位置信息, 作为提示信息, 以供第二终端设备中选择加入上述游 戏的第三终端设备对应的第三用户猜测第一用户的行为。 其中, 第三用户是 真正参与上述游戏的用户。 其中, 第三用户可以通过第三终端设备输入对第 一用户的猜测行为信息, 第三终端设备会将猜测行为信息发送给服务器。
其中, 如果第三用户选择加入该游戏后, 可以综合服务器提供的第一用 户的位置信息、 当前的时间以及对第一用户的了解情况(例如: 知道第一用 户什么时间一般喜欢从事什么活动)给出猜测行为信息。
步骤 105、 服务器接收第三终端设备发送的猜测行为信息, 将第一用户 的行为信息和猜测行为信息进行比较, 将比较结果发送给第三终端设备, 以 使第三用户获知猜测结果。
服务器接收到第三终端设备发送的猜测行为信息后, 将第一用户的行为 信息和猜测行为信息进行比较, 以判断第三用户是否猜测正确, 并将比较结 果发送给第三终端设备, 使第三用户获知猜测结果。
进一步, 服务器还可以统计第一终端设备对应的邀请状态信息和猜测状 态信息。 所述邀请状态信息包括: 每个用户一共被邀请多少次, 回复多少次、 拒绝多少次, 等等。 猜测状态信息可以包括: 每个参与游戏的用户猜对多少 次、 一段时间内的猜对概率, 等等。
在此说明, 上述步骤 103-步骤 105与步骤 102的先后顺序不做限定, 两 个操作可以并行执行。
在该实施例中, 在用户参与游戏的过程中通过类似打招呼的方式让其他 用户猜测自己正在做什么, 对用户来说, 在维系朋友关系的同时也可以结交 新朋友, 另外, 用户主动发起游戏说明愿意分享自己的位置和行为信息, 所 以也不存在用户隐私问题及标注数据的欺骗问题; 对服务器来说, 在为用户 提供游戏服务的同时, 获取了用户的位置信息和行为信息, 进而获得用户的 标注数据, 这种在用户游戏过程中获取用户的标注数据的方式可以获得更加 丰富和大量的标注数据, 有利于用户行为识别的应用。
又例如, 第一终端设备开启的游戏为 "你可能感兴趣的人" 这样的游戏, 则如图 3所示, 本实施例的用户数据标注方法在步骤 101之后包括:
步骤 201、 服务器接收第一终端设备发送的兴趣用户请求。
步骤 202、 服务器根据上述第一用户的位置信息、 第一用户的行为信息 和 /或传感数据, 从用户信息数据库中获取第一用户感兴趣的第二用户的信 息, 并将第二用户的信息返回给第一终端设备。
其中, 用户信息数据库用于存储在第一用户玩上述游戏过程中正在玩该 游戏的所有用户的位置信息、 行为信息和对应的传感数据。
具体的, 第一终端设备将第一用户的位置信息、 第一用户的行为信息和 传感器的传感数据发送给服务器之后, 继续向服务器发送兴趣用户请求, 以 使服务器根据兴趣用户请求, 返回第一用户可能感兴趣的第二用户的信息。 服务器上设置有用户信息数据库, 通过该用户信息数据库存储正在玩上述游 戏的所有用户的位置信息、 行为信息和对应的传感数据。 这样, 当服务器接 收到第一终端设备发送的兴趣用户请求后, 可以将之前接收到的第一用户的 位置信息、 第一用户的行为信息和 /或传感数据, 分别与用户信息数据库中除 第一用户之外的其他用户的位置信息、行为信息和对应的传感数据进行比较, 获取第一用户可能感兴趣的第二用户的信息。 其中, 服务器是使用位置信息、 行为信息和传感数据中的一个还是多个来获取感兴趣的用户,可以预先设置。
例如, 服务器可以仅使用传感数据, 找出与第一用户对应的传感数据相 同的第二用户 (即与第一用户位于相同位置的用户) , 将这样的第二用户作 为第一用户感兴趣的用户。 又例如, 服务器可以同时使用传感数据和行为信 息,找出与第一用户对应的传感数据相同,且行为动作也相同的第二用户(即 在相同位置从事相同行为的用户) , 将这样的第二用户作为第一用户感兴趣 的用户。 又例如, 服务器可以同时使用传感数据和行为信息, 找出与第一用 户相距一定范围内 (例如两个传感数据的欧式距离在一个阈值范围内 )且从 事相同行为的用户作为第二用户。 这里用来计算用户位置的传感数据主要是 指 GPS的数据。 另外, 无论是两个用户的位置信息还是行为信息, 如果没有 完全一样的, 还可以确定相似度, 找出满足相似度要求的用户作为第二用户。 在该游戏过程中, 第一用户可以找到志同道合的人一起活动。
在该实施例中, 在用户通过参与游戏可以找到与自己志同道合的人, 对 用户来说, 在有利于结交新朋友, 另外, 用户主动发起游戏说明愿意分享自 己的位置和行为信息, 所以也不存在用户隐私问题及标注数据的欺骗问题; 对服务器来说, 在为用户提供游戏服务的同时, 获取了用户的位置信息和行 为信息, 进而获得用户的标注数据, 这种在用户游戏过程中获取用户的标注 数据的方式可以获得更加丰富和大量的标注数据, 有利于用户行为识别的应 用。
图 4为本发明又一实施例提供的用户数据标注方法的流程图。 如图 4所 示, 本实施例的方法包括:
步骤 401、 第一终端设备在游戏过程中, 获取第一终端设备对应的第一 用户的位置信息、 第一用户的行为信息和第一终端设备上各传感器的传感数 据。
步骤 402、 第一终端设备将第一用户的位置信息、 第一用户的行为信息 和传感数据发送给服务器, 以使服务器获得第一用户的标注数据。
本实施例的服务器主要是指提供上述游戏服务的服务器, 主要负责与各 终端设备相互配合完成上述游戏, 并且在游戏过程中获取玩游戏的用户的标 注数据。
在本实施例中, 第一终端设备作为游戏的发起者, 首先会启动第一终端 设备上的游戏程序, 并通过与服务器相配合使第一终端设备对应的第一用户 开始游戏。 在游戏过程中, 第一终端设备获取第一用户的位置信息、 第一用 户的行为信息和第一终端设备上各传感器的传感数据。 其中, 第一终端设备 获取第一用户的位置信息、 第一用户的行为信息以及传感器的传感数据的过 程属于游戏中的一个步骤, 并且与游戏的具体过程相关联。 这种将用户的位 置信息、 行为信息等作为游戏过程中所需的信息使用户参与游戏的方式, 既 可以获取用户的位置信息和行为信息等, 又不会涉及用户的隐私问题。
在本实施例中, 第一用户的位置信息是指第一用户当前所在的位置, 例 如第一用户可能在某个写字楼、 在某个写字楼的办公室或在某个学校的阶梯 教室等。 第一用户的行为信息是指第一用户正在进行的动作, 例如第一用户 正在开会、 第一用户正在听讲座等。 相应的, 第一终端设备上的传感器可以 包括但不限于 GPS、 加速度计、 音频传感器和方向传感器等。
在一可选实施方式中, 步骤 401的一种实施方式包括: 第一终端设备在 上述游戏的初始阶段, 接收第一用户根据该游戏的初始阶段的提示输入的第 一用户的位置信息和第一用户的行为信息; 第一终端设备在上述游戏的初始 阶段, 获取其上各传感器的传感数据。 其中, 第一终端设备接收第一用户输 入的第一用户的位置信息和第一用户的行为信息的操作与第一终端设备获取 其上传感器的传感数据的操作之间的先后顺序不做限定。 优选的, 第一终端 设备可以周期性的获取其上各传感器的传感数据并发送给服务器。
该实施方式的详细过程可参见步骤 101相应可选实施方式的描述, 在此 不再赘述。
在另一可选实施方式中, 步骤 401 的实施方式包括: 第一终端设备在上 述游戏的初始阶段获取其上各传感器的传感数据, 并向服务器发送获取的传 感数据; 第一终端设备接收服务器返回的备选的用户位置信息和备选的用户 行为信息, 该备选的用户位置信息和该备选的用户行为信息是服务器根据第 一终端设备发送的传感数据预测得到的; 第一终端设备将备选的用户位置信 息和备选的用户行为信息显示给第一用户, 以供第一用户选择; 第一终端设 备接收第一用户输入的选择指令, 该选择指令包括第一用户从备选的用户位 置信息和备选的用户行为信息中选择的第一用户的位置信息和第一用户的行 为信息。
该实施方式的详细过程可参见步骤 101相应可选实施方式的描述, 在此 不再赘述。
在又一可选实施方式中, 步骤 401 的实施方式包括: 第一终端设备在上 述游戏的初始阶段获取其上各传感器的传感数据; 第一终端设备根据获取的 传感数据, 预测得到备选的用户位置信息和备选的用户行为信息; 第一终端 设备将备选的用户位置信息和备选的用户行为信息显示给第一用户, 以供第 一用户选择; 第一终端设备接收第一用户输入的选择指令, 该选择指令包括 第一用户分别从备选的用户位置信息和备选的用户行为信息中选择的第一用 户的位置信息和第一用户的行为信息。
在该实施方式中, 第一终端设备可以根据 GPS的数据, 预测第一用户当 前所在的位置, 例如可能预测到第一用户正在一个写字楼、 一个小区或一个 学校的阶梯教室等; 第一终端设备可以根据加速度计的数据, 预测第一用户 当前的运动状态, 例如可以预测到第一用户处于静止状态或运动状态等; 第 一终端设备可以根据音频传感器的数据, 预测第一用户所处周边环境的嘈杂 程度, 例如可能预测到第一用户所处周边较安静或者第一用户所处周边较嘈 杂等, 然后, 第一终端设备可以根据预测出的第一用户所在位置、 运动状态、 周边环境的嘈杂程度等预测出第一用户的行为, 例如预测到第一用户正在开 会或第一用户正在听讲座等。第一终端设备通过对获取的传感数据进行预测, 可以得到备选的用户位置信息和备选的用户行为信息, 然后将备选的用户位 置信息和备选的用户行为信息显示给第一用户, 以供第一用户进行选择。 第 一用户可以从备选的用户位置信息和备选的用户行为信息中选择与自己当前 位置和行为最接近的, 作为第一用户的位置信息和第一用户的行为信息, 从 而向第一终端设备发出选择指令, 该选择指令包括第一用户的位置信息和第 一用户的行为信息。 其中, 第一用户可以通过第一终端设备上的选择按键或 者以触屏方式向第一终端设备发出选择指令。 第一终端设备接收到第一用户 的选择指令后, 就获取到第一用户的位置信息和第一用户的行为信息。
在上述过程中, 第一终端设备根据各传感器的传感数据直接得到的是预 测位置用传感数据和预测行为用传感数据, 这些信息可能并不能被用户直接 理解, 故需要对根据传感数据直接得到的预测位置用传感数据和预测行为用 传感数据进行识别, 转换为用户能够理解的位置信息和行为信息。 其中, 对 上述预测位置用传感数据和预测行为用传感数据进行识别的方式可以有很 多, 较为简单的方式是模式匹配。
以模式匹配方式为例, 第一终端设备根据获取的传感数据, 预测得到备 选的用户位置信息和备选的用户行为信息的实施过程包括: 第一终端设备根 据获取的传感数据, 得到第一用户对应的预测位置用传感数据和预测行为用 传感数据; 第一终端设备根据预先存储的语义位置和行为与传感数据之间的 对应关系, 对上述预测位置用传感数据和预测行为用传感数据进行识别, 得 到备选的用户位置信息和备选的用户行为信息。 第一终端设备上预先存储了 语义位置和行为与传感数据之间的对应关系, 通过该对应关系可以将上述预 测位置用传感数据和预测行为用传感数据转换为用户能够理解的备选的用户 位置信息和备选的用户行为信息。 例如, 预测位置用传感数据可能是 GPS数 据或经 GPS数据处理后得到 POI数据, 则第一终端设备根据 GPS的数据直 接得到的预测位置用传感数据是(纬度 X、 经度 Y、 高度 Η ) , 用户通过这 个预测位置用传感数据无法直观了解自己所在的位置, 故第一终端设备查询 预存储的语义位置和行为与传感数据之间的对应关系, 获取该预测位置用传 感数据对应的用户能够理解的位置信息, 例如用户正在某个写字楼或某个学 校的阶梯教室中, 这样便于用户选择从多个备选的用户位置信息中确定自己 的位置信息。 又例如, 预测行为用传感数据可能是加速度计数据, 或者是加 速度计数据和音频传感数据, 或者是加速度计、 音频传感数据、 方向传感数 据以及 GPS数据的结合。 以预测行为用传感数据为加速度计数据为例, 则第 一终端设备根据加速度计的数据直接得到的预测行为用传感数据是用户当前 的加速度值, 用户通过该加速度值并不能直接了解自己的行为, 故第一终端 设备查询预存储的语义位置和行为与传感数据之间的对应关系, 获取该加速 度值对应的用户能够理解的行为信息, 例如用户处于静止状态, 或慢速运动 状态或加速运动状态, 这样便于用户从多个备选的用户行为信息中确定用户 当前的行为。
在此说明, 第一终端设备上的语义位置和行为与传感数据之间的对应关 系, 可以周期性的进行更新。 例如, 第一终端设备可以周期性的从服务器上 下载语义位置和行为与传感数据之间的对应关系, 这样第一终端设备可以仅 存储一段时间内的语义位置和行为与传感数据之间的对应关系, 充分考虑到 第一终端设备的性能限制, 有利于第一终端设备实施。
在一可选实施方式中, 基于上述各实施方式, 如图 5所示, 本实施例的 方法在步骤 402之后还包括: 步骤 403、 第一终端设备在上述游戏过程中向服务器发送被邀请加入该 游戏的第二终端设备的标识信息。
在该实施方式中, 该游戏可以是 "猜猜我是谁" 这类需要其他用户参与 的游戏。
步骤 403以及步骤 403之后的游戏流程可参见图 2所示实施例的描述, 在此不再赘述。
在该实施例中, 在用户参与游戏的过程中通过类似打招呼的方式让其他 用户猜测自己正在做什么, 对用户来说, 在维系朋友关系的同时也可以结交 新朋友, 另外, 用户主动发起游戏说明愿意分享自己的位置和行为信息, 所 以也不存在用户隐私问题及标注数据的欺骗问题; 对服务器来说, 在为用户 提供游戏服务的同时, 获取了用户的位置信息和行为信息, 进而获得用户的 标注数据, 这种在用户游戏过程中获取用户的标注数据的方式可以获得更加 丰富和大量的标注数据, 有利于用户行为识别的应用。
在另一可选实施方式中, 基于上述各实施方式, 如图 6所示, 本实施例 的方法在步骤 402之后还包括:
步骤 501、 第一终端设备向服务器发送兴趣用户请求。
步骤 502、 第一终端设备接收服务器返回的第二用户的信息, 该第二用 户的信息是服务器根据第一用户的位置信息、 第一用户的行为信息和 /或传感 数据从用户信息数据库中获取的第一用户感兴趣的用户的信息。
其中, 用户信息数据库用于存储在第一用户玩上述游戏过程中正在玩该 游戏的所有用户的位置信息、 行为信息和对应的传感数据。
在该实施方式中, 该游戏可以是 "你可能感兴趣的人" 这类不需要其他 用户参与的游戏。
关于步骤 501和步骤 502可参见上述图 3所示实施例的描述, 在此不再 赘述。
在该实施例中, 在用户通过参与游戏可以找到与自己志同道合的人, 对 用户来说, 在有利于结交新朋友, 另外, 用户主动发起游戏说明愿意分享自 己的位置和行为信息, 所以也不存在用户隐私问题及标注数据的欺骗问题; 对服务器来说, 在为用户提供游戏服务的同时, 获取了用户的位置信息和行 为信息, 进而获得用户的标注数据, 这种在用户游戏过程中获取用户的标注 数据的方式可以获得更加丰富和大量的标注数据, 有利于用户行为识别的应 用。
图 7为本发明一实施例提供的服务器的结构示意图。 如图 7所示, 本实 施例的服务器包括: 第一接收模块 71和标注获取模块 72。
第一接收模块 71 , 用于接收第一终端设备在游戏过程中发送的第一终端 设备对应的第一用户的位置信息、 第一用户的行为信息和第一终端设备上各 传感器的传感数据。
标注获取模块 72 , 与第一接收模块 71连接, 用于对第一接收模块 71接 收到的第一用户的位置信息、 第一用户的行为信息和传感数据进行标注, 得 到第一用户的标注数据。
在一可选实施方式中,第一接收模块 71具体可用于接收第一终端设备在 上述游戏的初始阶段发送的第一用户的位置信息、 第一用户的行为信息和第 一终端设备上各传感器的传感数据, 这里第一用户的位置信息和第一用户的 行为信息是第一用户根据上述游戏的初始阶段的提示输入第一终端设备的。
在一可选实施方式中, 如图 8所示, 第一接收模块 71的一种实现结构包 括: 第一接收单元 711、 预测单元 712、 发送单元 713和第二接收单元 714。
第一接收单元 711 , 用于接收第一终端设备在游戏的初始阶段发送的第 一终端设备上各传感器的传感数据。 第一接收单元 711 与标注获取模块 72 连接, 用于向标注获取模块 72提供接收到的传感数据。
预测单元 712, 与第一接收单元 711连接, 用于在第一接收单元 711接 收到传感数据后, 根据传感数据, 预测得到备选的用户位置信息和备选的用 户行为信息。
发送单元 713 , 与预测单元 712连接, 用于将预测单元 712预测得到的 备选的用户位置信息和备选的用户行为信息发送给第一终端设备, 以供第一 用户选择。
第二接收单元 714, 用于接收第一终端设备返回的第一用户的位置信息 和第一用户的行为信息, 这里第一用户的位置信息是第一用户通过第一终端 设备从备选的用户位置信息中选择的, 这里第一用户的位置信息是第一用户 通过第一终端设备从备选的用户行为信息中选择的。 具体的, 第二接收单元 714与标注获取模块 72连接, 用于向标注获取模块 72提供第一用户的位置 信息和第一用户的行为信息。 可选的, 第二接收单元 714与发送单元 713连 接,用于在发送单元 713发送备选的用户位置信息和备选的用户行为信息后, 接收第一终端设备返回的第一用户的位置信息和第一用户的行为信息。
上述预测单元 712具体可用于根据第一接收单元 711接收到的传感数据, 得到所述第一用户对应的预测位置用传感数据和预测行为用传感数据, 根据 预先存储的语义位置和行为与传感数据之间的对应关系, 对所述预测位置用 传感数据和所述预测行为用传感数据进行识别, 得到所述备选的用户位置信 息和所述备选的用户行为信息。
在一可选实施方式中, 如图 8所示, 本实施例的服务器还包括: 第二接 收模块 73、 第一发送模块 74、 第三接收模块 75和第二发送模块 76。
第二接收模块 73 , 用于在第一接收模块 71接收到第一用户的位置信息、 第一用户的行为信息和传感数据之后, 接收第一终端设备在上述游戏过程中 发送的被邀请加入该游戏的第二终端设备的标识信息。第二接收模块 73与第 一接收模块 71 连接, 更为具体的可以与第一接收单元 711 和第二接收单元 714连接。
第一发送模块 74, 与第二接收模块 73连接, 用于根据第二接收模块 73 接收到的第二终端设备的标识信息, 向第二终端设备发送被邀请通知消息, 以通知第二终端设备加入所述游戏, 并将第一用户的位置信息发送给第二终 端设备, 以供第二终端设备中加入上述游戏的第三终端设备对应的第三用户 猜测第一用户的行为。
第三接收模块 75 , 用于接收第三终端设备发送的猜测行为信息, 将第一 用户的行为信息和猜测行为信息进行比较。 可选的, 第三接收模块 75与第一 发送模块 74连接, 用于在所述第一发送模块 74发送所述被邀请通知消息和 第一用户的位置信息后, 接收所述猜测行为信息。
第二发送模块 76, 与第三接收模块 75连接, 用于将第三接收模块 75的 比较结果发送给第三终端设备, 以使第三用户获知猜测结果。
在一可选实施方式中, 如图 8所示, 本实施例的服务器还包括: 统计模 块 77。 统计模块 77, 用于统计第一终端设备对应的邀请状态信息和猜测状态 信息。 可选的, 统计模块 77与第二接收模块 73和第三接收模块 75连接, 用 于根据第二接收模块 73接收的第二终端设备的标识信息和第三接收模块 75 接收到的第三终端设备返回的猜测行为信息进行统计。
可选的, 第二终端设备的标识信息可以为第二终端设备的手机号码、 第 二终端设备对应的邮箱号或第二终端设备在上述游戏中的账号。
在一可选实施方式中, 如图 8所示, 本实施例的服务器还包括: 第四接 收模块 78和第三发送模块 79。
第四接收模块 78, 用于在第一接收模块接收到第一用户的位置信息、 第 一用户的行为信息和传感数据之后,接收第一终端设备发送的兴趣用户请求。
第三发送模块 79, 与第四接收模块 78和第一接收模块 71连接, 用于根 据第一接收模块 71 接收到的第一用户的位置信息、 第一用户的行为信息和 / 或传感数据, 从用户信息数据库中获取第一用户感兴趣的第二用户的信息, 并将第二用户的信息返回给第一终端设备, 该用户信息数据库用于存储在第 一用户玩上述游戏过程中正在玩该游戏的所有用户的位置信息、 行为信息和 对应的传感数据。
本实施例提供的服务器的各功能模块或单元可用于执行上述图 1-图 3所 示实施例中的相应流程, 其具体工作原理不再赘述, 详见方法实施例的描述。
本实施例提供的服务器, 接收终端设备在用户玩游戏过程中获取的用户 的位置信息、 行为信息和终端设备上各传感器的传感数据, 然后通过对用户 的位置信息、 行为信息和传感数据进行标注, 得到用户的标注数据, 这种在 用户游戏过程中获取用户的标注数据的方式可以获得更加丰富和大量的标注 数据, 有利于用户行为识别的应用。
图 9为本发明又一实施例提供的服务器的结构示意图。 如图 9所示, 本 实施例的服务器包括: 通信接口 91、 处理器 92、 存储器 93 以及总线。 通信 接口 91、 处理器 92和存储器 93通过总线相互连接并完成相互间的通信。 所 述总线可以是工业标准体系结构( Industry Standard Architecture, 简称为 ISA ) 总线、 外部设备互连(Peripheral Component, 简称为 PCI ) 总线或扩展工业 标准体系结构 ( Extended Industry Standard Architecture, 简称为 EISA ) 总线 等。 所述总线可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 9中仅用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。 其中: 通信接口 91 , 用于接收第一终端设备在游戏过程中发送的所述第一终端 设备对应的第一用户的位置信息、 所述第一用户的行为信息和所述第一终端 设备上各传感器的传感数据。
存储器 93 , 用于存储程序。 具体地, 该程序可以包括程序代码, 所述程 序代码包括计算机操作指令。 存储器 93可能包含高速 RAM存储器, 也可能 还包括非易失性存储器( non- volatile memory ) , 例如至少一个磁盘存储器。
处理器 92, 用于执行程序, 以对通信接口 91接收到的第一用户的位置 信息、 第一用户的行为信息和传感数据进行标注, 得到第一用户的标注数据。
处理器 92可能是一个中央处理器( CPU ) ,者是特定集成电路 ( Application Specific Integrated Circuit, 以下简称为 ASIC ) , 或者是被配置成实施本发明 实施例的一个或多个集成电路。
在此说明,本实施例的通信接口 91除了接收第一终端设备发送的各种信 息或数据之外, 还可以向第一终端设备发送其他信息或数据。 本实施例的存 储器 93除了存储程序之外, 也可以存储通信接口 91接收到的各种信息或数 据。
本实施例提供的服务器可用于执行上述图 1-图 3所示实施例中的相应流 程, 其具体工作原理不再赘述, 详见方法实施例的描述。
本实施例提供的服务器, 接收终端设备在用户玩游戏过程中获取的用户 的位置信息、 行为信息和终端设备上各传感器的传感数据, 然后通过对用户 的位置信息、 行为信息和传感数据进行标注, 得到用户的标注数据, 这种在 用户游戏过程中获取用户的标注数据的方式可以获得更加丰富和大量的标注 数据, 有利于用户行为识别的应用。
图 10为本发明一实施例提供的第一终端设备的结构示意图。 如图 10所 示, 本实施例的第一终端设备包括: 获取模块 1001和第一发送模块 1002。
获取模块 1001 , 用于在游戏过程中, 获取第一终端设备对应的第一用户 的位置信息、 第一用户的行为信息和第一终端设备上各传感器的传感数据。
第一发送模块 1002, 与获取模块 1001连接, 用于将获取模块 1001获取 的第一用户的位置信息、 第一用户的行为信息和传感数据发送给服务器, 以 使服务器获得第一用户的标注数据。
在一可选实施方式中, 获取模块 1001具体可用于在游戏的初始阶段, 接 收第一用户根据上述游戏的初始阶段的提示输入的第一用户的位置信息和第 一用户的行为信息, 并在上述游戏的初始阶段, 获取第一终端设备上各传感 器的传感数据。
在一可选实施方式中, 如图 11所示, 获取模块 1001的一种实现结构包 括: 第一获取单元 10011、 发送单元 10012、 第一接收单元 10013、 第一显示 单元 10014和第二接收单元 10015。
第一获取单元 10011 , 用于在游戏的初始阶段获取第一终端设备上各传 感器的传感数据。 第一获取单元 10011与第一发送模块 1002连接, 用于向第 一发送模块 1002提供所述传感数据。
发送单元 10012,与第一获取单元 10011连接,用于在第一获取单元 10011 获取到上述传感数据后, 向服务器发送上述传感数据。
第一接收单元 10013 , 用于接收服务器返回的备选的用户位置信息和备 选的用户行为信息, 该备选的用户位置信息和备选的用户行为信息是服务器 根据发送单元 10012发送的传感数据预测得到的。
第一显示单元 10014, 与第一接收单元 10013连接, 用于将第一接收单 元 10013接收到的备选的用户位置信息和备选的用户行为信息显示给第一用 户, 以供第一用户选择。
第二接收单元 10015 , 用于接收第一用户输入的选择指令, 该选择指令 包括第一用户分别从备选的用户位置信息和备选的用户行为信息中选择的第 一用户的位置信息和第一用户的行为信息。 可选的, 第二接收单元 10015与 第一显示单元 10014连接。 第二接收单元 10015与第一发送模块 1002连接, 用于向第一发送模块 1002提供第一用户的位置信息和第一用户的行为信息。
在一可选实施方式中, 如图 11所示, 获取模块 1001的另一种实现结构 包括: 第二获取单元 10016、 预测单元 10017、 第二显示单元 10018和第三接 收单元 10019。
第二获取单元 10016, 用于在游戏的初始阶段获取第一终端设备上各传 感器的传感数据。 第二获取单元 10016与第一发送模块 1002连接, 用于向第 一发送模块 1002提供所述传感数据。
预测单元 10017, 与第二获取单元 10016连接, 用于根据第二获取单元 10016 获取的传感数据, 预测得到备选的用户位置信息和备选的用户行为信 息。
第二显示单元 10018, 与预测单元 10017连接, 用于将预测单元 10017 预测得到的备选的用户位置信息和备选的用户行为信息显示给第一用户, 以 供第一用户选择。
第三接收单元 10019, 用于接收第一用户输入的选择指令, 该选择指令 包括第一用户分别从备选的用户位置信息和备选的用户行为信息中选择的第 一用户的位置信息和第一用户的行为信息。 可选的, 第三接收单元 10019与 第二显示单元 10018连接。 第三接收单元 10019与第一发送模块 1002连接, 用于向第一发送模块 1002提供第一用户的位置信息和第一用户的行为信息。
可选的, 预测单元 10017具体可用于根据第二获取单元 10016获取的传 感数据, 得到第一用户对应的预测位置用传感数据和预测行为用传感数据, 根据预先存储的语义位置和行为与传感数据之间的对应关系, 对预测位置用 传感数据和预测行为用传感数据进行识别, 得到备选的用户位置信息和备选 的用户行为信息。
在一可选实施方式中, 如图 11所示, 本实施例的第一终端设备还包括: 第二发送模块 1003。 第二发送模块 1003 , 与第一发送模块 1002连接, 用于 在第一发送模块 1002发送第一用户的位置信息、第一用户的行为信息和传感 数据之后, 在上述游戏过程中向服务器发送被邀请加入游戏的第二终端设备 的标识信息。
可选的,第二发送模块 1003具体可用于在上述游戏过程中接收第一用户 输入的邀请加入指令, 该邀请加入指令包括第二终端设备的标识信息, 然后 将第二终端设备的标识信息发送给服务器。
在一可选实施方式中, 如图 11所示, 本实施例的第一终端设备还包括: 第三发送模块 1004和接收模块 1005。
第三发送模块 1004, 与第一发送模块 1002连接, 用于在第一发送模块 1002发送第一用户的位置信息、 第一用户的行为信息和传感数据之后, 向服 务器发送兴趣用户请求。
接收模块 1005 , 用于接收服务器返回的第二用户的信息, 该第二用户的 信息是服务器根据第一用户的位置信息、 第一用户的行为信息和 /或传感数据 从用户信息数据库中获取的第一用户感兴趣的用户的信息, 该用户信息数据 库用于存储在第一用户玩上述游戏过程中正在玩该游戏的所有用户的位置信 息、 行为信息和对应的传感数据。 可选的, 接收模块 1005 和第三发送模块 1004连接。
本实施例提供的第一终端设备的各功能模块或单元可用于执行图 4-图 6 所示实施例提供的相应流程, 其具体工作原理不再赘述, 详见方法实施例的 描述。
本实施例提供的第一终端设备, 在游戏过程中获取用户的位置信息、 行 为信息和终端设备上各传感器的传感数据并提供给服务器, 使得服务器通过 对用户的位置信息、 行为信息和传感数据进行标注, 得到用户的标注数据, 这种在用户游戏过程中获取用户的标注数据的方式可以获得更加丰富和大量 的标注数据, 有利于用户行为识别的应用。
图 12为本发明又一实施例提供的第一终端设备的结构示意图。 如图 12 所示, 本实施例的终端设备包括: 处理器 1201、 通信接口 1202、存储器 1203 以及总线。 通信接口 1202、 处理器 1201和存储器 1203通过总线相互连接并 完成相互间的通信。 所述总线可以是 ISA总线、 PCI总线或 EISA总线等。 所 述总线可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 12中仅 用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。 其中:
存储器 1203 , 用于存储程序。 具体地, 该程序可以包括程序代码, 所述 程序代码包括计算机操作指令。 存储器 1203可能包含高速 RAM存储器, 也 可能还包括非易失性存储器(non-volatile memory ) , 例如至少一个磁盘存储 哭口 。
处理器 1201 , 用于执行程序, 以在游戏过程中, 获取第一终端设备对应 的第一用户的位置信息、 第一用户的行为信息和第一终端设备上各传感器的 传感数据。 其中, 处理器 1201可以通过通信接口 1202获取第一用户的位置 信息、 第一用户的行为信息和第一终端设备上各传感器的传感数据。 如图 12 所示, 本实施例的第一终端设备还包括至少一个传感器 1204。 所述至少一个 传感器 1204包括但不限于: GPS、 加速度计、 音频传感器和方向传感器。
通信接口 1202, 用于实现第一终端设备与服务器之间的通信, 例如将处 理器 1201获取的第一用户的位置信息、第一用户的行为信息和第一终端设备 上各传感器的传感数据发送给服务器。 另外, 通信接口 1202还可以接收服务 器发送的信息或数据。
本实施例提供的第一终端设备可用于执行图 4-图 6所示实施例提供的相 应流程, 其具体工作原理不再赘述, 详见方法实施例的描述。
本实施例提供的第一终端设备, 在游戏过程中获取用户的位置信息、 行 为信息和终端设备上各传感器的传感数据并提供给服务器, 使得服务器通过 对用户的位置信息、 行为信息和传感数据进行标注, 得到用户的标注数据, 这种在用户游戏过程中获取用户的标注数据的方式可以获得更加丰富和大量 的标注数据, 有利于用户行为识别的应用。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而 前述的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码 的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要求 书
1、 一种用户数据标注方法, 其特征在于, 包括:
服务器接收第一终端设备在游戏过程中发送的所述第一终端设备对应的 第一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传 感器的传感数据;
所述服务器对所述第一用户的位置信息、 所述第一用户的行为信息和所 述传感数据进行标注, 得到所述第一用户的标注数据。
2、 根据权利要求 1所述的用户数据标注方法, 其特征在于, 所述服务器 接收第一终端设备在游戏过程中发送的所述第一终端设备对应的第一用户的 位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感 数据包括:
所述服务器接收所述第一终端设备在所述游戏的初始阶段发送的所述第 一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感 器的传感数据, 所述第一用户的位置信息和所述第一用户的行为信息是所述 第一用户根据所述游戏的初始阶段的提示输入所述第一终端设备的。
3、 根据权利要求 1所述的用户数据标注方法, 其特征在于, 所述服务器 接收第一终端设备在游戏过程中发送的所述第一终端设备对应的第一用户的 位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感 数据包括:
所述服务器接收所述第一终端设备在所述游戏的初始阶段发送的所述第 一终端设备上各传感器的传感数据;
所述服务器根据所述传感数据, 预测得到备选的用户位置信息和备选的 用户行为信息;
所述服务器将所述备选的用户位置信息和备选的用户行为信息发送给所 述第一终端设备, 以供所述第一用户选择;
所述服务器接收所述第一终端设备返回的所述第一用户的位置信息和所 述第一用户的行为信息, 所述第一用户的位置信息是所述第一用户通过所述 第一终端设备从所述备选的用户位置信息中选择的, 所述第一用户的位置信 息是所述第一用户通过所述第一终端设备从所述备选的用户行为信息中选择 的。
4、 根据权利要求 3所述的用户数据标注方法, 其特征在于, 所述服务器 根据所述传感数据, 预测得到备选的用户位置信息和备选的用户行为信息包 括:
所述服务器根据所述传感数据, 得到所述第一用户对应的预测位置用传 感数据和预测行为用传感数据;
所述服务器根据预先存储的语义位置和行为与传感数据之间的对应关 系, 对所述预测位置用传感数据和所述预测行为用传感数据进行识别, 得到 所述备选的用户位置信息和所述备选的用户行为信息。
5、根据权利要求 1或 2或 3或 4所述的用户数据标注方法,其特征在于, 所述服务器接收第一终端设备在游戏过程中发送的所述第一终端设备对应的 第一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传 感器的传感数据之后包括:
所述服务器接收所述第一终端设备在所述游戏过程中发送的被邀请加入 所述游戏的第二终端设备的标识信息;
所述服务器根据所述第二终端设备的标识信息, 向所述第二终端设备发 送被邀请通知消息, 以通知所述第二终端设备加入所述游戏, 并将所述第一 用户的位置信息发送给所述第二终端设备, 以供所述第二终端设备中加入所 述游戏的第三终端设备对应的第三用户猜测所述第一用户的行为;
所述服务器接收所述第三终端设备发送的猜测行为信息, 将所述第一用 户的行为信息和所述猜测行为信息进行比较, 将比较结果发送给所述第三终 端设备, 以使所述第三用户获知猜测结果。
6、 根据权利要求 5所述的用户数据标注方法, 其特征在于, 还包括: 所述服务器统计所述第一终端设备对应的邀请状态信息和猜测状态信 息。
7、 根据权利要求 5所述的用户数据标注方法, 其特征在于, 所述第二终 端设备的标识信息为所述第二终端设备的手机号码、 所述第二终端设备对应 的邮箱号或所述第二终端设备在所述游戏中的账号。
8、根据权利要求 1或 2或 3或 4所述的用户数据标注方法,其特征在于, 所述服务器接收第一终端设备在游戏过程中发送的所述第一终端设备对应的 第一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传 感器的传感数据之后包括:
所述服务器接收所述第一终端设备发送的兴趣用户请求;
所述服务器根据所述第一用户的位置信息、 所述第一用户的行为信息和 / 或所述传感数据, 从用户信息数据库中获取所述第一用户感兴趣的第二用户 的信息, 并将所述第二用户的信息返回给所述第一终端设备, 所述用户信息 数据库用于存储在所述第一用户玩所述游戏过程中正在玩所述游戏的所有用 户的位置信息、 行为信息和对应的传感数据。
9、 一种用户数据标注方法, 其特征在于, 包括:
第一终端设备在游戏过程中, 获取所述第一终端设备对应的第一用户的 位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感 数据;
所述第一终端设备将所述第一用户的位置信息、 所述第一用户的行为信 息和所述传感数据发送给服务器, 以使所述服务器获得所述第一用户的标注 数据。
10、 根据权利要求 9所述的用户数据标注方法, 其特征在于, 所述第一 终端设备在游戏过程中,获取所述第一终端设备对应的第一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感数据包括: 所述第一终端设备在所述游戏的初始阶段, 接收所述第一用户根据所述 游戏的初始阶段的提示输入的所述第一用户的位置信息和所述第一用户的行 为信息;
所述第一终端设备在所述游戏的初始阶段, 获取所述传感数据。
1 1、 根据权利要求 9所述的用户数据标注方法, 其特征在于, 所述第一 终端设备在游戏过程中,获取所述第一终端设备对应的第一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感数据包括: 所述第一终端设备在所述游戏的初始阶段获取所述传感数据, 并向所述 服务器发送所述传感数据;
所述第一终端设备接收所述服务器返回的备选的用户位置信息和备选的 用户行为信息, 所述备选的用户位置信息和所述备选的用户行为信息是所述 服务器根据所述传感数据预测得到的;
所述第一终端设备将所述备选的用户位置信息和所述备选的用户行为信 息显示给所述第一用户, 以供所述第一用户选择;
所述第一终端设备接收所述第一用户输入的选择指令, 所述选择指令包 括所述第一用户分别从所述备选的用户位置信息和所述备选的用户行为信息 中选择的所述第一用户的位置信息和所述第一用户的行为信息。
12、 根据权利要求 9所述的用户数据标注方法, 其特征在于, 所述第一 终端设备在游戏过程中,获取所述第一终端设备对应的第一用户的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感数据包括: 所述第一终端设备在所述游戏的初始阶段获取所述传感数据;
所述第一终端设备根据所述传感数据, 预测得到备选的用户位置信息和 备选的用户行为信息;
所述第一终端将所述备选的用户位置信息和所述备选的用户行为信息显 示给所述第一用户, 以供所述第一用户选择;
所述第一终端设备接收所述第一用户输入的选择指令, 所述选择指令包 括所述第一用户分别从所述备选的用户位置信息和所述备选的用户行为信息 中选择的所述第一用户的位置信息和所述第一用户的行为信息。
13、 根据权利要求 12所述的用户数据标注方法, 其特征在于, 所述第一 终端设备根据所述传感数据, 预测得到备选的用户位置信息和备选的用户行 为信息包括:
所述第一终端设备根据所述传感数据, 得到所述第一用户对应的预测位 置用传感数据和预测行为用传感数据;
所述第一终端设备根据预先存储的语义位置和行为与传感数据之间的对 应关系, 对所述预测位置用传感数据和所述预测行为用传感数据进行识别, 得到所述备选的用户位置信息和所述备选的用户行为信息。
14、 根据权利要求 9-13任一项所述的用户数据标注方法, 其特征在于, 所述第一终端设备将所述第一用户的位置信息、 所述第一用户的行为信息和 所述传感数据发送给服务器之后包括:
所述第一终端设备在所述游戏过程中向所述服务器发送被邀请加入所述 游戏的第二终端设备的标识信息。
15、 根据权利要求 14所述的用户数据标注方法, 其特征在于, 所述第一 终端设备在所述游戏过程中向所述服务器发送被邀请加入所述游戏的第二终 端设备的标识信息包括:
所述第一终端设备在所述游戏过程中接收所述第一用户输入的邀请加入 指令, 所述邀请加入指令包括所述第二终端设备的标识信息;
所述第一终端设备将所述第二终端设备的标识信息发送给所述服务器。
16、 根据权利要求 9-13任一项所述的用户数据标注方法, 其特征在于, 所述第一终端设备将所述第一用户的位置信息、 所述第一用户的行为信息和 所述传感数据发送给服务器之后包括:
所述第一终端设备向所述服务器发送兴趣用户请求;
所述第一终端设备接收所述服务器返回的第二用户的信息, 所述第二用 户的信息是所述服务器根据所述第一用户的位置信息、 所述第一用户的行为 信息和 /或所述传感数据从用户信息数据库中获取的所述第一用户感兴趣的 用户的信息; 所述用户信息数据库用于存储在所述第一用户玩所述游戏过程 中正在玩所述游戏的所有用户的位置信息、 行为信息和对应的传感数据。
17、 一种服务器, 其特征在于, 包括:
第一接收模块, 用于接收第一终端设备在游戏过程中发送的所述第一终 端设备对应的第一用户的位置信息、 所述第一用户的行为信息和所述第一终 端设备上各传感器的传感数据;
标注获取模块, 用于对所述第一接收模块接收到的所述第一用户的位置 信息、 所述第一用户的行为信息和所述传感数据进行标注, 得到所述第一用 户的标注数据。
18、 根据权利要求 17所述的服务器, 其特征在于, 所述第一接收模块具 体用于接收所述第一终端设备在所述游戏的初始阶段发送的所述第一用户的 位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传感 数据, 所述第一用户的位置信息和所述第一用户的行为信息是所述第一用户 根据所述游戏的初始阶段的提示输入所述第一终端设备的。
19、 根据权利要求 17所述的服务器, 其特征在于, 所述第一接收模块包 括:
第一接收单元, 用于接收所述第一终端设备在所述游戏的初始阶段发送 的所述第一终端设备上各传感器的传感数据;
预测单元, 用于在所述第一接收单元接收到所述传感数据后, 根据所述 传感数据, 预测得到备选的用户位置信息和备选的用户行为信息;
发送单元, 用于将所述备选的用户位置信息和所述备选的用户行为信息 发送给所述第一终端设备, 以供所述第一用户选择;
第二接收单元, 用于接收所述第一终端设备返回的所述第一用户的位置 信息和所述第一用户的行为信息, 所述第一用户的位置信息是所述第一用户 通过所述第一终端设备从所述备选的用户位置信息中选择的, 所述第一用户 的位置信息是所述第一用户通过所述第一终端设备从所述备选的用户行为信 息中选择的。
20、 根据权利要求 19所述的服务器, 其特征在于, 所述预测单元具体用 于根据所述传感数据, 得到所述第一用户对应的预测位置用传感数据和预测 行为用传感数据, 根据预先存储的语义位置和行为与传感数据之间的对应关 系, 对所述预测位置用传感数据和所述预测行为用传感数据进行识别, 得到 所述备选的用户位置信息和所述备选的用户行为信息。
21、 根据权利要求 17或 18或 19或 20所述的服务器, 其特征在于, 还 包括:
第二接收模块, 用于在所述第一接收模块接收到所述第一用户的位置信 息、 所述第一用户的行为信息和所述传感数据之后, 接收所述第一终端设备 在所述游戏过程中发送的被邀请加入所述游戏的第二终端设备的标识信息; 第一发送模块, 用于根据所述第二终端设备的标识信息, 向所述第二终 端设备发送被邀请通知消息, 以通知所述第二终端设备加入所述游戏, 并将 所述第一用户的位置信息发送给所述第二终端设备, 以供所述第二终端设备 中加入所述游戏的第三终端设备对应的第三用户猜测所述第一用户的行为; 第三接收模块, 用于接收所述第三终端设备发送的猜测行为信息, 将所 述第一用户的行为信息和所述猜测行为信息进行比较;
第二发送模块, 用于将所述第三接收模块的比较结果发送给所述第三终 端设备, 以使所述第三用户获知猜测结果。
22、 根据权利要求 21所述的服务器, 其特征在于, 还包括:
统计模块, 用于统计所述第一终端设备对应的邀请状态信息和猜测状态 信息。
23、 根据权利要求 21所述的服务器, 其特征在于, 所述第二终端设备的 标识信息为所述第二终端设备的手机号码、 所述第二终端设备对应的邮箱号 或所述第二终端设备在所述游戏中的账号。
24、 根据权利要求 17或 18或 19或 20所述的服务器, 其特征在于, 还 包括:
第四接收模块, 用于接收所述第一终端设备发送的兴趣用户请求; 第三发送模块, 用于根据所述第一用户的位置信息、 所述第一用户的行 为信息和 /或所述传感数据, 从用户信息数据库中获取所述第一用户感兴趣的 第二用户的信息, 并将所述第二用户的信息返回给所述第一终端设备, 所述 用户信息数据库用于存储在所述第一用户玩所述游戏过程中正在玩所述游戏 的所有用户的位置信息、 行为信息和对应的传感数据。
25、 一种第一终端设备, 其特征在于, 包括:
获取模块, 用于在游戏过程中, 获取所述第一终端设备对应的第一用户 的位置信息、 所述第一用户的行为信息和所述第一终端设备上各传感器的传 感数据;
第一发送模块, 用于将所述第一用户的位置信息、 所述第一用户的行为 信息和所述传感数据发送给服务器, 以使所述服务器获得所述第一用户的标 注数据。
26、 根据权利要求 25所述的第一终端设备, 其特征在于, 所述获取模块 具体用于在所述游戏的初始阶段, 接收所述第一用户根据所述游戏的初始阶 段的提示输入的所述第一用户的位置信息和所述第一用户的行为信息, 并在 所述游戏的初始阶段, 获取所述传感数据。
27、 根据权利要求 25所述的第一终端设备, 其特征在于, 所述获取模块 包括:
第一获取单元, 用于在所述游戏的初始阶段获取所述传感数据; 发送单元, 用于在所述第一获取单元获取到所述传感数据后, 向所述服 务器发送所述传感数据;
第一接收单元, 用于接收所述服务器返回的备选的用户位置信息和备选 的用户行为信息, 所述备选的用户位置信息和所述备选的用户行为信息是所 述服务器根据所述传感数据预测得到的;
第一显示单元, 用于将所述备选的用户位置信息和所述备选的用户行为 信息显示给所述第一用户, 以供所述第一用户选择;
第二接收单元, 用于接收所述第一用户输入的选择指令, 所述选择指令 包括所述第一用户分别从所述备选的用户位置信息和所述备选的用户行为信 息中选择的所述第一用户的位置信息和所述第一用户的行为信息。
28、 根据权利要求 25所述的第一终端设备, 其特征在于, 所述获取模块 包括:
第二获取单元, 用于在所述游戏的初始阶段获取所述传感数据; 预测单元, 用于根据所述传感数据, 预测得到备选的用户位置信息和备 选的用户行为信息;
第二显示单元, 用于将所述备选的用户位置信息和所述备选的用户行为 信息显示给所述第一用户, 以供所述第一用户选择;
第三接收单元, 用于接收所述第一用户输入的选择指令, 所述选择指令 包括所述第一用户分别从所述备选的用户位置信息和所述备选的用户行为信 息中选择的所述第一用户的位置信息和所述第一用户的行为信息。
29、 根据权利要求 28所述的第一终端设备, 其特征在于, 所述预测单元 具体用于根据所述传感数据, 得到所述第一用户对应的预测位置用传感数据 和预测行为用传感数据, 根据预先存储的语义位置和行为与传感数据之间的 对应关系,对所述预测位置用传感数据和所述预测行为用传感数据进行识别 , 得到所述备选的用户位置信息和所述备选的用户行为信息。
30、 根据权利要求 25-29任一项所述的第一终端设备, 其特征在于, 还 包括:
第二发送模块,用于在所述第一发送模块发送所述第一用户的位置信息、 所述第一用户的行为信息和所述传感数据之后, 在所述游戏过程中向所述服 务器发送被邀请加入所述游戏的第二终端设备的标识信息。
31、 根据权利要求 30所述的第一终端设备, 其特征在于, 所述第二发送 模块具体用于在所述游戏过程中接收所述第一用户输入的邀请加入指令, 所 述邀请加入指令包括所述第二终端设备的标识信息, 然后将所述第二终端设 备的标识信息发送给所述服务器。
32、 根据权利要求 25-29任一项所述的第一终端设备, 其特征在于, 还 包括: 第三发送模块,用于在所述第一发送模块发送所述第一用户的位置信息、 所述第一用户的行为信息和所述传感数据之后, 向所述服务器发送兴趣用户 请求;
接收模块, 用于接收所述服务器返回的第二用户的信息, 所述第二用户 的信息是所述服务器根据所述第一用户的位置信息、 所述第一用户的行为信 息和 /或所述传感数据从用户信息数据库中获取的所述第一用户感兴趣的用 户的信息; 所述用户信息数据库用于存储在所述第一用户玩所述游戏过程中 正在玩所述游戏的所有用户的位置信息、 行为信息和对应的传感数据。
PCT/CN2013/073557 2012-09-25 2013-04-01 用户数据标注方法、终端设备及服务器 WO2014048101A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP13805215.4A EP2741468B1 (en) 2012-09-25 2013-04-01 Method for labelling user data, terminal device and server
US14/109,299 US20140108317A1 (en) 2012-09-25 2013-12-17 User data annotation method, terminal device, and server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210360965.2 2012-09-25
CN201210360965.2A CN103685208B (zh) 2012-09-25 2012-09-25 用户数据标注方法、终端设备及服务器

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/109,299 Continuation US20140108317A1 (en) 2012-09-25 2013-12-17 User data annotation method, terminal device, and server

Publications (1)

Publication Number Publication Date
WO2014048101A1 true WO2014048101A1 (zh) 2014-04-03

Family

ID=50321534

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/073557 WO2014048101A1 (zh) 2012-09-25 2013-04-01 用户数据标注方法、终端设备及服务器

Country Status (3)

Country Link
US (1) US20140108317A1 (zh)
CN (1) CN103685208B (zh)
WO (1) WO2014048101A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170323209A1 (en) * 2016-05-06 2017-11-09 1Q Llc Situational Awareness System
CN105094305B (zh) * 2014-05-22 2018-05-18 华为技术有限公司 识别用户行为的方法、用户设备及行为识别服务器
CN105357637B (zh) * 2015-10-28 2019-06-11 同济大学 一种位置和行为信息预测系统及方法
CN110223107B (zh) * 2019-05-23 2021-12-07 中国银行股份有限公司 基于相似对象的参考广告确定方法、装置和设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350153A (zh) * 2008-07-15 2009-01-21 曹梅花 使用标注终端采集地理位置标注信息系统及信息采集方法
JP2010167148A (ja) * 2009-01-23 2010-08-05 Namco Bandai Games Inc 移動玩具、プログラム、情報記憶媒体、およびゲーム装置。
CN101951552A (zh) * 2010-10-12 2011-01-19 北京车灵通科技发展有限公司 一种热点位置上传及共享的方法
WO2012009214A2 (en) * 2010-07-13 2012-01-19 Intel Corporation Efficient gesture processing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7917594B2 (en) * 2007-03-30 2011-03-29 Verizon Patent And Licensing Inc. Method and system for notifying an invitee user when an inviting user accesses a social networking application
JP5440080B2 (ja) * 2009-10-02 2014-03-12 ソニー株式会社 行動パターン解析システム、携帯端末、行動パターン解析方法、及びプログラム
CN102457332A (zh) * 2010-11-02 2012-05-16 北京网潮科技有限公司 移动终端定位方法、设备和系统
WO2012075099A2 (en) * 2010-11-30 2012-06-07 Google Inc. Use of location tagging in data communications
EP2877935A4 (en) * 2012-07-25 2016-01-20 Aro Inc USE OF MOBILE DEVICE DATA TO CREATE A CANEVAS, MODEL THE HABITS AND PERSONALITY OF USERS AND CREATE CUSTOMIZED RECOMMENDATION AGENTS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350153A (zh) * 2008-07-15 2009-01-21 曹梅花 使用标注终端采集地理位置标注信息系统及信息采集方法
JP2010167148A (ja) * 2009-01-23 2010-08-05 Namco Bandai Games Inc 移動玩具、プログラム、情報記憶媒体、およびゲーム装置。
WO2012009214A2 (en) * 2010-07-13 2012-01-19 Intel Corporation Efficient gesture processing
CN101951552A (zh) * 2010-10-12 2011-01-19 北京车灵通科技发展有限公司 一种热点位置上传及共享的方法

Also Published As

Publication number Publication date
CN103685208A (zh) 2014-03-26
CN103685208B (zh) 2017-07-14
US20140108317A1 (en) 2014-04-17

Similar Documents

Publication Publication Date Title
US11250887B2 (en) Routing messages by message parameter
CN104580412B (zh) 基于内容和位置的自组织联网
CN112333633B (zh) 一种用于共享移动设备的位置的计算机实现的方法、设备和系统
US9817557B2 (en) Interactive audience communication for events
US9210269B2 (en) Active speaker indicator for conference participants
US20150350262A1 (en) Causation of establishment of a location sharing group
WO2014101521A1 (zh) 基于地理位置的通讯方法、移动终端、服务器及系统
CN105610700A (zh) 群组创建方法、装置及电子设备
CN105847111A (zh) 添加好友的方法及装置
KR102663909B1 (ko) 사용자간 관련성 정보 제공 방법 및 시스템
US20220132276A1 (en) Method and system for providing community service using short-range broadcasting
WO2014048101A1 (zh) 用户数据标注方法、终端设备及服务器
CN105893562A (zh) 会话消息处理方法、装置及终端
US20220353231A1 (en) Message processing method, apparatus, and device, and storage medium
WO2016127695A1 (zh) 位置信息共享方法和系统
KR20210050166A (ko) 그룹 앨범을 이용하는 대화방에서 프로필 사진 기반 사용자 얼굴 인식과 활용 방법
US8676910B2 (en) Method, server, client and system for network platform interaction
WO2018094725A1 (zh) 一种头像显示的方法以及头像显示装置
CN107423386A (zh) 生成电子卡片的方法及装置
TW201611546A (zh) 即時通訊
KR20170038806A (ko) 인스턴트 메시징 기법
CN106572003A (zh) 用户信息推荐方法和装置
CN104363166B (zh) 即时通信方法、装置和智能终端
CN106156299B (zh) 文本信息的主题内容识别方法及装置
CN102317899B (zh) 一种信息生成和处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13805215

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE