CN103220327A - User information memorizing method and device - Google Patents

User information memorizing method and device Download PDF

Info

Publication number
CN103220327A
CN103220327A CN2013100675093A CN201310067509A CN103220327A CN 103220327 A CN103220327 A CN 103220327A CN 2013100675093 A CN2013100675093 A CN 2013100675093A CN 201310067509 A CN201310067509 A CN 201310067509A CN 103220327 A CN103220327 A CN 103220327A
Authority
CN
China
Prior art keywords
user profile
user
chained address
information
link sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100675093A
Other languages
Chinese (zh)
Other versions
CN103220327B (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.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi 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 Beijing Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN201310067509.3A priority Critical patent/CN103220327B/en
Publication of CN103220327A publication Critical patent/CN103220327A/en
Application granted granted Critical
Publication of CN103220327B publication Critical patent/CN103220327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a user information memorizing method and device. The user information memorizing method comprises the steps of generating a user information link sequence, wherein the user information linking sequence consists of link addresses of memorizing positions for identifying user information and preset separating characters for separating different link addresses; and sending the user information link sequence to a server to be memorized and memorizing the user information link sequence in target field set in the server. The user information memorizing method and device can simplify operation of a server side and improve the utilization rate and the universality of a memorizing space.

Description

User information storage method and device
Technical field
The present invention relates to field of computer technology, particularly relate to user information storage method, and a kind of user information storage.
Background technology
In instant messaging product (IM, the Instant Messaging) field of mobile Internet, all can relate to operation at user profile, especially user's head portrait represents, adds, revises or delete.
As shown in Figure 1, provided the system architecture diagram of user profile storage.When the user need add head portrait, application client uploads to the custom system server with picture, the custom system server arrives subscriber information server with this picture-storage, and generate one to download link that should the picture-storage position, then this download link is stored in the customer data base.
The storage organization of customer data base is the corresponding memory space of each registered users, this memory space comprises a plurality of fields again, under the application scenarios of single user's single head picture, a field is used to store user's head portrait, and other fields are used to store information such as user's signature and ID.Under the application scenarios of single user bull picture, can store head portrait by the following two kinds of programs:
Scheme 1, in user's memory space, increase new field, the download link of storage user's a head portrait in each field, each field name is equivalent to be stored in the sign of the download link in this field.For example field name icon1 identifies the download link of first head portrait, the download link of second head portrait of icon2 sign.When the user asked to increase a head portrait newly, if do not have untapped field name in user's the memory space, then the custom system server need be done the upgrading change, and customer data base also needs to do the alter operation of increase field simultaneously.
Scheme 2, adopt the universal architecture formats stored,, a plurality of download link of a plurality of head portraits of same user and corresponding identification thereof are stored in the existing field in this user storage space such as this reference format of json.
The problem that exists in the above background technology is:
In the scheme 1, the decision operation that the custom system server is done when increasing head portrait newly, realize the very loaded down with trivial details fallibility of logic, secondly, if currently do not have a untapped field name, then can to cause the user of certain hour to serve unavailable fully in the change of custom system server and customer data base, in the practice, for the millions user, the time of Terminal Service can reach N minute level.
Can avoid custom system server and customer data base because of increasing the frequent upgrading change that field causes in the scheme 2, but need increase auxiliary identification information for the download link of each head portrait, the memory space utilance is not high, and storage format is the certain criteria form, and versatility is relatively poor.
Summary of the invention
The embodiment of the invention provides user information storage method, can simplify the operation of server end, promotes memory space utilance and versatility.
The embodiment of the invention also provides user information storage, in order to guarantee said method application and realization in practice.
In order to address the above problem, the embodiment of the invention discloses a kind of user information storage method, described method comprises:
Generate user profile link sequence, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
Described user profile link sequence is sent to server stores, described user profile link sequence is stored in an aiming field of setting in the server.
The embodiment of the invention also discloses a kind of user information storage method, described method comprises:
Receive the user profile link sequence that client sends, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
Described user profile link sequence is stored into an aiming field of setting.
The embodiment of the invention also discloses a kind of user information storage, described device comprises:
The sequence generation module is used to generate user profile link sequence, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
The sequence sending module is used for that described user profile link sequence is sent to server and stores, and described user profile link sequence is stored in an aiming field of setting in the server.
The embodiment of the invention also discloses a kind of user information storage, described device comprises:
The sequential reception module is used to receive the user profile link sequence that client sends, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
Memory module is used for described user profile is linked the aiming field that sequence stores setting into.
Compare with background technology, the embodiment of the invention has the following advantages:
The embodiment of the invention uses simple unified separator to distinguish the chained address that is stored in different head portraits in the same field, can need not to generate other accessory ID information than the scheme 2 of background technology, reduce the supplementary amount that generates, promoted memory space utilance and versatility.
Description of drawings
Fig. 1 is the system architecture diagram of user profile storage in the background technology;
Fig. 2 is the flow chart of a kind of user information storage method of the embodiment of the invention;
Fig. 3 is the flow chart of the another kind of user information storage method of the embodiment of the invention;
Fig. 4 is the structured flowchart of a kind of user information storage of the embodiment of the invention;
Fig. 5 is the structured flowchart of device shown in Figure 4 under the information scene that Adds User;
Fig. 6 is the structured flowchart of device shown in Figure 4 under deletion user profile scene;
Fig. 7 is the structured flowchart of the another kind of user information storage of the embodiment of the invention.
Embodiment
For above-mentioned purpose, the feature and advantage that make the embodiment of the invention can become apparent more, the embodiment of the invention is described in further detail below in conjunction with the drawings and specific embodiments.
With reference to figure 2, show the flow chart of a kind of user information storage method of the embodiment of the invention, specifically can may further comprise the steps:
Step 101, generate user profile link sequence, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form.
In the embodiment of the invention, a user can be to there being a plurality of user profile, and user profile can be user's head portrait, and promptly a user can be to there being a plurality of head portraits; User profile also can be other relevant informations of user, the background picture of for example chatting, and for application programs such as chat tools, user can corresponding a plurality of chat background pictures, and the user can arbitrarily be switched current chat background picture.
In the embodiment of the invention, the chained address of the memory location of identifying user information is kept in the user profile link sequence, can preserve a plurality of chained addresses in the link sequence, except the chained address, also comprise default separator in the link sequence, default separator is in order to separate different chained addresses.
The embodiment of the invention can comprise two kinds of application scenarioss, and a kind of is in the information of Adding User, and generates new user profile link sequence according to newly-increased user profile; A kind of is in deletion user profile, asks the user profile of deleting according to the user, generates new link sequence.
In embodiments of the present invention, under the application scenarios of the information of Adding User, described generation user profile link sequence is:
Substep S11, send the information that Adds User to server;
The newly-increased chained address of the memory location of the described information that Adds User of the sign that substep S12, reception server return;
Substep S13, the user profile that described newly-increased chained address is spliced in last once generation link in the sequence.
Server is the custom system server, when the user needs newly to add user profile, send user profile by application client to the custom system server and add instruction, carry instruction type in this instruction and the information that Adds User, instruction type is promptly added new user profile.
The storage of user profile comprises the preservation to user profile, and to the preservation of the chained address of user profile correspondence, user profile is preserved by the custom system server.
The custom system server is preserved user profile after receiving user profile.User profile can be kept in the information database that presets, or another is used for the subscriber information server of storing subscriber information.As shown in Figure 1, can be the system architecture of the pairing user profile storage of the information storage means of the embodiment of the invention, application client sends to the custom system server with user profile, the custom system server is saved in subscriber information server with user profile, and the chained address of correspondence is saved in the customer data base of custom system server.
After user profile was preserved, the position that the custom system server is stored according to the information that Adds User further generated the newly-increased chained address of corresponding described memory location, that is to say download link.According to the chained address, just can determine the particular location of user profile storage, can further extract user profile.
In a kind of preferred embodiment, described substep S13 can comprise:
There has been at least one chained address in substep S11 ', the user profile link sequence as if described last generation, then will increase chained address splicing newly in the back of any one separator or will increase the chained address newly and insert initial position, and insert separator in back, described newly-increased chained address;
There is not the chained address in substep S12 ', the user profile link sequence, then the initial position of setting inserted in described newly-increased chained address, and insert separator in back, described newly-increased chained address as if described last generation.
If the user adds user profile for the first time, do not comprise the chained address in the then last user profile link sequence that generates, user profile link sequence is an empty sequence, can insert the initial position of link sequence this moment with increasing the chained address newly, and, insert default separator in the back, chained address of inserting.For example, the chained address of certain user's head portrait correspondence is http://www.baidu.com/img/baidu_sylogo1.gif, obtain after empty sequence is spliced new user profile link sequence for " http://www.baidu.com/img/baidu_sylogo1.gif; ".
If the user adds user profile for the first time, comprise at least one chained address in the then last user profile link sequence that generates.
When comprising a chained address in the user profile link sequence, comprise a separator in the user profile link sequence, for example " http://www.baidu.com/img/baidu_sylogo1.gif; ".When the newly-increased link of splicing sequence, can be with the chained address splicing in the initial position of user profile link sequence or the back of last separator.For example newly-increased chained address is http://www.163.com/img/163_sylogo1.gif, and newly-increased chained address is spliced to initial position, and to obtain new link sequence be " http://www.163.com/img/163_sylogo1.gif; Http:// www.baidu.com/img/baidu_sylogo1.gif; ".To increase the chained address newly and be spliced to last separator back, and can obtain new user profile link sequence and be " http://www.baidu.com/img/baidu_sylogo1.gif; Http:// www.163.com/img/163_sylogo1.gif; ".
When comprising a plurality of chained address in the user profile link sequence, comprise a plurality of separators in the link sequence, for example " http://www.baidu.com/img/baidu_sylogo1.gif; Http:// www.163.com/img/163_sylogo1.gif; " in comprise two separators.When the newly-increased link of splicing sequence, can newly initial position or any one the default separator back of chained address splicing in described link sequence will be increased.For example newly-increased chained address is http://www.sina.com/img/sina_sylogo1.gif, and newly-increased chained address is spliced to initial position, and to obtain new link sequence be " http://www.sina.com/img/sina_sylogo1.gif; Http:// www.baidu.com/img/baidu_sylogo1.gif; Http:// www.163.com/img/163_sylogo1.gif; ".To increase the chained address newly and be spliced to first default separator back, and can obtain new link sequence and be " http://www.baidu.com/img/baidu_sylogo1.gif; Http:// www.sina.com/img/sina_sylogo1.gif; Http:// www.163.com/img/163_sylogo1.gif; ".To increase the chained address newly and be spliced to second default separator back, and can obtain new link sequence and be " http://www.sina.com/img/sina_sylogo1.gif; Http:// www.163.com/img/163_sylogo1.gif; Http:// www.baidu.com/img/baidu_sylogo1.gif; ".
In reality realizes, when comprising a plurality of chained address in the link sequence, can preestablish certain default separator back of preferred insertion, the embodiment of the invention is not done qualification to this.When user profile link sequence had been added a plurality of chained address, the link sequence was for carrying out the link sequence that a plurality of chained addresses are at interval formed with default separator.Therefore, the embodiment of the invention can use simple unified separator to distinguish the chained address that is stored in different head portraits in the same field, scheme 1 than background technology, the embodiment of the invention is when increasing head portrait newly, server only need be carried out simple concatenation, the operation of server end has been simplified in the operation that need not to carry out complicated judgement and increase field.
In the embodiment of the invention, default separator can be branch (; ), also can be quotation marks (" ") etc., in concrete realization, can be according to concrete environment and user's the setting that needs.
For example, the chained address of 4 of certain user's correspondence head portraits is respectively http://a.com/1.jpg, http://a.com/2.jpg, http://a.com/3.jpg and http://a.com/4.jpg.Scheme 2 according to background technology, with this reference format of json is example, need generate each chained address corresponding identification respectively, be respectively icon1, icon2, icon3 and icon4, the form that a plurality of head portraits are stored is { " icon1 ": " http://a.com/1.jpg ", " icon2 ": " http://a.com/2.jpg ", " icon3 ": " http://a.com/3.jpg ", " icon4 ": " http://a.com/4.jpg " }.According to the embodiment of the invention, the link sequence can be expressed as: http://a.com/1.jpg; Http:// a.com/2.jpg; Http:// a.com/3.jpg; Http:// a.com/4.jpg.Therefore, can need not to generate other accessory ID information, reduce the supplementary amount that generates, promote memory space utilance and versatility than the scheme 2 of background technology.
In embodiments of the present invention, the basis of concatenation is the last user profile link sequence that generates, and has a kind of special circumstances, and promptly just during the login application program client, this moment, the acquisition methods of the last user profile link sequence that generates was:
Substep S21, send login authentication information to server;
The initialization information that substep S22, reception server send carries the described last user profile link sequence that generates in the described initialization information.
When the user uses certain terminal (for example mobile phone, PC etc.) login application program client, send login authentication information (for example comprising user ID and password etc.) by user end to server, user ID when server is logined according to the user, return initialization information to client, carry the described last user profile link sequence that generates in the initialization information.
Except that above this special circumstances, logining success and keeping in the process of logging status, a user profile link of the every generation of terminal sequence can be when being sent to server stores, also store in this locality, when needing to generate user profile link sequence next time, directly obtain and get final product in this locality, perhaps user profile of the every generation of terminal links sequence, also can when needing to generate user profile link sequence, obtain not in this locality storage to server requests next time.
In the another kind of application scenarios of the embodiment of the invention, when user profile was deleted, described generation user profile link sequence was:
Substep S31, receive the removal request to user profile, the order of each chained address is extracted user information corresponding and is showed in the user profile link sequence that generates according to the last time;
Substep S32, receive selection request to the user profile of showing, and according to the user profile in the described selection request, corresponding chained address and the separator of deletion in the last user profile link sequence that once generates.
Application client receives user's head portrait delete instruction request, and shows according to the local chained address of preserving and the corresponding relation of user profile.That is to say, the user is after client is added user profile, the corresponding relation of user profile and chained address can be preserved, if the user submits the request of deleting user profile in the client of adding user profile, then can directly extract user information corresponding according to the chained address and show in this locality; If the user adds the client of user profile and the client of request deletion user profile is not same, then can be according to the chained address, request custom system server returns user profile.
In the embodiment of the invention, described extraction user information corresponding is shown as:
Substep S41, if there is the corresponding relation of chained address and user profile in client, the chained address that comprises in the user profile link sequence that generates according to the last time, the extraction user information corresponding is showed;
Substep S42, if there is not the corresponding relation of chained address and user profile in client, then the user profile that generates according to the last time links the chained address that comprises in the sequence, return user information corresponding to server requests, and the user profile of returning is showed.
In reality realizes, can judge earlier whether active client exists the corresponding relation of chained address and user profile, if exist, then can directly extract user information corresponding, and show according to the chained address that comprises in the link sequence in client; If there is not the corresponding relation of chained address and user profile in client, then can be according to the chained address that comprises in the link sequence, return user information corresponding to the custom system server requests, the custom system server is according to the chained address, in corresponding user profile storage server or database, extract corresponding user profile, and turn back to client and show.
The user can select the user profile that will delete in the user profile of showing, after client receives selection request to user profile, the corresponding chained address of deletion in the link sequence, and be updated to new user profile link sequence, in the chained address of deletion user profile correspondence, also need delete this chained address corresponding preset separator.
When user profile is deleted, also relate to the last user profile link sequence that generates obtaining and preamble in similar when Adding User information, also have special circumstances and non-in particular cases obtain manner, repeat no more here.
Step 102, described user profile link sequence is sent to server stores, described user profile link sequence is stored in the aiming field of setting in the server.
Client sends to server and preserves after the link sequence is upgraded.
In the embodiment of the invention, the custom system server can distribute a memory space at each user in its customer data base, can preset an aiming field in the memory space, and this aiming field is used for storing subscriber information link sequence.
At different users, user's memory space can carry out mark with user ID.Each user's memory space also can preset a plurality of fields except aiming field, for example, is used to store the son section of user's signature and user ID etc.Wherein, each field can identify with field name, can find aiming field by the field name of known target field.
For user's head portrait is an example, when memory space comprised a plurality of field, field name " ID " sign was stored the field of user name with user profile, the field of field name " icon " sign storage user head portrait, and user ID is amy.Active user's corresponding memory space can be at first found out according to user ID amy, the aiming field of storage user head portrait can be found according to field name " icon ".
Under the scene of the information of Adding User, client sends to server with the user profile link sequence that generates, when sending user profile link sequence, can carry active user's user ID, after server finds the pairing aiming field of active user according to user ID, can upgrade the link of the user profile in aiming field sequence according to new user profile link sequence, be about to new user profile link sequence and replace original user profile link sequence.So far, just finished the process that user profile is stored.
Under the scene of deletion user profile, client will be deleted the new user profile link sequence that generates after the user profile and be sent to server, the user ID that server carries according to user profile link sequence is searched active user's aiming field, new user profile link sequence is stored in this user's the aiming field, cover the last link sequence that generates.In reality realized, the custom system server can also be deleted the user information corresponding of having preserved further according to deleted chained address, thereby has finished the delete procedure of user profile.
In order to make those skilled in the art better understand the embodiment of the invention, adopt another embodiment, be illustrated from the operation of server end a kind of user information storage method the embodiment of the invention.
With reference to figure 3, show the flow chart of the another kind of user information storage method of the embodiment of the invention, specifically can may further comprise the steps:
Step 201, receive the user profile link sequence that client sends, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form.
Step 202, described user profile link sequence is stored in the aiming field of a setting.
Before receiving the user profile link sequence of client transmission, described method can also comprise:
Receive the information that Adds User that client sends;
Be the information distribution memory location that Adds User;
Send the newly-increased chained address of the memory location of the described information that Adds User of sign to client.
Before receiving the user profile link sequence of client transmission, described method can also comprise:
Detect the login authentication information that client sends;
Return initialization information to client, carry the last user profile link sequence that generates in the described aiming field in the described initialization information.
Under the application scenarios of deletion user profile, receive before the user profile link sequence of client transmission, described method also comprises:
The user profile of carrying the chained address that receives the client transmission is obtained request;
Return user profile to client and obtain the user profile that the chained address identified of carrying in the request.
The described information storage means of present embodiment are carried out at server end, and relevant content can repeat no more with reference to the description of embodiment 1 herein.
As seen, the embodiment of the invention can use simple unified separator to distinguish the chained address that is stored in different user information in the same field, scheme 1 than background technology, the embodiment of the invention is when increasing head portrait newly, server only need be carried out simple concatenation, the operation of server end has been simplified in the operation that need not to carry out complicated judgement and increase field; Can need not to generate other accessory ID information than the scheme 2 of background technology, reduce the supplementary amount that generates, promote memory space utilance and versatility.
For method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the invention is not subjected to the restriction of described sequence of movement, because according to the embodiment of the invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the embodiment of the invention is necessary.
With reference to figure 4, show the structured flowchart of a kind of user information storage of the embodiment of the invention, specifically can comprise with lower module:
Sequence generation module 301 is used to generate user profile link sequence, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
Sequence sending module 302 is used for that described user profile link sequence is sent to server and stores, and described user profile link sequence is stored in the aiming field of setting in the server.
As shown in Figure 5, under the scene of the information of Adding User, described sequence generation module 301 comprises:
Newly-added information sends submodule 3011, is used for sending the information that Adds User to server;
The address receives submodule 3012, is used for the newly-increased chained address of the memory location of the described information that Adds User of sign that reception server returns;
Splicing submodule 3013 is used for described newly-increased chained address splicing in the last user profile link sequence that once generates.
In the embodiment of the invention, splicing submodule 3013 can comprise:
The first splicing subelement, be used for when there has been at least one chained address in the described last user profile link sequence that generates, described newly-increased chained address splicing is set initial position in the back or the insertion of any one separator, and insert separator in back, described newly-increased chained address;
The second splicing subelement is used for when there is not the chained address in the described last user profile link sequence that generates, described newly-increased chained address is inserted set initial position, and insert separator in back, described newly-increased chained address.
As shown in Figure 6, under the scene of deletion user profile, described sequence generation module 301 comprises:
Show submodule 3014, be used to receive removal request,, extract user information corresponding and show according to the order of each chained address in the user profile link sequence of last time generation to user profile;
Deletion submodule 3015 is used to receive the selection request to the user profile of showing, and according to the user profile in the described selection request, corresponding chained address and the separator of deletion in the last user profile link sequence that once generates.
In the embodiment of the invention, show that submodule 3014 can comprise:
First shows subelement, is used for when there is the corresponding relation of chained address and user profile in client, and the user profile that generates according to the last time links the chained address that comprises in the sequence, extracts user information corresponding and shows;
Second shows subelement, be used for when there is not the corresponding relation of chained address and user profile in client, the user profile that generates according to the last time links the chained address that comprises in the sequence, returns user information corresponding to server requests, and the user profile of returning is showed.
In embodiments of the present invention, the basis that generates user profile link sequence is the last user profile link sequence that generates, there is a kind of special situation, promptly just during the login application program client, this moment, the last user profile link sequence that generates need be obtained from server end, therefore in Fig. 5 and device shown in Figure 6, can also comprise:
The authorization information sending module is used for sending login authentication information to server;
The initialization information receiver module is used for the initialization information that reception server sends, and carries the described last user profile link sequence that generates in the described initialization information.
Except that above this special circumstances, logining success and keeping in the process of logging status, a user profile link of every generation sequence can be when being sent to server stores, also store in this locality, when needing to generate user profile link sequence next time, directly obtain and get final product in this locality, a user profile link of perhaps every generation sequence, also can when needing to generate user profile link sequence, obtain not in this locality storage to server requests next time.
With reference to figure 7, show the structured flowchart of the another kind of user information storage of the embodiment of the invention, specifically can comprise with lower module:
Sequential reception module 401 is used to receive the user profile link sequence that client sends, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
Memory module 402 is used for described user profile is linked the aiming field that sequence stores setting into.
In the embodiment of the invention, under the scene of the information of Adding User, described device can also comprise:
The newly-added information receiver module is used to receive the information that Adds User that client sends;
The position distribution module is used to the information distribution memory location that Adds User;
The address sending module is used for the newly-increased chained address to the memory location of the described information that Adds User of client transmission sign.
In the embodiment of the invention, described device can also comprise:
The authorization information detection module is used to detect the login authentication information that client sends;
The initialization information sending module is used for returning initialization information to client, carries the last user profile link sequence that generates in the described aiming field in the described initialization information.
Under the application scenarios of deletion user profile, described device can also comprise:
The request receiver module is used to receive the user profile of carrying the chained address that client sends and obtains request;
User profile is returned module, be used for to client return chained address that the user profile request of obtaining carries to the user profile of sign.
Because described device embodiment is substantially corresponding to earlier figures 2 and method embodiment shown in Figure 3, so not detailed part in the description of present embodiment can just not given unnecessary details at this referring to the related description in the previous embodiment.
The application can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any system or equipment or the like.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment (DCE), put into practice the application, in these distributed computing environment (DCE), by by communication network connected teleprocessing equipment execute the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
In this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Do not having under the situation of more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
More than a kind of user information storage method and a kind of user information storage that the application provided are described in detail, used specific case herein the application's principle and execution mode are set forth, the explanation of above embodiment just is used to help to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to the application's thought, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (20)

1. a user information storage method is characterized in that, described method comprises:
Generate user profile link sequence, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
Described user profile link sequence is sent to server stores, described user profile link sequence is stored in an aiming field of setting in the server.
2. the method for claim 1 is characterized in that, described generation user profile link sequence comprises:
Send the information that Adds User to server;
The newly-increased chained address of the memory location of the described information that Adds User of the sign that reception server returns;
Described newly-increased chained address splicing is linked in the sequence in the last user profile that once generates.
3. method according to claim 2 is characterized in that, described described chained address is spliced in the last user profile that once generates links in the sequence, comprising:
If had at least one chained address in the described last user profile link sequence that generates, then described newly-increased chained address splicing is set initial position in the back or the insertion of any one separator, and insert separator in back, described newly-increased chained address;
If do not have the chained address in the described last user profile link sequence that generates, then described newly-increased chained address inserted and set initial position, and insert separator in back, described newly-increased chained address.
4. method according to claim 1 is characterized in that, described generation user profile link sequence comprises:
Reception, is extracted user information corresponding and is showed according to the order of each chained address in the user profile link sequence of last time generation the removal request of user profile;
Reception is to the selection request of the user profile of displaying, and the user profile in the described selection request of foundation, the chained address and the separator of deletion correspondence in the last user profile link sequence that once generates.
5. method according to claim 4 is characterized in that, described extraction user information corresponding is showed, comprising:
If there is the corresponding relation of chained address and user profile in client, the user profile that generates by the last time links the chained address that comprises in the sequence, extracts user information corresponding and shows;
If there is not the corresponding relation of chained address and user profile in client, then the user profile that generates according to the last time links the chained address that comprises in the sequence, returns user information corresponding to server requests, and the user profile of returning is showed.
6. as claim 2 or 4 described methods, it is characterized in that the acquisition methods of the described last user profile link sequence that generates comprises:
Send login authentication information to server;
The initialization information that reception server sends carries the described last user profile link sequence that generates in the described initialization information.
7. a user information storage method is characterized in that, described method comprises:
Receive the user profile link sequence that client sends, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
Described user profile link sequence is stored into an aiming field of setting.
8. method as claimed in claim 7 is characterized in that, before the user profile link sequence that described reception client sends, described method also comprises:
Receive the information that Adds User that client sends;
Be the information distribution memory location that Adds User;
Send the newly-increased chained address of the memory location of the described information that Adds User of sign to client.
9. method as claimed in claim 7 is characterized in that, before the user profile link sequence that described reception client sends, described method also comprises:
Detect the login authentication information that client sends;
Return initialization information to client, carry the last user profile link sequence that generates in the described initialization information.
10. method according to claim 7 is characterized in that, before the user profile link sequence that described reception client sends, described method also comprises:
The user profile of carrying the chained address that receives the client transmission is obtained request;
Return user profile to client and obtain the user profile that the chained address identified of carrying in the request.
11. a user information storage is characterized in that, described device comprises:
The sequence generation module is used to generate user profile link sequence, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
The sequence sending module is used for that described user profile link sequence is sent to server and stores, and described user profile link sequence is stored in an aiming field of setting in the server.
12. device as claimed in claim 11 is characterized in that, described sequence generation module comprises:
Newly-added information sends submodule, is used for sending the information that Adds User to server;
The address receives submodule, is used for the newly-increased chained address of the memory location of the described information that Adds User of sign that reception server returns;
The splicing submodule is used for described newly-increased chained address splicing in the last user profile link sequence that once generates.
13. device according to claim 12 is characterized in that, described splicing submodule comprises:
The first splicing subelement, be used for when there has been at least one chained address in the described last user profile link sequence that generates, described newly-increased chained address splicing is set initial position in the back or the insertion of any one separator, and insert separator in back, described newly-increased chained address;
The second splicing subelement is used for when there is not the chained address in the described last user profile link sequence that generates, described newly-increased chained address is inserted set initial position, and insert separator in back, described newly-increased chained address.
14. device according to claim 11 is characterized in that, described sequence generation module comprises:
Show submodule, be used to receive removal request,, extract user information corresponding and show according to the order of each chained address in the user profile link sequence of last time generation to user profile;
The deletion submodule is used to receive the selection request to the user profile of showing, and according to the user profile in the described selection request, corresponding chained address and the separator of deletion in the last user profile link sequence that once generates.
15. device according to claim 14 is characterized in that, described displaying submodule comprises:
First shows subelement, is used for when there is the corresponding relation of chained address and user profile in client, and the user profile that generates by the last time links the chained address that comprises in the sequence, extracts user information corresponding and shows;
Second shows subelement, be used for when there is not the corresponding relation of chained address and user profile in client, the user profile that generates according to the last time links the chained address that comprises in the sequence, returns user information corresponding to server requests, and the user profile of returning is showed.
16., it is characterized in that described device also comprises as claim 12 or 14 described devices:
The authorization information sending module is used for sending login authentication information to server;
The initialization information receiver module is used for the initialization information that reception server sends, and carries the described last user profile link sequence that generates in the described initialization information.
17. a user information storage is characterized in that, described device comprises:
The sequential reception module is used to receive the user profile link sequence that client sends, described user profile link sequence by the chained address of the memory location of identifying user information and the default separator that is used to separate the different linking address form;
Memory module is used for described user profile is linked the aiming field that sequence stores setting into.
18. device as claimed in claim 17 is characterized in that, described device also comprises:
The newly-added information receiver module is used to receive the information that Adds User that client sends;
The position distribution module is used to the information distribution memory location that Adds User;
The address sending module is used for the newly-increased chained address to the memory location of the described information that Adds User of client transmission sign.
19. device as claimed in claim 17 is characterized in that, described device also comprises:
The authorization information detection module is used to detect the login authentication information that client sends;
The initialization information sending module is used for returning initialization information to client, carries the last user profile link sequence that generates in the described initialization information.
20. device according to claim 17 is characterized in that, described device also comprises:
The request receiver module is used to receive the user profile of carrying the chained address that client sends and obtains request;
User profile is returned module, is used for returning the user profile that the chained address identified that the user profile request of obtaining is carried to client.
CN201310067509.3A 2013-03-04 2013-03-04 user information storage method and device Active CN103220327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310067509.3A CN103220327B (en) 2013-03-04 2013-03-04 user information storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310067509.3A CN103220327B (en) 2013-03-04 2013-03-04 user information storage method and device

Publications (2)

Publication Number Publication Date
CN103220327A true CN103220327A (en) 2013-07-24
CN103220327B CN103220327B (en) 2016-08-17

Family

ID=48817778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310067509.3A Active CN103220327B (en) 2013-03-04 2013-03-04 user information storage method and device

Country Status (1)

Country Link
CN (1) CN103220327B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791098A (en) * 2016-04-29 2016-07-20 广州灵光信息科技有限公司 Chat background presenting method based on instant communication software
CN105847126A (en) * 2016-04-29 2016-08-10 广州灵光信息科技有限公司 Chat window background display device based on instant messaging software
CN109597948A (en) * 2018-10-17 2019-04-09 深圳壹账通智能科技有限公司 Access method, system and the storage medium of URL link

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124294A1 (en) * 2005-11-25 2007-05-31 Qian Sun Search proxy device, communication system, and method for searching for information
CN101304583A (en) * 2008-06-17 2008-11-12 中国电信股份有限公司 Method and system for implementing individual information backup based on smart card
CN101477535A (en) * 2008-12-30 2009-07-08 华为技术有限公司 Web page display method, request processing method, apparatus and system
CN101673278A (en) * 2009-02-27 2010-03-17 北京搜狗科技发展有限公司 Method and device for displaying web page
CN101790141A (en) * 2009-12-17 2010-07-28 华为终端有限公司 Method and mobile phone for processing short message
CN101887446A (en) * 2010-04-22 2010-11-17 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for inputting E-mail address

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124294A1 (en) * 2005-11-25 2007-05-31 Qian Sun Search proxy device, communication system, and method for searching for information
CN101304583A (en) * 2008-06-17 2008-11-12 中国电信股份有限公司 Method and system for implementing individual information backup based on smart card
CN101477535A (en) * 2008-12-30 2009-07-08 华为技术有限公司 Web page display method, request processing method, apparatus and system
CN101477535B (en) * 2008-12-30 2011-06-08 华为技术有限公司 Web page display method, request processing method, apparatus and system
CN101673278A (en) * 2009-02-27 2010-03-17 北京搜狗科技发展有限公司 Method and device for displaying web page
CN101790141A (en) * 2009-12-17 2010-07-28 华为终端有限公司 Method and mobile phone for processing short message
CN101887446A (en) * 2010-04-22 2010-11-17 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for inputting E-mail address

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791098A (en) * 2016-04-29 2016-07-20 广州灵光信息科技有限公司 Chat background presenting method based on instant communication software
CN105847126A (en) * 2016-04-29 2016-08-10 广州灵光信息科技有限公司 Chat window background display device based on instant messaging software
CN105791098B (en) * 2016-04-29 2019-04-12 广州灵光信息科技有限公司 A kind of chat background rendering method based on instant message applications
CN105847126B (en) * 2016-04-29 2019-07-09 广州灵光信息科技有限公司 A kind of chat background presentation device based on instant message applications
CN109597948A (en) * 2018-10-17 2019-04-09 深圳壹账通智能科技有限公司 Access method, system and the storage medium of URL link

Also Published As

Publication number Publication date
CN103220327B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN102497635B (en) Server, terminal and account password acquisition method
CN103428525B (en) Internet video and the online query of TV programme and control method for playing back and system
CN103037312B (en) Information push method and device
CN103188328A (en) Mobile terminal application program sharing method, server and system
CN104486388A (en) Accessing method and device of cloud storage file
CN103973651A (en) Account password identification setting and inquiring method and device based on salt password bank
CN105550252A (en) File positioning method and device and electronic equipment
CN104951466A (en) POI information search method, device and system and related equipment
CN104243661A (en) Method, server and mobile terminal for determining types of incoming call numbers
CN104899049A (en) File deletion method and device
CN105095313A (en) Data access method and equipment
CN104618444A (en) Reverse agent server processing request based method and device
CN103701929A (en) Method and device for realizing business data caching
CN101820439A (en) Display method, device and client for files
CN105554735A (en) Method and system for binding intelligent device
CN103581040A (en) Server distributing device and server distributing method
CN104424257A (en) Information indexing unit and information indexing method
KR20130041824A (en) Terminal application search system
CN102163197A (en) Skin changing method, system and device
CN106936907B (en) File processing method, logic server, access server and system
CN103220327A (en) User information memorizing method and device
CN108833961B (en) Method, server and system for acquiring flight record data
CN105554136A (en) Backup data restoration method, device and system
CN110661851A (en) Data exchange method and device
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant