CN105049407A - Login method and login device - Google Patents

Login method and login device Download PDF

Info

Publication number
CN105049407A
CN105049407A CN201510282940.9A CN201510282940A CN105049407A CN 105049407 A CN105049407 A CN 105049407A CN 201510282940 A CN201510282940 A CN 201510282940A CN 105049407 A CN105049407 A CN 105049407A
Authority
CN
China
Prior art keywords
data message
terminal
information
message
cipher
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510282940.9A
Other languages
Chinese (zh)
Inventor
袁小欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Longrise Technology Co Ltd
Original Assignee
Shenzhen Longrise Technology 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 Shenzhen Longrise Technology Co Ltd filed Critical Shenzhen Longrise Technology Co Ltd
Priority to CN201510282940.9A priority Critical patent/CN105049407A/en
Publication of CN105049407A publication Critical patent/CN105049407A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a login method. The login method comprises the steps that a terminal generates ciphertext information according to login information when the terminal receives the login information and stays at a state of not being connected to the internet; whether the generated ciphertext information is consistent with prestored ciphertext information or not is determined; the terminal is controlled to enter an off-line login state when the generated ciphertext information is not consistent with the prestored ciphertext information; the terminal stores received data information when receiving the data information inputted at the off-line login state; and the stored data information is uploaded to a preset server when the terminal establishes communication connection with the preset server. The invention further discloses a login device. According to the login method and the login device provided by the invention, the terminal can still complete authentication for the login information according to the preset ciphertext information when an environment, wherein the terminal is currently located, has no network signals or is poor in network signals, thereby ensuring that the terminal can still enter the off-line login state when the environment, where the terminal is currently located, has no network signals or is poor in network signals.

Description

Login method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of login method and device.
Background technology
When business personnel is based on terminal transacting business, general needs first input log-on message (comprising username and password etc.) in terminal, the log-on message received is sent to server by network by terminal, for server, certification is carried out to log-on message, and after certification is passed through, feedback certification by information to terminal, terminal receive certification by information after, business personnel could typing is relevant in terminal business datum.At present, a lot of business personnel provides and makes house calls, and to carry with mobile terminal be client's transacting business, when the environment at the current place of terminal does not have network signal or network signal is poor, the log-on message received can not be sent to server by terminal, server cannot complete the certification to log-on message, and namely business personnel cannot complete login based on terminal, thus cause business personnel cannot in terminal typing business datum.
Summary of the invention
Main purpose of the present invention is to provide a kind of login method and device, is intended to solve when the environment at the current place of terminal does not have network signal or network signal is poor, and business personnel cannot complete the technical problem of login based on terminal.
Login method provided by the invention comprises:
Log-on message is received in terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information;
Determine that whether the described cipher-text information generated is consistent with the cipher-text information prestored;
When the described cipher-text information generated is consistent with the described cipher-text information prestored, controls described terminal and enter off-line logging status;
When terminal receives the data message inputted under off-line logging status, preserve the described data message received;
When terminal and preset service device establish a communications link, the described data message preserved is uploaded to described preset service device.
Preferably, described login method also comprises:
Receive log-on message in terminal, and when terminal is in networking state, the log-on message of reception is sent to preset service device, pass through information for described preset service device according to the log-on message return authentication received;
When terminal receives certification that preset service device returns by information, search and whether prestore with described certification by cipher-text information corresponding to information;
When not finding with described certification by the cipher-text information prestored that information is corresponding, according to described certification by log-on message generating ciphertext information corresponding to information;
Described certification to be associated with the described cipher-text information of generation by information and preserves.
Preferably, described when terminal receives the data message inputted under off-line logging status, the step of preserving the described data message received comprises:
When terminal receives the data message inputted under off-line logging status, described data message is encrypted;
Preserve the described data message through encryption.
Preferably, described preservation comprises through the step of the described data message of encryption:
Judge whether to there is the file corresponding with described data message;
When there is the file corresponding with described data message, described data message is saved in the file corresponding with described data message;
When there is not the file corresponding with described data message, create the file corresponding with described data message, and by described data information memory in the described file created.
Preferably, described when terminal and preset service device establish a communications link, after the described data message preserved is uploaded to the step of described preset service device, described login method also comprises:
After described data message has been uploaded, delete the described data message uploaded preserved in described terminal.
In addition, entering device provided by the invention comprises:
First generation module, for receiving log-on message in terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information;
Determination module, whether consistent with the cipher-text information prestored for determining the described cipher-text information generated;
Control module, for when the described cipher-text information generated is consistent with the described cipher-text information prestored, controls described terminal and enters off-line logging status;
First preserves module, during for receiving the data message inputted under off-line logging status in terminal, preserves the described data message received;
Upper transmission module, for when terminal and preset service device establish a communications link, is uploaded to described preset service device by the described data message preserved.
Preferably, described entering device also comprises:
Sending module, for receiving log-on message in terminal, and when terminal is in networking state, is sent to preset service device by the log-on message of reception, passes through information for described preset service device according to the log-on message return authentication received;
Search module, during for receiving certification that preset service device returns in terminal by information, searching and whether prestoring with described certification by cipher-text information corresponding to information;
Second generation module, for when not finding with described certification by the cipher-text information prestored that information is corresponding, according to described certification by log-on message generating ciphertext information corresponding to information;
Second preserves module, preserves for described certification being associated with the described cipher-text information of generation by information.
Preferably, described first preservation module comprises:
Ciphering unit, during for receiving the data message inputted under off-line logging status in terminal, is encrypted described data message;
Storage unit, for preserving the described data message through encryption.
Preferably, described storage unit comprises:
, there is the file corresponding with described data message for judging whether in judgment sub-unit;
Preserving subelement, for when there is the file corresponding with described data message, described data message being saved in the file corresponding with described data message;
Creating subelement, for when there is not the file corresponding with described data message, creating the file corresponding with described data message, and by described data information memory in the described file created.
Preferably, described entering device also comprises:
Removing module, for after described data message has been uploaded, has deleted the described data message uploaded preserved in described terminal.
Login method provided by the invention and device, receiving log-on message by terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information; And determine that whether the described cipher-text information generated is consistent with the cipher-text information prestored; When the described cipher-text information generated is consistent with the cipher-text information prestored, controls described terminal and enter off-line logging status; When terminal receives the data message inputted under off-line logging status, preserve the described data message received; When terminal and preset service device establish a communications link, the described data message preserved is uploaded to described preset service device, even if thus the environment at the current place of terminal do not have network signal or network signal poor time, terminal still can complete the certification to log-on message according to the cipher-text information prestored, so ensure that the environment at the current place of terminal do not have network signal or network signal poor time still can enter off-line logging status.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of login method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of login method second embodiment of the present invention;
Fig. 3 is the refinement schematic flow sheet preserving data message step in login method of the present invention;
Fig. 4 is the schematic flow sheet of login method of the present invention 3rd embodiment;
Fig. 5 is the high-level schematic functional block diagram of entering device first embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of entering device second embodiment of the present invention;
Fig. 7 is the refinement high-level schematic functional block diagram of the first preservation module in entering device of the present invention;
Fig. 8 is the high-level schematic functional block diagram of entering device of the present invention 3rd embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of login method, handle insurance business personnel, in the process of the business such as bank, general needs first logs in corresponding APP software based on terminal, then based on this APP software typing data message relevant to client.Login method provided by the invention can be applied in above-mentioned login link.When business personnel's transacting business, need in a lot of situation to go to client location to handle corresponding business by means of mobile terminal, therefore, the terminal in the present invention is preferably mobile terminal.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are login method first embodiment of the present invention, the login method that the present invention proposes comprises:
Step S10, receives log-on message in terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information;
In the present embodiment, when user is based on above-mentioned APP software input username and password, namely can be considered that terminal have received log-on message; Or when user to carry out checking (such as the brush identity card or brush identification card) of fingerprint authentication or other modes based on above-mentioned APP software, also can be considered that terminal have received log-on message.Preferably, can according to predetermined encryption algorithm according to described log-on message generating ciphertext information.Predetermined encryption algorithm can be selected according to actual needs, in this no limit.
In the present embodiment, terminal is current do not access any network time, namely can be considered that end is in failed cluster state; Or when terminal does not establish a communications link with preset service device, namely can be considered that end is in failed cluster state.
Step S20, determines that whether the described cipher-text information generated is consistent with the cipher-text information prestored;
In the present embodiment, following two kinds of mode generating ciphertext information can be adopted:
Mode one, all log-on messages with logon rights can be pre-set based on above-mentioned APP software, such as, above-mentioned APP software can provide one to arrange control, user trigger this control is set time, then APP software provides one to arrange interface, for user based on arranging all default log-on messages with logon rights of interface input, when terminal receives default log-on message, respectively each default log-on message is encrypted according to predetermined encryption algorithm, to generate and to preserve cipher-text information, each default log-on message correspondence preserves a cipher-text information.
Mode two, described login method also comprises:
Receive log-on message in terminal, and when terminal is in networking state, the log-on message of reception is sent to preset service device, pass through information for described preset service device according to the log-on message return authentication received;
When terminal receives certification that preset service device returns by information, search and whether prestore with described certification by cipher-text information corresponding to information;
In the present embodiment, log-on message is inputted to terminal user, and terminal and server are when establishing communication connection, terminal can send the authentication request corresponding with the log-on message received based on the communication connection of setting up to server, server is when receiving authentication request, certification is carried out to the log-on message corresponding with authentication request, and certification by time pass through information to terminal return authentication.When terminal receives certification that server sends by information at every turn, all first judge whether to prestore in terminal with certification by cipher-text information corresponding to information.
It should be noted that except performing above-mentioned step of searching with described certification by the cipher-text information prestored corresponding to information, terminal also enters logging status simultaneously when terminal receives certification that server sends by information.
When not finding with described certification by the cipher-text information prestored that information is corresponding, generate described cipher-text information according to described certification by the log-on message that information is corresponding; In the present embodiment, when not finding with described certification by the cipher-text information prestored that information is corresponding, first obtain and pass through log-on message corresponding to information with described certification, and then according to predetermined encryption algorithm, the log-on message obtained is encrypted, with generating ciphertext information.
Described certification to be associated with the described cipher-text information of generation by information and preserves, that is, when preserving cipher-text information, set up certification by the one-to-one relationship between information and cipher-text information.The log-on message of above-mentioned acquisition can also be associated with described cipher-text information and preserve.
It should be noted that terminal is current to prestore with described certification by cipher-text information that information is corresponding time, then do not do any process.
Such as, if user A first time is when logging in based on terminal, it is to terminal input log-on message A, terminal receive server send the certification corresponding with log-on message A by information A time, because user A first time logs in, therefore currently in terminal the cipher-text information corresponding with log-on message A is not prestored, therefore can not find with the certification of user A by the cipher-text information prestored corresponding to information A, terminal will based on log-on message A generating ciphertext information A, and certification to be associated with cipher-text information A by information A or log-on message A and preserve.When user A logs in based on terminal again, it is to terminal input log-on message A, terminal receive server send the certification corresponding with log-on message A by information A time, because user A is for again to log in, therefore currently in terminal the cipher-text information corresponding with log-on message A is prestored, therefore can find with the certification of user A by the cipher-text information prestored corresponding to information A, thus do not need again according to certification by information A generating ciphertext information A.
In the present embodiment, when whether the described cipher-text information determining to generate is consistent with the cipher-text information prestored, whether identical with the cipher-text information prestored by judging the described cipher-text information generated, when identical, can think that the described cipher-text information generated is consistent with the cipher-text information prestored; When not identical, can think that the described cipher-text information generated is inconsistent with the cipher-text information prestored.
Step S30, when the described cipher-text information generated is consistent with the described cipher-text information prestored, controls described terminal and enters off-line logging status.
In the present embodiment, when terminal enters off-line logging status based on above-mentioned APP software, the data message that user can be correlated with based on above-mentioned APP software incoming traffic.Under networking logging status, the data message of reception, when receiving data message, is uploaded to preset service device by direct by network by APP software.With networking logging status unlike, under off-line logging status, APP software is when receiving data message, the data message received will be preserved, generate and save as temporal data information, when terminal being detected and preset service device establishes a communications link, then the temporal data information of preservation is uploaded to preset service device.
It should be noted that then terminal can not enter off-line logging status when the described cipher-text information generated and the cipher-text information prestored are inconsistent.
Login method provided by the invention, is receiving log-on message by terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information; And determine that whether the described cipher-text information generated is consistent with the cipher-text information prestored; When the described cipher-text information generated is consistent with the described cipher-text information prestored, control described terminal and enter off-line logging status, even if thus the environment at the current place of terminal do not have network signal or network signal poor time, terminal still can complete the certification to log-on message according to the cipher-text information prestored, so ensure that the environment at the current place of terminal do not have network signal or network signal poor time still can enter off-line logging status.
Further, based on the first embodiment of login method of the present invention, the invention allows for the second embodiment of login method, be the schematic flow sheet of login method second embodiment of the present invention with reference to Fig. 2, Fig. 2, after step S30, described login method also comprises:
Step S40, when terminal receives the data message inputted under off-line logging status, preserves the described data message received;
In the present embodiment, when terminal enters off-line logging status based on above-mentioned APP software, the data message that user can be correlated with based on above-mentioned APP software incoming traffic.When terminal receives the data message based on the input of APP software under off-line logging status, the data message received is preserved.
Reference Fig. 3, Fig. 3 are the refinement schematic flow sheet preserving data message step in login method of the present invention, and step S40 comprises:
Step S41, when terminal receives the data message inputted under off-line logging status, is encrypted described data message;
Preferably, be encrypted data message according to the cryptographic algorithm preset, the present embodiment by being encrypted data message, thus improves the fail safe of data.
Step S42, preserves the described data message through encryption.
Preferably, when preserving above-mentioned data message, generally preserve above-mentioned data message in the form of a file, be described for insurance business, the number of policy corresponding according to current insurance business can be named by data message file, or the number of policy corresponding according to current insurance business and date are named data message file, or name data message file according to current date.
More preferably, for each insurance business, it may corresponding multiple data message file, therefore, each insurance business corresponding can set up a file, and all data message files corresponding to this insurance business all can be stored in this file.That is, step S42 comprises:
Judge whether to there is the file corresponding with described data message;
Preferably, the file whether existing and name according to the policy information corresponding with described data message and/or temporal information can be searched.Such as, the file whether existing and name according to the number of policy corresponding with described data message can be searched, or search the file whether existing and name according to the number of policy corresponding with described data message and temporal information, or search the file whether existing and name according to the temporal information corresponding with described data message.When finding the file meeting above-mentioned condition, then think to there is the file corresponding with described data message; When not finding the file meeting above-mentioned condition, then not think to there is the file corresponding with described data message.
When there is the file corresponding with described data message, described data message is saved in the file corresponding with described data message;
When there is not the file corresponding with described data message, create the file corresponding with described data message, and by described data information memory in the described file created;
In the present embodiment, a file named with above-mentioned number of policy can be created in the preset path of terminal.
In the present embodiment, after generation encryption photo, the number of policy corresponding according to APP software current place business determines corresponding file, and be saved to by the data message of generation in the file determined, thus all data messages preserved in each file are made to be the corresponding data message corresponding to number of policy.
In the present embodiment, if a certain insurance business needs corresponding establishment eight parts of data message files, after first part of data message file encryption completes, not yet the file corresponding with this photo is created due to current, therefore the file corresponding with this data message file can not be found, therefore perform and create the file corresponding with described data message, and by described data information memory to the step in the described file created, by file corresponding with this data message for establishment one, the file of the present embodiment is described with the number of policy called after example corresponding according to current insurance business, namely the file of current establishment is named with the number of policy that current insurance business is corresponding.After second part of data message file encryption that current insurance business is corresponding completes, the file of the number of policy name corresponding with current data information can be found, therefore, the data message file second part of encryption completed is stored in this file, by that analogy, till the 8th part of data message file storage completes.
Step S50, when terminal and preset service device establish a communications link, is uploaded to described preset service device by the described data message preserved.
In the present embodiment, whether terminal can detect in real time and establish a communications link with preset service device, terminal detect establish communication connection with preset service device time, then the automatic data message by preservation is uploaded to preset service device, or is uploaded to preset service device after automatically being packed by file corresponding for the data message of preservation; Or, can also when receiving the uploading instructions based on described file, described file packing is uploaded to preset service device, such as, one uploading control can be set, choosing a certain file, and when triggering above-mentioned uploading control, namely can be considered the uploading instructions that have received based on this file, or when browsing this file based on APP software, long by this file, a upload interface can be ejected, a uploading control can being set in upload interface, when triggering this uploading control, namely can be considered the uploading instructions that have received based on this file.Can when receiving uploading instructions, first file corresponding for this uploading instructions is compressed, and then the file after compression is uploaded to preset service device, or, after all can generating determining all data messages corresponding to described file, automatically this file can being clamped contracting, when receiving uploading instructions, then the file after compression being uploaded to preset service device.
Further, based on the second embodiment of login method of the present invention, the invention allows for the 3rd embodiment of login method, be the schematic flow sheet of login method of the present invention 3rd embodiment with reference to Fig. 4, Fig. 4, after step S50, described login method also comprises:
Step S60, after described data message has been uploaded, has deleted the described data message uploaded preserved in described terminal.
In the present embodiment, when data message uploads onto the server, this data message is deleted; Or be packed in file at data message, and when uploading onto the server with the form of file packing, when file then after this packing compression has been uploaded, the file after this packing being compressed is deleted, namely can be considered delete preservation in terminal complete the data message uploaded.The present embodiment has completed by deleting the data message uploaded, thus prevents data message to be leaked out by terminal further, further increases the fail safe of terminal when the business of process.
The present invention further provides a kind of entering device.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are entering device first embodiment of the present invention, entering device provided by the invention comprises:
First generation module 10, for receiving log-on message in terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information;
In the present embodiment, when user is based on above-mentioned APP software input username and password, namely can be considered that terminal have received log-on message; Or when user to carry out checking (such as the brush identity card or brush identification card) of fingerprint authentication or other modes based on above-mentioned APP software, also can be considered that terminal have received log-on message.Preferably, can according to predetermined encryption algorithm according to described log-on message generating ciphertext information.Predetermined encryption algorithm can be selected according to actual needs, in this no limit.
In the present embodiment, terminal is current do not access any network time, namely can be considered that end is in failed cluster state; Or when terminal does not establish a communications link with preset service device, namely can be considered that end is in failed cluster state.
Determination module 20, whether consistent with the cipher-text information prestored for determining the described cipher-text information generated;
In the present embodiment, following two kinds of mode generating ciphertext information can be adopted:
Mode one, all log-on messages with logon rights can be pre-set based on above-mentioned APP software, such as, above-mentioned APP software can provide one to arrange control, user trigger this control is set time, then APP software provides one to arrange interface, for user based on arranging all default log-on messages with logon rights of interface input, when terminal receives default log-on message, respectively each default log-on message is encrypted according to predetermined encryption algorithm, to generate and to preserve cipher-text information, each default log-on message correspondence preserves a cipher-text information.
Mode two, described entering device also comprises:
Sending module, for receiving log-on message in terminal, and when terminal is in networking state, is sent to preset service device by the log-on message of reception, passes through information for described preset service device according to the log-on message return authentication received;
Search module, during for receiving certification that preset service device returns in terminal by information, searching and whether prestoring with described certification by cipher-text information corresponding to information;
In the present embodiment, log-on message is inputted to terminal user, and terminal and server are when establishing communication connection, terminal can send the authentication request corresponding with the log-on message received based on the communication connection of setting up to server, server is when receiving authentication request, certification is carried out to the log-on message corresponding with authentication request, and certification by time pass through information to terminal return authentication.When terminal receives certification that server sends by information at every turn, all first judge whether to prestore in terminal with certification by cipher-text information corresponding to information.
It should be noted that except performing above-mentioned step of searching with described certification by the cipher-text information prestored corresponding to information, terminal also enters logging status simultaneously when terminal receives certification that server sends by information.
Second generation module, for when not finding with described certification by the cipher-text information prestored that information is corresponding, according to described certification by log-on message generating ciphertext information corresponding to information; In the present embodiment, when not finding with described certification by the cipher-text information prestored that information is corresponding, first obtain and pass through log-on message corresponding to information with described certification, and then according to predetermined encryption algorithm, the log-on message obtained is encrypted, with generating ciphertext information.
Second preserves module, preserves for described certification associate with the described cipher-text information of generation by information, that is, when the default cipher-text information of preservation, set up certification by the one-to-one relationship between information and cipher-text information.The log-on message of above-mentioned acquisition can also be associated with described cipher-text information and preserve.
It should be noted that terminal is current to prestore with described certification by cipher-text information that information is corresponding time, then do not do any process.
Such as, if user A first time is when logging in based on terminal, it is to terminal input log-on message A, terminal receive server send the certification corresponding with log-on message A by information A time, because user A first time logs in, therefore currently in terminal the cipher-text information corresponding with log-on message A is not prestored, therefore can not find with the certification of user A by the cipher-text information prestored corresponding to information A, terminal will based on log-on message A generating ciphertext information A, and certification to be associated with cipher-text information A by information A or log-on message A and preserve.When user A logs in based on terminal again, it is to terminal input log-on message A, terminal receive server send the certification corresponding with log-on message A by information A time, because user A is for again to log in, therefore currently in terminal the cipher-text information corresponding with log-on message A is prestored, therefore can find with the certification of user A by the cipher-text information prestored corresponding to information A, thus do not need again according to certification by information A generating ciphertext information A.
In the present embodiment, when whether the described cipher-text information determining to generate is consistent with the cipher-text information prestored, whether identical with the cipher-text information prestored by judging the described cipher-text information generated, when identical, can think that the described cipher-text information generated is consistent with the cipher-text information prestored; When not identical, can think that the described cipher-text information generated is inconsistent with the cipher-text information prestored.
Control module 30, for when the described cipher-text information generated is consistent with the described cipher-text information prestored, controls described terminal and enters off-line logging status.
In the present embodiment, when terminal enters off-line logging status based on above-mentioned APP software, the data message that user can be correlated with based on above-mentioned APP software incoming traffic.Under networking logging status, the data message of reception, when receiving data message, is uploaded to preset service device by direct by network by APP software.With networking logging status unlike, under off-line logging status, APP software is when receiving data message, the data message received will be preserved, generate and save as temporal data information, when terminal being detected and preset service device establishes a communications link, then the temporal data information of preservation is uploaded to preset service device.
It should be noted that then terminal can not enter off-line logging status when the described cipher-text information generated and the cipher-text information prestored are inconsistent.
Entering device provided by the invention, is receiving log-on message by terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information; And determine that whether the described cipher-text information generated is consistent with the cipher-text information prestored; When the described cipher-text information generated is consistent with the described cipher-text information prestored, control described terminal and enter off-line logging status, even if thus the environment at the current place of terminal do not have network signal or network signal poor time, terminal still can complete the certification to log-on message according to the cipher-text information prestored, so ensure that the environment at the current place of terminal do not have network signal or network signal poor time still can enter off-line logging status.
Further, based on the first embodiment of entering device of the present invention, the invention allows for the second embodiment of entering device, be the high-level schematic functional block diagram of entering device second embodiment of the present invention with reference to Fig. 6, Fig. 6, described entering device also comprises:
First preserves module 40, during for receiving the data message inputted under off-line logging status in terminal, preserves the described data message received;
In the present embodiment, when terminal enters off-line logging status based on above-mentioned APP software, the data message that user can be correlated with based on above-mentioned APP software incoming traffic.When terminal receives the data message based on the input of APP software under off-line logging status, the data message received is preserved.
With reference to the refinement high-level schematic functional block diagram that Fig. 7, Fig. 7 are the first preservation module in entering device of the present invention, first preserves module 40 comprises:
Ciphering unit 41, during for receiving the data message inputted under off-line logging status in terminal, is encrypted described data message; Preferably, be encrypted data message according to the cryptographic algorithm preset, the present embodiment by being encrypted data message, thus improves the fail safe of data.
Storage unit 42, for preserving the described data message through encryption.
Preferably, when preserving above-mentioned data message, generally preserve above-mentioned data message in the form of a file, be described for insurance business, the number of policy corresponding according to current insurance business can be named by data message file, or the number of policy corresponding according to current insurance business and date are named data message file, or name data message file according to current date.
More preferably, for each insurance business, it may corresponding multiple data message file, therefore, each insurance business corresponding can set up a file, and all data message files corresponding to this insurance business all can be stored in this file.That is, storage unit 42 comprises:
, there is the file corresponding with described data message for judging whether in judgment sub-unit;
Preferably, the file whether existing and name according to the policy information corresponding with described data message and/or temporal information can be searched.Such as, the file whether existing and name according to the number of policy corresponding with described data message can be searched, or search the file whether existing and name according to the number of policy corresponding with described data message and temporal information, or search the file whether existing and name according to the temporal information corresponding with described data message.When finding the file meeting above-mentioned condition, then think to there is the file corresponding with described data message; When not finding the file meeting above-mentioned condition, then not think to there is the file corresponding with described data message.
Preserving subelement, for when there is the file corresponding with described data message, described data message being saved in the file corresponding with described data message;
Creating subelement, for when there is not the file corresponding with described data message, creating the file corresponding with described data message, and by described data information memory in the described file created;
In the present embodiment, a file named with above-mentioned number of policy can be created in the preset path of terminal.
In the present embodiment, after generation encryption photo, the number of policy corresponding according to APP software current place business determines corresponding file, and be saved to by the data message of generation in the file determined, thus all data messages preserved in each file are made to be the corresponding data message corresponding to number of policy.
In the present embodiment, if a certain insurance business needs corresponding establishment eight parts of data message files, after first part of data message file encryption completes, not yet the file corresponding with this photo is created due to current, therefore the file corresponding with this data message file can not be found, therefore perform and create the file corresponding with described data message, and by described data information memory to the step in the described file created, by file corresponding with this data message for establishment one, the file of the present embodiment is described with the number of policy called after example corresponding according to current insurance business, namely the file of current establishment is named with the number of policy that current insurance business is corresponding.After second part of data message file encryption that current insurance business is corresponding completes, the file of the number of policy name corresponding with current data information can be found, therefore, the data message file second part of encryption completed is stored in this file, by that analogy, till the 8th part of data message file storage completes.
Upper transmission module 50, for when terminal and preset service device establish a communications link, is uploaded to described preset service device by the described data message preserved.
In the present embodiment, whether terminal can detect in real time and establish a communications link with preset service device, terminal detect establish communication connection with preset service device time, then the automatic data message by preservation is uploaded to preset service device, or is uploaded to preset service device after automatically being packed by file corresponding for the data message of preservation; Or, can also when receiving the uploading instructions based on described file, described file packing is uploaded to preset service device, such as, one uploading control can be set, choosing a certain file, and when triggering above-mentioned uploading control, namely can be considered the uploading instructions that have received based on this file, or when browsing this file based on APP software, long by this file, a upload interface can be ejected, a uploading control can being set in upload interface, when triggering this uploading control, namely can be considered the uploading instructions that have received based on this file.Can when receiving uploading instructions, first file corresponding for this uploading instructions is compressed, and then the file after compression is uploaded to preset service device, or, after all can generating determining all data messages corresponding to described file, automatically this file can being clamped contracting, when receiving uploading instructions, then the file after compression being uploaded to preset service device.
Further, based on the second embodiment of entering device of the present invention, the invention allows for the 3rd embodiment of entering device, be the high-level schematic functional block diagram of entering device of the present invention 3rd embodiment with reference to Fig. 8, Fig. 8, described entering device also comprises:
Removing module 60, for after described data message has been uploaded, has deleted the described data message uploaded preserved in described terminal.
In the present embodiment, when data message uploads onto the server, this data message is deleted; Or be packed in file at data message, and when uploading onto the server with the form of file packing, when file then after this packing compression has been uploaded, the file after this packing being compressed is deleted, namely can be considered delete preservation in terminal complete the data message uploaded.The present embodiment has completed by deleting the data message uploaded, thus prevents data message to be leaked out by terminal further, further increases the fail safe of terminal when the business of process.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a login method, is characterized in that, described login method comprises:
Log-on message is received in terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information;
Determine that whether the described cipher-text information generated is consistent with the cipher-text information prestored;
When the described cipher-text information generated is consistent with the described cipher-text information prestored, controls described terminal and enter off-line logging status;
When terminal receives the data message inputted under off-line logging status, preserve the described data message received;
When terminal and preset service device establish a communications link, the described data message preserved is uploaded to described preset service device.
2. login method as claimed in claim 1, it is characterized in that, described login method also comprises:
Receive log-on message in terminal, and when terminal is in networking state, the log-on message of reception is sent to preset service device, pass through information for described preset service device according to the log-on message return authentication received;
When terminal receives certification that preset service device returns by information, search and whether prestore with described certification by cipher-text information corresponding to information;
When not finding with described certification by the cipher-text information prestored that information is corresponding, according to described certification by log-on message generating ciphertext information corresponding to information;
Described certification to be associated with the described cipher-text information of generation by information and preserves.
3. login method as claimed in claim 1, is characterized in that, described when terminal receives the data message inputted under off-line logging status, and the step of preserving the described data message received comprises:
When terminal receives the data message inputted under off-line logging status, described data message is encrypted;
Preserve the described data message through encryption.
4. login method as claimed in claim 3, it is characterized in that, described preservation comprises through the step of the described data message of encryption:
Judge whether to there is the file corresponding with described data message;
When there is the file corresponding with described data message, described data message is saved in the file corresponding with described data message;
When there is not the file corresponding with described data message, create the file corresponding with described data message, and by described data information memory in the described file created.
5. the login method as described in any one of Claims 1-4, is characterized in that, described when terminal and preset service device establish a communications link, and after the described data message preserved is uploaded to the step of described preset service device, described login method also comprises:
After described data message has been uploaded, delete the described data message uploaded preserved in described terminal.
6. an entering device, is characterized in that, described entering device comprises:
First generation module, for receiving log-on message in terminal, and when terminal is in failed cluster state, according to described log-on message generating ciphertext information;
Determination module, whether consistent with the cipher-text information prestored for determining the described cipher-text information generated;
Control module, for when the described cipher-text information generated is consistent with the described cipher-text information prestored, controls described terminal and enters off-line logging status;
First preserves module, during for receiving the data message inputted under off-line logging status in terminal, preserves the described data message received;
Upper transmission module, for when terminal and preset service device establish a communications link, is uploaded to described preset service device by the described data message preserved.
7. entering device as claimed in claim 6, it is characterized in that, described entering device also comprises:
Sending module, for receiving log-on message in terminal, and when terminal is in networking state, is sent to preset service device by the log-on message of reception, passes through information for described preset service device according to the log-on message return authentication received;
Search module, during for receiving certification that preset service device returns in terminal by information, searching and whether prestoring with described certification by cipher-text information corresponding to information;
Second generation module, for when not finding with described certification by the cipher-text information prestored that information is corresponding, according to described certification by log-on message generating ciphertext information corresponding to information;
Second preserves module, preserves for described certification being associated with the described cipher-text information of generation by information.
8. entering device as claimed in claim 6, is characterized in that, described first preserves module comprises:
Ciphering unit, during for receiving the data message inputted under off-line logging status in terminal, is encrypted described data message;
Storage unit, for preserving the described data message through encryption.
9. entering device as claimed in claim 8, it is characterized in that, described storage unit comprises:
, there is the file corresponding with described data message for judging whether in judgment sub-unit;
Preserving subelement, for when there is the file corresponding with described data message, described data message being saved in the file corresponding with described data message;
Creating subelement, for when there is not the file corresponding with described data message, creating the file corresponding with described data message, and by described data information memory in the described file created.
10. the entering device as described in any one of claim 6 to 9, is characterized in that, described entering device also comprises:
Removing module, for after described data message has been uploaded, has deleted the described data message uploaded preserved in described terminal.
CN201510282940.9A 2015-05-28 2015-05-28 Login method and login device Pending CN105049407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510282940.9A CN105049407A (en) 2015-05-28 2015-05-28 Login method and login device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510282940.9A CN105049407A (en) 2015-05-28 2015-05-28 Login method and login device

Publications (1)

Publication Number Publication Date
CN105049407A true CN105049407A (en) 2015-11-11

Family

ID=54455618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510282940.9A Pending CN105049407A (en) 2015-05-28 2015-05-28 Login method and login device

Country Status (1)

Country Link
CN (1) CN105049407A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277047A (en) * 2017-07-25 2017-10-20 湖南中迪科技有限公司 Log-on message generation method and device
CN109347795A (en) * 2018-09-10 2019-02-15 广州视源电子科技股份有限公司 Login verification method, device, equipment and medium
CN109471865A (en) * 2018-11-06 2019-03-15 用友网络科技股份有限公司 A kind of off-line data management method, system, server and storage medium
CN109639692A (en) * 2018-12-20 2019-04-16 广州河东科技有限公司 Offline login method, device, equipment, system and storage medium
CN110751033A (en) * 2019-09-16 2020-02-04 平安科技(深圳)有限公司 Offline login method and related product
CN111314346A (en) * 2020-02-19 2020-06-19 中国第一汽车股份有限公司 Account login method and device and vehicle
WO2021051941A1 (en) * 2019-09-18 2021-03-25 平安科技(深圳)有限公司 Information processing method and apparatus
CN112632523A (en) * 2020-12-11 2021-04-09 航天信息股份有限公司 Offline login and working method and system of mobile terminal
CN114611079A (en) * 2022-02-18 2022-06-10 广州市玄武无线科技股份有限公司 Mobile terminal login method, device, equipment and storage medium
CN115809276A (en) * 2022-12-20 2023-03-17 镁佳(北京)科技有限公司 Vehicle personalized configuration management method, device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119333A (en) * 2007-09-19 2008-02-06 北京亿企通信息技术有限公司 Method to off-line examine history recording in instant communication instrument
CN101196895A (en) * 2006-12-07 2008-06-11 鸿富锦精密工业(深圳)有限公司 Electronic photo frame with automatic backup function and its automatic backup method
CN103023901A (en) * 2012-12-07 2013-04-03 北京网秦天下科技有限公司 Login method and login system of mobile terminal
CN103812902A (en) * 2012-11-13 2014-05-21 中国电信股份有限公司 Mobile terminal and offline working method and system by using same
US20150058306A1 (en) * 2013-08-26 2015-02-26 Vmware, Inc. Distributed transaction log

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196895A (en) * 2006-12-07 2008-06-11 鸿富锦精密工业(深圳)有限公司 Electronic photo frame with automatic backup function and its automatic backup method
CN101119333A (en) * 2007-09-19 2008-02-06 北京亿企通信息技术有限公司 Method to off-line examine history recording in instant communication instrument
CN103812902A (en) * 2012-11-13 2014-05-21 中国电信股份有限公司 Mobile terminal and offline working method and system by using same
CN103023901A (en) * 2012-12-07 2013-04-03 北京网秦天下科技有限公司 Login method and login system of mobile terminal
US20150058306A1 (en) * 2013-08-26 2015-02-26 Vmware, Inc. Distributed transaction log

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277047A (en) * 2017-07-25 2017-10-20 湖南中迪科技有限公司 Log-on message generation method and device
CN109347795A (en) * 2018-09-10 2019-02-15 广州视源电子科技股份有限公司 Login verification method, device, equipment and medium
CN109347795B (en) * 2018-09-10 2021-11-16 广州视源电子科技股份有限公司 Login verification method, device, system, equipment and medium
CN109471865B (en) * 2018-11-06 2020-12-08 用友网络科技股份有限公司 Offline data management method, system, server and storage medium
CN109471865A (en) * 2018-11-06 2019-03-15 用友网络科技股份有限公司 A kind of off-line data management method, system, server and storage medium
CN109639692A (en) * 2018-12-20 2019-04-16 广州河东科技有限公司 Offline login method, device, equipment, system and storage medium
CN109639692B (en) * 2018-12-20 2021-09-14 广州河东科技有限公司 Offline login method, device, equipment, system and storage medium
CN110751033A (en) * 2019-09-16 2020-02-04 平安科技(深圳)有限公司 Offline login method and related product
WO2021051941A1 (en) * 2019-09-18 2021-03-25 平安科技(深圳)有限公司 Information processing method and apparatus
CN111314346A (en) * 2020-02-19 2020-06-19 中国第一汽车股份有限公司 Account login method and device and vehicle
CN112632523A (en) * 2020-12-11 2021-04-09 航天信息股份有限公司 Offline login and working method and system of mobile terminal
CN112632523B (en) * 2020-12-11 2024-02-09 航天信息股份有限公司 Offline login and working method and system of mobile terminal
CN114611079A (en) * 2022-02-18 2022-06-10 广州市玄武无线科技股份有限公司 Mobile terminal login method, device, equipment and storage medium
CN115809276A (en) * 2022-12-20 2023-03-17 镁佳(北京)科技有限公司 Vehicle personalized configuration management method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN105049407A (en) Login method and login device
CN103067158B (en) Encrypting and decrypting method, encrypting and decrypting device and key management system
CN107086979B (en) User terminal verification login method and device
CN104967604A (en) Login method and login system
CN105376216A (en) Remote access method, agent server and client end
CN104834489A (en) Method for sharing cloud printer and cloud server and cloud printing system
CN104601590A (en) Login method, server and mobile terminal
CN105099704A (en) Biometric identification-based OAuth service
CN112055344B (en) Engineering machinery Bluetooth equipment identity authentication system and method
CN105450614A (en) Server account login method, apparatus and system
CN104967590A (en) Method, apparatus and system for transmitting communication message
CN109729000B (en) Instant messaging method and device
CN102143131B (en) User logout method and authentication server
CN105722072A (en) Business authorization method, device, system and router
US20160197921A1 (en) Secure Data Transmission System
CN105306210A (en) Method, device and system for realizing authorization through application
CN105516061A (en) Remote server access method and web server
CN104022878A (en) Film-mounted SIM card and corresponding application authentication system and authentication method
CN105828454A (en) Method for connecting network, device and WiFi routing equipment
CN108111486B (en) Method and device for avoiding repeated login
CN104618346A (en) Route check-based WIFI (Wireless Fidelity) network connection method and system
US10721115B2 (en) Content sharing method, terminal, server, and system
CN106453349A (en) An account number login method and apparatus
CN106339623B (en) Login method and device
CN108123918A (en) A kind of account authentication login method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518057 Shenzhen Software Park, Nanshan District high tech Industrial Park, Guangdong, China,, 6 401-402

Applicant after: Yongxing Shenzhen Polytron Technologies Inc

Address before: 518057 Shenzhen Software Park, Nanshan District high tech Industrial Park, Guangdong, China,, 6 401-402

Applicant before: Shenzhen Longrise Technology Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20151111

RJ01 Rejection of invention patent application after publication