Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the invention provides a kind of data hierarchy storage means of base and system, be intended to solve user in prior art carry out different doings in different social circles and need apply for multiple account, and user adds different interest group based on a social software, the information that user profile can not get available protecting and reception crosses the assorted problem of serious offense, make user only need apply for an account, and create multiple virtual role based on described account, each virtual role carries out doings with all users with same alike result in unique social circle of its correspondence, have great convenience for the user.
For reaching above-mentioned purpose, the present invention adopts following technical scheme:
A kind of data hierarchy storage means, wherein, comprises the following steps:
The operational order that A, mobile terminal receive user logs in social client, creates multiple virtual roles of bind properties label, and the character data of multiple virtual role is sent to server end;
B, server end obtain the attribute tags of multiple virtual role, and according to described attribute tags, character data corresponding for multiple virtual role are stored in respectively memory space corresponding to server end.
Described data hierarchy storage means, wherein, described attribute tags is hobby label, professional label, sex label or constellation label etc.
Described data hierarchy storage means, wherein, each virtual role correspondence binding attribute tags in described steps A.
Described data hierarchy storage means, wherein, described step B specifically comprises:
The character data of multiple virtual role described in B1, received server-side, and the attribute tags of multiple virtual role is obtained according to character data;
B2, server end, according to described attribute tags, mark off and described attribute tags memory space one to one;
The character data with same alike result label is stored to same memory space by B3, server end.
Described data hierarchy storage means, wherein, described character data is also bound (also can not bind) with mobile terminal real-time geographical locations information.
A kind of data hierarchy storage system, wherein, comprising:
Create and sending module, the operational order receiving user for mobile terminal logs in social client, creates multiple virtual roles of bind properties label, and the character data of multiple virtual role is sent to server end;
Bedding storage module, obtains the attribute tags of multiple virtual role for server end, and according to described attribute tags, character data corresponding for multiple virtual role is stored in respectively memory space corresponding to server end.
Described data hierarchy storage system, wherein, described attribute tags is hobby label, professional label, sex label or constellation label etc.
Described data hierarchy storage system, wherein, each virtual role correspondence binding attribute tags in described establishment and sending module.
Described data hierarchy storage system, wherein, described Bedding storage module specifically comprises:
Label information acquiring unit, for the character data of the multiple virtual role of received server-side, and obtains the attribute tags of multiple virtual role according to character data;
Memory space division unit, for server end according to described attribute tags, marks off and described attribute tags memory space one to one;
Classification memory cell, is stored to same memory space for server end by the character data with same alike result label.
Described data hierarchy storage system, wherein, described character data is also bound with mobile terminal real-time geographical locations information.
Compared with prior art, a kind of data hierarchy storage means provided by the present invention and system, method comprises: the operational order that mobile terminal receives user logs in social client, create multiple virtual roles of bind properties label, and the character data of multiple virtual role is sent to server end; Server end obtains the attribute tags of multiple virtual role, and according to described attribute tags, character data corresponding for multiple virtual role is stored in respectively region corresponding to server end.Like this, user only need apply for an account, and creates multiple virtual role based on described account, and each virtual role carries out doings with all users with same alike result in unique social circle of its correspondence, has great convenience for the user.
Embodiment
The invention provides a kind of data hierarchy storage means and system, for making object of the present invention, technical scheme and effect clearly, clearly, referring to accompanying drawing examples, the present invention is described in more detail.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is data hierarchy storage means flow chart of the present invention.As shown in Figure 1, data hierarchy storage means of the present invention, comprises the following steps:
The operational order that step S100, mobile terminal receive user logs in social client, creates multiple virtual roles of bind properties label, and the character data of multiple virtual role is sent to server end.
In embodiments of the invention, the attribute tags of each virtual role is mutually completely different, does not also associate.When each virtual role creates, all corresponding ejection attribute tags arranges window, so that user carries out attribute tags setting.Due to when user creates multiple virtual role, to each virtual roles bindings attribute tags, ensure that each virtual role only for the doings of a certain social circle.When the character data of multiple virtual role is sent to server end by mobile terminal, also described attribute tags is bundled in described character data and together sends.And when user uses a certain role to carry out various social action in the client, the related data that this role can produce by client all can be sent to server end and store.
Step S200, server end obtain the attribute tags of multiple virtual role, and according to described attribute tags, character data corresponding for multiple virtual role are stored in respectively memory space corresponding to server end.
Obviously, after user creates and has the virtual role of different attribute label in the social client of mobile terminal, the character data of each virtual role need be sent to server end and store by mobile terminal.Do not associate in order to ensure each virtual role, need be separated storage, namely need to open up the different memory space of polylith at server end, each memory space all binds an attribute tags.When the attribute tags of virtual role and the attribute tags of memory space identical time, then the character data of this virtual role is stored in this memory space.And the data in each memory space are all mutually isolated, completely unconnected.
Embodiment further, described attribute tags is hobby label, professional label, sex label or constellation label.Such as, certain user likes skiing, can create the virtual role of this attribute tags of binding Ski amateur, and arrange head portrait, the pet name and relevant information.If this user also likes surfing, also can create the virtual role of this attribute tags of binding surfing fan, more a set of head portrait, the pet name and relevant information are set.By that analogy, this user can at the multiple virtual role of establishment, and the data of the corresponding complete set of each virtual role, all by an Account Administration.Because the character data in multiple virtual roles that multiple user creates by server end with the virtual role of same alike result label is all stored to same memory space, therefore a hobby role world can be formed, in this role world, various interchange can be carried out with other users between the user with same alike result label, and it carries out his doings.Described attribute tags, except being hobby label, can also be professional label, sex label or constellation label etc.
Embodiment further, in the specific implementation, described step S100 specifically comprises data hierarchy storage means of the present invention:
Step one: mobile terminal receives the operational order of user, logs in social client, creates multiple virtual role, and arrange the good label of an attribute to each virtual role.
In the above-mentioned steps one of present pre-ferred embodiments, each virtual role that user creates can only arrange an attribute tags.Such as user A creates virtual role 1, virtual role 2 and virtual role 3, and in constructive process, virtual role 1 binds golf hobby label, virtual role 2 binds horsemanship hobby label, virtual role 3 binds football hobby label.
And in other examples, the label of each virtual role correspondence binding is not limited to only selects a hobby as label, also can be the merging of several hobby as same label, such as above-mentioned virtual role 1 binds a label of golf hobby, horsemanship hobby and football hobby simultaneously.Or in other execution mode, by the label of corresponding multiple for same virtual role difference hobby, such as above-mentioned virtual role 1 binds three different hobby labels simultaneously, so a certain identical virtual role can be occurred in different character data memory spaces.
Step 2: the character data of multiple virtual role is sent to server end by mobile terminal.
Obviously, after user completes and creates virtual role, the character data of the multiple virtual roles created need be sent to server end and be for further processing.In the specific implementation, the step S200 after step 2 specifically comprises data hierarchy storage means of the present invention:
The character data of multiple virtual role described in the first step, received server-side, and the attribute tags of multiple virtual role is obtained according to character data.
After the character data of the virtual role that the multiple user of received server-side creates, first obtain attribute tags from from character data, and then character data is stored in the memory space of same attribute tags according to attribute tags.Such as user A creates the virtual role 3 of the virtual role 1 of binding golf hobby label, the virtual role 2 of binding horsemanship hobby label and binding football hobby label, user B create binding basketball interest hobby label virtual role first, bound the virtual role second of surfing hobby label and bound the role third of football hobby label.After user A and user B is completed virtual role establishment, the character data of all virtual roles is all sent to server end.Now received server-side character data, and obtain the hobby label bound in each character data, concrete as golf, horsemanship, football, basketball and surfing.Certainly, when other users create the virtual role with other hobby labels, server end also can obtain hobby label.
Second step, server end, according to described attribute tags, mark off and described attribute tags memory space one to one.
The character data with same alike result label is stored to same memory space by the 3rd step, server end.
Obviously, after obtaining the attribute tags of multiple virtual roles that multiple user creates in a first step in server, then according to the kind sum of the attribute tags obtained, divide the memory space equal with the kind sum quantity of attribute tags at the storage area of server end, and each memory space is bound an attribute tags.During concrete enforcement, attribute tags, except being after user is arranged arbitrarily, being submitted to server end to carry out sensitive word checking, when being verified by sensitive word, being allowed to arrange this attribute tags; Also can be user when logging in social client and creating virtual role, select creating in the attribute tags list provided in interface.
Further embodiment, described character data is also bound with mobile terminal real-time geographical locations information.When user is in the role world corresponding to a certain memory space, according to the real-time geographical locations information of all users in this role world, friend or the club of periphery can be searched, and what search is all user in the same role world or club, can not search user or the club in other role worlds across the role world.Such as be in the user in the skiing role world, only search the user or the club that create role in the skiing role world, search for user or the club less than creating role in the surfing role world and other any role world.
User is in certain role world, and when sending a certain message request, the user that information will only convey in the same role world, can not send the user in other role worlds to across the role world.Such as be in the user in the skiing role world, send disclosed movable message request, the user only having the skiing role world to create role can receive.The user that the surfing role world and other any role world create role can not receive.
Based on above-described embodiment, the present invention also provides a kind of data hierarchy storage system, and as shown in Figure 2, described data hierarchy storage system comprises:
Create and sending module 100, the operational order receiving user for mobile terminal logs in social client, creates multiple virtual roles of bind properties label, and the character data of multiple virtual role is sent to server end;
Bedding storage module 200, obtains the attribute tags of multiple virtual role for server end, and according to described attribute tags, character data corresponding for multiple virtual role is stored in respectively memory space corresponding to server end.
Embodiment further, in described data hierarchy storage system, described attribute tags is hobby label, professional label, sex label or constellation label.
Embodiment further, in described data hierarchy storage system, each virtual role correspondence binding attribute tags in described establishment and sending module 100.
Embodiment further, in described data hierarchy storage system, described Bedding storage module 200 specifically comprises:
Label information acquiring unit, for the character data of virtual role multiple described in received server-side, and obtains the attribute tags of multiple virtual role according to character data;
Memory space division unit, for server end according to described attribute tags, marks off and described attribute tags memory space one to one;
Classification memory cell, is stored to same memory space for server end by the character data with same alike result label.
Embodiment further, in described data hierarchy storage system, described character data is also bound with mobile terminal real-time geographical locations information.
In sum, a kind of data hierarchy storage means provided by the present invention and system, method comprises: the operational order that mobile terminal receives user logs in social client, creates multiple virtual roles of bind properties label, and the character data of multiple virtual role is sent to server end; Server end obtains the attribute tags of multiple virtual role, and according to described attribute tags, character data corresponding for multiple virtual role is stored in respectively region corresponding to server end.Like this, user only need apply for an account, and creates multiple virtual role based on described account, and each virtual role carries out doings with all users with same alike result in unique social circle of its correspondence, has great convenience for the user.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.