CN105049470A - Event confirming method, apparatus and system - Google Patents
Event confirming method, apparatus and system Download PDFInfo
- Publication number
- CN105049470A CN105049470A CN201510266110.7A CN201510266110A CN105049470A CN 105049470 A CN105049470 A CN 105049470A CN 201510266110 A CN201510266110 A CN 201510266110A CN 105049470 A CN105049470 A CN 105049470A
- Authority
- CN
- China
- Prior art keywords
- event
- confirmation
- target event
- user
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000012790 confirmation Methods 0.000 claims description 325
- 230000033001 locomotion Effects 0.000 claims description 45
- 230000003993 interaction Effects 0.000 claims description 42
- 230000009471 action Effects 0.000 claims description 40
- 230000001133 acceleration Effects 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000010200 validation analysis Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 19
- 238000012545 processing Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 230000006854 communication Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000005484 gravity Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000009133 cooperative interaction Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention belongs to the Internet technical field and discloses an event confirming method, apparatus and system. The method comprises the following steps of receiving confirming information respectively sent by at least two mobile terminals, wherein the confirming information includes a target event identification and geographical positions acquired by positioning when the mobile terminals receive event confirming operations; acquiring at least two geographical positions included in each piece of confirming information and having the same target event identification; detecting whether the detected at least two geographical positions belong to the same place; and when the at least two geographical positions belong to the same place, determining the target event corresponding to the target event identification. By means of the method, effects that a server determines whether the two geographical positions belong to the same place according to the included geographical positions in confirming information sent by at least two mobile terminals and whether users performing the target event actually meet can be further determined are achieved.
Description
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, and a system for event confirmation.
Background
In the process of online and offline cooperative interaction by using the internet, if a user completes a certain event online and needs to confirm the event online, the user can click a preset button in the mobile terminal to trigger the mobile terminal to send confirmation information to the server.
For example, the user purchases an article on the internet, and after receiving the corresponding package, the user may click a "receive confirmation" button displayed in the order page to trigger the mobile terminal to send confirmation information to the server, where the confirmation information is used to indicate that the user receives the article.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems: when a certain event requires multiple users to perform offline interaction and then confirm online, the server cannot judge whether the users actually meet and perform interaction.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide an event confirmation method, an event confirmation device, and an event confirmation system. The technical scheme is as follows:
according to a first aspect of embodiments of the present invention, there is provided an event confirmation method, including:
receiving confirmation information sent by at least two mobile terminals respectively; the confirmation information is sent when the mobile terminal receives an event confirmation instruction of a user for a target event, the target event is an event generated by the online interaction of at least two users, and the confirmation information carries a target event identifier and a geographical position obtained by positioning when the mobile terminal receives an event confirmation operation;
acquiring geographical positions carried by at least two pieces of confirmation information with the same target event identifier;
detecting whether the acquired at least two geographic positions belong to the same place;
and when at least two geographic positions belong to the same place, confirming the target event corresponding to the target event identification.
According to a second aspect of the embodiments of the present invention, there is provided an event confirmation method, the method including:
receiving an event confirmation instruction of a user aiming at a target event, wherein the target event is an event generated by the interaction of at least two users under the on-line condition;
acquiring a current geographic position according to the event confirmation instruction;
generating confirmation information carrying a target event identifier and a geographical position, wherein the target event identifier is used for identifying a target event;
and sending the confirmation information to the server so that the server can acquire the geographical positions carried by at least two pieces of confirmation information with the same target event identifier, and confirming the target event when the at least two geographical positions belong to the same place.
According to a third aspect of embodiments of the present invention, there is provided an event confirmation apparatus, the apparatus including:
the first receiving module is used for receiving confirmation information sent by at least two mobile terminals respectively; the confirmation information is sent when the mobile terminal receives an event confirmation instruction of a user for a target event, the target event is an event generated by the online interaction of at least two users, and the confirmation information carries a target event identifier and a geographical position obtained by positioning when the mobile terminal receives an event confirmation operation;
the first acquisition module is used for acquiring the geographical positions carried by at least two pieces of confirmation information with the same target event identifier;
the first detection module is used for detecting whether the acquired at least two geographic positions belong to the same place;
and the confirming module is used for confirming the target event corresponding to the target event identification when at least two geographic positions belong to the same place.
According to a fourth aspect of embodiments of the present invention, there is provided an event confirmation apparatus, the apparatus including:
the second receiving module is used for receiving an event confirmation instruction of a user aiming at a target event, wherein the target event is an event generated by the online interaction of at least two users;
the fourth acquisition module is used for acquiring the current geographic position according to the event confirmation instruction;
the generating module is used for generating confirmation information carrying a target event identifier and a geographic position, wherein the target event identifier is used for identifying a target event;
and the sending module is used for sending the confirmation information to the server so that the server can obtain the geographical positions carried by at least two pieces of confirmation information with the same target event identifier respectively, and confirms the target event when the at least two geographical positions belong to the same place.
According to a fifth aspect of embodiments of the present invention, there is provided an event confirmation system, the system including a server and at least two mobile terminals;
the server is connected with at least two mobile terminals through a wireless network or a wired network;
the server comprises event confirmation means as described in the third aspect;
the mobile terminal comprises the event confirmation device of the fourth aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
when the target event is confirmed through at least two mobile terminals, the current geographic position is added into the confirmation information and is sent to the server; the problem that when a certain event needs a plurality of users to perform offline interaction and then online confirmation is performed, the server cannot judge whether the users actually meet and perform interaction is solved; the effect that the server can determine whether the two geographical positions belong to the same place according to the geographical positions carried in the confirmation information sent by the at least two mobile terminals, so that whether the user executing the target event actually meets the scene is determined is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an environment schematic diagram of an implementation environment related to an event confirmation method according to various embodiments of the present invention;
FIG. 2 is a flowchart of a method for event validation as provided by one embodiment of the present invention;
FIG. 3A is a flowchart of a method for event confirmation according to another embodiment of the present invention;
fig. 3B is a flowchart of a method for generating an event confirmation instruction according to an event confirmation method provided by another embodiment of the present invention;
FIG. 4A is a flowchart of a method for event confirmation according to yet another embodiment of the present invention;
FIG. 4B is a schematic interface diagram of an event confirmation method according to yet another embodiment of the present invention;
FIG. 4C is a schematic diagram illustrating an implementation of an event confirmation method according to yet another embodiment of the invention;
FIG. 4D is a schematic interface diagram illustrating an event confirmation method according to yet another embodiment of the present invention;
fig. 5 is a block diagram showing the structure of an event confirmation apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram illustrating an event confirmation apparatus according to another embodiment of the present invention;
fig. 7 is a block diagram illustrating an event confirmation apparatus according to still another embodiment of the present invention;
fig. 8 is a block diagram showing an event confirmation apparatus according to still another embodiment of the present invention;
FIG. 9 is a block diagram of a server provided by one embodiment of the present invention;
fig. 10 is a block diagram of a mobile terminal according to another embodiment of the present invention;
fig. 11 is a block diagram of an event confirmation system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, an environment diagram of an implementation environment related to an event confirmation method according to various embodiments of the present invention is shown. The implementation environment includes a server 110 and at least two mobile terminals 120.
The server 110 may be a server, a server cluster composed of several servers, or a cloud computing service center.
At least two mobile terminals 120 and the server 110 may be connected through a wireless network or a wired network.
The mobile terminal 120 is an electronic device having a built-in sensor. The electronic device may be a smart phone, a tablet computer, an e-book reader, an MP3(moving picture expert group audio layer iii) player, an MP4(moving picture expert group audio layer iv) player, a laptop computer, or the like. The sensor may be a gyroscope or an acceleration sensor, etc.
For the sake of simplifying the description, the following is only illustrated as the event confirmation method is performed by the server or the smartphone, but it is not limited thereto.
Referring to fig. 2, a flowchart of an event confirmation method according to an embodiment of the present invention is shown. The present embodiment is exemplified by applying the event confirmation method to the server 110 shown in fig. 1. The method comprises the following steps:
step 201, receiving confirmation information sent by at least two mobile terminals respectively; the confirmation information is sent when the mobile terminal receives an event confirmation instruction of a user for a target event, the target event is an event generated by the interaction of at least two users under the online condition, and the confirmation information carries a target event identifier and a geographical position obtained by positioning when the mobile terminal receives an event confirmation operation.
The target event may refer to a buyer or seller conducting an offline transaction, a multi-user conducting an offline activity at a specified location, or a user arriving at a specified location and completing a check-in, etc.
The event confirmation operation refers to an operation that is executed by at least two users together online after the target event is completed, and in general, the event confirmation operations executed by different users are the same. For example, the event confirmation operation may be at least two users pressing a button together or shaking a mobile phone online, and the like.
Optionally, the event confirmation instruction is an instruction generated when the mobile terminal acquires action data of the user through a built-in sensor and the action data is matched with a preset event confirmation operation.
Step 202, obtaining geographic positions carried by at least two pieces of confirmation information with the same target event identifier.
Step 203, detecting whether the acquired at least two geographic positions belong to the same place.
And step 204, when at least two geographic positions belong to the same place, confirming the target event corresponding to the target event identification.
In summary, the event confirmation method provided in this embodiment confirms the target event according to the confirmation information sent by the at least two mobile terminals carrying the geographic locations; the problem that when a certain event needs a plurality of users to perform offline interaction and then online confirmation is performed, the server cannot judge whether the users actually meet and perform interaction is solved; the effect that the server can determine whether the two geographical positions belong to the same place according to the geographical positions carried in the confirmation information sent by the at least two mobile terminals, so that whether the user executing the target event actually meets the scene is determined is achieved.
Referring to fig. 3A, a flowchart of an event confirmation method according to another embodiment of the invention is shown. The present embodiment is exemplified by applying the event confirmation method to the mobile terminal 120 shown in fig. 1. The method comprises the following steps:
step 301, receiving an event confirmation instruction of a user for a target event, where the target event is an event generated by at least two users interacting online.
And step 302, acquiring the current geographic position according to the event confirmation instruction.
Step 303, generating confirmation information carrying the target event identifier and the geographic location, where the target event identifier is used to identify the target event.
Step 304, sending the confirmation information to the server, so that the server obtains the geographical positions carried by at least two pieces of confirmation information with the same target event identifier, and confirming the target event when the at least two geographical positions belong to the same place.
In summary, in the event confirmation method provided in this embodiment, the confirmation information carrying the geographic location is sent to the server through the at least two mobile terminals, and the server confirms the target event according to the confirmation information; the problem that when a certain event needs a plurality of users to perform offline interaction and then online confirmation is performed, the server cannot judge whether the users actually meet and perform interaction is solved; the effect that the server can determine whether the two geographical positions belong to the same place according to the geographical positions carried in the confirmation information sent by the at least two mobile terminals, so that whether the user executing the target event actually meets the scene is determined is achieved.
Optionally, in order to improve the experience of the user performing offline interaction, the event confirmation instruction may be sent after the user completes a preset event confirmation operation, as shown in fig. 3B, step 301 includes:
step 301A, acquiring action data of a user through a built-in sensor;
step 301B, detecting whether the action data matches a preset event confirmation operation;
and step 301C, generating an event confirmation instruction when the action data is matched with the preset event confirmation operation.
Referring to fig. 4A, a flowchart of an event confirmation method according to still another embodiment of the invention is shown. The present embodiment is illustrated by applying the event confirmation method to the implementation environment shown in fig. 1. The method comprises the following steps:
step 401, the mobile terminal collects action data of a user through a built-in sensor.
When a plurality of users finish interaction online and need to use the mobile terminal to confirm online, the mobile terminal can display a confirmation completion interface corresponding to the event, and the confirmation completion interface can be an interface in an application program or a page displayed by a browser.
The confirmation completion interface comprises event confirmation operation prompt information and a confirmation button, wherein the event confirmation operation prompt information is used for indicating a specified action required to be completed when a user presses the confirmation button. When the user presses the confirmation button, the mobile terminal collects the action data of the user during pressing the confirmation button through a built-in sensor.
For example, as shown in fig. 4B, after the user a and the user B have completed the event together, the mobile terminal 41 used by the user a displays a confirmation completion interface 42, and the confirmation completion interface 42 includes an event confirmation operation prompt message 43 and a confirmation button 44. When the user a presses the confirmation button 44 according to the event confirmation operation prompt information 43 and performs a specified action, the mobile terminal 41 collects action data of the user through a built-in sensor. Correspondingly, the mobile terminal used by the user B displays an interface in accordance with the confirmation completion interface 42.
It should be noted that the designated action that the user needs to complete may be to hold the mobile terminal to draw or write in the air while holding the confirmation button, which is not limited in this embodiment.
It should be noted that, the mobile terminal may also collect the motion data of the user through the built-in sensor when displaying the confirmation completion interface, and this embodiment only takes the example that the built-in sensor is triggered to collect the motion data of the user when the user presses the confirmation button, and does not limit the present invention.
Step 402, the mobile terminal detects whether the motion data is matched with a preset event confirmation operation.
The motion data collected by the mobile terminal is typically data collected by a gyroscope and an acceleration sensor, and as one possible implementation, step 402 may include the following steps.
Step 402A, the mobile terminal obtains terminal attitude data acquired by the gyroscope.
As shown in fig. 4C, the mobile terminal rotation includes Z-axis rotation, X-axis rotation, and Y-axis rotation, which refer to rotation around the Z-axis, X-axis, and Y-axis, respectively. The mobile terminal determines the rotation angles corresponding to the three acquired rotations as terminal attitude data according to a built-in gyroscope, and the mobile terminal can determine the current attitude according to the terminal attitude data.
For example, when the rotation angle corresponding to the rotation of the X-axis is 0 ° and the rotation angle corresponding to the rotation of the Y-axis is 0 ° in the terminal posture data acquired by the gyroscope, it indicates that the mobile terminal is currently in a horizontal state.
And step 402B, the mobile terminal acquires the motion direction and the motion speed acquired by the acceleration sensor.
The mobile terminal can acquire the current motion direction and the current motion speed of the terminal through a built-in acceleration sensor while acquiring the terminal posture data.
When the obtained movement speed is 0, the current terminal can be determined to be in a static state; when the obtained movement speed is not 0, the mobile terminal can calculate the running track of the mobile terminal during the period that the user presses the button according to the movement speed and the movement direction.
Step 402C, the mobile terminal detects whether the motion state indicated by the terminal posture data, the motion direction and the motion speed is matched with a preset event confirmation operation.
The mobile terminal determines the motion state of the mobile terminal during the period that the user presses the button according to the acquired terminal posture data, the motion direction and the motion speed, and detects whether the motion state is matched with a preset event confirmation operation.
For example, when the preset event confirmation operation is "place the mobile phone horizontally and press the button", the mobile terminal detects whether the angle corresponding to the X-axis rotation in the terminal posture data is smaller than a first rotation threshold, and whether the angle corresponding to the Y-axis rotation is smaller than a second rotation threshold and the movement speed is 0.
For another example, when the preset event confirmation operation is "hold the button and hold the mobile phone to draw √" in the air, the mobile terminal calculates a motion trajectory of the mobile terminal according to the terminal posture data, the motion direction, and the motion speed during the time when the user holds the button, and detects whether the motion trajectory is √ ".
It should be noted that, when the confirmation completion interface is an interface in the application program, when the application program detects that the confirmation button is pressed, the application program calls the corresponding program interface to acquire the action data acquired by the sensor, and detects whether the action data is matched with a preset event confirmation operation; when the confirmation completion interface is a page displayed by the browser, the browser calls a 'monitoring device direction event' of HTML5(HyperText markup language5, 5 th edition) when detecting that a confirmation button is pressed, acquires action data collected by a sensor, and detects whether the action data is matched with a preset event confirmation operation.
And step 403, when the action data is matched with the preset event confirmation operation, the mobile terminal generates an event confirmation instruction.
When the action data are matched with the preset event confirmation operation, the mobile terminal can confirm that the user completes the specified action during the button pressing process, and generates a corresponding event confirmation instruction.
And step 404, the mobile terminal acquires the current geographic position according to the event confirmation instruction.
In order to enable the server to determine whether at least two mobile terminals performing offline interaction are in the same location, the mobile terminals acquire a current geographic location, which may be latitude and longitude coordinates, by using a built-in GPS (global positioning system) module.
Step 405, the mobile terminal generates a confirmation message carrying a target event identifier and a geographic location, where the target event identifier is used to identify a target event.
When at least two mobile terminals needing offline interaction create a target event, the corresponding user identifications are sent to a server, and the user identifications can be user names of users when the users use the application program.
The server generates an event identifier according to the received at least two user identifiers, and records a corresponding relationship between the event identifier and the at least two user identifiers, where the corresponding relationship may be schematically shown in table one.
Watch 1
Event identification | Performing user identification |
ACTION1 | USER1、USER2 |
ACTION2 | USER3、USER4、USER5 |
ACTION3 | USER1、USER6 |
And after the server generates event identifications according to the at least two user identifications, the generated event identifications are sent to the corresponding mobile terminals, and the mobile terminals determine the event identifications as target event identifications and store the target event identifications. And when the mobile terminal generates an event confirmation instruction, generating confirmation information according to the stored target event identifier and the acquired current geographic position.
In order for the server to be able to identify the mobile terminal that sent the confirmation, the mobile terminal also needs to add a corresponding user identity to the confirmation,
optionally, the mobile terminal may further add the sending time for sending the confirmation information to the confirmation information, so that the server may verify the confirmation information according to the sending time later.
Step 406, the mobile terminal sends the confirmation information to the server, so that the server obtains the geographic positions carried by at least two pieces of confirmation information having the same target event identifier, and confirms the target event when the at least two geographic positions belong to the same place.
And at least two mobile terminals for offline interaction send the generated confirmation information to the server.
Step 407, the server receives the confirmation information sent by each of the at least two mobile terminals; the confirmation information is sent when the mobile terminal receives an event confirmation instruction of a user for a target event, the target event is an event generated by the online interaction of at least two users, and the confirmation information carries a target event identifier and a geographical position obtained by positioning when the mobile terminal receives an event confirmation operation.
In order to improve the efficiency of event confirmation, after receiving the confirmation information sent by the mobile terminal, the server centrally stores the confirmation information with the same target event identifier according to the target event identifier carried in the confirmation information.
In step 408, the server obtains user identifiers carried by at least two pieces of confirmation information having the same target event identifier.
And the server detects whether other confirmation information carrying the target event identification is stored or not according to the target event identification carried in the confirmation information. And when other confirmation information carrying the target event identifier is stored, the server acquires the user identifier carried in the confirmation information.
It should be noted that, in consideration of the difference in processing performance of the mobile terminal and the network transmission speed, the server will continuously receive the confirmation information with the same target event identifier, so the server will obtain the user identifier carried by the confirmation information with the same target event identifier at regular time intervals within a predetermined time period.
Step 409, the server searches an execution user identifier set corresponding to the target event identifier in the corresponding relationship between the pre-stored event identifier and the execution user identifier according to the target event identifier.
For each event, when all the mobile terminals executing the event send confirmation information to the server, the server may confirm that the event is completed, so the server needs to search, according to a target event identifier carried in the confirmation information, an execution user identifier set corresponding to the target event identifier in a correspondence relationship between pre-stored event identifiers and execution user identifiers, and detect whether all the mobile terminals indicated by the execution user identifier set send the confirmation information, where the correspondence relationship between the event identifiers and the execution user identifiers may be schematically shown in table one.
In step 410, the server detects whether each obtained user identifier belongs to an executing user identifier set.
The server detects whether each acquired user identifier belongs to an executing user identifier set, and executes step 411 when each acquired user identifier belongs to the executing user identifier set; when there are user identities that do not belong to the set of executing user identities, step 416 is performed.
For example, the server obtains confirmation information a and confirmation information B carrying a target event identifier "ACTION 1", where the USER identifier carried in the confirmation information a is "USER 1", and the USER identifier carried in the confirmation information B is "USER 2". The server finds out that the corresponding execution USER identifier sets are 'USER 1 and USER 2' according to the target event identifier 'ACTION 1', and confirms that the obtained USER identifiers all belong to the execution USER identifier sets.
In step 411, the server obtains the sending time of at least two pieces of confirmation information with the same target event identifier.
In order to further verify whether at least two mobile terminals performing offline interaction perform event confirmation at the same time, the server further needs to acquire respective sending times of at least two pieces of confirmation information having the same target event identifier, where the sending times may be added to the confirmation information when the mobile terminals send the confirmation information, or may be recorded when the server receives the confirmation information, and the present invention is not limited to this.
In step 412, the server detects whether the time difference between the at least two acquired sending times is less than a preset time length.
When the time difference between the obtained at least two sending times is smaller than the preset time, the server determines that the at least two mobile terminals have performed event confirmation at the same time, and step 413 is executed; when the time difference between the at least two obtained sending times is greater than the preset time length, the server determines that the at least two mobile terminals do not perform event confirmation at the same time, and step 416 is executed.
For example, the server obtains the confirmation information a and the confirmation information B carrying the target event identifier "ACTION 1". The sending time of the confirmation information A is 2015, 4, month, 20, 10, min and 10 seconds, the sending time of the confirmation information B is 2015, 4, month, 20, day, 10, min and 11 seconds, the time difference between the sending times of the confirmation information A and the confirmation information B is 1 second, the preset time length is 3 seconds, and the server determines that two mobile terminals sending the confirmation information A and B perform event confirmation at the same time.
In step 413, the server obtains the geographical locations carried by at least two pieces of confirmation information having the same target event identifier.
Further, in order to determine whether the user actually performs the offline interaction, the server further needs to obtain geographic positions carried by at least two pieces of confirmation information of the same target event identifier, and detect whether the at least two geographic positions belong to the same location.
In step 414, the server detects whether the at least two obtained geographic locations belong to the same location.
When the at least two obtained geographic positions belong to the same place, executing step 415; when the at least two obtained geographic locations do not belong to the same place, step 416 is performed.
As a possible implementation, the server may detect whether the distance between every two geographic locations is less than a first preset distance.
For example, when the server receives the confirmation information a and the confirmation information B having the same target event identifier, the server obtains the geographic position a carried in the confirmation information a and the geographic position B carried in the confirmation information B, calculates a distance between the geographic position a and the geographic position B, and detects whether the distance is smaller than a first preset distance.
For another example, when the server receives the confirmation information C, the confirmation information D, and the confirmation information E having the same target event identifier, the server obtains the geographic position C carried in the confirmation information C, the geographic position D carried in the confirmation information D, and the geographic position E carried in the confirmation information E, calculates a first distance between the geographic position C and the geographic position D, a second distance between the geographic position C and the geographic position E, and a third distance between the geographic position D and the geographic position E, and detects whether the first distance, the second distance, and the third distance are all smaller than a first preset distance.
It should be noted that there is no strict sequence between step 411 and step 412 and step 413 and step 414, and this embodiment only uses the step 413 and step 414 to be executed after step 411 and step 412 as an example, and does not limit the present invention.
Step 415, when the obtained user identifiers all belong to the set of executing user identifiers, the time difference between at least two sending times is less than the preset time length, and at least two geographical locations belong to the same place, the server confirms the target event corresponding to the target event identifier.
When the acquired user identifiers belong to the execution user identifier set, the time difference between at least two sending times is smaller than the preset time length, and at least two geographic positions belong to the same place, the server can determine that the user corresponding to the target event completes offline interaction, and confirms the target event.
After the server completes the confirmation of the target event, the server can also send feedback information to the mobile terminal corresponding to the target event to prompt the user to complete the confirmation, wherein the feedback information can be character information, picture information or double-screen interaction information and the like.
For example, as shown in fig. 4D, after confirming the target event, the server sends a confirmation success animation to the mobile terminal 41 and the mobile terminal 45, and correspondingly, the mobile terminal 41 and the mobile terminal 45 display the confirmation success animation.
In step 416, when there is a user identifier that does not belong to the set of executing user identifiers, or the time difference between the obtained at least two sending times is greater than the preset time length, or the obtained at least two geographic locations do not belong to the same location, the server stops confirming the target event.
In summary, in the event confirmation method provided in this embodiment, when the target event is confirmed by at least two mobile terminals, the current geographic location is added to the confirmation information and sent to the server; the problem that when a certain event needs a plurality of users to perform offline interaction and then online confirmation is performed, the server cannot judge whether the users actually meet and perform interaction is solved; the effect that the server can determine whether the two geographical positions belong to the same place according to the geographical positions carried in the confirmation information sent by the at least two mobile terminals, so that whether the user executing the target event actually meets the scene is determined is achieved.
The embodiment also collects action data of the user through the built-in sensor through the mobile terminal, and generates the event confirmation instruction when whether the action data is matched with the preset event confirmation operation, so that the user can generate interaction when confirming the event, and the event confirmation modes of the user are enriched.
In this embodiment, the server further detects whether a time difference between sending times of the at least two mobile terminals for sending the confirmation information is smaller than a preset time length, and confirms the target event when the time difference between the at least two sending times is smaller than the preset time length, thereby further determining whether the user has simultaneously confirmed the event.
When more users need to perform offline interaction, the users can pre-define a target location of offline interaction, and the geographic position of the target location is sent to the server, so that the server stores the corresponding relation between the event identification and the target location.
As another possible implementation manner, step 414 may further include the following steps:
the server detecting whether the acquired at least two geographic positions belong to the same place may include: the server acquires a target location corresponding to the target event; the server detects whether the distance between each geographic position and the target place is smaller than a second preset distance.
The server searches a target place corresponding to the target event identifier in the stored corresponding relation between the event identifier and the target place, and detects whether the distance between each geographic position and the target place is smaller than a second preset distance, wherein the second preset distance can be set by a user.
Referring to fig. 5, a block diagram of an event confirmation apparatus according to an embodiment of the present invention is shown. The event confirmation means may be implemented by software, hardware or a combination of both as all or part of the server 110 in fig. 1. The event confirmation apparatus includes:
a first receiving module 510, configured to receive acknowledgement information sent by at least two mobile terminals respectively; the confirmation information is sent when the mobile terminal receives an event confirmation instruction of a user for a target event, the target event is an event generated by the online interaction of at least two users, and the confirmation information carries a target event identifier and a geographic position obtained by positioning when the mobile terminal receives the event confirmation operation;
a first obtaining module 520, configured to obtain geographic locations carried by at least two pieces of confirmation information having the same target event identifier;
a first detecting module 530, configured to detect whether at least two obtained geographic locations belong to a same location;
a confirming module 540, configured to confirm the target event corresponding to the target event identifier when at least two of the geographic locations belong to the same location.
In summary, the event confirmation apparatus provided in this embodiment confirms the target event according to the confirmation information sent by the at least two mobile terminals carrying the geographic locations; the problem that when a certain event needs a plurality of users to perform offline interaction and then online confirmation is performed, the server cannot judge whether the users actually meet and perform interaction is solved; the effect that the server can determine whether the two geographical positions belong to the same place according to the geographical positions carried in the confirmation information sent by the at least two mobile terminals, so that whether the user executing the target event actually meets the scene is determined is achieved.
Referring to fig. 6, a block diagram of an event confirmation apparatus according to another embodiment of the invention is shown. The event confirmation means may be implemented by software, hardware or a combination of both as all or part of the server 110 in fig. 1. The event confirmation apparatus includes:
a first receiving module 610, configured to receive acknowledgement information sent by at least two mobile terminals respectively; the confirmation information is sent when the mobile terminal receives an event confirmation instruction of a user for a target event, the target event is an event generated by the online interaction of at least two users, and the confirmation information carries a target event identifier and a geographic position obtained by positioning when the mobile terminal receives the event confirmation operation;
a first obtaining module 620, configured to obtain geographic locations carried by at least two pieces of confirmation information having the same target event identifier;
a first detecting module 630, configured to detect whether at least two obtained geographic locations belong to the same location;
a confirming module 640, configured to confirm the target event corresponding to the target event identifier when at least two of the geographic locations belong to the same location.
Optionally, the first detecting module 630 includes:
the first detecting unit 631 is configured to detect whether a distance between every two geographic locations is smaller than a first preset distance.
Or,
a second detecting unit 632, configured to obtain a target location corresponding to the target event; and detecting whether the distance between each geographic position and the target place is smaller than a second preset distance.
Optionally, the apparatus further comprises:
a second obtaining module 650, configured to obtain user identifiers carried by at least two pieces of confirmation information having the same target event identifier;
a searching module 660, configured to search, according to the target event identifier, an execution user identifier set corresponding to the target event identifier in a correspondence between a pre-stored event identifier and an execution user identifier;
a second detecting module 670, configured to detect whether each obtained user identifier belongs to the set of executing user identifiers;
the confirming module 640 is further configured to confirm the target event corresponding to the target event identifier when each obtained user identifier belongs to the executing user identifier set.
Optionally, the apparatus further comprises:
a third obtaining module 680, configured to obtain respective sending times of at least two pieces of acknowledgement information having the same target event identifier;
a third detecting module 690, configured to detect whether a time difference between the obtained at least two sending times is smaller than a preset time length;
the confirming module 640 is further configured to confirm the target event corresponding to the target event identifier when a time difference between at least two sending times is smaller than a preset time length.
Optionally, the event confirmation instruction is an instruction generated when the mobile terminal acquires action data of a user through a built-in sensor and the action data is matched with a preset event confirmation operation.
In summary, the event confirmation apparatus provided in this embodiment confirms the target event according to the confirmation information sent by the at least two mobile terminals carrying the geographic locations; the problem that when a certain event needs a plurality of users to perform offline interaction and then online confirmation is performed, the server cannot judge whether the users actually meet and perform interaction is solved; the effect that the server can determine whether the two geographical positions belong to the same place according to the geographical positions carried in the confirmation information sent by the at least two mobile terminals, so that whether the user executing the target event actually meets the scene is determined is achieved.
In this embodiment, the server further detects whether a time difference between sending times of the at least two mobile terminals for sending the confirmation information is smaller than a preset time length, and confirms the target event when the time difference between the at least two sending times is smaller than the preset time length, thereby further determining whether the user has simultaneously confirmed the event.
Referring to fig. 7, a block diagram of an event confirmation apparatus according to still another embodiment of the invention is shown. The event confirmation apparatus may be implemented by software, hardware, or a combination of both, as all or a part of the mobile terminal 120 in fig. 1. The event confirmation apparatus includes:
a second receiving module 710, configured to receive an event confirmation instruction of a user for a target event, where the target event is an event generated by at least two users interacting online;
a fourth obtaining module 720, configured to obtain a current geographic location according to the event confirmation instruction;
a generating module 730, configured to generate confirmation information carrying a target event identifier and the geographic location, where the target event identifier is used to identify the target event;
the sending module 740 is configured to send the confirmation information to a server, so that the server obtains geographic positions carried by at least two pieces of confirmation information having the same target event identifier, and confirms the target event when the at least two geographic positions belong to the same location.
In summary, the event confirmation apparatus provided in this embodiment sends the confirmation information carrying the geographic location to the server through the at least two mobile terminals, and the server confirms the target event according to the confirmation information; the problem that when a certain event needs a plurality of users to perform offline interaction and then online confirmation is performed, the server cannot judge whether the users actually meet and perform interaction is solved; the effect that the server can determine whether the two geographical positions belong to the same place according to the geographical positions carried in the confirmation information sent by the at least two mobile terminals, so that whether the user executing the target event actually meets the scene is determined is achieved.
Referring to fig. 8, a block diagram of an event confirmation apparatus according to another embodiment of the invention is shown. The event confirmation apparatus may be implemented by software, hardware, or a combination of both, as all or a part of the mobile terminal 120 in fig. 1. The event confirmation apparatus includes:
a second receiving module 810, configured to receive an event confirmation instruction of a user for a target event, where the target event is an event generated by at least two users interacting online;
a fourth obtaining module 820, configured to obtain a current geographic location according to the event confirmation instruction;
a generating module 830, configured to generate confirmation information carrying a target event identifier and the geographic location, where the target event identifier is used to identify the target event;
a sending module 840, configured to send the confirmation information to a server, so that the server obtains geographic positions carried by at least two pieces of confirmation information having the same target event identifier, and confirms the target event when the at least two geographic positions belong to the same location.
Optionally, the second receiving module 810 includes:
the acquisition unit 811 is used for acquiring action data of a user through a built-in sensor;
a detecting unit 812, configured to detect whether the motion data matches a preset event confirmation operation;
a generating unit 813 configured to generate the event confirmation instruction when the action data matches a preset event confirmation operation.
Optionally, the motion data is data collected by a gyroscope and an acceleration sensor;
the detection unit 812 includes:
a first obtaining subunit 812A, configured to obtain terminal attitude data collected by the gyroscope;
a second obtaining subunit 812B, configured to obtain a motion direction and a motion speed acquired by the acceleration sensor;
a detecting subunit 812C, configured to detect whether a motion state indicated by the terminal pose data, the motion direction, and the motion speed matches the preset event confirmation operation.
Optionally, the generating module 830 includes:
a first generating unit 831, configured to add a user identifier corresponding to a current mobile terminal to the confirmation information;
or
A second generating unit 832, configured to add the user identifier corresponding to the current mobile terminal to the confirmation information; adding a transmission time for transmitting the acknowledgement information to the acknowledgement information.
In summary, the event confirmation apparatus provided in this embodiment sends the confirmation information carrying the geographic location to the server through the at least two mobile terminals, and the server confirms the target event according to the confirmation information; the problem that when a certain event needs a plurality of users to perform offline interaction and then online confirmation is performed, the server cannot judge whether the users actually meet and perform interaction is solved; the effect that the server can determine whether the two geographical positions belong to the same place according to the geographical positions carried in the confirmation information sent by the at least two mobile terminals, so that whether the user executing the target event actually meets the scene is determined is achieved.
The embodiment also collects action data of the user through the built-in sensor through the mobile terminal, and generates the event confirmation instruction when whether the action data is matched with the preset event confirmation operation, so that the user can generate interaction when confirming the event, and the event confirmation modes of the user are enriched.
It should be noted that: the event confirmation device provided in the above embodiment is only illustrated by the division of the above functional modules when performing event confirmation, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the server or the mobile terminal is divided into different functional modules to complete all or part of the above described functions. In addition, the event confirmation device and the event confirmation method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Referring to fig. 9, a block diagram of a server according to an embodiment of the present invention is shown. The server 900 is used to implement the server-side event confirmation method in the above-described embodiment. The server 900 includes a Central Processing Unit (CPU)901, a system memory 904 including a Random Access Memory (RAM)902 and a Read Only Memory (ROM)903, and a system bus 905 connecting the system memory 904 and the central processing unit 901. The server 900 also includes a basic input/output system (I/O system) 906 for facilitating the transfer of information between devices within the computer, and a mass storage device 907 for storing an operating system 913, application programs 914, and other program modules 915.
The basic input/output system 906 includes a display 908 for displaying information and an input device 909 such as a mouse, keyboard, etc. for user input of information. Wherein the display 908 and the input device 909 are connected to the central processing unit 901 through an input output controller 910 connected to the system bus 905. The basic input/output system 906 may also include an input/output controller 910 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 910 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 907 is connected to the central processing unit 901 through a mass storage controller (not shown) connected to the system bus 905. The mass storage device 907 and its associated computer-readable media provide non-volatile storage for the server 900. That is, the mass storage device 907 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 904 and mass storage device 907 described above may be collectively referred to as memory.
The server 900 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the invention. That is, the server 900 may be connected to the network 912 through the network interface unit 911 coupled to the system bus 905, or the network interface unit 911 may be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, the one or more programs are stored in the memory, and the one or more programs include instructions for performing the server side of the event confirmation method provided by the embodiment of the present invention.
Referring to fig. 10, a block diagram of a mobile terminal according to another embodiment of the invention is shown. The mobile terminal is used for implementing the event confirmation method on the mobile terminal side in the above embodiment. Specifically, the method comprises the following steps:
the mobile terminal 1000 may include RF (radio frequency) circuitry 1010, memory 1020 including one or more computer-readable storage media, an input unit 1030, a display unit 1040, a sensor 1050, audio circuitry 1060, a WiFi (wireless fidelity) module 1070, a processor 1080 including one or more processing cores, and a power supply 1090. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 1010 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information from a base station and then processing the received downlink information by one or more processors 1080; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 1010 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (low noise amplifier), a duplexer, and the like. In addition, the RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (global system for mobile communications), GPRS (general packet radio service), CDMA (code division multiple access), WCDMA (wideband code division multiple access), LTE (long term evolution), email, SMS (short messaging service), etc.
The memory 1020 may be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal 1000, and the like. Further, the memory 1020 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1020 may also include a memory controller to provide access to memory 1020 by processor 1080 and input unit 1030.
The input unit 1030 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Specifically, the input unit 1030 may include an image input device 1031 and other input devices 1032. The image input device 1031 may be a camera or a photoelectric scanning device. The input unit 1030 may include other input devices 1032 in addition to the image input device 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, or the like.
The display unit 1040 may be used to display information input by or provided to a user and various graphical user interfaces of the mobile terminal 1000, which may be comprised of graphics, text, icons, video, and any combination thereof. The display unit 1040 may include a display panel 1041, and optionally, the display panel 1041 may be configured in the form of an LCD (liquid crystal display), an OLED (organic light-emitting diode), or the like.
The mobile terminal 1000 can also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 1041 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1041 and/or a backlight when the mobile terminal 1000 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1000, detailed descriptions thereof are omitted.
Audio circuitry 1060, speaker 1061, and microphone 1062 may provide an audio interface between a user and mobile terminal 1000. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the electrical signal is converted into a sound signal by the speaker 1061 and output; on the other hand, the microphone 1062 converts the collected sound signals into electrical signals, which are received by the audio circuit 1060 and converted into audio data, which are then processed by the audio data output processor 1080 and then transmitted to, for example, another electronic device via the RF circuit 1010, or output to the memory 1020 for further processing. The audio circuit 1060 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1000.
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal 1000 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 1070, and provides the user with wireless broadband internet access. Although fig. 10 shows the WiFi module 1070, it is understood that it does not belong to the essential constitution of the mobile terminal 1000, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1080 is a control center of the mobile terminal 1000, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1000 and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the mobile phone. Optionally, processor 1080 may include one or more processing cores; preferably, the processor 1080 may integrate an application processor, which handles primarily the operating system, user interfaces, applications, etc., and a modem processor, which handles primarily the wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080.
The mobile terminal 1000 may also include a power supply 1090 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 1080 via a power management system that may enable managing charging, discharging, and power consumption. Power supply 1090 may also include any component including one or more DC or AC power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the mobile terminal 1000 may further include a bluetooth module or the like, which is not described in detail herein.
In particular, in this embodiment, the mobile terminal 1000 also includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for the mobile terminal side to perform the event confirmation method provided by the embodiments of the present invention.
Referring to fig. 11, a block diagram of an event confirmation system according to an embodiment of the present invention is shown, where the system includes a server 1110 and at least two mobile terminals 1120.
The server 1110 is connected to at least two mobile terminals 1120 through a wireless network or a wired network;
the server 1110 includes an event confirmation apparatus as described in fig. 5 or 6;
the mobile terminal 1120 includes an event confirmation apparatus as described in fig. 7 or 8.
It should be understood that, as used herein, the singular forms "a," "an," "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (19)
1. An event validation method, the method comprising:
receiving confirmation information sent by at least two mobile terminals respectively; the confirmation information is sent when the mobile terminal receives an event confirmation instruction of a user for a target event, the target event is an event generated by the online interaction of at least two users, and the confirmation information carries a target event identifier and a geographical position obtained by positioning when the mobile terminal receives an event confirmation operation;
acquiring geographical positions carried by at least two pieces of confirmation information with the same target event identifier;
detecting whether the acquired at least two geographic positions belong to the same place;
and when at least two geographic positions belong to the same place, confirming the target event corresponding to the target event identification.
2. The method according to claim 1, wherein the detecting whether at least two obtained geographic locations belong to the same location comprises:
and detecting whether the distance between every two geographic positions is smaller than a first preset distance.
Or,
acquiring a target location corresponding to the target event; and detecting whether the distance between each geographic position and the target place is smaller than a second preset distance.
3. The method according to claim 1 or 2, wherein before the confirming the target event corresponding to the target event identifier, further comprising:
acquiring user identifications carried by at least two pieces of confirmation information with the same target event identification;
searching an execution user identification set corresponding to the target event identification in a corresponding relation between pre-stored event identifications and execution user identifications according to the target event identification;
detecting whether each acquired user identifier belongs to the execution user identifier set or not;
and when the acquired user identifications belong to the execution user identification set, executing the step of confirming the target event corresponding to the target event identification.
4. The method according to any one of claims 1 to 3, wherein before the confirming the target event corresponding to the target event identifier, the method further comprises:
acquiring respective sending time of at least two pieces of confirmation information with the same target event identifier;
detecting whether the obtained time difference between at least two sending times is smaller than a preset time length or not;
and when the time difference between at least two sending times is less than a preset time length, executing the step of confirming the target event corresponding to the target event identifier.
5. The method according to any one of claims 1 to 4, wherein the event confirmation instruction is an instruction generated when the mobile terminal collects action data of a user through a built-in sensor and the action data is matched with a preset event confirmation operation.
6. An event validation method, the method comprising:
receiving an event confirmation instruction of a user for a target event, wherein the target event is an event generated by at least two users interacting online;
acquiring a current geographic position according to the event confirmation instruction;
generating confirmation information carrying a target event identifier and the geographic position, wherein the target event identifier is used for identifying the target event;
and sending the confirmation information to a server so that the server can acquire the geographical positions carried by at least two pieces of confirmation information with the same target event identifier, and confirming the target event when the at least two geographical positions belong to the same place.
7. The method of claim 6, wherein receiving an event confirmation instruction of a user for a target event comprises:
acquiring action data of a user through a built-in sensor;
detecting whether the action data is matched with a preset event confirmation operation;
and when the action data is matched with a preset event confirmation operation, generating the event confirmation instruction.
8. The method of claim 7, wherein the motion data is data collected by a gyroscope and an acceleration sensor;
the detecting whether the action data is matched with a preset event confirmation operation includes:
acquiring terminal attitude data acquired by the gyroscope;
acquiring the motion direction and the motion speed acquired by the acceleration sensor;
and detecting whether the motion state indicated by the terminal attitude data, the motion direction and the motion speed is matched with the preset event confirmation operation.
9. The method according to any one of claims 6 to 8, wherein the generating of the confirmation information carrying the target event identifier and the geographical location comprises:
adding the user identification corresponding to the current mobile terminal into the confirmation information;
or
Adding the user identification corresponding to the current mobile terminal into the confirmation information; adding a transmission time for transmitting the acknowledgement information to the acknowledgement information.
10. An event confirmation apparatus, characterized in that the apparatus comprises:
the first receiving module is used for receiving confirmation information sent by at least two mobile terminals respectively; the confirmation information is sent when the mobile terminal receives an event confirmation instruction of a user for a target event, the target event is an event generated by the online interaction of at least two users, and the confirmation information carries a target event identifier and a geographical position obtained by positioning when the mobile terminal receives an event confirmation operation;
the first acquisition module is used for acquiring the geographic positions carried by at least two pieces of confirmation information with the same target event identifier;
the first detection module is used for detecting whether the acquired at least two geographic positions belong to the same place;
and the confirming module is used for confirming the target event corresponding to the target event identification when at least two geographic positions belong to the same place.
11. The apparatus of claim 10, wherein the first detection module comprises:
the first detection unit is used for detecting whether the distance between every two geographic positions is smaller than a first preset distance.
Or,
the second detection unit is used for acquiring a target place corresponding to the target event; and detecting whether the distance between each geographic position and the target place is smaller than a second preset distance.
12. The apparatus of claim 10 or 11, further comprising:
the second obtaining module is used for obtaining user identifications carried by at least two pieces of confirmation information with the same target event identification;
the searching module is used for searching an executing user identification set corresponding to the target event identification in the corresponding relation between the pre-stored event identification and the executing user identification according to the target event identification;
the second detection module is used for detecting whether each acquired user identifier belongs to the execution user identifier set or not;
and the confirming module is further configured to confirm the target event corresponding to the target event identifier when each acquired user identifier belongs to the execution user identifier set.
13. The apparatus of any one of claims 10 to 12, further comprising:
a third obtaining module, configured to obtain respective sending times of at least two pieces of acknowledgement information having the same target event identifier;
the third detection module is used for detecting whether the time difference between the obtained at least two sending times is smaller than a preset time length or not;
the confirmation module is further configured to confirm the target event corresponding to the target event identifier when a time difference between at least two sending times is smaller than a preset time length.
14. The apparatus according to any one of claims 10 to 13, wherein the event confirmation instruction is an instruction generated when the mobile terminal collects action data of a user through a built-in sensor, and the action data matches a preset event confirmation operation.
15. An event confirmation apparatus, characterized in that the apparatus comprises:
the second receiving module is used for receiving an event confirmation instruction of a user for a target event, wherein the target event is an event generated by the online interaction of at least two users;
the fourth acquisition module is used for acquiring the current geographic position according to the event confirmation instruction;
a generating module, configured to generate confirmation information carrying a target event identifier and the geographic location, where the target event identifier is used to identify the target event;
and the sending module is used for sending the confirmation information to a server so that the server can acquire the geographical positions carried by at least two pieces of confirmation information with the same target event identifier respectively, and confirms the target event when the at least two geographical positions belong to the same place.
16. The apparatus of claim 15, wherein the second receiving module comprises:
the acquisition unit is used for acquiring action data of a user through a built-in sensor;
the detection unit is used for detecting whether the action data is matched with a preset event confirmation operation;
and the generating unit is used for generating the event confirmation instruction when the action data is matched with a preset event confirmation operation.
17. The apparatus of claim 16, wherein the motion data is data collected by a gyroscope and an acceleration sensor;
the detection unit includes:
the first acquisition subunit is used for acquiring terminal attitude data acquired by the gyroscope;
the second acquisition subunit is used for acquiring the motion direction and the motion speed acquired by the acceleration sensor;
and the detection subunit is used for detecting whether the motion state indicated by the terminal attitude data, the motion direction and the motion speed is matched with the preset event confirmation operation.
18. The apparatus according to any one of claims 15 to 17, wherein the generating module comprises:
the first generating unit is used for adding the user identification corresponding to the current mobile terminal into the confirmation information;
or
A second generating unit, configured to add the user identifier corresponding to the current mobile terminal to the confirmation information; adding a transmission time for transmitting the acknowledgement information to the acknowledgement information.
19. An event confirmation system, characterized in that the system comprises a server and at least two mobile terminals;
the server is connected with the at least two mobile terminals through a wireless network or a wired network;
the server comprising an event confirmation apparatus as claimed in any one of claims 10 to 14;
the mobile terminal comprises an event confirmation apparatus as claimed in any of claims 15 to 18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510266110.7A CN105049470B (en) | 2015-05-22 | 2015-05-22 | Event confirmation method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510266110.7A CN105049470B (en) | 2015-05-22 | 2015-05-22 | Event confirmation method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105049470A true CN105049470A (en) | 2015-11-11 |
CN105049470B CN105049470B (en) | 2019-03-01 |
Family
ID=54455673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510266110.7A Active CN105049470B (en) | 2015-05-22 | 2015-05-22 | Event confirmation method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105049470B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106251201A (en) * | 2016-07-29 | 2016-12-21 | 任明和 | Realize the subscriber entitlement method of business under line |
CN106411966A (en) * | 2016-12-28 | 2017-02-15 | 太仓红码软件技术有限公司 | Event target based task cooperation method and its system |
CN106803844A (en) * | 2017-03-01 | 2017-06-06 | 维沃移动通信有限公司 | A kind of lamp light control method and mobile terminal |
CN111242330A (en) * | 2018-11-28 | 2020-06-05 | 北京京东尚科信息技术有限公司 | Reservation confirmation method and system, computer readable storage medium |
CN112380230A (en) * | 2020-12-03 | 2021-02-19 | 腾讯科技(深圳)有限公司 | Position parameter updating method and device, computer equipment and storage medium |
CN112633091A (en) * | 2020-12-09 | 2021-04-09 | 北京博瑞彤芸科技股份有限公司 | Method and system for verifying real meeting |
CN112770303A (en) * | 2020-12-09 | 2021-05-07 | 北京博瑞彤芸科技股份有限公司 | Method and system for verifying real meeting through Bluetooth |
CN113837755A (en) * | 2018-07-05 | 2021-12-24 | 创新先进技术有限公司 | Offline transaction distinguishing method and device and computer equipment |
CN113949685A (en) * | 2021-10-15 | 2022-01-18 | 北京房江湖科技有限公司 | Interview data authentication method, readable storage medium and computer program product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381008A (en) * | 2000-05-15 | 2002-11-20 | 株式会社Ntt都科摩 | Authentication system and method |
CN101960480A (en) * | 2008-01-24 | 2011-01-26 | 高通股份有限公司 | Mobile commerce authentication and authorization system |
CN103035078A (en) * | 2012-11-30 | 2013-04-10 | 深圳天源迪科信息技术股份有限公司 | Payment security monitoring method based on position |
CN103530773A (en) * | 2012-07-05 | 2014-01-22 | 昆达电脑科技(昆山)有限公司 | Method for updating positioning information of transaction positions in real time manner and communication system |
CN103839161A (en) * | 2014-03-24 | 2014-06-04 | 上海交通大学 | System and method for authentication and transmission of mobile payment information |
CN104484811A (en) * | 2014-12-18 | 2015-04-01 | 王智勇 | Reward-offering transaction processing method and system based on mobile internet |
-
2015
- 2015-05-22 CN CN201510266110.7A patent/CN105049470B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381008A (en) * | 2000-05-15 | 2002-11-20 | 株式会社Ntt都科摩 | Authentication system and method |
CN101960480A (en) * | 2008-01-24 | 2011-01-26 | 高通股份有限公司 | Mobile commerce authentication and authorization system |
CN103530773A (en) * | 2012-07-05 | 2014-01-22 | 昆达电脑科技(昆山)有限公司 | Method for updating positioning information of transaction positions in real time manner and communication system |
CN103035078A (en) * | 2012-11-30 | 2013-04-10 | 深圳天源迪科信息技术股份有限公司 | Payment security monitoring method based on position |
CN103839161A (en) * | 2014-03-24 | 2014-06-04 | 上海交通大学 | System and method for authentication and transmission of mobile payment information |
CN104484811A (en) * | 2014-12-18 | 2015-04-01 | 王智勇 | Reward-offering transaction processing method and system based on mobile internet |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106251201A (en) * | 2016-07-29 | 2016-12-21 | 任明和 | Realize the subscriber entitlement method of business under line |
CN106411966A (en) * | 2016-12-28 | 2017-02-15 | 太仓红码软件技术有限公司 | Event target based task cooperation method and its system |
CN106411966B (en) * | 2016-12-28 | 2019-04-16 | 佛山市顺客隆商业有限公司 | A kind of task cooperative method and its system based on object event |
CN106803844A (en) * | 2017-03-01 | 2017-06-06 | 维沃移动通信有限公司 | A kind of lamp light control method and mobile terminal |
CN113837755A (en) * | 2018-07-05 | 2021-12-24 | 创新先进技术有限公司 | Offline transaction distinguishing method and device and computer equipment |
CN111242330A (en) * | 2018-11-28 | 2020-06-05 | 北京京东尚科信息技术有限公司 | Reservation confirmation method and system, computer readable storage medium |
CN112380230A (en) * | 2020-12-03 | 2021-02-19 | 腾讯科技(深圳)有限公司 | Position parameter updating method and device, computer equipment and storage medium |
CN112633091A (en) * | 2020-12-09 | 2021-04-09 | 北京博瑞彤芸科技股份有限公司 | Method and system for verifying real meeting |
CN112633091B (en) * | 2020-12-09 | 2021-11-16 | 北京博瑞彤芸科技股份有限公司 | Method and system for verifying real meeting |
CN112770303B (en) * | 2020-12-09 | 2021-12-07 | 北京博瑞彤芸科技股份有限公司 | Method and system for verifying real meeting through Bluetooth |
CN112770303A (en) * | 2020-12-09 | 2021-05-07 | 北京博瑞彤芸科技股份有限公司 | Method and system for verifying real meeting through Bluetooth |
CN113949685A (en) * | 2021-10-15 | 2022-01-18 | 北京房江湖科技有限公司 | Interview data authentication method, readable storage medium and computer program product |
CN113949685B (en) * | 2021-10-15 | 2023-09-29 | 北京房江湖科技有限公司 | Interview data verification method and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105049470B (en) | 2019-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105049470B (en) | Event confirmation method, apparatus and system | |
US10834237B2 (en) | Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform | |
CN107172477B (en) | Voting method and device | |
US12061938B2 (en) | Method, apparatus, and mobile terminal for associating notification messages | |
CN106686396B (en) | Method and system for switching live broadcast room | |
US10304461B2 (en) | Remote electronic service requesting and processing method, server, and terminal | |
CN105979312B (en) | Information sharing method and device | |
WO2016197758A1 (en) | Information recommendation system, method and apparatus | |
WO2016169465A1 (en) | Method, apparatus and system for displaying screen information | |
CN105554522B (en) | Method, server and the terminal of audio are played in group | |
CN104253740B (en) | Picture is registered method, Apparatus and system | |
CN106506674B (en) | Communication information synchronous method and device | |
CN106412818B (en) | Method and device for positioning equipment | |
TW201443810A (en) | Method, device, apparatus and system for recommending user information | |
CN104967896A (en) | Method for displaying bulletscreen comment information, and apparatus thereof | |
CN104954233B (en) | Information-pushing method, device and system | |
KR101813437B1 (en) | Method and system for collecting statistics on streaming media data, and related apparatus | |
CN109146446B (en) | Virtual article issuing method, device and system | |
CN104951971A (en) | Information displaying system, method and device | |
CN106303605B (en) | A kind of methods, devices and systems to send a notification message | |
CN115278139A (en) | Video processing method and device, electronic equipment and storage medium | |
CN109728918B (en) | Virtual article transmission method, virtual article reception method, device, and storage medium | |
US20160119695A1 (en) | Method, apparatus, and system for sending and playing multimedia information | |
CN106603650B (en) | Method for sharing position information and terminal equipment | |
CN105577712A (en) | File uploading method, file uploading device, and file uploading system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |