CN108876081A - virtual room distribution method, device, storage medium and processor - Google Patents
virtual room distribution method, device, storage medium and processor Download PDFInfo
- Publication number
- CN108876081A CN108876081A CN201710344053.9A CN201710344053A CN108876081A CN 108876081 A CN108876081 A CN 108876081A CN 201710344053 A CN201710344053 A CN 201710344053A CN 108876081 A CN108876081 A CN 108876081A
- Authority
- CN
- China
- Prior art keywords
- virtual room
- account number
- information
- distribution
- room
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Educational Administration (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of virtual room distribution method, device, storage medium and processors.Wherein, this method includes:Receive the distribution virtual room solicited message that client is sent, wherein, distribution virtual room solicited message is used to request to log in the account number of client and distributing virtual room, the first object region that account number requests access to is carried in distribution virtual room solicited message, first object region is a region in multiple predeterminable areas;Destination virtual room is generated according to the area information in first object region;Response distribution virtual room solicited message sends virtual room to client and distributes information, wherein virtual room distribution information, which is used to indicate, distributes to account number for destination virtual room.The present invention solves the technical issues of can not providing different virtual rooms in the related technology for different user.
Description
Technical field
The present invention relates to computer fields, in particular to a kind of virtual room distribution method, device, storage medium
And processor.
Background technique
With the development that computer technology is maked rapid progress, the operation that people can be realized on computers is more and more abundant,
Such as game, meeting, shopping etc..In many application environments, user can be entered in a Virtual space, at this
There can also be other users in space, these are in same scene in the user in the same Virtual Space, such void
Quasi- space can be referred to as virtual room.Virtual room is widely used in computer field, and virtual room common at present is raw
It at mode is pre-generated by computer, then distributes room according to certain rule after thering is user's request.This mode
So that the virtual room for user's distribution is stereotyped, distinctive virtual room can not be provided for different users.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of virtual room distribution method, device, storage medium and processors, at least to solve
The technical issues of different virtual rooms certainly can not be provided in the related technology for different user.
According to an aspect of an embodiment of the present invention, a kind of virtual room distribution method is provided, including:Receive client
The distribution virtual room solicited message of transmission, wherein the distribution virtual room solicited message logs in the visitor for requesting
The account number at family end distributes virtual room, carries the account number requests access to first in the distribution virtual room solicited message
Target area, the first object region are a regions in multiple predeterminable areas;According to the area in the first object region
Domain information generates destination virtual room;It responds the distribution virtual room solicited message and sends virtual room point to the client
With information, wherein the virtual room distribution information, which is used to indicate, distributes to the account number for the destination virtual room.
Optionally, resource is extracted from the corresponding resources bank in the first object region, includes as the target resource
At least one of:From the resource for obtaining physical presence in the map in the resources bank, as the target resource;From institute
It states and obtains resource in resources bank at random, as the target resource.
Optionally, it responds the distribution virtual room solicited message and sends the virtual room distribution letter to the client
Breath includes:The account number is added in the members list in the destination virtual room, wherein the members list is for recording
Into the account number in the destination virtual room;The virtual room is sent to the client and distributes information, wherein described virtual
Distribution information in room carries the room identification, resource arrangement data and the members list.
Optionally, before responding the data request information and sending request of data return information to the client, institute
The method of stating further includes:The second target where the client is determined according to the location information carried in the data request information
Region, wherein the location information is used to indicate the geographical location where the client, and second target area is described
A region in multiple predeterminable areas;The account number is added in the corresponding Accounts List in second target area,
In, the Accounts List is used to record the account number into second target area, also takes in the request of data return information
Band is used to indicate the information that the client belongs in second target area.
According to another aspect of an embodiment of the present invention, a kind of virtual room distribution method is additionally provided, including:Send distribution
Virtual room solicited message is to server, wherein the distribution virtual room solicited message is to step on for requesting the server
The account number for recording client distributes virtual room, carries what the account number requested access in the distribution virtual room solicited message
First object region, the first object region are a regions in multiple predeterminable areas;Receive the server hair
The virtual room distribution information sent, wherein the virtual room distribution information, which is used to indicate, distributes to institute for destination virtual room
Account number is stated, the destination virtual room is the virtual room that the server is generated according to the area information in the first object region
Between.
Optionally, location information is carried in the data request information, wherein the location information is used to indicate described
Geographical location where client;It is also carried in the request of data return information and is used to indicate the client and belongs to second
Information in target area, wherein second target area be the server according to the positional information determine it is described
Region where client, second target area are a regions in the multiple predeterminable area.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, the storage medium includes storage
Program, wherein described program run when execute method described in any of the above embodiments.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, which is characterized in that the processor is used
In operation program, wherein described program executes method described in any of the above embodiments when running.
According to another aspect of an embodiment of the present invention, a kind of virtual room distributor is additionally provided, including:First receives
Module, for receiving the distribution virtual room solicited message of client transmission, wherein the distribution virtual room solicited message is used
Virtual room is distributed to log in the account number of the client in request, is carried in the distribution virtual room solicited message described
The first object region that account number requests access to, the first object region are a regions in multiple predeterminable areas;Generate mould
Block, for generating destination virtual room according to the area information in the first object region;First sending module, for responding
It states distribution virtual room solicited message and sends virtual room distribution information to the client, wherein the virtual room distribution
Information, which is used to indicate, distributes to the account number for the destination virtual room.
Optionally, the generation module includes:Judging unit, for judge in the first object region with the presence or absence of into
The quantity of the account number entered is not up to the room of default account number quantity;Selecting unit, for existing in the first object region
In the case that the quantity of the account number of entrance is not up to the room of the default account number quantity, it is not up to from the quantity of the account number of entrance
Select a room as the destination virtual room in the room of the default account number quantity;Second generation unit is used for
In the case where being not up to the room of the default account number quantity there is no the quantity of the account number entered in the first object region,
The destination virtual room is generated according to the area information in the first object region.
Optionally, described device further includes:Second receiving module, the request of data letter sent for receiving the client
Breath, wherein the data request information is used for the information of the multiple predeterminable area of request;Second sending module, is used for
It responds the data request information and sends request of data return information to the client, wherein the request of data replys letter
Breath carries the identification information of the multiple predeterminable area and enters the quantity information of the account number of each predeterminable area.
According to another aspect of an embodiment of the present invention, a kind of virtual room distributor is additionally provided, including:Third is sent
Module, for sending distribution virtual room solicited message to server, wherein the distribution virtual room solicited message is for asking
Seeking the server is the account number distribution virtual room for logging in client, is carried in the distribution virtual room solicited message
The first object region that account number requests access to is stated, the first object region is a region in multiple predeterminable areas;Third
Receiving module distributes information for receiving the virtual room that the server is sent, wherein the virtual room distribution information is used
The account number is distributed into destination virtual room in instruction, the destination virtual room is the server according to first mesh
Mark the virtual room that the area information in region generates.
In embodiments of the present invention, the distribution virtual room solicited message that client is sent is received, wherein distribute virtual room
Between solicited message be used for request for log in client account number distribute virtual room, distribution virtual room solicited message in carry
The first object region that account number requests access to, first object region are a regions in multiple predeterminable areas;According to the first mesh
The area information for marking region generates destination virtual room;Response distribution virtual room solicited message sends virtual room to client
Distribute information, wherein virtual room distribution information, which is used to indicate, distributes to account number for destination virtual room.That is, according to
The area information in the first object region carried in the distribution virtual room solicited message that client is sent generates destination virtual room
Between, and the virtual room is distributed into the client for sending and requesting by sending virtual room distribution information to client, it is seen then that
Destination virtual room is that the area information in first object region requested access to according to the account number for logging in client generates, thus
So that destination virtual room has the regional characteristics in first object region, by obtain log in client account number selection wait visit
The first object region asked, dynamic generation has the destination virtual room of regional characteristics, so that account number is able to enter different void
Quasi- room, provides different virtual rooms to realize for different user, and then overcoming can not be different user in the related technology
The problem of different virtual rooms are provided.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of application environment schematic diagram of optional virtual room distribution method according to an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of optional virtual room distribution method according to an embodiment of the present invention;
Fig. 3 is the signal in destination virtual room in a kind of optional virtual room distribution method according to an embodiment of the present invention
Figure;
Fig. 4 is the schematic diagram of another optional virtual room distribution method according to an embodiment of the present invention;
Fig. 5 is request of data return information in a kind of optional virtual room distribution method according to an embodiment of the present invention
Schematic diagram;
Fig. 6 is a kind of schematic diagram of optional virtual room distributor according to an embodiment of the present invention;
Fig. 7 is the schematic diagram of another optional virtual room distributor according to an embodiment of the present invention;
Fig. 8 is a kind of application scenarios schematic diagram of optional virtual room distribution method according to an embodiment of the present invention;With
And
Fig. 9 is a kind of schematic diagram of optional virtual room distributing equipment according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
In embodiments of the present invention, a kind of embodiment of above-mentioned virtual room distribution method is provided.As a kind of optional
Embodiment, the virtual room distribution method can be, but not limited to be applied to application environment as shown in Figure 1 in, client
102 are connect by network 106 with server 104, server 104, and the distribution virtual room for receiving the transmission of client 102 is asked
Seek information, wherein distribution virtual room solicited message is used to request by network 106 to log in the distribution of the account number of client 102
Virtual room distributes in virtual room solicited message and carries the first object region that account number requests access to, first object region
It is a region in multiple predeterminable areas;Destination virtual room is generated according to the area information in first object region;Response point
Virtual room is sent to client 102 by network 106 with virtual room solicited message and distributes information, wherein virtual room point
It is used to indicate with information and account number is distributed into destination virtual room.
In the present embodiment, it is carried in the distribution virtual room solicited message that server 104 is sent according to client 102
The area information in first object region generates destination virtual room, and distributes information by sending virtual room to client 102
The virtual room is distributed to the client 102 for sending request, it is seen then that destination virtual room is according to login client 102
What the area information in the first object region that account number requests access to generated, so that destination virtual room has first object area
The regional characteristics in domain, the first object region to be visited of the account number selection of client is logged in by obtaining, and dynamic generation has
The destination virtual room of regional characteristics mentions so that account number is able to enter different virtual rooms to realize for different user
For different virtual rooms, and then overcome the problems, such as that different virtual rooms can not be provided for different user in the related technology.
Optionally, in the present embodiment, above-mentioned client can include but is not limited at least one of:Mobile phone, plate
Computer, laptop, desktop PC, DTV, virtual reality (Virtual Reality, abbreviation VR) equipment and other
Carry out the hardware device of district-share.Above-mentioned network can include but is not limited at least one of:Wide area network, Metropolitan Area Network (MAN), office
Domain net.Above-mentioned only a kind of example, the present embodiment do not do any restriction to this.
Optionally, in the present embodiment, server 104 is used for:Mesh is obtained from the corresponding resources bank in first object region
Mark resource and the corresponding map in first object region;Destination virtual room is generated according to target resource and map.
Optionally, in the present embodiment, server 104 is used for:Account number birth point position is distributed for destination virtual room,
In, account number birth point position is used to indicate into the initial position where the account number in destination virtual room;From first object region
The map in preset range in corresponding resources bank where acquisition account number birth point position;From the corresponding money in first object region
Resource is extracted in library in source, as target resource.
Optionally, in the present embodiment, server 104 is used at least one of:It is real in map from being obtained in resources bank
Resource existing for border, as target resource;Resource is obtained at random from resources bank, as target resource.
Optionally, in the present embodiment, server 104 is used for:According to pathfinding rule and preset resource distribution rule
Target resource is arranged on map, resource arrangement data are obtained;Room identification is distributed for destination virtual room, generation carries
The destination virtual room of resource arrangement data and room identification, wherein room identification is used for unique identification destination virtual room.
Optionally, in the present embodiment, server 104 is used for:Account number is added to the members list in destination virtual room
In, wherein members list is used to record the account number into destination virtual room;Virtual room, which is sent, to client distributes information,
Wherein, virtual room distribution information carries room identification, resource arrangement data and members list.
Optionally, in the present embodiment, server 104 is used for:Judge in first object region with the presence or absence of the account entered
Number quantity be not up to the room of default account number quantity;The quantity that there is the account number entered in first object region is not up to pre-
If in the case where the room of account number quantity, selecting one from the room that the quantity of the account number of entrance is not up to default account number quantity
Room is as destination virtual room;There is no the not up to default account number quantity of the quantity of the account number entered in first object region
Room in the case where, according to the area information in first object region generate destination virtual room.
Optionally, in the present embodiment, server 104 is used for:Receive the data request information that client is sent, wherein
Data request information is used for the information of the multiple predeterminable areas of request;Response data solicited message sends request of data and replys letter
It ceases to client, wherein request of data return information carries the identification information of multiple predeterminable areas and enters each default
The quantity information of the account number in region.
Optionally, in the present embodiment, server 104 is used for:It is true according to the location information carried in data request information
Determine the second target area where client, wherein location information is used to indicate the geographical location where client, the second target
Region is a region in multiple predeterminable areas;Account number is added in the corresponding Accounts List in the second target area, wherein
Accounts List is used to record the account number into the second target area, also carries in request of data return information and is used to indicate client
End belongs to the information in the second target area
Optionally, in the present embodiment, client 102 is also used to:Receive account number is selected from multiple predeterminable areas the
One target area.
According to embodiments of the present invention, a kind of virtual room distribution method is provided, as shown in Fig. 2, this method includes:
S202 receives the distribution virtual room solicited message that client is sent, wherein distribution virtual room solicited message is used
Virtual room is distributed to log in the account number of client in request, account number is carried in distribution virtual room solicited message and requests access to
First object region, first object region is a region in multiple predeterminable areas;
S204 generates destination virtual room according to the area information in first object region;
S206, response distribution virtual room solicited message send virtual room to client and distribute information, wherein virtual room
Between distribution information be used to indicate account number distributed into destination virtual room.
Optionally, in the present embodiment, above-mentioned virtual room distribution method can be, but not limited to be applied to server to be to step on
Record the scene of the account number distribution virtual room of client.Wherein, above-mentioned client can be, but not limited to as various types of clients
End, for example, online education client, net cast client, instant communication client, community space client, game client
End etc..Specifically, can be, but not limited to be applied in above-mentioned server to be the account number distribution virtual room for logging in game client
Scene in, or can with but be not limited to be applied to above-mentioned server be log in net cast client account number distribution virtually
In the scene in room, different virtual rooms are provided to be embodied as different user.Above-mentioned is only a kind of example, to this in the present embodiment
Any restriction is not done.
Optionally, in the present embodiment, above-mentioned multiple predeterminable areas can be, but not limited to be the subregion on geographical location.Example
Such as:Country, province, city, administrative area, street, cell etc..
In a kind of optional embodiment, by taking province divides above-mentioned multiple predeterminable areas as an example, multiple predeterminable areas can
With but be not limited to include:Hebei province, Henan Province, Sichuan Province, Heilongjiang Province, Jiangsu Province etc..The distribution virtual room received
Indicate that first object region is Sichuan Province in solicited message, according to the geomorphic feature of the area information in Sichuan Province, such as Sichuan Province
The information such as information, architectural style information, local conditions and customs generate destination virtual room.
Optionally, in the present embodiment, above-mentioned destination virtual room can be, but not limited to be used for:Game, meeting, course,
Browsing etc..Such as:In game application, user can carry out game fighting in destination virtual room or complete game times
Business etc., since destination virtual room is generated according to the area information in first object region, different first object areas
Different destination virtual rooms can be generated in domain, also just presents different scene of game in different target virtual room.For with
Family provides the game experiencing of more abundant diversification, improves user experience.
In a kind of optional embodiment, by taking user is experienced using VR equipment as an example, multiple predeterminable areas according to
True province is divided.User logs on to client using account number, and the first object region requested access to is Sichuan Province, clothes
Business device receives the virtual room solicited message of client transmission, generates destination virtual room according to the area information in Sichuan Province,
And distribute information by virtual room and account is distributed into destination virtual room, user is in VR equipment it can be seen that certainly at this time
Oneself enters the destination virtual room, is illustrated in figure 3 the scene that user enters destination virtual room.It can in destination virtual room
Can there are house, road, river, bridge, mountain stone etc., their arrangement can be according to the topography and geomorphology arrangement in reality,
It is also possible to random arrangement.User can move in destination virtual room, for example can walk about along road, can appreciate
The landscape of surrounding.User can also interact with the object in destination virtual room, such as can be by stone from a position
It is moved to another position, leaf or flower on tree can be taken, the bigcatkin willow in river can be risen etc..
As it can be seen that through the above steps, the first mesh carried in the distribution virtual room solicited message sent according to client
The area information for marking region generates destination virtual room, and distributes information for the virtual room by sending virtual room to client
Between distribute to the client for sending request, it is seen then that destination virtual room is the requested access to according to the account number for logging in client
What the area information of one target area generated, so that destination virtual room has the regional characteristics in first object region, lead to
The first object region to be visited for obtaining the account number selection for logging in client is crossed, dynamic generation has the target of regional characteristics empty
Quasi- room provides different virtual rooms to realize so that account number is able to enter different virtual rooms for different user, into
And overcome the problems, such as that different virtual rooms can not be provided for different user in the related technology.
As a kind of optional scheme, generating destination virtual room according to the area information in first object region includes:
S1 obtains target resource and the corresponding map in first object region from the corresponding resources bank in first object region;
S2 generates destination virtual room according to target resource and map.
Optionally, in the present embodiment, the corresponding map in above-mentioned first object region can be, but not limited to be first object
The actual map in region also can be, but not limited to be pre-set map.
Optionally, in the present embodiment, the initial position for entering destination virtual room can be distributed for account number, then
In acquisition first object region when corresponding map, so that it may the map near the initial position is obtained, without obtaining first
The corresponding entire map in target area, to mitigate operand.Such as:Account number birth point position is distributed for account number, wherein account
Number birth point a position be used to indicate into the initial position where the account number in destination virtual room, it is corresponding from first object region
The map in preset range in resources bank where acquisition account number birth point position, from the corresponding resources bank in first object region
Resource is extracted, as target resource.
Optionally, in the present embodiment, the position that can be, but not limited to carry account number in virtual room solicited message is distributed
Confidence breath, account number birth point position can be, but not limited to be obtained according to the location information of account number, be also possible to be randomly assigned
's.
Optionally, in the present embodiment, the mode that target resource is obtained from resources bank can be, but not limited to include following
At least one:
Mode 1, from the resource for obtaining physical presence in map in resources bank, as target resource.Target resource can with but
It is not limited to the resource of physical presence in map, for dividing predeterminable area according to province, first object region is Sichuan Province,
Be set to Sichuan Province Chengdu Chengdu sports center for the account number point of being born of account number distribution, the map of acquisition can be Sichuan Province at
Have an area of the map of 500 meters of ranges around the sports center of city Chengdu.The target resource so obtained can be in the map of acquisition
The resource of physical presence, such as:The building of Sichuan Province Chengdu Chengdu sports center, the trees of surrounding, road etc. resource.?
That is user can see true scene around account number birth point position after entering destination virtual room.
Mode 2, obtains resource at random from resources bank, as target resource.Target resource also can be, but not limited to be with
The resource that machine obtains, for dividing predeterminable area according to province, first object region is Sichuan Province, for the account number of account number distribution
Birth point is set to Sichuan Province Chengdu Chengdu sports center, and the map of acquisition can be Sichuan Province Chengdu Chengdu sports center
Surrounding has an area of the map of 500 meters of ranges.The resources such as building, road, trees can be obtained at random in resources bank.That is,
User is after entering destination virtual room it can be seen that scene virtual around account number birth point position.
Optionally, in the present embodiment, the target resource of acquisition, which can also be, obtains in some or all maps
The resource of physical presence, and a part of resource is obtained at random.User is after entering destination virtual room it can be seen that account in this way
Number birth point position around an actual situation combine scene.
As a kind of optional scheme, generating destination virtual room according to target resource and map includes:
Target resource is arranged on map according to pathfinding rule and preset resource distribution rule, obtains resource by S1
Arrangement data;
S2 distributes room identification for destination virtual room, generates the target for carrying resource arrangement data and room identification
Virtual room, wherein room identification is used for unique identification destination virtual room.
Optionally, in the present embodiment, above-mentioned pathfinding rule refers to the rule for the retentively connectivity of graph, that is to say, that row
Each position on map after cloth resource can reach.
Optionally, in the present embodiment, preset resource distribution rule can be, but not limited to follow when referring to arrangement resource
Physics law etc..Such as:Building is road both sides, gantry are set to the junction in river and road, mountain stone cannot be placed on building
Above etc..
Optionally, in the present embodiment, the account number entered in destination virtual room can be recorded by members list, and will
The information such as the members list and above-mentioned room identification, resource arrangement data, which are carried, is sent to visitor in virtual room distribution information
Family end.Such as:Account number is added in the members list in destination virtual room, wherein members list enters target for recording
The account number of virtual room;Virtual room is sent to client and distributes information, wherein virtual room distribution information carries room mark
Knowledge, resource arrangement data and members list.
As a kind of optional scheme, generating destination virtual room according to the area information in first object region includes:
S1 judges that the quantity in first object region with the presence or absence of the account number entered is not up to the room of default account number quantity
Between;
The case where S2, the quantity that there is the account number entered in first object region is not up to the room of default account number quantity
Under, select a room as destination virtual room from the room that the quantity of the account number of entrance is not up to default account number quantity;
S3 is not up to the feelings in the room of default account number quantity in first object region there is no the quantity of the account number entered
Under condition, destination virtual room is generated according to the area information in first object region.
Optionally, in the present embodiment, may determine that before generating new virtual room in first object region whether
There is less than room, that is, the quantity of the account number entered is not up to the room of default account number quantity, and if so, preferentially will be less than
Room distribute to account, if there is no then generating new room.To improve the utilization rate of resource.
Further include before receiving the distribution virtual room solicited message that client is sent as a kind of optional scheme:
S1 receives the data request information that client is sent, wherein data request information is multiple default for request
The information in region;
S2, response data solicited message send request of data return information to client, wherein request of data return information
It carries the identification information of multiple predeterminable areas and enters the quantity information of the account number of each predeterminable area.
It optionally, in the present embodiment, can be according to the data request information that client is sent by multiple predeterminable areas
Identification information and the quantity information of the account number into each predeterminable area are sent to client, so that user selects request to enter
First object region.
As a kind of optional scheme, response data solicited message send request of data return information to client it
Before, further include:
S1 determines the second target area where client according to the location information carried in data request information, wherein
Location information is used to indicate the geographical location where client, and the second target area is a region in multiple predeterminable areas;
Account number is added in the corresponding Accounts List in the second target area by S2, wherein Accounts List enters for recording
The account number of second target area also carries in request of data return information and is used to indicate client and belongs in the second target area
Information.
Optionally, in the present embodiment, second where client can be determined according to the location information that client is sent
Target area, and the information that client belongs to the second target area is sent to client, it allows users to determine oneself institute
Region, to select first object region.
Optionally, in the present embodiment, above-mentioned first object region and above-mentioned second target area can be identical, can also be with
It is different.In the case where above-mentioned first object region is different with above-mentioned second target area, it is believed that the client is in and wears
More state.
According to embodiments of the present invention, a kind of virtual room distribution method is provided, as shown in figure 4, this method includes:
S402 sends distribution virtual room solicited message to server, wherein distribution virtual room solicited message is for asking
Seeking server is the account number distribution virtual room for logging in client, distributes in virtual room solicited message and carries account number request visit
The first object region asked, first object region are a regions in multiple predeterminable areas;
S404, receive server send virtual room distribute information, wherein virtual room distribution information be used to indicate by
Account number is distributed in destination virtual room, and destination virtual room is the void that server is generated according to the area information in first object region
Quasi- room.
Optionally, in the present embodiment, above-mentioned virtual room distribution method can be, but not limited to be applied to log in client
Account number request server for its distribute virtual room scene.Wherein, above-mentioned client can be, but not limited to as various types
Client, for example, online education client, net cast client, instant communication client, community space client, trip
Client of playing etc..Specifically, can be, but not limited to be applied in the account number request server of above-mentioned login game client to be it
Distribute virtual room scene in, or can with but be not limited to be applied to above-mentioned login net cast client account number request
Server is distributed for it in scene of virtual room, provides different virtual rooms to be embodied as different user.Above-mentioned is only a kind of
Example does not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, above-mentioned multiple predeterminable areas can be, but not limited to be the subregion on geographical location.Example
Such as:Country, province, city, administrative area, street, cell etc..
In a kind of optional embodiment, by taking province divides above-mentioned multiple predeterminable areas as an example, multiple predeterminable areas can
With but be not limited to include:Hebei province, Henan Province, Sichuan Province, Heilongjiang Province, Jiangsu Province etc..The distribution virtual room of transmission is asked
It asks and indicates that first object region is Sichuan Province in information, server can be according to the area information in Sichuan Province, such as Sichuan Province
The information such as geomorphic feature information, architectural style information, local conditions and customs generate destination virtual room.
Optionally, in the present embodiment, above-mentioned destination virtual room can be, but not limited to be used for:Game, meeting, course,
Browsing etc..Such as:In game application, user can carry out game fighting in destination virtual room or complete game times
Business etc., since destination virtual room is generated according to the area information in first object region, different first object areas
Different destination virtual rooms can be generated in domain, also just presents different scene of game in different target virtual room.For with
Family provides the game experiencing of more abundant diversification, improves user experience.
In a kind of optional embodiment, by taking user is experienced using VR equipment as an example, multiple predeterminable areas according to
True province is divided.User logs on to client using account number, and the first object region requested access to is Sichuan Province, clothes
Business device receives the virtual room solicited message of client transmission, generates destination virtual room according to the area information in Sichuan Province,
And distribute information by virtual room and account is distributed into destination virtual room, user is in VR equipment it can be seen that certainly at this time
Oneself enters the destination virtual room, is illustrated in figure 3 the scene that user enters destination virtual room.It can in destination virtual room
Can there are house, road, river, bridge, mountain stone etc., their arrangement can be according to the topography and geomorphology arrangement in reality,
It is also possible to random arrangement.User can move in destination virtual room, for example can walk about along road, can appreciate
The landscape of surrounding.User can also interact with the object in destination virtual room, such as can be by stone from a position
It is moved to another position, leaf or flower on tree can be taken, the bigcatkin willow in river can be risen etc..
As it can be seen that through the above steps, carrying what request entered in the distribution virtual room solicited message sent to server
First object region, server generate destination virtual room according to the area information in first object region, and virtual by receiving
Room distributes the virtual room of information acquisition services device distribution, it is seen then that destination virtual room is according to the account number for logging in client
What the area information in the first object region requested access to generated, so that destination virtual room has first object region
Regional characteristics, the first object region to be visited of the account number selection of client is logged in by obtaining, and dynamic generation has region
The destination virtual room of feature provides not to realize for different user so that account number is able to enter different virtual rooms
Same virtual room, and then overcome the problems, such as that different virtual rooms can not be provided for different user in the related technology.
Optionally, in the present embodiment, first object region can be, but not limited to be that account number is selected from multiple predeterminable areas
It selects.Such as:Before above-mentioned steps S402, the first object region that account number is selected from multiple predeterminable areas can receive.
Optionally, in the present embodiment, account number is being received before the first object region selected in multiple predeterminable areas,
The information that above-mentioned multiple predeterminable areas can be obtained from server, is selected to be supplied to account number.Such as:Data are sent to ask
Ask information to server, wherein data request information is used for the information of the multiple predeterminable areas of request;Server is received to send
Request of data return information, wherein request of data return information carries identification information and the entrance of multiple predeterminable areas
The quantity information of the account number of each predeterminable area.
Optionally, in the present embodiment, location information is carried in data request information, wherein location information is for referring to
Show the geographical location where client;It is also carried in request of data return information and is used to indicate client and belongs to the second target area
Information in domain, wherein the second target area is server according to the region where the determining client of location information, the second mesh
Mark region is a region in multiple predeterminable areas.
In an optional embodiment, as shown in figure 5, showing multiple preset areas in request of data return information
Domain:(predeterminable area is complete there is no showing, user can be by sliding screen to the left for Qinghai, Sichuan, Gansu, Guizhou, Ningxia
Move the complete information to check the predeterminable area) etc. and predeterminable area Sichuan in 2 people of account number number, and show and work as
Preceding account number is located in predeterminable area Sichuan.User can select first object region by clicking predeterminable area.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of virtual room for implementing above-mentioned virtual room distribution method point is additionally provided
With device, as shown in fig. 6, the device includes:
1) the first receiving module 62, for receiving the distribution virtual room solicited message of client transmission, wherein distribution is empty
Quasi- room solicited message is used to request to distribute in virtual room solicited message and take to log in the account number of client and distributing virtual room
With the first object region that account number requests access to, first object region is a region in multiple predeterminable areas;
2) generation module 64, for generating destination virtual room according to the area information in first object region;
3) the first sending module 66 sends virtual room distribution to client for responding distribution virtual room solicited message
Information, wherein virtual room distribution information, which is used to indicate, distributes to account number for destination virtual room.
Optionally, in the present embodiment, above-mentioned virtual room distributor can be, but not limited to be applied to server to be to step on
Record the scene of the account number distribution virtual room of client.Wherein, above-mentioned client can be, but not limited to as various types of clients
End, for example, online education client, net cast client, instant communication client, community space client, game client
End etc..Specifically, can be, but not limited to be applied in above-mentioned server to be the account number distribution virtual room for logging in game client
Scene in, or can with but be not limited to be applied to above-mentioned server be log in net cast client account number distribution virtually
In the scene in room, different virtual rooms are provided to be embodied as different user.Above-mentioned is only a kind of example, to this in the present embodiment
Any restriction is not done.
Optionally, in the present embodiment, above-mentioned multiple predeterminable areas can be, but not limited to be the subregion on geographical location.Example
Such as:Country, province, city, administrative area, street, cell etc..
In a kind of optional embodiment, by taking province divides above-mentioned multiple predeterminable areas as an example, multiple predeterminable areas can
With but be not limited to include:Hebei province, Henan Province, Sichuan Province, Heilongjiang Province, Jiangsu Province etc..The distribution virtual room received
Indicate that first object region is Sichuan Province in solicited message, according to the geomorphic feature of the area information in Sichuan Province, such as Sichuan Province
The information such as information, architectural style information, local conditions and customs generate destination virtual room.
Optionally, in the present embodiment, above-mentioned destination virtual room can be, but not limited to be used for:Game, meeting, course,
Browsing etc..Such as:In game application, user can carry out game fighting in destination virtual room or complete game times
Business etc., since destination virtual room is generated according to the area information in first object region, different first object areas
Different destination virtual rooms can be generated in domain, also just presents different scene of game in different target virtual room.For with
Family provides the game experiencing of more abundant diversification, improves user experience.
In a kind of optional embodiment, by taking user is experienced using VR equipment as an example, multiple predeterminable areas according to
True province is divided.User logs on to client using account number, and the first object region requested access to is Sichuan Province, clothes
Business device receives the virtual room solicited message of client transmission, generates destination virtual room according to the area information in Sichuan Province,
And distribute information by virtual room and account is distributed into destination virtual room, user is in VR equipment it can be seen that certainly at this time
Oneself enters the destination virtual room, is illustrated in figure 3 the scene that user enters destination virtual room.It can in destination virtual room
Can there are house, road, river, bridge, mountain stone etc., their arrangement can be according to the topography and geomorphology arrangement in reality,
It is also possible to random arrangement.User can move in destination virtual room, for example can walk about along road, can appreciate
The landscape of surrounding.User can also interact with the object in destination virtual room, such as can be by stone from a position
It is moved to another position, leaf or flower on tree can be taken, the bigcatkin willow in river can be risen etc..
As it can be seen that by above-mentioned apparatus, according to the first mesh carried in the distribution virtual room solicited message of client transmission
The area information for marking region generates destination virtual room, and distributes information for the virtual room by sending virtual room to client
Between distribute to the client for sending request, it is seen then that destination virtual room is the requested access to according to the account number for logging in client
What the area information of one target area generated, so that destination virtual room has the regional characteristics in first object region, lead to
The first object region to be visited for obtaining the account number selection for logging in client is crossed, dynamic generation has the target of regional characteristics empty
Quasi- room provides different virtual rooms to realize so that account number is able to enter different virtual rooms for different user, into
And overcome the problems, such as that different virtual rooms can not be provided for different user in the related technology.
As a kind of optional scheme, generation module includes:
1) acquiring unit, for obtaining target resource and first object region from the corresponding resources bank in first object region
Corresponding map;
2) the first generation unit, for generating destination virtual room according to target resource and map.
Optionally, in the present embodiment, the corresponding map in above-mentioned first object region can be, but not limited to be first object
The actual map in region also can be, but not limited to be pre-set map.
Optionally, in the present embodiment, above-mentioned acquiring unit is used for:Account number birth point position is distributed for account number, wherein account
Number birth point a position be used to indicate into the initial position where the account number in destination virtual room;It is corresponding from first object region
The map in preset range in resources bank where acquisition account number birth point position;From the corresponding resources bank in first object region
Resource is extracted, as target resource.
Optionally, in the present embodiment, the initial position for entering destination virtual room can be distributed for account number, then
In acquisition first object region when corresponding map, so that it may the map near the initial position is obtained, without obtaining first
The corresponding entire map in target area, to mitigate operand.
Optionally, in the present embodiment, the position that can be, but not limited to carry account number in virtual room solicited message is distributed
Confidence breath, account number birth point position can be, but not limited to be obtained according to the location information of account number, be also possible to be randomly assigned
's.
Optionally, in the present embodiment, above-mentioned acquiring unit is also used at least one of:Map is obtained from resources bank
The resource of middle physical presence, as target resource;Resource is obtained at random from resources bank, as target resource.
Optionally, in the present embodiment, target resource can be, but not limited to be physical presence in map resource, with basis
For province divides predeterminable area, first object region is Sichuan Province, is set to Sichuan Province for the account number birth point of account number distribution
Chengdu Chengdu sports center, the map of acquisition can be 500 meters of ranges of circumference around the Chengdu sports center of Sichuan Province Chengdu
Map.The target resource so obtained can be the resource of physical presence in the map of acquisition, such as:Sichuan Province Chengdu at
All buildings of sports center, the trees of surrounding, road etc. resource.That is, user can after entering destination virtual room
To see true scene around account number birth point position.
Optionally, in the present embodiment, target resource also can be, but not limited to be the resource obtained at random, according to province
For dividing predeterminable area, first object region is Sichuan Province, is set to Sichuan Province Chengdu for the account number birth point of account number distribution
City Chengdu sports center, the map of acquisition can be the ground for having an area of 500 meters of ranges around the Chengdu sports center of Sichuan Province Chengdu
Figure.The resources such as building, road, trees can be obtained at random in resources bank.That is, user is entering destination virtual room
Afterwards it can be seen that scene virtual around account number birth point position.
Optionally, in the present embodiment, the target resource of acquisition, which can also be, obtains in some or all maps
The resource of physical presence, and a part of resource is obtained at random.User is after entering destination virtual room it can be seen that account in this way
Number birth point position around an actual situation combine scene.
Optionally, in the present embodiment, above-mentioned first generation unit is used for:According to pathfinding rule and preset resource point
Target resource is arranged on map by cloth rule, obtains resource arrangement data;Room identification is distributed for destination virtual room, is generated
Carry the destination virtual room of resource arrangement data and room identification, wherein room identification is used for unique identification destination virtual
Room.
Optionally, in the present embodiment, above-mentioned pathfinding rule refers to the rule for the retentively connectivity of graph, that is to say, that row
Each position on map after cloth resource can reach.
Optionally, in the present embodiment, preset resource distribution rule can be, but not limited to follow when referring to arrangement resource
Physics law etc..Such as:Building is road both sides, gantry are set to the junction in river and road, mountain stone cannot be placed on building
Above etc..
Optionally, in the present embodiment, above-mentioned first sending module is used for:By account number be added to destination virtual room at
In member's list, wherein members list is used to record the account number into destination virtual room;Virtual room distribution is sent to client
Information, wherein virtual room distribution information carries room identification, resource arrangement data and members list.
Optionally, in the present embodiment, the account number entered in destination virtual room can be recorded by members list, and will
The information such as the members list and above-mentioned room identification, resource arrangement data, which are carried, is sent to visitor in virtual room distribution information
Family end.
As a kind of optional scheme, generation module includes:
1) judging unit, for judging in first object region with the presence or absence of the not up to default account of the quantity of the account number entered
The room of number amount;
2) selecting unit, for there is the not up to default account number quantity of the quantity of the account number entered in first object region
Room in the case where, select a room as mesh from the room that the quantity of the account number of entrance is not up to default account number quantity
Mark virtual room;
3) the second generation unit, for there is no the not up to default accounts of the quantity of the account number entered in first object region
In the case where the room of number amount, destination virtual room is generated according to the area information in first object region.
Optionally, in the present embodiment, may determine that before generating new virtual room in first object region whether
There is less than room, that is, the quantity of the account number entered is not up to the room of default account number quantity, and if so, preferentially will be less than
Room distribute to account, if there is no then generating new room.To improve the utilization rate of resource.
As a kind of optional scheme, above-mentioned apparatus further includes:
1) the second receiving module, for receiving the data request information of client transmission, wherein data request information is used for
The information of the multiple predeterminable areas of request;
2) the second sending module sends request of data return information to client for response data solicited message, wherein
Request of data return information carries the identification information of multiple predeterminable areas and enters the quantity of the account number of each predeterminable area
Information.
It optionally, in the present embodiment, can be according to the data request information that client is sent by multiple predeterminable areas
Identification information and the quantity information of the account number into each predeterminable area are sent to client, so that user selects request to enter
First object region.
Optionally, in the present embodiment, above-mentioned apparatus further includes:Determining module, for being taken according in data request information
The location information of band determines the second target area where client, wherein location information is used to indicate the ground where client
Position is managed, the second target area is a region in multiple predeterminable areas;Adding module, for account number to be added to the second mesh
It marks in the corresponding Accounts List in region, wherein Accounts List is used to record the account number into the second target area, and request of data is returned
It is also carried in complex information and is used to indicate the information that client belongs in the second target area.
Optionally, in the present embodiment, second where client can be determined according to the location information that client is sent
Target area, and the information that client belongs to the second target area is sent to client, it allows users to determine oneself institute
Region, to select first object region.
Optionally, in the present embodiment, above-mentioned first object region and above-mentioned second target area can be identical, can also be with
It is different.In the case where above-mentioned first object region is different with above-mentioned second target area, it is believed that the client is in and wears
More state.
According to embodiments of the present invention, a kind of virtual room for implementing above-mentioned virtual room distribution method point is additionally provided
With device, as shown in fig. 7, the device includes:
1) third sending module 72, for sending distribution virtual room solicited message to server, wherein distribute virtual room
Between solicited message for request server be log in client account number distribution virtual room, distribution virtual room solicited message in
The first object region that account number requests access to is carried, first object region is a region in multiple predeterminable areas;
2) third receiving module 74, the virtual room for receiving server transmission distribute information, wherein virtual room point
It is used to indicate with information and account number is distributed into destination virtual room, destination virtual room is server according to first object region
The virtual room that area information generates.
Optionally, in the present embodiment, above-mentioned virtual room distributor can be, but not limited to be applied to log in client
Account number request server for its distribute virtual room scene.Wherein, above-mentioned client can be, but not limited to as various types
Client, for example, online education client, net cast client, instant communication client, community space client, trip
Client of playing etc..Specifically, can be, but not limited to be applied in the account number request server of above-mentioned login game client to be it
Distribute virtual room scene in, or can with but be not limited to be applied to above-mentioned login net cast client account number request
Server is distributed for it in scene of virtual room, provides different virtual rooms to be embodied as different user.Above-mentioned is only a kind of
Example does not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, above-mentioned multiple predeterminable areas can be, but not limited to be the subregion on geographical location.Example
Such as:Country, province, city, administrative area, street, cell etc..
In a kind of optional embodiment, by taking province divides above-mentioned multiple predeterminable areas as an example, multiple predeterminable areas can
With but be not limited to include:Hebei province, Henan Province, Sichuan Province, Heilongjiang Province, Jiangsu Province etc..The distribution virtual room of transmission is asked
It asks and indicates that first object region is Sichuan Province in information, server can be according to the area information in Sichuan Province, such as Sichuan Province
The information such as geomorphic feature information, architectural style information, local conditions and customs generate destination virtual room.
Optionally, in the present embodiment, above-mentioned destination virtual room can be, but not limited to be used for:Game, meeting, course,
Browsing etc..Such as:In game application, user can carry out game fighting in destination virtual room or complete game times
Business etc., since destination virtual room is generated according to the area information in first object region, different first object areas
Different destination virtual rooms can be generated in domain, also just presents different scene of game in different target virtual room.For with
Family provides the game experiencing of more abundant diversification, improves user experience.
In a kind of optional embodiment, by taking user is experienced using VR equipment as an example, multiple predeterminable areas according to
True province is divided.User logs on to client using account number, and the first object region requested access to is Sichuan Province, clothes
Business device receives the virtual room solicited message of client transmission, generates destination virtual room according to the area information in Sichuan Province,
And distribute information by virtual room and account is distributed into destination virtual room, user is in VR equipment it can be seen that certainly at this time
Oneself enters the destination virtual room, is illustrated in figure 3 the scene that user enters destination virtual room.It can in destination virtual room
Can there are house, road, river, bridge, mountain stone etc., their arrangement can be according to the topography and geomorphology arrangement in reality,
It is also possible to random arrangement.User can move in destination virtual room, for example can walk about along road, can appreciate
The landscape of surrounding.User can also interact with the object in destination virtual room, such as can be by stone from a position
It is moved to another position, leaf or flower on tree can be taken, the bigcatkin willow in river can be risen etc..
As it can be seen that carrying what request entered into the distribution virtual room solicited message of server transmission by above-mentioned apparatus
First object region, server generate destination virtual room according to the area information in first object region, and virtual by receiving
Room distributes the virtual room of information acquisition services device distribution, it is seen then that destination virtual room is according to the account number for logging in client
What the area information in the first object region requested access to generated, so that destination virtual room has first object region
Regional characteristics, the first object region to be visited of the account number selection of client is logged in by obtaining, and dynamic generation has region
The destination virtual room of feature provides not to realize for different user so that account number is able to enter different virtual rooms
Same virtual room, and then overcome the problems, such as that different virtual rooms can not be provided for different user in the related technology.
As a kind of optional scheme, above-mentioned apparatus further includes:
1) the 4th receiving module, the first object region selected from multiple predeterminable areas for receiving account number.
Optionally, in the present embodiment, first object region can be, but not limited to be that account number is selected from multiple predeterminable areas
It selects.
Optionally, in the present embodiment, above-mentioned apparatus further includes:4th sending module, for sending data request information
To server, wherein data request information is used for the information of the multiple predeterminable areas of request;5th receiving module, for connecing
Receive the request of data return information that server is sent, wherein request of data return information carries the mark of multiple predeterminable areas
The quantity information of information and the account number into each predeterminable area.
Optionally, in the present embodiment, account number is being received before the first object region selected in multiple predeterminable areas,
The information that above-mentioned multiple predeterminable areas can be obtained from server, is selected to be supplied to account number.
Optionally, in the present embodiment, location information is carried in data request information, wherein location information is for referring to
Show the geographical location where client;It is also carried in request of data return information and is used to indicate client and belongs to the second target area
Information in domain, wherein the second target area is server according to the region where the determining client of location information, the second mesh
Mark region is a region in multiple predeterminable areas.
In an optional embodiment, as shown in figure 5, showing multiple preset areas in request of data return information
Domain:(predeterminable area is complete there is no showing, user can be by sliding screen to the left for Qinghai, Sichuan, Gansu, Guizhou, Ningxia
Move the complete information to check the predeterminable area) etc. and predeterminable area Sichuan in 2 people of account number number, and show and work as
Preceding account number is located in predeterminable area Sichuan.User can select first object region by clicking predeterminable area.
Embodiment 3
The application environment of the embodiment of the present invention can be, but not limited to referring to the application environment in embodiment 1, in the present embodiment
This is repeated no more.The embodiment of the invention provides optionally specifically answer for implementing a kind of of above-mentioned virtual room distribution method
Use example.
As a kind of optional embodiment, the update method of above-mentioned configuration object can be, but not limited to be applied to such as Fig. 8 institute
The server shown is that client is distributed in the scene of virtual room.Terminal A, terminal B, the client installed on terminal C respectively will
The longitude and latitude data (being equivalent to above-mentioned location information) of the account number respectively logged in, account, timestamp etc. are packaged, and form one
The request packet (being equivalent to above-mentioned data request information) for drawing national data, is sent to server by network after encryption
End.After server receives above-mentioned request packet, whether legal, the longitude and latitude data then reported according to terminal are requested in verification first,
The province information where terminal is conversed, where the account of the user is then added to it in user list in province,
And it generates user session data and stores to DB, longitude and latitude data of the session data the inside comprising the user, province's number
According to information such as, on-line times, after the completion, by national data, according to each province, how many number of users forms back bag data to server,
Each terminal is returned to after encryption.
User selects one of province to click in national data interface, if where non-user in province of selection
Province, then User Status is to pass through state.Whether the specific province that terminal is selected according to user by province ID, is passed through, account number letter
The information composition distribution virtual room request packet such as breath, timestamp, request seqNo is sent to clothes by network after encryption
Business device end.After server receives request packet, whether verification request first is legal, has then inquired current province by province ID
User is then preferentially distributed to if it find that there is room number less than in less than room by some rooms, otherwise creates a new house
Between distribute to user.
In the present embodiment, between can creating new house in the following manner, room service device generates a room ID first,
Then the resource data of the inside between new house is requested to Resource Server, Resource Server is by random rule, automatically between new house
Resource, such as personage's birth point a position, road, building, trees, mountain stone, river, cloud, weather, illumination are distributed, then by room
Between resource return to room service device;It, will on the basis of the retentively connectivity of graph after room service device receives room resource
(rule is such as according to certain rule for room resource:Building the junction that road both sides, gantry are set to river and road, mountain stone not
Building can be placed on above etc.) arrangement is to room map the inside, to generate destination virtual room.
It distributes after the completion of room, the information of this requestor is also added to inside the room of distribution by room service device, then
Room ID is updated to user session data and updates DB, then again in room ID, room resource arrangement data, room
The data such as the members list in face are packaged into returning for distribution room and wrap, and after encryption, return to terminal by network.
As it can be seen that the distribution method by above-mentioned virtual room can be according to true geographical location information, in conjunction with current zone
Number generates different virtual rooms, and many ductility are increased on common virtual room basis, provides for virtual room management
More optinal plans.
Embodiment 4
According to embodiments of the present invention, a kind of virtual room for implementing above-mentioned virtual room distribution method point is additionally provided
With equipment, as shown in figure 9, the equipment includes:
1) communication interface 902 are set as receiving the distribution virtual room solicited message that client is sent, and response distribution
Virtual room solicited message sends virtual room to client and distributes information;
2) processor 904 are connect with communication interface 902, are set as generating mesh according to the area information in first object region
Mark virtual room;
3) memory 906 are connect with communication interface 902 and processor 904, are set as the region in storage first object region
Information;
Wherein, distribution virtual room solicited message is used to request to log in the account number of client and distributing virtual room, distribution
The first object region that account number requests access to is carried in virtual room solicited message, first object region is multiple predeterminable areas
In a region, virtual room distribution information is used to indicate destination virtual room distributing to account number.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2
Example, details are not described herein for the present embodiment.
Embodiment 5
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can
With at least one network equipment in multiple network equipments in network.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1 receives the distribution virtual room solicited message that client is sent, wherein distribution virtual room solicited message is used for
Request distributes virtual room to log in the account number of client, distributes in virtual room solicited message and carries what account number requested access to
First object region, first object region are a regions in multiple predeterminable areas;
S2 generates destination virtual room according to the area information in first object region;
S3, response distribution virtual room solicited message send virtual room to client and distribute information, wherein virtual room
Distribution information, which is used to indicate, distributes to account number for destination virtual room.
Optionally, storage medium is also configured to store the program code for executing following steps:
S1 sends distribution virtual room solicited message to server, wherein distribution virtual room solicited message is for requesting
Server is the account number distribution virtual room for logging in client, carries account number in distribution virtual room solicited message and requests access to
First object region, first object region is a region in multiple predeterminable areas;
S2 receives the virtual room that server is sent and distributes information, wherein virtual room distribution information is used to indicate mesh
Mark virtual room distributes to account number, and it is virtual that destination virtual room is that server is generated according to the area information in first object region
Room.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or
The various media that can store program code such as CD.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2
Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product
When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention
Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme
The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention
State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side
Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one
Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (15)
1. a kind of virtual room distribution method, which is characterized in that including:
Receive the distribution virtual room solicited message that client is sent, wherein the distribution virtual room solicited message is for asking
It asks to log in the account number of the client and distributing virtual room, carries the account number in the distribution virtual room solicited message
The first object region requested access to, the first object region are a regions in multiple predeterminable areas;
Destination virtual room is generated according to the area information in the first object region;
It responds the distribution virtual room solicited message and sends virtual room distribution information to the client, wherein the void
Quasi- room distribution information, which is used to indicate, distributes to the account number for the destination virtual room.
2. the method according to claim 1, wherein raw according to the area information in the first object region
Include at the destination virtual room:
Target resource and the corresponding map in the first object region are obtained from the corresponding resources bank in the first object region;
The destination virtual room is generated according to the target resource and the map.
3. according to the method described in claim 2, it is characterized in that, being obtained from the corresponding resources bank in the first object region
The corresponding map of target resource and the first object region includes:
Account number birth point position is distributed for the account number, wherein account number birth point position is used to indicate into the target
Initial position where the account number of virtual room;
Preset range where obtaining account number birth point position in the corresponding resources bank in the first object region
The interior map;
Resource is extracted from the corresponding resources bank in the first object region, as the target resource.
4. according to the method described in claim 2, it is characterized in that, generating target void according to the target resource and the map
Quasi- room includes:
The target resource is arranged on the map according to pathfinding rule and preset resource distribution rule, obtains resource
Arrangement data;
Room identification is distributed for the destination virtual room, generates and carries resource arrangement data and the room identification
The destination virtual room, wherein the room identification is for destination virtual room described in unique identification.
5. the method according to claim 1, wherein raw according to the area information in the first object region
Include at the destination virtual room:
Judge that the quantity in the first object region with the presence or absence of the account number entered is not up to the room of default account number quantity;
Quantity in the first object region in the presence of the account number entered is not up to the feelings in the room of the default account number quantity
Under condition, select a room as the target from the room that the quantity of the account number of entrance is not up to the default account number quantity
Virtual room;
The room of the default account number quantity is not up to there is no the quantity of the account number entered in the first object region
In the case of, the destination virtual room is generated according to the area information in the first object region.
6. the method according to claim 1, wherein requesting letter receiving the distribution virtual room that client is sent
Before breath, the method also includes:
Receive the data request information that the client is sent, wherein the data request information is for more described in request
The information of a predeterminable area;
It responds the data request information and sends request of data return information to the client, wherein the request of data is returned
Complex information carries the identification information of the multiple predeterminable area and enters the quantity information of the account number of each predeterminable area.
7. a kind of virtual room distribution method, which is characterized in that including:
Distribution virtual room solicited message is sent to server, wherein the distribution virtual room solicited message is for requesting institute
Stating server is the account number distribution virtual room for logging in client, carries the account in the distribution virtual room solicited message
Number first object region requested access to, the first object region is a region in multiple predeterminable areas;
Receive the virtual room distribution information that the server is sent, wherein the virtual room distribution information is for referring to
Show and the account number is distributed into destination virtual room, the destination virtual room is the server according to the first object area
The virtual room that the area information in domain generates.
8. the method according to the description of claim 7 is characterized in that send distribution virtual room solicited message to server it
Before, the method also includes:
Receive the first object region that the account number is selected from the multiple predeterminable area.
9. according to the method described in claim 8, it is characterized in that, being selected from the multiple predeterminable area receiving the account number
Before the first object region selected, the method also includes:
Data request information is sent to the server, wherein the data request information is the multiple pre- for request
If the information in region;
Receive the request of data return information that the server is sent, wherein the request of data return information carries described
The quantity information of the identification information of multiple predeterminable areas and the account number into each predeterminable area.
10. a kind of virtual room distributor, which is characterized in that including:
First receiving module, for receiving the distribution virtual room solicited message of client transmission, wherein the virtual room of distribution
Between solicited message be used to request to log in the account number of client distribution virtual room, the distribution virtual room solicited message
In carry the first object region that the account number requests access to, the first object region is one in multiple predeterminable areas
Region;
Generation module, for generating destination virtual room according to the area information in the first object region;
First sending module sends virtual room distribution to the client for responding the distribution virtual room solicited message
Information, wherein the virtual room distribution information, which is used to indicate, distributes to the account number for the destination virtual room.
11. device according to claim 10, which is characterized in that the generation module includes:
Acquiring unit, for obtaining target resource and the first object area from the corresponding resources bank in the first object region
The corresponding map in domain;
First generation unit, for generating the destination virtual room according to the target resource and the map.
12. a kind of virtual room distributor, which is characterized in that including:
Third sending module, for sending distribution virtual room solicited message to server, wherein the distribution virtual room is asked
Ask information for requesting the account number distribution virtual room that the server is login client, the distribution virtual room request letter
The first object region that the account number requests access to is carried in breath, the first object region is one in multiple predeterminable areas
A region;
Third receiving module distributes information for receiving the virtual room that the server is sent, wherein the virtual room point
It is used to indicate with information and the account number is distributed into destination virtual room, the destination virtual room is the server according to institute
State the virtual room that the area information in first object region generates.
13. device according to claim 12, which is characterized in that described device further includes:
4th receiving module, the first object region selected from the multiple predeterminable area for receiving the account number.
14. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run
Method described in any one of perform claim requirement 1 to 9.
15. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 9 described in method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710344053.9A CN108876081B (en) | 2017-05-16 | 2017-05-16 | Virtual room allocation method, device, storage medium and processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710344053.9A CN108876081B (en) | 2017-05-16 | 2017-05-16 | Virtual room allocation method, device, storage medium and processor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108876081A true CN108876081A (en) | 2018-11-23 |
CN108876081B CN108876081B (en) | 2022-08-19 |
Family
ID=64320841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710344053.9A Active CN108876081B (en) | 2017-05-16 | 2017-05-16 | Virtual room allocation method, device, storage medium and processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108876081B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947241A (en) * | 2019-01-31 | 2019-06-28 | 广州思锋信息科技有限公司 | In many ways interactive control method and server are participated in interactive application |
CN110327621A (en) * | 2019-04-24 | 2019-10-15 | 上海恺英网络科技有限公司 | For the matched method and apparatus of network game client |
CN112565057A (en) * | 2020-11-13 | 2021-03-26 | 广州市百果园网络科技有限公司 | Voice chat room service method and device capable of expanding business |
CN114374571A (en) * | 2021-12-29 | 2022-04-19 | 广州欢城文化传媒有限公司 | Virtual map-based voice chat room health index monitoring method and device |
CN115379279A (en) * | 2022-07-22 | 2022-11-22 | 深圳市酷开网络科技股份有限公司 | Multi-screen linkage interaction method, device and system, storage medium and electronic equipment |
CN116764189A (en) * | 2023-04-27 | 2023-09-19 | 支付宝(杭州)信息技术有限公司 | Virtual space distribution method, device, medium, equipment and product |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129638A (en) * | 2011-01-26 | 2011-07-20 | 北京美谷科技有限公司 | MVR (Measurable Virtual Reality) self-service house choosing system and method |
US20150143215A1 (en) * | 2012-10-15 | 2015-05-21 | Tencent Technology (Shenzhen) Company Limited | Method and system for accessing audio/video community virtual rooms |
CN105786311A (en) * | 2016-02-24 | 2016-07-20 | 杨晟志 | Virtual space application platform |
-
2017
- 2017-05-16 CN CN201710344053.9A patent/CN108876081B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129638A (en) * | 2011-01-26 | 2011-07-20 | 北京美谷科技有限公司 | MVR (Measurable Virtual Reality) self-service house choosing system and method |
US20150143215A1 (en) * | 2012-10-15 | 2015-05-21 | Tencent Technology (Shenzhen) Company Limited | Method and system for accessing audio/video community virtual rooms |
CN105786311A (en) * | 2016-02-24 | 2016-07-20 | 杨晟志 | Virtual space application platform |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947241A (en) * | 2019-01-31 | 2019-06-28 | 广州思锋信息科技有限公司 | In many ways interactive control method and server are participated in interactive application |
CN110327621A (en) * | 2019-04-24 | 2019-10-15 | 上海恺英网络科技有限公司 | For the matched method and apparatus of network game client |
CN112565057A (en) * | 2020-11-13 | 2021-03-26 | 广州市百果园网络科技有限公司 | Voice chat room service method and device capable of expanding business |
CN114374571A (en) * | 2021-12-29 | 2022-04-19 | 广州欢城文化传媒有限公司 | Virtual map-based voice chat room health index monitoring method and device |
CN114374571B (en) * | 2021-12-29 | 2024-04-19 | 广州欢城文化传媒有限公司 | Chat room health index monitoring method and device based on virtual map |
CN115379279A (en) * | 2022-07-22 | 2022-11-22 | 深圳市酷开网络科技股份有限公司 | Multi-screen linkage interaction method, device and system, storage medium and electronic equipment |
CN116764189A (en) * | 2023-04-27 | 2023-09-19 | 支付宝(杭州)信息技术有限公司 | Virtual space distribution method, device, medium, equipment and product |
CN116764189B (en) * | 2023-04-27 | 2024-05-14 | 支付宝(杭州)信息技术有限公司 | Virtual space distribution method, device, medium, equipment and product |
Also Published As
Publication number | Publication date |
---|---|
CN108876081B (en) | 2022-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108876081A (en) | virtual room distribution method, device, storage medium and processor | |
Islam et al. | Mobile cloud-based big healthcare data processing in smart cities | |
US10957105B2 (en) | Augmented reality geolocation optimization | |
CN107179923A (en) | Applied program processing method, device and computer equipment | |
CN109636384A (en) | A kind of parallelization executes the method, apparatus and system of block chain transaction | |
US9550125B2 (en) | Dynamic and scalable topology for virtual world environments | |
CN109032691A (en) | A kind of small routine operation method, device and storage medium | |
EP2688318B1 (en) | Conditional interaction control for a virtual object | |
CN107479699A (en) | Virtual reality exchange method, apparatus and system | |
CN110147967A (en) | Risk prevention system method and device | |
CN106789432A (en) | Test system based on autonomous controllable cloud platform technology | |
CN108028768A (en) | The method and system of application version is installed by short-range communication | |
CN108985954A (en) | A kind of method and relevant device of incidence relation that establishing each mark | |
CN108259238A (en) | The method that network function service chaining maps in data center | |
CN108512775A (en) | A kind of method and device of sequence transaction queue | |
CN110339571A (en) | Event generation method and device, storage medium and electronic device | |
CN109598549A (en) | A kind of Internet advertising put-on method and device | |
CN110147923A (en) | The method and device of risk subscribers for identification | |
US20190018656A1 (en) | Platform for third party augmented reality experiences | |
CN108984687A (en) | Automatic plus group control method, apparatus and storage medium based on user behavior | |
Koucheryavy et al. | Applications of augmented reality traffic and quality requirements study and modeling | |
CN107241312A (en) | A kind of right management method and device | |
CN109847340A (en) | A kind of information processing method, device, equipment and medium | |
CN110245014A (en) | Data processing method and device | |
CN108241716A (en) | A kind of resource introduction method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |