Movatterモバイル変換


[0]ホーム

URL:


CN105245544B - Information processing method, system, terminal and server - Google Patents

Information processing method, system, terminal and server
Download PDF

Info

Publication number
CN105245544B
CN105245544BCN201510712984.0ACN201510712984ACN105245544BCN 105245544 BCN105245544 BCN 105245544BCN 201510712984 ACN201510712984 ACN 201510712984ACN 105245544 BCN105245544 BCN 105245544B
Authority
CN
China
Prior art keywords
information
terminal
account
time parameter
attribute information
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.)
Active
Application number
CN201510712984.0A
Other languages
Chinese (zh)
Other versions
CN105245544A (en
Inventor
任杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201510712984.0ApriorityCriticalpatent/CN105245544B/en
Publication of CN105245544ApublicationCriticalpatent/CN105245544A/en
Application grantedgrantedCritical
Publication of CN105245544BpublicationCriticalpatent/CN105245544B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the invention discloses an information processing method, an information processing system, a terminal and a server. The method comprises the following steps: the terminal sends an account authorization request, and detects first action attribute information after receiving a response of the representation confirmation; the account authorization request is used for requesting the authorization login of another terminal account; the first action attribute information represents the state change of the terminal; detecting whether the first action attribute information meets a first preset condition, and obtaining a first time parameter of the first action attribute information when the first action attribute information meets the first preset condition; generating first information based on a first time parameter of the first action attribute information, and sending the first information; and after the first information is determined to meet a second preset condition, the terminal executes the login of the account.

Description

Information processing method, system, terminal and server
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method, system, terminal, and server.
Background
In the existing network authorized login method, if user a wants to log in using the account of user B, the following method can be used: the first method is as follows: the user B informs the user A of the account and the password, and the user A performs authorized login of the account of the user B by using the account and the password; the second method comprises the following steps: the method comprises the steps that a user B successfully logs in by using an account and a password of the user B, an authorization bill is generated, the authorization bill is equivalent to an account login entrance of the user B, the user B sends the authorization bill to a user A, and the user A performs authorization login on the account of the user B through the authorization bill.
The two modes have certain time delay in the authorized login process, so that the risk of invasion such as password counterfeiting or bill counterfeiting exists in the time delay period, and the account of the user has higher risk.
Disclosure of Invention
In order to solve the existing technical problems, embodiments of the present invention provide an information processing method, system, terminal, and server, which can reduce the delay problem in the existing authorized login process, reduce the risk of intrusion such as password forgery or ticket forgery, and improve the security of account sharing.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to a terminal; the method comprises the following steps:
the terminal sends an account authorization request, and detects first action attribute information after receiving a response of the representation confirmation; the account authorization request is used for requesting the authorization login of another terminal account; the first action attribute information represents the state change of the terminal;
detecting whether the first action attribute information meets a first preset condition, and obtaining a first time parameter of the first action attribute information when the first action attribute information meets the first preset condition;
generating first information based on a first time parameter of the first action attribute information, and sending the first information;
and after the first information is determined to meet a second preset condition, the terminal executes the login of the account.
In the above scheme, before the terminal performs login of the account, the method further includes:
obtaining the authorization time of the account;
correspondingly, the terminal executes login of the account, including:
and the terminal executes the login of the account according to the authorized time.
In the above scheme, the terminal performing login of the account includes:
and the terminal acquires the login state information of the account, and switches to the login state of the account based on the login state information so as to execute the login of the account.
In the above scheme, the method further comprises: when an account authorization termination instruction is obtained, second action attribute information meeting the first preset condition is detected, and a second time parameter of the second action attribute information is obtained; the second action attribute information represents the state change of the terminal;
generating second information based on a second time parameter of the second action attribute information, and sending the second information;
and after the second information is determined to meet a third preset condition, terminating the login state of the account.
The embodiment of the invention also provides an information processing method, which is applied to the terminal; the method comprises the following steps:
the terminal receives an account authorization request and sends a confirmation response; the account authorization request is used for another terminal to request the authorization login of the terminal account;
detecting third action attribute information, wherein the third action attribute information represents the state change of the terminal;
detecting whether the third action attribute information meets a fourth preset condition, and obtaining a third time parameter of the third action attribute information when the third action attribute information meets the fourth preset condition;
and generating third information based on a third time parameter of the third action attribute information, and sending the third information.
In the above scheme, the method further comprises: sending an account authorization termination instruction;
detecting fourth action attribute information meeting the fourth preset condition, and acquiring a fourth time parameter of the fourth action attribute information; the fourth action attribute information represents the state change of the terminal;
and generating fourth information based on a fourth time parameter of the fourth action attribute information, and sending the fourth information.
The embodiment of the invention also provides an information processing method, which is applied to the server; the method comprises the following steps:
the server obtains and forwards an account authorization request and obtains and forwards a response of the verification; the account authorization request is used for a terminal to request the authorization login of another terminal account;
respectively receiving first information and third information, and acquiring a first time parameter in the first information and a third time parameter in the third information;
judging whether the first time parameter is matched with the third time parameter to obtain a first judgment result;
when the first judgment result is that the first time parameter and the third time parameter are matched, respectively determining that the first information and the third information both meet a second preset condition;
respectively sending first indication information and second indication information; the first indication information is used for indicating that the first information meets a second preset condition; the second indication information is used for indicating that the third information meets a second preset condition.
In the above scheme, the method further comprises: and obtaining the login state information of the account, and sending the login state information of the account.
In the above scheme, the method further comprises:
obtaining and forwarding an account authorization termination instruction;
respectively receiving second information and fourth information, and acquiring a second time parameter in the second information and a fourth time parameter in the fourth information;
judging whether the second time parameter is matched with the fourth time parameter to obtain a second judgment result;
when the second judgment result is that the second time parameter and the fourth time parameter are matched, respectively determining that the second information and the fourth information both meet a third preset condition;
respectively sending third indication information and fourth indication information; the third indication information is used for indicating that the second information meets a third preset condition; the fourth indication information is used for indicating that the fourth information meets a third preset condition.
The embodiment of the invention also provides an information processing method, which comprises the following steps:
the method comprises the steps that a first terminal sends an account authorization request to a second terminal through a server and receives a response of a representation confirmation of the second terminal; the account authorization request is used for requesting the authorization login of the second terminal account;
the first terminal detects first action attribute information meeting a first preset condition, and the second terminal detects third action attribute information meeting a fourth preset condition; the first action attribute information represents the state change of the first terminal; the third action attribute information represents the state change of the second terminal;
the first terminal obtains a first time parameter of the first action attribute information, generates first information based on the first time parameter, and sends the first information to the server; the second terminal obtains a third time parameter of the third action attribute information, generates third information based on the third time parameter, and sends the third information to the server;
the server obtains a first time parameter in the first information and a third time parameter in the third information, and judges whether the first time parameter is matched with the third time parameter;
when the judgment result is that the first time parameter and the third time parameter are matched, respectively determining that the first information and the third information both meet a second preset condition, and respectively sending first indication information to the first terminal and second indication information to the second terminal;
and the first terminal executes the login of the account based on the first indication information.
The embodiment of the invention also provides an information processing method, which is applied to a terminal and comprises the following steps:
the terminal receives an account authorization request and sends a confirmation response; the account authorization request is used for another terminal to request the authorization login of the terminal account;
detecting fifth action attribute information, wherein the fifth action attribute information represents the state change of the terminal;
detecting whether the fifth action attribute information meets a fifth preset condition, and obtaining a fifth time parameter of the fifth action attribute information when the fifth action attribute information meets the fifth preset condition;
receiving first information, and acquiring a first time parameter in the first information;
judging whether the first time parameter is matched with the fifth time parameter to obtain a third judgment result;
when the third judgment result is that the first time parameter and the fifth time parameter are matched, determining that the first information meets a second preset condition, and sending fifth indication information; the fifth indication information is used for indicating that the first information meets a second preset condition.
In the above scheme, the method further comprises: and sending the authorization time of the account so that the other terminal executes the login of the account according to the authorization time.
In the above scheme, the method further comprises: and sending login state information of the account so that the other terminal executes login of the account based on the login state information.
The embodiment of the invention also provides an information processing method, which comprises the following steps:
the method comprises the steps that a first terminal sends an account authorization request to a second terminal and receives a response of a representation confirmation of the second terminal; the account authorization request is used for requesting the authorization login of the second terminal account;
the first terminal detects first action attribute information meeting a first preset condition, and the second terminal detects fifth action attribute information meeting a fifth preset condition; the first action attribute information represents the state change of the first terminal; fifth action attribute information represents the state change of the second terminal;
the first terminal obtains a first time parameter of the first action attribute information, and the second terminal obtains a fifth time parameter of the fifth action attribute information;
the first terminal generates first information based on the first time parameter and sends the first information to the second terminal;
the second terminal receives the first information and obtains a first time parameter in the first information;
judging whether the first time parameter is matched with the fifth time parameter; when the judgment result is that the first time parameter is matched with the fifth time parameter, determining that the first information meets a second preset condition, and sending fifth indication information to the first terminal; the fifth indication information is used for indicating that the first information meets a second preset condition;
and the first terminal executes the login of the account based on the fifth indication information.
An embodiment of the present invention further provides a terminal, where the terminal includes: the device comprises a first communication unit, a first action sensing unit and a first control unit; wherein,
the first communication unit is used for sending an account authorization request and enabling the action sensing unit after receiving a response of characterization confirmation; the account authorization request is used for requesting the authorization login of another terminal account; is also used for sending the first information;
the first action sensing unit is used for detecting first action attribute information; the first action attribute information represents the state change of the terminal;
the first control unit is configured to detect whether the first action attribute information satisfies a first preset condition, and obtain a first time parameter of the first action attribute information when determining that the first action attribute information satisfies the first preset condition; generating first information based on a first time parameter of the first action attribute information; and the login module is further used for executing the login of the account after the first information is determined to meet a second preset condition.
In the above scheme, the first communication unit is further configured to, before the first control unit performs login of the account, obtain authorization time of the account, and send the authorization time to the control unit;
correspondingly, the first control unit is configured to perform login of the account according to the authorized time.
In the above scheme, the first communication unit is further configured to obtain login status information of the account, and send the login status information to the control unit;
the first control unit is used for switching to the login state of the account based on the login state information so as to execute login of the account.
In the above scheme, the first communication unit is further configured to enable the action sensing unit when an account authorization termination instruction is obtained; is also used for sending the second information;
the first action sensing unit is used for detecting second action attribute information; the second action attribute information represents the state change of the terminal;
the first control unit is further configured to detect whether the second motion attribute information satisfies a first preset condition, and obtain a second time parameter of the second motion attribute information when determining that the second motion attribute information satisfies the first preset condition; generating second information based on a second time parameter of the second action attribute information; and the login state of the account is terminated after the second information is determined to meet a third preset condition.
An embodiment of the present invention further provides a terminal, where the terminal includes: the second communication unit, the second action sensing unit and the second control unit; wherein,
the second communication unit is used for receiving an account authorization request, sending a confirmation response and enabling the second action sensing unit; the account authorization request is used for another terminal to request the authorization login of the terminal account; is also used for sending the third information;
the second motion sensing unit is used for detecting third motion attribute information, and the third motion attribute information represents the state change of the terminal;
the second control unit is configured to detect whether the third motion attribute information meets a fourth preset condition, and obtain a third time parameter of the third motion attribute information when determining that the third motion attribute information meets the fourth preset condition; generating third information based on a third time parameter of the third motion attribute information.
In the above scheme, the second communication unit is further configured to send an account authorization termination instruction to enable the second action sensing unit; is also used for sending the fourth information;
the second motion sensing unit is also used for detecting fourth motion attribute information; the fourth action attribute information represents the state change of the terminal;
the second control unit is further configured to determine whether the fourth motion attribute information satisfies a fourth preset condition; when the fourth action attribute information is determined to meet a fourth preset condition, obtaining a fourth time parameter of the fourth action attribute information; generating fourth information based on a fourth time parameter of the fourth motion attribute information.
An embodiment of the present invention further provides a server, where the server includes: a third communication unit and a third control unit; wherein,
the third communication unit is used for obtaining and forwarding the account authorization request and obtaining and forwarding the response of the characterization confirmation; the account authorization request is used for a terminal to request the authorization login of another terminal account; the first information and the third information are respectively received; the third control unit is further configured to send first indication information and second indication information when the third control unit determines that the first information and the third information both satisfy a second preset condition; the first indication information is used for indicating that the first information meets a second preset condition; the second indication information is used for indicating that the third information meets a second preset condition;
the third control unit is configured to obtain a first time parameter in the first information and a third time parameter in the third information; judging whether the first time parameter is matched with the third time parameter to obtain a first judgment result; and when the first judgment result is that the first time parameter and the third time parameter are matched, respectively determining that the first information and the third information both meet a second preset condition.
In the above scheme, the third communication unit is further configured to obtain login status information of the account, and send the login status information of the account.
In the above scheme, the third communication unit is further configured to obtain and forward an account authorization termination instruction; the first information and the second information are respectively received; the first and second controllers are further configured to send third and fourth indication information, respectively; the third indication information is used for indicating that the second information meets a third preset condition; the fourth indication information is used for indicating that the fourth information meets a third preset condition;
the third control unit is further configured to obtain a second time parameter in the second information and a fourth time parameter in the fourth information; judging whether the second time parameter is matched with the fourth time parameter to obtain a second judgment result; and when the second judgment result is that the second time parameter and the fourth time parameter are matched, respectively determining that the second information and the fourth information both meet a third preset condition.
An embodiment of the present invention further provides an information processing system, where the system includes: the system comprises a first terminal, a second terminal and a server in the embodiment of the invention; wherein,
the first terminal comprises the terminal of the embodiment of the invention;
the second terminal comprises the terminal provided by the embodiment of the invention.
An embodiment of the present invention further provides a terminal, where the terminal includes: the fourth communication unit, the fourth motion sensing unit and the fourth control unit; wherein,
the fourth communication unit is used for receiving an account authorization request, sending a confirmation response and enabling the fourth action sensing unit; the account authorization request is used for another terminal to request the authorization login of the terminal account; the first information is also received; the fourth control unit is further configured to send fifth indication information when determining that the first information meets a second preset condition; the fifth indication information is used for indicating that the first information meets a second preset condition;
the fourth motion sensing unit is configured to detect fifth motion attribute information, where the fifth motion attribute information represents a state change of the terminal;
the fourth control unit is configured to detect whether the fifth action attribute information meets a fifth preset condition, and obtain a fifth time parameter of the fifth action attribute information when determining that the fifth action attribute information meets the fifth preset condition; the first time parameter is also used for obtaining the first information; judging whether the first time parameter is matched with the fifth time parameter to obtain a third judgment result; and when the third judgment result is that the first time parameter and the fifth time parameter are matched, determining that the first information meets a second preset condition.
In the embodiment of the present invention, the fourth communication unit is further configured to send the authorization time of the account, so that the other terminal performs login of the account according to the authorization time.
In the embodiment of the present invention, the fourth communication unit is further configured to send login status information of the account, so that the other terminal executes login of the account based on the login status information.
An embodiment of the present invention further provides an information processing system, where the system includes: a first terminal and a second terminal; wherein,
the first terminal comprises the terminal of the embodiment of the invention;
the second terminal comprises the terminal provided by the embodiment of the invention.
According to the information processing method, the system, the terminal and the server provided by the embodiment of the invention, the account (such as an account authorization request) is combined with the action attribute information of the first terminal as an account applicant and the action attribute information of the second terminal as an account owner, and the preset conditions are simultaneously met to serve as the account authorization conditions, namely when the first terminal or the second terminal initiates the account authorization request, the first terminal and the second terminal simultaneously perform a shaking action to complete authorization matching, so that the time delay problem in the existing authorization login process is greatly reduced, the risk of invasion such as password counterfeiting or bill counterfeiting is reduced, and the account sharing safety is improved. On the other hand, the account authorization matching is carried out by detecting whether the terminal meets the action attribute parameters of the preset conditions, such as the action of shaking one by one of the smart phone or the action of wrist turning of the smart watch, so that the interaction of the operation is improved, and the operation experience of the user is greatly improved.
Drawings
Fig. 1 is a schematic view of an application scenario of an information processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an information processing method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
FIG. 6 is a block diagram of an information handling system according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a first terminal according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a second terminal according to a fifth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a server according to a fifth embodiment of the present invention;
FIG. 10 is a flowchart illustrating an information processing method according to a sixth embodiment of the present invention;
FIG. 11 is a flowchart illustrating an information processing method according to a seventh embodiment of the present invention;
FIG. 12 is a block diagram of an information handling system according to an eighth embodiment of the present invention;
fig. 13 is a schematic structural diagram of a second terminal according to an eighth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic view of an application scenario of an information processing method according to an embodiment of the present invention; as shown in fig. 1, the system comprises afirst terminal 11 as an account owner and asecond terminal 12 as an account authorization applicant; thesecond terminal 12 and thefirst terminal 11 may be connected through a network (e.g., a wired network or a wireless network). Further, the number of thesecond terminals 12 as the account authorization applicant may be at least one, and as shown in fig. 1, the second terminals include a second terminal a 121, asecond terminal b 122, and a thirdterminal c 123, that is, in embodiments of the present application, the account of thefirst terminal 11 as the account owner may be shared with at least one second terminal, so that the at least one second terminal logs in based on the account of thefirst terminal 11.
In the embodiments of the present invention, the account may specifically represent the usage right of the first terminal, and it may be understood that a user may use the first terminal through login based on the account. As another embodiment, the account may also represent a usage right of an application client pre-installed in the first terminal, and it may be understood that, when the user activates the application client by triggering the first terminal, the application client may be used by logging in based on the corresponding account. Specifically, the application client may specifically be a communication client, for example: a QQ client, a wechat client, a mailbox client, and the like, and certainly, the application client is not limited to a communication client, and is not specifically limited in the embodiment of the present invention.
In each embodiment of the present invention, the terminals (including the first terminal and the second terminal) are specifically mobile terminals, and the mobile terminals may be portable terminals such as smart phones, and may also be wearable terminals such as smart watches and smart glasses.
Example one
The embodiment of the invention provides an information processing method. FIG. 2 is a flowchart illustrating an information processing method according to a first embodiment of the present invention; as shown in fig. 2, the information processing method includes:
step 201: the method comprises the steps that a first terminal sends an account authorization request to a second terminal through a server and receives a response of a representation confirmation of the second terminal; the account authorization request is used for the first terminal to request the authorization login of the account of the second terminal.
In this embodiment, the first terminal serves as an account authorization applicant, and the second terminal serves as an account owner, which are the same below. Here, the first terminal sends an account authorization request to the second terminal, and of course, the second terminal may also send information whether an account needs to be shared to the first terminal, so that the first terminal determines to request account authorization to the second terminal based on the information. In this embodiment, the initiator requesting account authorization is not specifically limited.
In this embodiment, information of communication between the first terminal and the second terminal is forwarded by a server, that is, the first terminal sends the account authorization request to the server, and the server forwards the account authorization request to the second terminal; correspondingly, the second terminal sends a response of the characterization confirmation to the server, and the server forwards the response of the characterization confirmation to the first terminal.
Step 202: the first terminal detects first action attribute information meeting a first preset condition, and the second terminal detects third action attribute information meeting a fourth preset condition; the first action attribute information represents the state change of the first terminal; the third action attribute information represents a state change of the second terminal.
The action attribute information (including the first action attribute information to the fourth action attribute information) described in this embodiment represents a state change of the corresponding terminal, and the state change may be a change of a motion state. For example, when the first terminal is a smartphone, a user may hold the smartphone to perform any action, such as swinging an arm by the user; the first terminal may detect a change in the acceleration of the first terminal through the acceleration sensor, so as to determine a change in the motion state of the first terminal, and in the application scenario, the first motion attribute information may be a value acquired by the acceleration sensor within a preset time. For another example, when the first terminal is a smart watch, the user may wear the smart watch to perform any action, for example, the user performs an action of a wrist rotation direction (such as flipping a wrist) to view contents of the smart watch; the first terminal can detect the change of the magnetic field intensity and the direction through a gyroscope sensor or a magnetometer sensor and detect the change of self acceleration by combining an acceleration sensor, so that the change of the motion state of the first terminal is determined. Of course, the second terminal detecting the third motion attribute information may refer to the description of the first terminal detecting the first motion attribute information, which is not described herein again.
In this embodiment, determining that the first action attribute information satisfies a first preset condition includes: and determining that the first action attribute information comprises at least two parameters representing the motion state change.
Specifically, for example, when the first terminal is a smartphone, the at least two parameters representing the change of the motion state may be at least two acceleration parameters, the at least two acceleration parameters are obtained continuously, and two adjacent acceleration parameters represent directions opposite to each other. In an application scenario of "shake one mobile phone", when a user holds a smart mobile phone (i.e., a first terminal) to perform a shake action, and the first terminal detects that consecutive adjacent acceleration parameters in opposite directions exist through an acceleration sensor, it is determined that the first terminal triggers the shake action, that is, it is determined that a first action attribute parameter obtained by the first terminal meets a first preset condition. For another example, when the first terminal is a smart watch, the at least two parameters representing the motion state change may be a combination of at least two acceleration parameters and a magnetometer parameter representing a direction change; similar to the last application scenario, when the smart watch (i.e., the first terminal) detects a motion parameter representing at least two wrist-turning actions, it is determined that a first action attribute parameter obtained by the first terminal meets a first preset condition.
Correspondingly, determining that the third action attribute information meets a fourth preset condition includes: and determining that the third motion attribute information comprises at least two parameters representing motion state changes. The specific implementation process may refer to the description that the first action attribute information satisfies the first preset condition, and is not described herein again. Of course, the manner in which the first terminal determines the first motion attribute information may be preconfigured, and correspondingly, the manner in which the second terminal determines that the third motion attribute information satisfies the fourth preset condition may be preconfigured.
Step 203: the first terminal obtains a first time parameter of the first action attribute information, generates first information based on the first time parameter, and sends the first information to the server; and the second terminal obtains a third time parameter of the third action attribute information, generates third information based on the third time parameter, and sends the third information to the server.
In this embodiment, the first time parameter may be a time parameter at which the obtained first motion attribute information starts, for example, a start time of a "shake" motion; the first time parameter may also be a time parameter at which the obtained first motion attribute information ends, such as an end time of a "shake" motion; the first time parameter may also be a combination of a time parameter at which the obtained first motion attribute information starts and a time parameter at which the obtained first motion attribute information ends. Correspondingly, the third time parameter and the first time parameter have the same principle, and are not described in detail in the embodiment of the present invention. Further, the first terminal sends first information to a server, where the first information includes the first time parameter. Correspondingly, the second terminal sends third information to the server, and the third information contains the third time parameter.
Step 204: and the server acquires a first time parameter in the first information and a third time parameter in the third information, and judges whether the first time parameter is matched with the third time parameter.
Step 205: and when the judgment result is that the first time parameter and the third time parameter are matched, respectively determining that the first information and the third information both meet a second preset condition, and respectively sending first indication information to the first terminal and second indication information to the second terminal by the server.
In this embodiment, the server determines whether a first time parameter in the first information sent by the first terminal matches a third time parameter in the third information sent by the second terminal; when the time parameter (i.e., the first time parameter and the third time parameter) is a start time parameter of the obtained motion attribute information (i.e., the first motion attribute information and the third motion attribute information) or an end time parameter of the obtained first motion attribute information (i.e., the first motion attribute information and the third motion attribute information), determining whether the first time parameter and the third time parameter match, and determining that both the first information and the third information satisfy a second preset condition after matching. The method for processing the first information includes that whether the starting time and/or the ending time of the first terminal shaking action is consistent with the starting time and/or the ending time of the second terminal shaking action is judged, and after the time is consistent, the first information sent by the first terminal and the third information sent by the second terminal are determined to meet the second preset condition. Further, the server sends first indication information and second indication information to the first terminal and the second terminal respectively, and the first indication information and the second indication information are used for indicating that the first terminal and the second terminal meet account authorization conditions respectively.
Step 206: and the first terminal executes the login of the account.
In this embodiment, before the first terminal performs login of the account, the method further includes: the first terminal obtains the authorization time of the account; correspondingly, the first terminal executes login of the account, including: and the first terminal executes the login of the account according to the authorized time.
Here, after the server respectively sends first indication information to the first terminal and second indication information to the second terminal to respectively indicate that the first terminal and the second terminal satisfy account authorization conditions, the server may send authorization time of the account to the first terminal according to a preset account authorization rule, so that the first terminal performs login of the account according to the authorization time. The authorization time of the account can be configured in advance, or set by the second terminal, and then sent to the server for storage.
As an embodiment, the first terminal performs login of the account, including: and the first terminal acquires login state information of the account, and switches to the login state of the account based on the login state information so as to execute login of the account.
Specifically, after the server respectively sends first indication information to the first terminal and second indication information to the second terminal to respectively indicate that the first terminal and the second terminal meet account authorization conditions, the server obtains login state information of the second terminal and sends the login state information to the first terminal so that the first terminal switches login states; the login state information may include an account and a password of the second terminal and system state information after login is successful based on the account and the password, and it may be understood that the first terminal obtains the login state of the second terminal based on the account; further, the first terminal logs in the account based on the login state.
As another embodiment, the first terminal performs login of the account, including: the first terminal obtains a bill voucher and executes login of the account number based on the bill voucher; wherein the ticket voucher characterizes a login entry of the account.
Specifically, the server sends first indication information to the first terminal and second indication information to the second terminal respectively, so as to indicate that the first terminal and the second terminal meet account authorization conditions respectively, the second terminal obtains a bill certificate containing a triggering entry after successful login and sends the bill certificate to the server, and the server sends the bill certificate to the first terminal, which is equivalent to the first terminal obtaining a login entry, and the login entry is triggered to execute login of the account.
Based on this embodiment, when the first terminal or the second terminal is to terminate the account authorization login of the first terminal, the method further includes: when the first terminal obtains an account authorization termination instruction, second action attribute information meeting the first preset condition is detected, and a second time parameter of the second action attribute information is obtained; the second action attribute information represents the state change of the terminal;
generating second information based on a second time parameter of the second action attribute information, and sending the second information;
and after the second information is determined to meet a third preset condition, terminating the login state of the account.
Correspondingly, the second terminal sends an account authorization termination instruction;
detecting fourth action attribute information meeting the fourth preset condition, and acquiring a fourth time parameter of the fourth action attribute information; the fourth action attribute information represents the state change of the terminal;
and generating fourth information based on a fourth time parameter of the fourth action attribute information, and sending the fourth information.
Specifically, the process of the first terminal or the second terminal to terminate the account authorization login process of the first terminal is similar to the account authorization login process of the first terminal in steps 201 to 205 in the embodiment of the present invention, and details are not repeated in this embodiment. For example, when the first terminal waits for termination of account authorization login of the second terminal, an account termination request is sent to the second terminal through the server, and after a response representing confirmation is received, the first terminal and the second terminal perform a shaking action, and when the server detects that time parameters of the shaking action of the first terminal and the second terminal are matched, the server determines that the first terminal and the second terminal meet account authorization termination conditions, and the server sends an account authorization termination instruction to the first terminal so as to terminate the account login state of the first terminal.
As another implementation, the second terminal may also actively terminate the account authorized login of the first terminal by triggering an operation sending instruction; or the first terminal may also terminate its own account authorized login actively through a triggering operation, which is not described in detail in this embodiment.
By adopting the technical scheme of the embodiment of the invention, the account (such as an account authorization request) is combined with the action attribute information of the first terminal as an account applicant and the second terminal as an account owner, and the action attribute information simultaneously meets the preset condition to serve as the account authorization condition, namely when the first terminal or the second terminal initiates the account authorization request, the first terminal and the second terminal simultaneously perform the action of shaking one by one to complete authorization matching, so that the time delay problem in the existing authorization login process is greatly reduced, the risk of password forgery, bill forgery and other invasion is reduced, and the account sharing safety is improved. On the other hand, the account authorization matching is carried out by detecting whether the terminal meets the action attribute parameters of the preset conditions, such as the action of shaking one by one of the smart phone or the action of wrist turning of the smart watch, so that the interaction of the operation is improved, and the operation experience of the user is greatly improved.
Example two
Based on the first embodiment, the embodiment of the invention also provides an information processing method, and the information processing method is applied to a terminal. FIG. 3 is a flowchart illustrating an information processing method according to a second embodiment of the present invention; as shown in fig. 3, the method includes:
step 301: the terminal sends an account authorization request, and detects first action attribute information after receiving a response of the representation confirmation; the account authorization request is used for requesting the authorization login of another terminal account; the first action attribute information represents a state change of the terminal.
In this embodiment, the terminal corresponds to the first terminal in the first embodiment, and the other terminal corresponds to the second terminal in the first embodiment; of course, in other embodiments, the terminal may also correspond to the second terminal in the first embodiment, and the other terminal may also correspond to the first terminal in the first embodiment.
Taking the terminal as a first terminal and the other terminal as a second terminal as an example, the first terminal is used as an account authorization applicant, and the second terminal is used as an account owner. Here, the first terminal sends an account authorization request to the second terminal, and of course, the second terminal may also send information whether an account needs to be shared to the first terminal, so that the first terminal determines to request account authorization to the second terminal based on the information. In this embodiment, the initiator requesting account authorization is not specifically limited.
In this embodiment, as an implementation manner, information of communication between the first terminal and the second terminal is forwarded by a server, that is, the first terminal sends the account authorization request to the server, and the server forwards the account authorization request to the second terminal; correspondingly, the second terminal sends a response of the characterization confirmation to the server, and the server forwards the response of the characterization confirmation to the first terminal. As another implementation, the first terminal and the second terminal directly communicate with each other, that is, the first terminal sends an account authorization request to the second terminal, and correspondingly receives a characterization confirmation response of the second terminal.
The action attribute information (including the first action attribute information) described in this embodiment represents a state change of the corresponding terminal, and the state change may be specifically a change of a motion state. For example, when the first terminal is a smartphone, a user may hold the smartphone to perform any action, such as swinging an arm by the user; the first terminal may detect a change in the acceleration of the first terminal through the acceleration sensor, so as to determine a change in the motion state of the first terminal, and in the application scenario, the first motion attribute information may be a value acquired by the acceleration sensor within a preset time. For another example, when the first terminal is a smart watch, the user may wear the smart watch to perform any action, for example, the user performs an action of a wrist rotation direction (such as flipping a wrist) to view contents of the smart watch; the first terminal can detect the change of the magnetic field intensity and the direction through a gyroscope sensor or a magnetometer sensor and detect the change of self acceleration by combining an acceleration sensor, so that the change of the motion state of the first terminal is determined.
Step 302: detecting whether the first action attribute information meets a first preset condition, and obtaining a first time parameter of the first action attribute information when the first action attribute information meets the first preset condition.
In this embodiment, determining that the first action attribute information satisfies a first preset condition includes: and determining that the first action attribute information comprises at least two parameters representing the motion state change.
Specifically, for example, when the first terminal is a smartphone, the at least two parameters representing the change of the motion state may be at least two acceleration parameters, the at least two acceleration parameters are obtained continuously, and two adjacent acceleration parameters represent directions opposite to each other. In an application scenario of "shake one mobile phone", when a user holds a smart mobile phone (i.e., a first terminal) to perform a shake action, and the first terminal detects that consecutive adjacent acceleration parameters in opposite directions exist through an acceleration sensor, it is determined that the first terminal triggers the shake action, that is, it is determined that a first action attribute parameter obtained by the first terminal meets a first preset condition. For another example, when the first terminal is a smart watch, the at least two parameters representing the motion state change may be a combination of at least two acceleration parameters and a magnetometer parameter representing a direction change; similar to the last application scenario, when the smart watch (i.e., the first terminal) detects a motion parameter representing at least two wrist-turning actions, it is determined that a first action attribute parameter obtained by the first terminal meets a first preset condition.
Step 303: and generating first information based on the first time parameter of the first action attribute information, and sending the first information.
Step 304: and after the first information is determined to meet a second preset condition, the terminal executes the login of the account.
In one embodiment, when information communicated between the first terminal and the second terminal is forwarded by a server, the server determines whether the first information meets a second preset condition. Specifically, the server determines whether a first time parameter in first information sent by the first terminal is matched with a third time parameter in third information sent by the second terminal; when the time parameter (i.e., the first time parameter and the third time parameter) is a start time parameter of the obtained motion attribute information (i.e., the first motion attribute information and the third motion attribute information) or an end time parameter of the obtained first motion attribute information (i.e., the first motion attribute information and the third motion attribute information), determining whether the first time parameter and the third time parameter are matched, and determining that both the first information and the third information meet a second preset condition after the first time parameter and the third time parameter are matched. The method for processing the first information includes that whether the starting time and/or the ending time of the first terminal shaking action is consistent with the starting time and/or the ending time of the second terminal shaking action is judged, and after the time is consistent, the first information sent by the first terminal and the third information sent by the second terminal are determined to meet the second preset condition. Further, the server sends first indication information to the first terminal to indicate that the first terminal meets account authorization conditions (that is, meets the second preset conditions).
In this embodiment, before the terminal performs login of the account, the method further includes: obtaining the authorization time of the account; correspondingly, the terminal executes login of the account, including: and the terminal executes the login of the account according to the authorized time.
As an embodiment, the terminal performs login of the account, including: and the terminal acquires the login state information of the account, and switches to the login state of the account based on the login state information so as to execute the login of the account.
Based on this embodiment, the method further includes: when an account authorization termination instruction is obtained, second action attribute information meeting the first preset condition is detected, and a second time parameter of the second action attribute information is obtained; the second action attribute information represents the state change of the terminal; generating second information based on a second time parameter of the second action attribute information, and sending the second information; and after the second information is determined to meet a third preset condition, terminating the login state of the account.
By adopting the technical scheme of the embodiment of the invention, the account (such as an account authorization request) is combined with the action attribute information of the first terminal as an account applicant and the second terminal as an account owner, and the action attribute information simultaneously meets the preset condition to serve as the account authorization condition, namely when the first terminal or the second terminal initiates the account authorization request, the first terminal and the second terminal simultaneously perform the action of shaking one by one to complete authorization matching, so that the time delay problem in the existing authorization login process is greatly reduced, the risk of password forgery, bill forgery and other invasion is reduced, and the account sharing safety is improved. On the other hand, the account authorization matching is carried out by detecting whether the terminal meets the action attribute parameters of the preset conditions, such as the action of shaking one by one of the smart phone or the action of wrist turning of the smart watch, so that the interaction of the operation is improved, and the operation experience of the user is greatly improved.
EXAMPLE III
Based on the first embodiment, the embodiment of the invention also provides an information processing method, and the information processing method is applied to a terminal. FIG. 4 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 4, the method includes:
step 401: the terminal receives an account authorization request and sends a confirmation response; the account authorization request is used for another terminal to request the authorization login of the terminal account.
In this embodiment, the terminal is equivalent to the second terminal in the first embodiment, and the other terminal is equivalent to the first terminal in the first embodiment; of course, in other embodiments, the terminal may also correspond to the first terminal in the first embodiment, and the other terminal may also correspond to the second terminal in the first embodiment.
Taking the terminal as a second terminal and the other terminal as a first terminal as an example, the first terminal is used as an account authorization applicant, and the second terminal is used as an account owner. Here, the first terminal sends an account authorization request to the second terminal, and of course, the second terminal may also send information whether an account needs to be shared to the first terminal, so that the first terminal determines to request account authorization to the second terminal based on the information. In this embodiment, the initiator requesting account authorization is not specifically limited.
In this embodiment, as an implementation manner, information of communication between the first terminal and the second terminal is forwarded by a server, that is, the first terminal sends the account authorization request to the server, and the server forwards the account authorization request to the second terminal; correspondingly, the second terminal sends a response of the characterization confirmation to the server, and the server forwards the response of the characterization confirmation to the first terminal. As another implementation, the first terminal and the second terminal directly communicate with each other, that is, the first terminal sends an account authorization request to the second terminal, and correspondingly receives a characterization confirmation response of the second terminal.
Step 402: detecting third action attribute information, and obtaining a third time parameter of the third action attribute information when the third action attribute information meets a fourth preset condition; the third action attribute information represents a state change of the terminal.
The action attribute information (including the third action attribute information) described in this embodiment represents a state change of the corresponding terminal, and the state change may be specifically a change of a motion state. For example, when the second terminal is a smartphone, a user may hold the smartphone to perform any action, such as swinging an arm by the user; the second terminal may detect a change in the acceleration of the second terminal through the acceleration sensor, so as to determine a change in the motion state of the second terminal, and in the application scenario, the third motion attribute information may be a value acquired by the acceleration sensor within a preset time. For another example, when the second terminal is a smart watch, the user may wear the smart watch to perform any action, for example, the user performs an action of a wrist rotation direction (such as flipping a wrist) in order to view contents of the smart watch; the second terminal can detect the change of the magnetic field intensity and the direction through a gyroscope sensor or a magnetometer sensor and detect the change of self acceleration by combining an acceleration sensor, so that the change of the motion state of the second terminal is determined.
In this embodiment, determining that the third action attribute information satisfies a fourth preset condition includes: and determining that the third motion attribute information comprises at least two parameters representing motion state changes.
Specifically, for example, when the second terminal is a smartphone, the at least two parameters representing the change of the motion state may be at least two acceleration parameters, the at least two acceleration parameters are obtained continuously, and two adjacent acceleration parameters represent directions opposite to each other. In an application scenario of "shake one mobile phone", when a user holds a smart mobile phone (i.e., a second terminal) to perform a shake action, and the second terminal detects that consecutive acceleration parameters in opposite directions exist between adjacent terminals through an acceleration sensor, it is determined that the second terminal triggers the shake action, that is, it is determined that a third action attribute parameter obtained by the second terminal meets a fourth preset condition. For another example, when the second terminal is a smart watch, the at least two parameters representing the motion state change may be a combination of at least two acceleration parameters and a magnetometer parameter representing a direction change; similar to the last application scenario, when the smart watch (i.e., the second terminal) detects the motion parameter representing at least two wrist-turning actions, it is determined that the third action attribute parameter obtained by the second terminal meets a fourth preset condition.
Step 403: and generating third information based on a third time parameter of the third action attribute information, and sending the third information.
Based on this embodiment, the method further includes: sending an account authorization termination instruction;
detecting fourth action attribute information meeting the fourth preset condition, and acquiring a fourth time parameter of the fourth action attribute information; the fourth action attribute information represents the state change of the terminal;
and generating fourth information based on a fourth time parameter of the fourth action attribute information, and sending the fourth information.
By adopting the technical scheme of the embodiment of the invention, the account (such as an account authorization request) is combined with the action attribute information of the first terminal as an account applicant and the second terminal as an account owner, and the action attribute information simultaneously meets the preset condition to serve as the account authorization condition, namely when the first terminal or the second terminal initiates the account authorization request, the first terminal and the second terminal simultaneously perform the action of shaking one by one to complete authorization matching, so that the time delay problem in the existing authorization login process is greatly reduced, the risk of password forgery, bill forgery and other invasion is reduced, and the account sharing safety is improved. On the other hand, the account authorization matching is carried out by detecting whether the terminal meets the action attribute parameters of the preset conditions, such as the action of shaking one by one of the smart phone or the action of wrist turning of the smart watch, so that the interaction of the operation is improved, and the operation experience of the user is greatly improved.
Example four
Based on the first embodiment, the embodiment of the invention also provides an information processing method, and the information processing method is applied to the server. FIG. 5 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention; as shown in fig. 5, the method includes:
step 501: the server obtains and forwards an account authorization request and obtains and forwards a response of the verification; the account authorization request is used for a terminal to request the authorization login of another terminal account.
In this embodiment, the server is used as a transfer station for information transmission, and is configured to transfer information transmitted between an account authorization applicant and an account owner, that is, the server forwards an account authorization request sent by the account authorization applicant to the account owner, and sends a response of a characterization confirmation sent by the account owner to the account authorization applicant. In this embodiment, an example in which one of the account authorization applicants is a first terminal and one of the account owners is a second terminal is described.
Step 502: respectively receiving first information and third information, and obtaining a first time parameter in the first information and a third time parameter in the third information.
In this embodiment, the first information and the third information are respectively sent by the first terminal and the second terminal; in an embodiment, the first information includes a first time parameter, and the third information includes a third time parameter.
Step 503: and judging whether the first time parameter is matched with the third time parameter to obtain a first judgment result.
Step 504: and when the first judgment result is that the first time parameter and the third time parameter are matched, respectively determining that the first information and the third information both meet a second preset condition.
In this embodiment, the server determines whether a first time parameter in the first information sent by the first terminal matches a third time parameter in the third information sent by the second terminal; when the time parameter (i.e., the first time parameter and the third time parameter) is a start time parameter of the obtained motion attribute information (i.e., the first motion attribute information and the third motion attribute information) or an end time parameter of the obtained first motion attribute information (i.e., the first motion attribute information and the third motion attribute information), determining whether the first time parameter and the third time parameter match, and determining that both the first information and the third information satisfy a second preset condition after matching. The method for processing the first information includes that whether the starting time and/or the ending time of the first terminal shaking action is consistent with the starting time and/or the ending time of the second terminal shaking action is judged, and after the time is consistent, the first information sent by the first terminal and the third information sent by the second terminal are determined to meet the second preset condition.
Step 505: respectively sending first indication information and second indication information; the first indication information is used for indicating that the first information meets a second preset condition; the second indication information is used for indicating that the third information meets a second preset condition.
In this embodiment, the server sends first indication information and second indication information to the first terminal and the second terminal, respectively, to indicate that the first terminal and the second terminal satisfy account authorization conditions (i.e., the second preset condition). Further, the method further comprises: obtaining and forwarding an account authorization termination instruction; respectively receiving second information and fourth information, and acquiring a second time parameter in the second information and a fourth time parameter in the fourth information; judging whether the second time parameter is matched with the fourth time parameter to obtain a second judgment result; when the second judgment result is that the second time parameter and the fourth time parameter are matched, respectively determining that the second information and the fourth information both meet a third preset condition; respectively sending third indication information and fourth indication information; the third indication information is used for indicating that the second information meets a third preset condition; the fourth indication information is used for indicating that the fourth information meets a third preset condition.
By adopting the technical scheme of the embodiment of the invention, the account (such as an account authorization request) is combined with the action attribute information of the first terminal as an account applicant and the second terminal as an account owner, and the action attribute information simultaneously meets the preset condition to serve as the account authorization condition, namely when the first terminal or the second terminal initiates the account authorization request, the first terminal and the second terminal simultaneously perform the action of shaking one by one to complete authorization matching, so that the time delay problem in the existing authorization login process is greatly reduced, the risk of password forgery, bill forgery and other invasion is reduced, and the account sharing safety is improved. On the other hand, the account authorization matching is carried out by detecting whether the terminal meets the action attribute parameters of the preset conditions, such as the action of shaking one by one of the smart phone or the action of wrist turning of the smart watch, so that the interaction of the operation is improved, and the operation experience of the user is greatly improved.
EXAMPLE five
The embodiment of the invention also provides an information processing system. FIG. 6 is a block diagram of an information handling system according to a fifth embodiment of the present invention; as shown in fig. 6, the information processing system includes: a first terminal 61, a server 62, and a second terminal 63; the number of the second terminals 63 is at least one; wherein,
the server 62 is configured to forward an account authorization request sent by the first terminal 61 to the second terminal 63, and forward a response of a characterization confirmation sent by the second terminal 63 to the first terminal 61; the account authorization request is used for requesting the authorization login of the account of the second terminal 63; the time parameter acquiring unit is further configured to acquire a first time parameter in the first information and a third time parameter in the third information, and determine whether the first time parameter and the third time parameter are matched; when the judgment result is that the first time parameter and the third time parameter are matched, respectively determining that the first information and the third information both meet a second preset condition, and respectively sending first indication information to the first terminal 61 and second indication information to the second terminal 63;
the first terminal 61 is configured to detect first action attribute information that meets a first preset condition; the first action attribute information represents a state change of the first terminal 61; obtaining a first time parameter of the first action attribute information, generating first information based on the first time parameter, and sending the first information to the server 62; the account is also used for executing login of the account based on the first indication information;
the second terminal 63 is configured to detect third action attribute information that meets a fourth preset condition; the third action attribute information represents a state change of the second terminal 63; and obtaining a third time parameter of the third action attribute information, generating third information based on the third time parameter, and sending the third information to the server 62.
As an implementation manner, the server 62 is further configured to send the configured authorization time of the account to the first terminal 61, or forward the authorization time of the account sent by the second terminal 63;
the first terminal 61 is configured to obtain authorization time of the account, and perform login of the account according to the authorization time.
In an embodiment, the server 62 is further configured to send login status information of the account to the first terminal 61;
the first terminal 61 is configured to obtain login state information of the account, and switch to a login state of the account based on the login state information to execute login of the account.
As an implementation manner, the server 62 is further configured to forward an account authorization termination instruction sent by the second terminal 63 to the first terminal 61; the time parameter acquisition module is further used for respectively receiving second information and fourth information to acquire a second time parameter in the second information and a fourth time parameter in the fourth information; judging whether the second time parameter is matched with the fourth time parameter to obtain a second judgment result; when the second judgment result is that the second time parameter and the fourth time parameter are matched, respectively determining that the second information and the fourth information both meet a third preset condition; respectively sending third indication information to the first terminal 61 and fourth indication information to the second terminal 63; the third indication information is used for indicating that the second information meets a third preset condition; the fourth indication information is used for indicating that the fourth information meets a third preset condition;
the first terminal 61 is further configured to, when acquiring an account authorization termination instruction, detect second action attribute information that meets the first preset condition, and acquire a second time parameter of the second action attribute information; the second action attribute information represents the state change of the terminal; generating second information based on a second time parameter of the second action attribute information, and transmitting the second information to the server 62; after the second information is determined to meet a third preset condition, terminating the login state of the account;
correspondingly, the second terminal 63 is further configured to send an account authorization termination instruction; the fourth time parameter is obtained by detecting fourth action attribute information meeting the fourth preset condition; the fourth action attribute information represents the state change of the terminal; fourth information is generated based on a fourth time parameter of the fourth action attribute information, and the fourth information is transmitted to the server 62.
Based on the information processing system, the embodiment of the invention also provides a terminal, which is used as a first terminal 61 of an authorized account applicant. Fig. 7 is a schematic structural diagram of a first terminal according to a fifth embodiment of the present invention; as shown in fig. 7, the terminal includes: a first communication unit 611, a first motion sensing unit 612, and a first control unit 613; wherein,
the first communication unit 611 is configured to send an account authorization request, and enable the action sensing unit after receiving a response of a characterization confirmation; the account authorization request is used for requesting the authorization login of another terminal account; is also used for sending the first information;
the first motion sensing unit 612 is configured to detect first motion attribute information; the first action attribute information represents the state change of the terminal;
the first control unit 613 is configured to detect whether the first motion attribute information satisfies a first preset condition, and obtain a first time parameter of the first motion attribute information when determining that the first motion attribute information satisfies the first preset condition; generating first information based on a first time parameter of the first action attribute information; and the login module is further used for executing the login of the account after the first information is determined to meet a second preset condition.
As an embodiment, the first communication unit 611 is further configured to, before the first control unit 613 performs login of the account, obtain an authorization time of the account, and send the authorization time to the control unit;
correspondingly, the first control unit 613 is configured to perform login of the account according to the authorized time.
In this embodiment, the first communication unit 611 is further configured to obtain login status information of the account, and send the login status information to the control unit;
the first control unit 613 is configured to switch to a login state of the account based on the login state information to perform login of the account.
As an implementation manner, the first communication unit 611 is further configured to enable the action sensing unit when an account authorization termination instruction is obtained; is also used for sending the second information;
the first motion sensing unit 612 is configured to detect second motion attribute information; the second action attribute information represents the state change of the terminal;
the first control unit 613 is further configured to detect whether the second motion attribute information meets a first preset condition, and obtain a second time parameter of the second motion attribute information when determining that the second motion attribute information meets the first preset condition; generating second information based on a second time parameter of the second action attribute information; and the login state of the account is terminated after the second information is determined to meet a third preset condition.
In the embodiment of the present invention, the first control Unit 613 in the first terminal may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the terminal in practical applications; the first communication unit 611 in the first terminal may be implemented by a transceiving antenna in the terminal in practical application; the first motion sensing unit 612 in the first terminal may be implemented by an acceleration sensor and/or a magnetometer sensor in the terminal in practical applications.
Based on the information processing system, the embodiment of the present invention further provides a terminal, where the terminal is used as the second terminal 63 of the authorized account owner. Fig. 8 is a schematic structural diagram of a second terminal according to a fifth embodiment of the present invention; as shown in fig. 8, the terminal includes: a second communication unit 631, a second motion sensing unit 632, and a second control unit 633; wherein,
the second communication unit 631 is configured to receive an account authorization request, send a confirmation response, and enable the second action sensing unit 632; the account authorization request is used for another terminal to request the authorization login of the terminal account; is also used for sending the third information;
the second motion sensing unit 632 is configured to detect third motion attribute information, where the third motion attribute information represents a state change of the terminal;
the second control unit 633 is configured to detect whether the third motion attribute information satisfies a fourth preset condition, and obtain a third time parameter of the third motion attribute information when determining that the third motion attribute information satisfies the fourth preset condition; generating third information based on a third time parameter of the third motion attribute information.
In an embodiment, the second communication unit 631 is further configured to send an account authorization termination instruction, enabling the second action sensing unit 632; is also used for sending the fourth information;
the second motion sensing unit 632 is further configured to detect fourth motion attribute information; the fourth action attribute information represents the state change of the terminal;
the second control unit 633 is further configured to determine whether the fourth motion attribute information satisfies a fourth preset condition; when the fourth action attribute information is determined to meet a fourth preset condition, obtaining a fourth time parameter of the fourth action attribute information; generating fourth information based on a fourth time parameter of the fourth motion attribute information.
In the embodiment of the present invention, the second control unit 633 in the second terminal may be implemented by a CPU, a DSP, or an FPGA in the terminal in practical application; the second communication unit 631 in the second terminal may be implemented by a transceiving antenna in the terminal in practical application; the second motion sensing unit 632 in the second terminal may be implemented by an acceleration sensor and/or a magnetometer sensor in the terminal in practical applications.
Based on the information processing system, the embodiment of the invention also provides a server 62. Fig. 9 is a schematic structural diagram of a server according to a fifth embodiment of the present invention; as shown in fig. 9, the server 62 includes: athird communication unit 621 and athird control unit 622; wherein,
thethird communication unit 621 is configured to obtain and forward an account authorization request, and obtain and forward a response of the characterization confirmation; the account authorization request is used for a terminal to request the authorization login of another terminal account; the first information and the third information are respectively received; thethird controlling unit 622 is further configured to send first indication information and second indication information when thethird controlling unit 622 determines that the first information and the third information both satisfy a second preset condition; the first indication information is used for indicating that the first information meets a second preset condition; the second indication information is used for indicating that the third information meets a second preset condition;
thethird controlling unit 622, configured to obtain a first time parameter in the first information and a third time parameter in the third information; judging whether the first time parameter is matched with the third time parameter to obtain a first judgment result; and when the first judgment result is that the first time parameter and the third time parameter are matched, respectively determining that the first information and the third information both meet a second preset condition.
Specifically, thethird communication unit 621 is further configured to obtain login status information of the account, and send the login status information of the account.
In an embodiment, thethird communication unit 621 is further configured to obtain and forward an account authorization termination instruction; the first information and the second information are respectively received; the first and second controllers are further configured to send third and fourth indication information, respectively; the third indication information is used for indicating that the second information meets a third preset condition; the fourth indication information is used for indicating that the fourth information meets a third preset condition;
thethird controlling unit 622 is further configured to obtain a second time parameter in the second information and a fourth time parameter in the fourth information; judging whether the second time parameter is matched with the fourth time parameter to obtain a second judgment result; and when the second judgment result is that the second time parameter and the fourth time parameter are matched, respectively determining that the second information and the fourth information both meet a third preset condition.
In the embodiment of the present invention, thethird control unit 622 in the server can be implemented by a CPU, a DSP, or an FPGA in the server in practical application; thethird communication unit 621 in the server may be implemented by a transceiver antenna in the server in practical applications.
EXAMPLE six
The embodiment of the invention also provides an information processing method. FIG. 10 is a flowchart illustrating an information processing method according to a sixth embodiment of the present invention; as shown in fig. 10, the method includes:
step 701: the method comprises the steps that a first terminal sends an account authorization request to a second terminal and receives a response of a representation confirmation of the second terminal; the account authorization request is used for requesting the authorization login of the second terminal account.
In this embodiment, the first terminal serves as an account authorization applicant, and the second terminal serves as an account owner, which are the same below. Here, the first terminal sends an account authorization request to the second terminal, and of course, the second terminal may also send information whether an account needs to be shared to the first terminal, so that the first terminal determines to request account authorization to the second terminal based on the information. In this embodiment, the initiator requesting account authorization is not specifically limited.
Step 702: the first terminal detects first action attribute information meeting a first preset condition, and the second terminal detects fifth action attribute information meeting a fifth preset condition; the first action attribute information represents the state change of the first terminal; fifth action attribute information characterizes a state change of the second terminal.
Step 703: the first terminal obtains a first time parameter of the first action attribute information, and the second terminal obtains a fifth time parameter of the fifth action attribute information.
Step 704: the first terminal generates first information based on the first time parameter and sends the first information to the second terminal; and the second terminal receives the first information to obtain a first time parameter in the first information.
Step 705: the second terminal judges whether the first time parameter is matched with the fifth time parameter; when the judgment result is that the first time parameter is matched with the fifth time parameter, determining that the first information meets a second preset condition, and sending fifth indication information to the first terminal; the fifth indication information is used for indicating that the first information meets a second preset condition.
Step 706: and the first terminal executes the login of the account based on the fifth indication information.
The description ofsteps 701 to 706 in this embodiment can refer to the description of steps 201 to 206 in the first embodiment; the difference is that in this embodiment, the first terminal and the second terminal can directly communicate with each other without forwarding through a server. In this embodiment, the second terminal (i.e., the account owner) performs the matching determination of the time parameters, that is, the second terminal determines whether the start time and/or the end time of the "shake-and-shake" action performed by the first terminal and the "shake-and-shake" action performed by the second terminal are consistent, after the time is consistent, it is determined that the first information sent by the first terminal meets a second preset condition, and fifth indication information is sent to the first terminal to indicate that the first terminal meets an account authorization condition, so that the first terminal executes the login of the account of the second terminal.
In this embodiment, before the first terminal performs login of the account, the method further includes: the first terminal obtains the authorization time of the account; correspondingly, the first terminal executes login of the account, including: and the first terminal executes the login of the account according to the authorized time.
Here, after the second terminal sends fifth indication information to the first terminal to indicate that the first terminal meets account authorization conditions, the second terminal may send authorization time of the account to the first terminal according to a preset account authorization rule, so that the first terminal performs login of the account according to the authorization time. The authorization time of the account can be configured in advance, or set by the second terminal.
As an embodiment, the first terminal performs login of the account, including: and the first terminal acquires login state information of the account, and switches to the login state of the account based on the login state information so as to execute login of the account.
Specifically, after the second terminal sends fifth indication information to the first terminal to indicate that the first terminal meets account authorization conditions, the second terminal obtains login state information of the second terminal, and sends the login state information to the first terminal to enable the first terminal to switch login states; the login state information may include an account and a password of the second terminal and system state information after login is successful based on the account and the password, and it may be understood that the first terminal obtains the login state of the second terminal based on the account; further, the first terminal logs in the account based on the login state.
As another embodiment, the first terminal performs login of the account, including: the first terminal obtains a bill voucher and executes login of the account number based on the bill voucher; wherein the ticket voucher characterizes a login entry of the account.
Specifically, after the second terminal sends fifth indication information to the first terminal to indicate that the first terminal meets account authorization conditions, the second terminal obtains a bill credential including a trigger entry after successful login and sends the bill credential to the first terminal, which is equivalent to the first terminal obtaining a login entry, and the login entry is triggered to execute the login of the account.
By adopting the technical scheme of the embodiment of the invention, the account (such as an account authorization request) is combined with the action attribute information of the first terminal as an account applicant and the second terminal as an account owner, and the action attribute information simultaneously meets the preset condition to serve as the account authorization condition, namely when the first terminal or the second terminal initiates the account authorization request, the first terminal and the second terminal simultaneously perform the action of shaking one by one to complete authorization matching, so that the time delay problem in the existing authorization login process is greatly reduced, the risk of password forgery, bill forgery and other invasion is reduced, and the account sharing safety is improved. On the other hand, the account authorization matching is carried out by detecting whether the terminal meets the action attribute parameters of the preset conditions, such as the action of shaking one by one of the smart phone or the action of wrist turning of the smart watch, so that the interaction of the operation is improved, and the operation experience of the user is greatly improved.
EXAMPLE seven
Based on the sixth embodiment, the embodiment of the invention also provides an information processing method which is applied to a terminal. FIG. 11 is a flowchart illustrating an information processing method according to a seventh embodiment of the present invention; as shown in fig. 11, the information processing method includes:
step 801: the terminal receives an account authorization request and sends a confirmation response; the account authorization request is used for another terminal to request the authorization login of the terminal account.
Step 802: and detecting fifth action attribute information, wherein the fifth action attribute information represents the state change of the terminal.
Step 803: detecting whether the fifth action attribute information meets a fifth preset condition, and obtaining a fifth time parameter of the fifth action attribute information when determining that the fifth action attribute information meets the fifth preset condition.
In the embodiment of the present invention, the descriptions instep 801 to step 803 may refer to the descriptions instep 401 to step 403 in the third embodiment, which are not repeated herein.
Step 804: receiving first information, and obtaining a first time parameter in the first information.
Here, the second terminal receives first information sent by the first terminal, and obtains a first time parameter in the first information.
Step 805: and judging whether the first time parameter is matched with the fifth time parameter to obtain a third judgment result.
Step 806: when the third judgment result is that the first time parameter and the fifth time parameter are matched, determining that the first information meets a second preset condition, and sending fifth indication information; the fifth indication information is used for indicating that the first information meets a second preset condition.
In this embodiment, the second terminal determines whether a first time parameter in the first information sent by the first terminal matches a fifth time parameter of the second terminal itself; when the time parameter (i.e., the first time parameter and the fifth time parameter) is a start time parameter of the obtained motion attribute information (i.e., the first motion attribute information and the fifth motion attribute information) or an end time parameter of the obtained first motion attribute information (i.e., the first motion attribute information and the fifth motion attribute information), determining whether the first time parameter and the fifth time parameter match, and determining that the first information satisfies a second preset condition after matching. The method for processing the first information sent by the first terminal comprises the steps of judging whether the starting time and/or the ending time of the first terminal shaking action of the user and the starting time and/or the ending time of the second terminal shaking action of the user are consistent, and after the time is consistent, determining that the first information sent by the first terminal meets the second preset condition. Further, the second terminal sends fifth indication information to the first terminal, so as to indicate that the first terminal meets account authorization conditions.
By adopting the technical scheme of the embodiment of the invention, the account (such as an account authorization request) is combined with the action attribute information of the first terminal as an account applicant and the second terminal as an account owner, and the action attribute information simultaneously meets the preset condition to serve as the account authorization condition, namely when the first terminal or the second terminal initiates the account authorization request, the first terminal and the second terminal simultaneously perform the action of shaking one by one to complete authorization matching, so that the time delay problem in the existing authorization login process is greatly reduced, the risk of password forgery, bill forgery and other invasion is reduced, and the account sharing safety is improved. On the other hand, the account authorization matching is carried out by detecting whether the terminal meets the action attribute parameters of the preset conditions, such as the action of shaking one by one of the smart phone or the action of wrist turning of the smart watch, so that the interaction of the operation is improved, and the operation experience of the user is greatly improved.
Example eight
The embodiment of the invention provides an information processing system. FIG. 12 is a block diagram of an information handling system according to an eighth embodiment of the present invention; as shown in fig. 12, the information processing system includes: a first terminal 91 and a second terminal 92; the number of the second terminals 92 is at least one; wherein,
the first terminal 91 is configured to send an account authorization request to the second terminal 92, and receive a response of a characterization confirmation of the second terminal 92; the account authorization request is used for requesting the authorization login of the account of the second terminal 92; the device is also used for detecting first action attribute information meeting a first preset condition; the first action attribute information represents a state change of the first terminal 91; obtaining a first time parameter of the first action attribute information; the account is also used for executing login of the account based on the fifth indication information;
the second terminal 92 is configured to send a response representing confirmation after receiving the account authorization request of the first terminal 91; the device is also used for detecting fifth action attribute information meeting a fifth preset condition; fifth action attribute information characterizes a state change of the second terminal 92; obtaining a fifth time parameter of the fifth action attribute information; the first information is further used for receiving the first information, and a first time parameter in the first information is obtained; judging whether the first time parameter is matched with the fifth time parameter; when the judgment result is that the first time parameter and the fifth time parameter are matched, determining that the first information meets a second preset condition, and sending fifth indication information to the first terminal 91; the fifth indication information is used for indicating that the first information meets a second preset condition.
In an embodiment, the second terminal 92 is further configured to send an authorized time of the account to the first terminal 91, so that the first terminal 91 performs login of the account according to the authorized time.
In an embodiment, the second terminal 92 is further configured to send login status information of the account to the first terminal 91, so that the first terminal 91 performs login of the account based on the login status information.
Based on the system, the embodiment of the invention also provides a terminal, wherein the terminal is used as a first terminal 91 of an authorized account applicant; the first terminal 91 in this embodiment may refer to the first terminal in the fifth embodiment and the description of fig. 7. And will not be described in detail herein.
Based on the information processing system, the embodiment of the invention further provides a terminal, which is used as a second terminal 92 of an authorized account owner. Fig. 13 is a schematic structural diagram of a second terminal according to an eighth embodiment of the present invention; as shown in fig. 13, the terminal includes: a fourth communication unit 921, a fourth motion sensing unit 922, and a fourth control unit 923; wherein,
the fourth communication unit 921 is configured to receive an account authorization request, send a confirmation response, and enable the fourth action sensing unit 922; the account authorization request is used for another terminal to request the authorization login of the terminal account; the first information is also received; the fourth control unit 923 is further configured to send fifth indication information when determining that the first information satisfies a second preset condition; the fifth indication information is used for indicating that the first information meets a second preset condition;
the fourth motion sensing unit 922 is configured to detect fifth motion attribute information, where the fifth motion attribute information represents a state change of the terminal;
the fourth control unit 923 is configured to detect whether the fifth motion attribute information satisfies a fifth preset condition, and obtain a fifth time parameter of the fifth motion attribute information when determining that the fifth motion attribute information satisfies the fifth preset condition; the first time parameter is also used for obtaining the first information; judging whether the first time parameter is matched with the fifth time parameter to obtain a third judgment result; and when the third judgment result is that the first time parameter and the fifth time parameter are matched, determining that the first information meets a second preset condition.
In an implementation manner, the fourth communication unit 921 is further configured to send an authorization time of the account, so that the other terminal performs login of the account according to the authorization time.
In an embodiment, the fourth communication unit 921 is further configured to send login status information of the account, so that the other terminal performs login of the account based on the login status information.
In the embodiment of the present invention, the fourth control unit in the second terminal may be implemented by a CPU, a DSP, or an FPGA in the terminal in practical application; the fourth communication unit in the second terminal can be realized by a transceiving antenna in the terminal in practical application; the fourth motion sensing unit in the second terminal may be implemented by an acceleration sensor and/or a magnetometer sensor in the terminal in practical applications.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (33)

the third communication unit is used for obtaining and forwarding the account authorization request and obtaining and forwarding the response of the characterization confirmation; the account authorization request is used for the first terminal to request the authorization login of the account of the second terminal; the first information and the third information are respectively received; the third control unit is further configured to send first indication information and second indication information when the third control unit determines that the first information and the third information both satisfy a second preset condition; the first indication information is used for indicating that the first information meets a second preset condition; the second indication information is used for indicating that the third information meets a second preset condition; the first information is generated based on a first time parameter of a first action attribute when the first terminal detects the first action attribute meeting a first preset condition; the third information is generated based on a third time parameter of third action attribute information when the second terminal detects the third action attribute information meeting a fourth preset condition;
the fourth control unit is configured to detect whether the fifth action attribute information meets a fifth preset condition, and obtain a fifth time parameter of the fifth action attribute information when determining that the fifth action attribute information meets the fifth preset condition; the first time parameter is also used for obtaining the first information; judging whether the first time parameter is matched with the fifth time parameter to obtain a third judgment result; and when the third judgment result is that the first time parameter and the fifth time parameter are matched, determining that the first information meets a second preset condition, wherein the first information is generated based on a first time parameter of first action attribute information when the first terminal detects the first action attribute information meeting the first preset condition.
CN201510712984.0A2015-10-282015-10-28Information processing method, system, terminal and serverActiveCN105245544B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510712984.0ACN105245544B (en)2015-10-282015-10-28Information processing method, system, terminal and server

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510712984.0ACN105245544B (en)2015-10-282015-10-28Information processing method, system, terminal and server

Publications (2)

Publication NumberPublication Date
CN105245544A CN105245544A (en)2016-01-13
CN105245544Btrue CN105245544B (en)2020-03-17

Family

ID=55043044

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510712984.0AActiveCN105245544B (en)2015-10-282015-10-28Information processing method, system, terminal and server

Country Status (1)

CountryLink
CN (1)CN105245544B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115334131A (en)*2022-07-282022-11-11深圳拓邦股份有限公司Usage control method of device, computer device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP1800451A1 (en)*2004-10-052007-06-27Koninklijke Philips Electronics N.V.Method of establishing security permissions
CN102714515A (en)*2010-01-222012-10-03三星电子株式会社 Device and method for motion detection in mobile communication terminal
CN103793420A (en)*2012-10-312014-05-14国际商业机器公司Cross-site data analysis method and system
CN104007929A (en)*2014-05-262014-08-27南京泰锐斯通信科技有限公司Gesture recognition based mobile terminal unlocking method and mobile terminal
CN105072079A (en)*2015-06-302015-11-18小米科技有限责任公司Account logon method, account logon device and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060077431A1 (en)*2004-10-082006-04-13Sharp Laboratories Of America, Inc.Methods and systems for imaging device concurrent account use

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP1800451A1 (en)*2004-10-052007-06-27Koninklijke Philips Electronics N.V.Method of establishing security permissions
CN102714515A (en)*2010-01-222012-10-03三星电子株式会社 Device and method for motion detection in mobile communication terminal
CN103793420A (en)*2012-10-312014-05-14国际商业机器公司Cross-site data analysis method and system
CN104007929A (en)*2014-05-262014-08-27南京泰锐斯通信科技有限公司Gesture recognition based mobile terminal unlocking method and mobile terminal
CN105072079A (en)*2015-06-302015-11-18小米科技有限责任公司Account logon method, account logon device and terminal device

Also Published As

Publication numberPublication date
CN105245544A (en)2016-01-13

Similar Documents

PublicationPublication DateTitle
US11861396B2 (en)Mechanisms for conserving resources of wearable devices
EP3225008B1 (en)User-authentication-based approval of a first device via communication with a second device
US20160345368A1 (en)Multi-device pairing and provisioning
US9800714B2 (en)Control method, information processing device, and storage medium
JP2014518038A5 (en)
RU2016103107A (en) KEY DEVICE, METHOD FOR WORKING SUCH DEVICE AND SOFTWARE PRODUCT
JP2006174423A5 (en)
CN104426835B (en)Login detection method, server, login detection device and system
US20160180797A1 (en)Multi-user sensor-based interactions
EP3104658B1 (en)Operation environment setting system for electronic device and program for setting operation environment
JP2017534112A (en) Verification method and apparatus
JP2017085419A5 (en) Information processing apparatus, information terminal control method, and program
CN105245544B (en)Information processing method, system, terminal and server
US11159509B2 (en)Method and communication devices for extending log-in to multiple communication devices
JP5195496B2 (en) Authentication target device and key, and wireless authentication system
CN107172718B (en)Information processing method and electronic equipment
CN105429947B (en)Information processing method, system, terminal and server
KR20180081496A (en) Establish a shared secret between the first communication device and the at least one second communication device
CN109714466A (en)Dynamic cipher verification processing method, device and its mobile terminal
EP4376355A1 (en)Secure communications and authenticity validation of a third-party device
US9041516B2 (en)Context aware detection and mobile platform wake
CN105451304A (en)Information processing method and router
WO2015052120A1 (en)Method and system for detection and identification of a wearable device
JP2018081478A (en)Sensor network system and authentication method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp