CN104168258B - A kind of generation without password temporary account and application process thereof - Google Patents

A kind of generation without password temporary account and application process thereof Download PDF

Info

Publication number
CN104168258B
CN104168258B CN201410125980.8A CN201410125980A CN104168258B CN 104168258 B CN104168258 B CN 104168258B CN 201410125980 A CN201410125980 A CN 201410125980A CN 104168258 B CN104168258 B CN 104168258B
Authority
CN
China
Prior art keywords
temporary account
virtual device
device file
client
account
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
CN201410125980.8A
Other languages
Chinese (zh)
Other versions
CN104168258A (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.)
4399 NETWORK Co Ltd
Original Assignee
4399 NETWORK 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 4399 NETWORK Co Ltd filed Critical 4399 NETWORK Co Ltd
Priority to CN201410125980.8A priority Critical patent/CN104168258B/en
Publication of CN104168258A publication Critical patent/CN104168258A/en
Application granted granted Critical
Publication of CN104168258B publication Critical patent/CN104168258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Without generation and the application process thereof of password temporary account, comprise the steps: fetch equipment number, application program identification and virtual device file; According to the virtual device file read, obtain temporary account; The application of program is carried out according to described temporary account.The present invention can realize user and log in without the need to inputting account and password and available temporary account, and user can be allowed first to enter fast, avoids the customer loss that registration logs in link generation; Solve and clear data and buffer memory, cause the problem that username and password is lost, effectively solve device number identical, cause multiple devices to generate the problem of same temporary account, enhance the fail safe of account.

Description

A kind of generation without password temporary account and application process thereof
Technical field
The present invention relates to Mobile solution technical field, especially relate to a kind of generation without password temporary account and application process thereof.
Background technology
Have time some are played or are applied in first time startup at present and exempt to register the process logged in.Exempt from registration login and refer to that the new user of game logs in first, do not need registration namely automatically to distribute temporary account and carry out playing or applying.Can effectively avoid registering the customer loss problem logging in link and produce.
In prior art, generate for temporary account, Normal practice is at log-in interface Random assignment username and password, and user can use the username and password of this Random assignment to log in.Create following defect like this: user is difficult to remember to this random user name and password, if cleared data and buffer memory, user does not just know what this username and password is, just can not continue to use this account.If user plays very high rank by this account in game, even fill value, more loss will have been caused to user.
Another method that generation temporary account of the prior art generates makes temporary account by the local device number of this equipment of unique identification.Do like this and there is following defect: as some mountain vallage equipment, the device number got is all identical, and multiple devices can be caused to generate the situation of same temporary account.And local device number all programs can obtain, if directly make temporary account with it, be easy to cause account information to reveal, cause potential safety hazard.
Summary of the invention
The object of the invention is to design a kind of generation without password temporary account and application process thereof, ensure to log at every turn and be same interim account number, when device number is identical, log at every turn and also can ensure as same interim account number, thus improve the fail safe of temporary account, solve the problems referred to above.
To achieve these goals, the technical solution used in the present invention is as follows:
Without generation and the application process thereof of password temporary account, comprise the steps:
Step 101, fetch equipment number, application program identification and virtual device file;
Step 102, according to the virtual device file read, obtains temporary account;
Step 102.1, if described virtual device file is empty, is then sent to described virtual device file and described application program identification the establishment that server end carries out described temporary account, and obtains described temporary account, enter step 103;
If the described virtual device file of step 102.2 is not empty, then the described enciphered data in described virtual device file is sent to the parsing that described server end carries out temporary account, obtains described temporary account, enter step 103;
Step 103, carries out the application of program according to described temporary account.
Preferably, described server end carries out the establishment concrete grammar of temporary account and is:
Step 201, described server end, according to described application program identification and described device number, generates temporary account and the enciphered data with described temporary account;
Step 202, is saved in the enciphered data with described temporary account in the described virtual device file of client, completes the establishment of described temporary account.
Preferably, step 202, the concrete grammar enciphered data with described temporary account be saved in the described virtual device file of described client is:
Create client unique identification, judge whether described virtual device file exists according to described virtual device file title;
Step 301, if described virtual device file does not exist, then creates described virtual device file, and by described client unique identification be saved in the described virtual device file of described client with the enciphered data of described temporary account;
Step 302, if described virtual device file exists, then judges whether described virtual device file is empty;
Step 302.1, if described virtual device file is not for sky, empties described virtual device file, and by described client unique identification be saved in the described virtual device file of described client with the enciphered data of described temporary account;
Step 302.2, if described virtual device file is empty, then by described client unique identification be saved in the described virtual device file of described client with the enciphered data of described temporary account.
Preferably, the described enciphered data in described virtual device file is sent to the parsing that described server end carries out temporary account by described client, and the concrete grammar obtaining described temporary account is:
Step 401, described enciphered data is sent to described server end by described client;
Step 402, described server end carries out Mapping Resolution according to described device number;
Step 402.1, if the success of described Mapping Resolution, then directly obtains described temporary account;
Step 402.2, if the failure of described Mapping Resolution, then carries out the establishment of described temporary account.
Preferably, when the enciphered data with described temporary account is saved in the described virtual device file of described client, also carry out symmetric cryptography.
Preferably, described application program identification comprises application package name or the Packet Identifier containing described application package name.
Preferably, described virtual device file is the not deleted file with application program unloading be stored in SD card.
Beneficial effect of the present invention can be summarized as follows:
The present invention can realize user and log in without the need to inputting account and password and available temporary account, user can be allowed first to enter fast and experience game, effectively prevent the customer loss that registration logs in link generation, solve and clear data and buffer memory, cause the problem that username and password is lost, pass through the present invention, effectively solve for some mountain vallage equipment, the device number got is all identical, multiple devices can be caused to generate the problem of same temporary account, enhance the fail safe of account.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention.
Embodiment
In order to make technical problem solved by the invention, technical scheme and beneficial effect clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, a kind of generation without password temporary account and application process thereof, comprise the steps:
Step 101, fetch equipment number, application program identification and virtual device file; Application program identification comprises application package name or the Packet Identifier containing application package name; Virtual device file is the not deleted file with application program unloading be stored in SD card;
Step 102, according to the virtual device file read, obtains temporary account;
Step 102.1, if virtual device file is empty, is then sent to virtual device file and application program identification the establishment that server end carries out temporary account, and obtains temporary account, enter step 103;
If step 102.2 virtual device file is not empty, then the enciphered data in virtual device file is sent to the parsing that server end carries out temporary account, obtains temporary account, enter step 103;
Step 103, carries out the application of program according to temporary account.
As shown in Figure 2, server end carries out the establishment concrete grammar of temporary account and is:
Step 201, server end, according to application program identification and device number, generates temporary account and the enciphered data with temporary account;
Step 202, is saved in the virtual device file of client by the enciphered data with temporary account, when the enciphered data with temporary account is saved in the virtual device file of client, also carries out symmetric cryptography; Complete the establishment of temporary account.
As shown in Figure 3, step 202, the concrete grammar enciphered data with temporary account be saved in the virtual device file of client is:
Create client unique identification, judge whether virtual device file exists according to virtual device file title;
Step 301, if virtual device file does not exist, then creates virtual device file, and by client unique identification be saved in the virtual device file of client with the enciphered data of temporary account;
Step 302, if virtual device file exists, then judges whether virtual device file is empty;
Step 302.1, if virtual device file is not for sky, empties virtual device file, and by client unique identification be saved in the virtual device file of client with the enciphered data of temporary account;
Step 302.2, if virtual device file is empty, is then saved in the virtual device file of client by client unique identification with the enciphered data of temporary account.
As shown in Figure 4, the enciphered data in virtual device file is sent to the parsing that server end carries out temporary account by client, and the concrete grammar obtaining temporary account is:
Step 401, enciphered data is sent to server end by client;
Step 402, server end carries out Mapping Resolution according to device number;
Step 402.1, if Mapping Resolution success, then directly obtains temporary account;
Step 402.2, if Mapping Resolution failure, then carries out the establishment of temporary account.
Symbol description:
DidLocal is local device number, and mountain vallage equipment may repeat;
PackageName is application program identification;
DidA is the unique virtual device number of every platform equipment of encryption that server generates;
DidB is the unique virtual device number of original every platform equipment that server generates;
FileA is the file preserving virtual device number didA, is stored in sd card;
TempLogin interface, is called by game, import into parameter be didLocal, didA, packageName and other comprise game and the relevant information of equipment, return value be didA and other log in data;
A. the general steps that logs in of game request temporary account
1. game is read local device number and is obtained didLocal, reads local application mark and obtains packageName, read fileA file and obtain data didA;
2. tempLogin interface is called in game, and didLocal, packageName, didA and other relevant informations are passed to server as parameter;
3., after server receives didLocal, packageName and didA, judge whether didA is empty.If didA is not empty, then didA deciphering is obtained didB, map out interim account number tempUser with didB; If didA is empty, then the virtual device number didB that a newly-built overall situation is unique, generates interim account number tempUser with didB, and didB is encrypted to didA;
4. server tempUser logs in, and finally by tempLogin interface, didA, interim account number name tempUser etc., other log in data and return to game;
5. the didA that returned by server of playing is saved in the fileA file of sd card, and the data that log in using server to return complete and log in flow process in game, and logging in account number is tempLogin.
B. the step of fileA is read in game
1. read local device didLocal, read local application mark packageName;
2. the filename nameOfFileA of fileA is generated according to didLocal and packageName;
3. read the fileA file in sd card according to filename nameOfFileA, obtain file content didA; If do not have fileA file in sd card, then the didA obtained is for empty.
C. the step of fileA is preserved in game
1. read local device didLocal, read local application mark packageName;
2. the filename nameOfFileA of fileA is generated according to didLocal and packageName;
3. judge whether sd card has file to be called the fileA file of nameOfFileA.If had, empty, didA is re-write in fileA; If do not had, a newly-built file is called the fileA file of nameOfFileA, and is write in fileA by didA.
D. the step of the newly-built interim account number tempUser of server
1. server receives tempLogin interface and passes didLocal, packageName of coming;
2. server generates unique virtual device number didB according to didLocal, packageName;
3. server maps according to didB and generates interim account number tempUser.
The present invention is described in detail in preferred embodiment above by concrete; but those skilled in the art should be understood that; the present invention is not limited to the above embodiment; within the spirit and principles in the present invention all; any amendment of doing, equivalent replacement etc., all should be included within protection scope of the present invention.

Claims (4)

1., without generation and the application process thereof of password temporary account, it is characterized in that, comprise the steps:
Step 101, fetch equipment number, application program identification and virtual device file;
Step 102, according to the virtual device file read, obtains temporary account;
Step 102.1, if described virtual device file is empty, is then sent to described virtual device file and described application program identification the establishment that server end carries out described temporary account, and obtains described temporary account, enter step 103;
Step 102.2, if described virtual device file is not empty, is then sent to the enciphered data in described virtual device file the parsing that described server end carries out temporary account, obtains described temporary account, enter step 103;
Step 103, carries out the application of program according to described temporary account;
Wherein, described server end carries out the establishment concrete grammar of temporary account and is:
Step 201, described server end, according to described application program identification and described device number, generates temporary account and the enciphered data with described temporary account;
Step 202, is saved in the enciphered data with described temporary account in the described virtual device file of client, completes the establishment of described temporary account;
Wherein, step 202, the concrete grammar enciphered data with described temporary account be saved in the described virtual device file of described client is:
Create client unique identification, judge whether described virtual device file exists according to described virtual device file title;
Step 301, if described virtual device file does not exist, then creates described virtual device file, and by described client unique identification be saved in the described virtual device file of described client with the enciphered data of described temporary account;
Step 302, if described virtual device file exists, then judges whether described virtual device file is empty;
Step 302.1, if described virtual device file is not for sky, empties described virtual device file, and by described client unique identification be saved in the described virtual device file of described client with the enciphered data of described temporary account;
Step 302.2, if described virtual device file is empty, then by described client unique identification be saved in the described virtual device file of described client with the enciphered data of described temporary account;
Wherein, the described enciphered data in described virtual device file is sent to the parsing that described server end carries out temporary account by described client, and the concrete grammar obtaining described temporary account is:
Step 401, described enciphered data is sent to described server end by described client;
Step 402, described server end carries out Mapping Resolution according to described device number;
Step 402.1, if the success of described Mapping Resolution, then directly obtains described temporary account;
Step 402.2, if the failure of described Mapping Resolution, then carries out the establishment of described temporary account.
2. the generation without password temporary account according to claim 1 and application process thereof, is characterized in that: when the enciphered data with described temporary account is saved in the described virtual device file of described client, also carries out symmetric cryptography.
3. the generation without password temporary account according to claim 1 and application process thereof, is characterized in that: described application program identification comprises application package name or the Packet Identifier containing described application package name.
4. the generation without password temporary account according to claim 1 and application process thereof, is characterized in that: described virtual device file is the not deleted file with application program unloading be stored in SD card.
CN201410125980.8A 2014-03-31 2014-03-31 A kind of generation without password temporary account and application process thereof Active CN104168258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410125980.8A CN104168258B (en) 2014-03-31 2014-03-31 A kind of generation without password temporary account and application process thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410125980.8A CN104168258B (en) 2014-03-31 2014-03-31 A kind of generation without password temporary account and application process thereof

Publications (2)

Publication Number Publication Date
CN104168258A CN104168258A (en) 2014-11-26
CN104168258B true CN104168258B (en) 2015-08-12

Family

ID=51911884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410125980.8A Active CN104168258B (en) 2014-03-31 2014-03-31 A kind of generation without password temporary account and application process thereof

Country Status (1)

Country Link
CN (1) CN104168258B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410696A (en) * 2014-12-03 2015-03-11 吴金河 Network social contact system based on geographic positions and communication method
CN105516156A (en) * 2015-11-09 2016-04-20 广州多益网络科技有限公司 Register-free login method and system
CN105760729B (en) * 2016-03-14 2021-12-24 联想(北京)有限公司 Login method and electronic equipment
CN105763565B (en) * 2016-04-18 2019-10-15 网易(杭州)网络有限公司 Account logon method, device and game system
CN106339613B (en) * 2016-08-15 2018-09-07 腾讯科技(深圳)有限公司 A kind of processing method, terminal and server using data
CN106899708A (en) * 2017-03-02 2017-06-27 上海时年信息科技有限公司 The method and system for preventing the game pet name from repeating
CN108809931A (en) * 2018-04-09 2018-11-13 天津五八到家科技有限公司 Driver's register method, driver terminal and server-side
CN109033808B (en) * 2018-07-03 2020-08-18 福建天晴数码有限公司 Game experience method and account server
CN108965275B (en) * 2018-07-03 2021-06-08 福建天晴数码有限公司 Method and system for experiencing game
CN112019551B (en) * 2020-08-31 2023-05-05 重庆五诶科技有限公司 Account management system and method for protecting privacy
CN112717379A (en) * 2021-01-08 2021-04-30 厦门雷霆互动网络有限公司 Method and device for multi-player online game for starting up and fast logging in

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383709A (en) * 2008-10-17 2009-03-11 阿里巴巴集团控股有限公司 System and method enhancing safety of network account and cipher
CN102843357A (en) * 2012-07-30 2012-12-26 北京网蜜在线网络有限公司 Network accessing method, application server and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110098030A1 (en) * 2009-10-27 2011-04-28 Nokia Corporation Method and apparatus for activating services

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383709A (en) * 2008-10-17 2009-03-11 阿里巴巴集团控股有限公司 System and method enhancing safety of network account and cipher
CN102843357A (en) * 2012-07-30 2012-12-26 北京网蜜在线网络有限公司 Network accessing method, application server and system

Also Published As

Publication number Publication date
CN104168258A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
CN104168258B (en) A kind of generation without password temporary account and application process thereof
CN104113552B (en) A kind of platform authorization method, platform service end and applications client and system
CN104158802B (en) A kind of platform authorization method, platform service end and applications client and system
ES2816551T3 (en) Method and apparatus of downloading and installing a client
CN108183907A (en) A kind of authentication method, server and Verification System
US9274780B1 (en) Distribution of applications with a saved state
CN104966211A (en) Method and system for automatically identifying channel relationship
CN109033808B (en) Game experience method and account server
CN104935558A (en) Network user rapid registration and login method and system
CN106453303A (en) Method and system for storing user login status for IOS client
CN103634159B (en) A kind of traffic playback method and device based on simulation login
CN102932336B (en) Terminal iidentification method and apparatus
CN105760724A (en) Method and device as well as system for sharing game role
CN106033503A (en) Method, device and system of online writing application secret key into digital content equipment
CN104661042A (en) Method, device and system for transmitting transport stream
RU2016108129A (en) SYSTEM BASED ON EXTENDABLE MULTIMEDIA FORMAT AND WAYS OF ITS APPLICATION
CN107968953A (en) Anti- cheating user method and device
CN109218307A (en) A kind of method of client identity certification
CN108965275A (en) A kind of method and system for experiencing game
CN111339201A (en) Evaluation method and system based on block chain
CN104038490A (en) Communication safety verification method and device thereof
US20200382498A1 (en) Method and device for portal authentication
US9705915B2 (en) Techniques for reliable network authentication
CN105049546B (en) A kind of Dynamic Host Configuration Protocol server is the method and device of client distribution IP address
CN109375932B (en) APP hot repair script construction method, device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant