CN108200064A - Method of data synchronization and device - Google Patents

Method of data synchronization and device Download PDF

Info

Publication number
CN108200064A
CN108200064A CN201810007984.4A CN201810007984A CN108200064A CN 108200064 A CN108200064 A CN 108200064A CN 201810007984 A CN201810007984 A CN 201810007984A CN 108200064 A CN108200064 A CN 108200064A
Authority
CN
China
Prior art keywords
user
behavioral data
client
data
behavior
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810007984.4A
Other languages
Chinese (zh)
Other versions
CN108200064B (en
Inventor
张京逸
郑文跃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Super Domain (beijing) Technology Co Ltd
Original Assignee
Super Domain (beijing) Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Super Domain (beijing) Technology Co Ltd filed Critical Super Domain (beijing) Technology Co Ltd
Priority to CN201810007984.4A priority Critical patent/CN108200064B/en
Publication of CN108200064A publication Critical patent/CN108200064A/en
Application granted granted Critical
Publication of CN108200064B publication Critical patent/CN108200064B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Abstract

The present invention relates to VR technical fields, provide a kind of method of data synchronization and device.The method of data synchronization is applied to the VR servers communicated to connect with multiple client, when first user of the first client in multiple client makes a behavior, behavioral data corresponding with behavior is obtained from the first client, the second client for belonging to the first class of subscriber will be sent in behavioral data with the matched first part's behavioral data of the first class of subscriber, the second part behavioral data with second user categorical match in behavioral data is sent to the third client for belonging to second user classification.The method of data synchronization is directed to same user behavior, different data can be sent to the user of different user classification carry out behavior synchronization, it disclosure satisfy that the diversified demand of the user of different user classification, and on this basis to optimize the synchronizing process of behavioral data further directed to the user of different user classification.

Description

Method of data synchronization and device
Technical field
The present invention relates to VR technical fields, in particular to a kind of method of data synchronization and device.
Background technology
VR technologies are a kind of computer simulation systems that can be created with the experiencing virtual world, it generates one using computer Kind virtual scene, and specific hardware device is coordinated to use, it allows users to be immersed in the virtual scene.
VR social activities are an important applications of VR technologies, are also one of research hotspots of current VR technical fields.VR is social Value social in reality is reappeared, while brings more magical than real world, more mysterious experience.
Specifically, in the virtual scene created by VR technologies, the participating user of VR social activities is with virtual image (Avatar) mode exists, the behavior holding of user in the behavior (including action, expression etc.) of usual virtual image and reality It is synchronous, so as to make between each user can expression in the eyes cross, mood intercommunication really generates a kind of similar to the mutual of face-to-face exchange It is dynamic.Current social networks is substantially based on equipment such as computer, mobile phone, tablet computers, people by mutually send word, The contents such as picture, video carry out social activity, although content is also very abundant, what people faced always is one piece of screen, is mutually handed over Two people of stream can only cannot link up in the same time in the same space.VR social activities can well solve this problem, allow people Share true scene and impression in the same space, have more property of participation compared to traditional internet social activity mode.
In VR social intercourse systems, the behavior synchronization of user and virtual image is most important, will directly affect participating user's Experience, while be also one of key factor that the sense of reality generates in VR social activities.
Invention content
In view of this, an embodiment of the present invention provides a kind of method of data synchronization and devices.
To achieve the above object, the present invention provides following technical solution:
In a first aspect, the embodiment of the present invention provides a kind of method of data synchronization, communicated to connect applied to multiple client VR servers, including:
When first user of the first client in multiple client makes a behavior, obtained and row from the first client For corresponding behavioral data;
Belong to the first user class by being sent in behavioral data with the matched first part's behavioral data of the first class of subscriber Other second client so that the second user of the second client be able to observe that VR servers safeguard virtual scene in At least first image of frame of corresponding first user of first part's behavioral data;
By second part behavior different with first part behavioral data from second user categorical match in behavioral data Data are sent to the third client for belonging to second user classification, so that the third user of third client is able to observe that virtually At least second image of frame of the first user corresponding with second part behavioral data in scene.
Second aspect, the embodiment of the present invention provide a kind of data synchronization unit, are communicated to connect applied to multiple client VR servers, including:
Behavioral data acquisition module, the first user for the first client in multiple client make a behavior When, obtain behavioral data corresponding with behavior from the first client;
First behavior data transmission blocks, for by behavioral data with the matched first part's behavior of the first class of subscriber Data are sent to the second client for belonging to the first class of subscriber, so that the second user of the second client is able to observe that VR takes At least first image of frame for the first user corresponding with first part behavioral data being engaged in the virtual scene that device is safeguarded;
Second behavioral data sending module, for by behavioral data with second user categorical match and first part's row The second part behavioral datas different for data are sent to the third client for belonging to second user classification, so that third client Third user be able to observe that at least frame of the first user corresponding with second part behavioral data in virtual scene Two images.
The advantageous effect that the present invention realizes:Method of data synchronization and device provided in an embodiment of the present invention, applied to it is more The VR servers of a client communication connection, by the behavioral data of the first user of the first client be synchronized to the second client and Third client, so that the third user of the second user of the second client and third client is able to observe that in virtual scene The first user the behavior corresponding to behavior data.Method of data synchronization and device provided in an embodiment of the present invention, to belonging to First part's behavioral data is sent in the second client of the first class of subscriber, to belonging to the third client of second user classification Second part behavioral data is sent, wherein, the first class of subscriber and second user classification are two different class of subscribers, first Part behavioral data and second part behavioral data are two different subsets of the behavioral data of the first user.Therefore, second User is able to observe that the behavior subset corresponding to first part's behavioral data of the first user in virtual scene, i.e., with first At least first image of frame of corresponding first user of part behavioral data;Third user is able to observe that in virtual scene The behavior subset corresponding to second part behavioral data of one user, i.e., the first user's corresponding with second part behavioral data At least second image of frame.So as to method of data synchronization provided in an embodiment of the present invention and device, for same user behavior, Different data can be sent to the user of different user classification and carry out behavior synchronization, disclosure satisfy that the user of different user classification Diversified demand, and cause on this basis further directed to the user of different user classification to the synchronizing process of behavioral data It optimizes and is possibly realized.
Above-mentioned purpose, technical solution and advantageous effect to enable the present invention are clearer and more comprehensible, special embodiment below, and Attached drawing appended by cooperation, is described in detail below.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range, for those of ordinary skill in the art, without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the structure diagram that VR servers provided in an embodiment of the present invention are interacted with client;
Fig. 2 shows the structure diagrams of VR servers provided in an embodiment of the present invention;
Fig. 3 shows the flow chart of method of data synchronization provided in an embodiment of the present invention;
Fig. 4 shows the flow chart of the step S11 of method of data synchronization provided in an embodiment of the present invention;
Fig. 5 shows the flow chart of the step S110 of method of data synchronization provided in an embodiment of the present invention;
Fig. 6 shows the functional block diagram of data synchronization unit provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be configured to arrange and design with a variety of different herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing Go out all other embodiments obtained under the premise of creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need to that it is further defined and explained in subsequent attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Fig. 1 shows the schematic diagram that VR servers 100 provided in an embodiment of the present invention are interacted with client 200.VR Server 100 is communicatively coupled by network and multiple client 200, with into row data communication or interaction.Client 200 can To be special equipments such as the VR helmets that come with VR display devices or as the mobile phone of data transmission device and as VR The unit equipment that the VR glasses of display device are formed.Client 200 is connect with behavior harvester 300, behavior harvester The behavior that the user of client 200 makes can be converted into corresponding behavioral data, and be sent to client 200, behavior by 300 Harvester includes that sensor, scanner, locator of the concrete behaviors such as user's expression, action, position content etc. can be captured Equipment, behavior harvester 300 are generally fixed on user's body or are arranged near user.
Fig. 2 shows the structure diagrams of VR servers provided in an embodiment of the present invention, and with reference to Fig. 2, VR servers 100 wrap Include memory 110, processor 120 and network module 130.Memory 110 can be used for storage software program and module, such as originally The method of data synchronization and the corresponding program instruction/module of device that inventive embodiments provide, processor 120 are stored in by operation Software program and module in memory 110 so as to perform various functions application and data processing, that is, realize that the present invention is real The method of data synchronization and device of example offer are provided.Memory 110 may include high speed random access memory, may also include non-volatile deposit Reservoir, such as one or more magnetic storage device, flash memory or other non-volatile solid state memories.Further, it is above-mentioned Software program and module in memory 110 may also include:Operating system 111 and service module 112.Wherein operating system 111, may be, for example, LINUX, UNIX, WINDOWS, may include it is various for manage system task (such as memory management, storage Equipment control, power management etc.) component software and/or driving, and can mutually be communicated with various hardware or component software, so as to The running environment of other software component is provided.Service module 112 is operated on the basis of operating system 111, and passes through operation system The network service of system 111 monitors the request for carrying out automatic network, and corresponding data processing is completed according to request, and return handling result to Client.That is, service module 112 is used to provide network service to client, and in embodiments of the present invention, network clothes Business refers to VR social intercourse systems.Network module 130 is used to receive and transmit network signal.Above-mentioned network signal may include wireless communication Number or wire signal.
It is appreciated that structure shown in Fig. 2 is only to illustrate, VR servers 100 may also include it is more than shown in Fig. 2 or Less component or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 may be used hardware, software or its Combination is realized.In addition, the server in the embodiment of the present invention is not limited to a server, can be more has different function Server combination, can not also be corresponding with physical server, e.g. fictitious host computer or Cloud Server.
Behavior synchronization is the key link in VR social intercourse systems.Virtual image and the behavior synchronization of user refer to:When a use After a concrete behavior is made at family, also made in the virtual scene that the corresponding virtual image of the user is safeguarded in VR servers identical Or corresponding behavior, and the behavior that the virtual image is made can be by other under the user oneself and the virtual scene Observed by user.For example, user blinks, which also blinks, and here it is identical behaviors;User is by pressing control The directionkeys of handle, the virtual image is just towards the corresponding direction walking of direction key, and here it is corresponding behaviors.In data Layer Face, user behavior is corresponding with behavioral data, makes the behavioral data that the client of the user of behavior is obtained according to it, it will be able to In the synchronization for locally realizing user behavior, i.e. user oneself can see oneself virtual shape by the VR display devices of client The behavior of elephant.Meanwhile the client for making the user of behavior needs behavior data being uploaded to VR servers, then serviced by VR By behavior data distributing to the client of the other users under same virtual scene, the user of these clients can lead to device The VR display devices for crossing respective client see the behavior for making the corresponding virtual image of the user of behavior.
In the prior art, behavioral data is handed down to the client of the other users under same virtual scene, using Simple broadcast mode sends each client same data, therefore its data volume being related to is very big, gives VR servers Bring greatly operation burden.To mitigate VR server stress, have to take two kinds of measures in the prior art, first is limitation The number of participating user under same virtual scene, second is the content of simplified behavioral data, such as is only wrapped in behavioral data Location information containing user.For the first measure, the participation number of VR social activities is limited, necessarily leads to the application scenarios of VR social activities Limitation is received, it is made to may be only available for the Social behaviors in microcommunity.For second of measure, simplify behavioral data content, it must So cause the behavior of virtual image cannot be consistent or corresponding with the real behavior of the user corresponding to the virtual image, significantly Weaken the Core Superiority of VR social activities relative to traditional internet social activity in terms of authenticity.In short, the prior art is in VR societies The user behavior synchronization aspects of friendship lack effective solution, cause user experience poor.
Inventor proposes that a kind of data of VR servers for being applied to communicate to connect with multiple client are same through studying for a long period of time One step process and device to solve the above problems, improve the user experience during VR social activities.Obviously, the method for data synchronization and Device can be also used for in other VR systems other than VR social activities, such as VR game, VR education, VR cooperation training, VR it is long-range In the products such as cooperation, MR cooperations.
First embodiment
VR servers and multiple client communication connection.In the VR social intercourse system beginningizations that VR servers provide, can create Virtual scene, including contents such as landform, object, the personages in scene.The user of each client is entering VR social intercourse systems Afterwards, which can all carry out time synchronization with VR servers, really each between guarantor's client and VR servers and with other Time consistency between a client, this time consistency are also the follow-up basis for carrying out user behavior synchronization.In user After logging on to VR social intercourse systems, system can create corresponding virtual image, and meeting according to the specific requirements of each user for it A socket channel for being used for data transmission, in subsequent step, client are created between VR servers and each client The synchronization of the socket channel consummatory behavior data is utilized between end and VR servers.
Fig. 3 shows the flow chart of method of data synchronization provided in an embodiment of the present invention.With reference to Fig. 3, this method includes:
Step S10:When first user of the first client in the multiple client makes a behavior, from described One client obtains behavioral data corresponding with the behavior.
First client can be any one client in multiple client, and the first user refers to that the client corresponds to User.The behavior that first user makes can be the arbitrary act including expression, action etc., and behavioral data refers to One client by behavior harvester it is collected, for characterize the first user behavior total data, including first User performs the various kinematic parameters of corporal parts involved during the behavior, such as the head of the first user, hand, body The data such as dry operating position, speed, the posture waited.In short, the first user can be made right in virtual scene by behavioral data The virtual image answered reproduce the first user make behavior or realization is corresponding with the behavior made of the first user Behavior.
As a kind of embodiment of step S10, the first client presses the behavioral data that subordinate act harvester obtains Prefixed time interval (such as 30 frame per second) is sent to VR servers, so that VR servers can obtain the behavior number of the first user According to.As the another embodiment of step S10, the behavioral data that the first client obtains subordinate act harvester is sentenced It is disconnected, determine whether behavior data correspond to significant behavior, in result for when being, behavior data just are sent to VR services Device, so that VR servers can obtain the behavioral data of the first user, for example, the first user body in its natural state is slight Mobile may be considered does not have influential behavior to VR social activity results, without sending it to VR servers.
Step S11:In the behavioral data category will be sent to the matched first part's behavioral data of the first class of subscriber In the second client of first class of subscriber, so that the second user of second client is able to observe that the VR clothes At least frame first for first user corresponding with first part's behavioral data being engaged in the virtual scene that device is safeguarded Image.
Step S12:By in the behavioral data with second user categorical match with first part's behavioral data not Same second part behavioral data is sent to the third client for belonging to the second user classification, so that the third client Third user be able to observe that first user corresponding with the second part behavioral data in the virtual scene At least second image of frame.
Method is identical used by step S11 and step S12, and only corresponding main body is different, and step S11 is directed to It is the second client, step S12 is directed to third client.Be illustrated below mainly for step S11, step S12 with Its is similar.
Second client is any one client different from the first client, and second user refers to that the client corresponds to User, the first user and second user must be the users under same virtual scene, otherwise in the first client and the second visitor Progress behavioral data synchronizes nonsensical between the end of family, and in elaboration below, for convenience of description, the user being previously mentioned each means User under same virtual scene.
VR servers can pre-set multiple class of subscribers and corresponding classifying rules, by its in addition to the first user His user classifies, and it is same that the corresponding client of the user to belonging to different user classification sends different data progress behaviors Step.The first class of subscriber in step S11 is one in above-mentioned multiple class of subscribers, can also be had including in step S12 Other users classification including second user classification.Second user is the use for belong to after above-mentioned classification the first class of subscriber Family, since second user and the second client are corresponding, so alternatively the second client belongs to the first class of subscriber.For The corresponding client of each user in each class of subscriber, the synchronizing process of behavioral data can be with reference in step S11 The second client behavioral data synchronizing process carry out, will not enumerate.
Fig. 4 shows the flow chart of the step S11 of method of data synchronization provided in an embodiment of the present invention.With reference to Fig. 4, step S11 can include:
Step S110:Obtain user's weight of the second user.
Step S111:The second user is divided to by first class of subscriber based on user's weight.
Class of subscriber can be divided for characterizing the size of the weighted value of user personality based on one, which is claimed For user's weight.First class of subscriber has preset weighted value range, when user's weight of the second user of acquisition is in the When in the range of the preset weighted value of one class of subscriber, second user is divided to the first class of subscriber.Wherein, the first class of subscriber A specific class of subscriber is not represented, the first class of subscriber refers to the class of subscriber where second user, i.e. second user Which class of subscriber is divided into, which is thus referred to as the first class of subscriber, what step S110 and step S111 were illustrated It is the process that second user is divided to the first class of subscriber.
Fig. 5 shows the flow chart of the step S110 of method of data synchronization provided in an embodiment of the present invention.With reference to Fig. 5, step Rapid S110 can include:
Step S110a:Obtain the second user for characterize user's importance priority weighting and/or, be based on The position relationship of second user described in the virtual scene and first user obtain the position weight of the second user.
Step S110b:User's weight is obtained based on the priority weighting and/or the position weight.
The acquisition of user's weight of second user can be there are many mode:
The first embodiment, will be for characterizing the priority weighting of user's importance as user's weight.For example, judge Whether second user is VIP user, if result is yes, priority weighting is larger, if the result is negative, priority weighting compared with It is small.In step S111, second user can be divided to VIP class of subscribers or ordinary user's classification.In another example judge second Whether user is scene management person, if result is yes, priority weighting is larger, and if the result is negative, priority weighting is smaller. In step S111, second user can be divided to administrator's classification or ordinary user's classification.In another example judge second user Whether be broadcasting user, i.e., whether the user has important messages to be broadcasted to other users, if result is yes, priority power Weight is larger, and if the result is negative, priority weighting is smaller.In step S111, second user can be divided to broadcasting user Classification or ordinary user's classification.Example is above are only, any restrictions are not formed to protection scope of the present invention.
Second of embodiment, will be for characterizing the position relationship of second user and the first user in the virtual scene Position weight is as user's weight.Position weight can be based on virtual scene in the distance between second user and the first user with And visible level obtains.Wherein, the distance between second user and the first user just refer to that second user is corresponding in virtual scene Virtual image and the corresponding virtual image of the first user it is separated by a distance in virtual scene.It for example, can be on VR servers Default following rule, using the position where the virtual image of the first user as the center of circle, its position of user power within its 2m Weight is 100, is more than 2m apart from it but its position weight is 50 no more than the user of 5m, is more than 5m but no more than 10m's apart from it Its position weight of user is 10, and it is 0 to be more than its position weight of the user of 10m apart from it.Assuming that the second user in virtual scene With the first user interval 3m, then the position weight of second user is 50.Obviously, above-mentioned rule is merely illustrative, not to the present invention's Protection domain forms any restrictions.It is generally also contemplated that when determining position weight visible between second user and the first user Property, it is seen that property refers to whether the two can mutually be observed and more in virtual scene by the visual angle of respective virtual role It can mutually be observed in big degree.Visibility can pass through, but be not limited by a visible property coefficient to characterize, for example, the There is no any object between two users and the first user, then, it is seen that property coefficient 1;Across one between second user and the first user Stifled stone walling, then, it is seen that property coefficient 0;Across a stifled glass wall between second user and the first user, then, it is seen that property coefficient is 0.8;Second user is under street lamp light, and the first user is in street lamp shade, then, it is seen that property coefficient 0.5.Obviously, it above are only Example does not form any restrictions to protection scope of the present invention.When considering visibility, the position that can will be obtained based on distance Weight is multiplied by visible property coefficient and obtains final position weight, for example, second user and the first user interval 3m in virtual scene, The position weight of second user is 50, but does not see other side across a stifled stone walling, the two between second user and the first user, the The final position weight of two users should be 0.
It is convenient to illustrate, it is assumed that it is fully visible between all users under virtual scene, i.e., temporarily ignore visibility problem, The position weight that is obtained at this time by distance i.e. final user's weight is preset with following class of subscriber, position power on VR servers It is neighboring user classification that weight, which is 100, and it is close to class of subscriber that position weight, which is 50, and it is ordinary user that position weight, which is 10, Classification, it is far from class of subscriber that user's weight, which is 0,.Second user and the first user interval 3m, second user in virtual scene Position weight for 50, in step S111, second user can be divided to close to class of subscriber.
The third embodiment, while consider in priority weighting and second of embodiment in the first embodiment Position weight, obtain user's weight.For example, simplest situation, the two is added as user's weight, it certainly can be with base User's weight is obtained in other preset formulas or algorithm.In step S111, user's weight based on second user is according to pre- If user classification rule be divided to the first class of subscriber.
Step S112:First part's behavioral data is sent to second client.
First part's behavioral data is the subset with the behavioral data of matched first user of the first class of subscriber, first Divide behavioral data that can show the first level of detail of the behavior.For example, behavioral data includes head, hand, trunk etc. Whole action datas.First part's behavioral data can only include header data, and at this moment the virtual image of the first user uses the A part of behavioral data is only possible to produce headwork, i.e., roughly reproduces the behavior of the first user, and behavior details is seldom.First Divide behavioral data that can also only include the data on hand and head, at this moment the virtual image of the first user uses first part's behavior Data can generate headwork and hand motion, i.e., reproduce the behavior of the first user substantially, there is certain behavior details.Certain A part of behavioral data can also include whole behavioral datas, and at this moment the virtual image of the first user uses first part's behavior Data can generate headwork, hand motion, body work, i.e., accurately reproduce the behavior of the first user, and behavior details is enriched.
In step S110 and step S111, user is divided to different class of subscribers, it can be to different user classification User send different data and carry out behavior synchronization, so as to meet the diversified demand of the user of different user classification. For example, class of subscriber includes VIP class of subscribers and ordinary user's classification in previous example, in the number that VR servers can be handled According to measure it is limited in the case of, it should preferentially meet the needs of VIP user.If the first class of subscriber is VIP class of subscribers, send out Whole behavioral datas can be included by giving first part's behavioral data of the second client, so that the second of the second client uses Family (VIP user) can observe that corresponding with first part behavioral data first in virtual scene uses by VR display devices The virtual image at family, i.e., at least first image of frame generated in the second client based on first part's behavioral data, first The virtual image of user is made that the part behavior corresponding to first part's behavioral data.If the first class of subscriber is commonly to use Family classification, then header data can only be included by being sent to first part's behavioral data of the second client.
In addition, synchronizing process of the user to behavioral data of different user classification can be directed on the basis of user classifies It optimizes.For example, class of subscriber includes neighboring user classification in previous example, close to class of subscriber, ordinary user's classification And far from class of subscriber.For the user in neighboring user classification, the virtual shape of the first user of distance in virtual scene As closest, the full details of the behavior of the first user ought to be seen, if the first class of subscriber is neighboring user classification, the A part of behavioral data can be including whole behavioral datas including head, hand, trunk;For close to the use in class of subscriber Family, the virtual image of the first user of distance is relatively in virtual scene, it can be seen that the behavior of the first user it is main Details, if the first class of subscriber is close to class of subscriber, first part's behavioral data can include header data and hand number According to;For the user in ordinary user's classification, the virtual image with the first user in virtual scene has certain distance, can be with See a small amount of details of the behavior of the first user, if the first class of subscriber is ordinary user's classification, first part's behavioral data It can include header data;For the user in separate class of subscriber, the virtual shape of the first user of distance in virtual scene Behavior details as farther out, being substantially not visible the first user, in other words the behavior of the first user have little significance to it, such as existing Two people hardly pay close attention to people except 10m in chat in What in reality, if the first class of subscriber is far from user Classification, first part's behavioral data can not include any data, need not carry out behavior synchronization at this time in other words, second use at this time The virtual image of the first user observed by family or its make appearance before behavior.
In the above example, behavior synchronization process is optimized according to mutual distance of the user in virtual scene, Only need to see that the user VR servers of whole behavior details are just sent to the behavior number with whole behavior details really According to other users only need the part behavioral data for being sent to have less behavior details, do not send any data even.It is this Optimisation strategy significantly reduces the data volume during behavior synchronization, significantly reduces the operating pressure of VR servers so that same It is social that one virtual scene can support more users to participate in, and the participating user of each social activity can obtain and oneself wish to see The behavior details arrived, user experience are good.It is appreciated that according to the difference of class of subscriber division result, it can also be formulated His optimisation strategy optimizes the synchronizing process of behavioral data.
For step S12, it is similar with step S11, is no longer specifically described.As an alternative embodiment, Before step S11 is performed, VR servers can first obtain user's weight of the every other user in addition to the first user, right User's weight is ranked up, and takes the top n user (N is a preset constant, such as takes N=20) of ranking results, and it is N number of to exclude this The virtual image of the first user of distance is more than the user of pre-determined distance (such as 100m) in user, and step S11 is performed to remaining users, The synchronizing process of behavioral data can be advanced optimized.
In conclusion method of data synchronization provided by the invention, it, can be to different user class for same user behavior Other user sends different data and carries out behavior synchronization, disclosure satisfy that the demand of different classes of user, and basic herein On the synchronizing process of behavioral data can also be optimized, such as the embodiment of the present invention further directed to different classes of user Proposed in the optimization method based on distance, using after these optimal ways, the data volume during behavior synchronization is notable Decline, VR server stress is substantially reduced, and user experience is improved.
Second embodiment
Fig. 6 shows the functional block diagram of data synchronization unit 400 provided in an embodiment of the present invention.Data synchronization unit 400 are applied to the VR servers communicated to connect with multiple client, and with reference to Fig. 6, data synchronization unit 400 includes:Behavioral data Acquisition module 410, the first behavior data transmission blocks 420 and the second behavioral data sending module 430.
Wherein, behavioral data acquisition module 410 is used for the first user of the first client in the multiple client When making a behavior, behavioral data corresponding with the behavior is obtained from first client;First behavioral data sends mould Block 420 belongs to described for will be sent in the behavioral data with the matched first part's behavioral data of the first class of subscriber Second client of one class of subscriber, so that the second user of second client is able to observe that the VR servers are safeguarded Virtual scene in first user corresponding with first part's behavioral data at least first image of frame;Second Behavioral data sending module 430 be used for by the behavioral data with second user categorical match and first part's behavior The different second part behavioral data of data is sent to the third client for belonging to the second user classification, so that the third The third user of client is able to observe that corresponding with the second part behavioral data described in the virtual scene At least second image of frame of one user.
In embodiments of the present invention, the first behavior data transmission blocks 420 include:Weight Acquisition submodule, user Classification submodule and behavioral data sending submodule.
Wherein, Weight Acquisition submodule is used to obtain user's weight of the second user;User's classification submodule is used for The second user is divided to by first class of subscriber based on user's weight;Behavioral data sending submodule is used for will First part's behavioral data is sent to second client.
In embodiments of the present invention, the Weight Acquisition submodule includes:First Weight Acquisition unit and the second weight Acquiring unit.
Wherein, the first Weight Acquisition unit is used to obtain the priority for being used to characterize user's importance of the second user Weight and/or, the position relationship based on second user described in the virtual scene and first user obtains described second The position weight of user;Second Weight Acquisition unit is used to obtain institute based on the priority weighting and/or the position weight State user's weight.
In embodiments of the present invention, the first Weight Acquisition unit includes:Position weight obtains subelement, for being based on The distance between second user described in the virtual scene and first user and the second user and described first Visible level between user obtains the position weight.
In embodiments of the present invention, data synchronization unit 400 further includes:Behavioral data sort module, for by the row First part's behavioral data and the second part behavioral data are at least divided into for data, wherein, described first The data subset of the first level of detail of point behavioral data for the behavior can be shown in the behavioral data, described second Part behavioral data is the data subset for the second level of detail that the behavior can be shown in the behavioral data.
The technique effect of data synchronization unit 400 provided in an embodiment of the present invention, realization principle and generation and aforementioned side Method embodiment is identical, and to briefly describe, device embodiment part does not refer to part, can refer in corresponding in preceding method embodiment Hold.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference from other examples, and just to refer each other for identical similar part between each embodiment. For device class embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, related part is joined See the part explanation of embodiment of the method.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through it Its mode is realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown The device of multiple embodiments according to the present invention, architectural framework in the cards, the work(of method and computer program product are shown It can and operate.In this regard, each box in flow chart or block diagram can represent one of a module, program segment or code Point, a part for the module, program segment or code includes one or more and is used to implement the executable of defined logic function Instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be attached to be different from The sequence marked in figure occurs.For example, two continuous boxes can essentially perform substantially in parallel, they also may be used sometimes To perform in the opposite order, this is depended on the functions involved.It is it is also noted that each in block diagram and/or flow chart The combination of box and the box in block diagram and/or flow chart function or the dedicated of action can be based on as defined in execution The system of hardware is realized or can be realized with the combination of specialized hardware and computer instruction.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention. And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, RandomAccessMemory), magnetic disc or CD.It needs It is bright, herein, relational terms such as first and second and the like be used merely to by an entity or operation with it is another One entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this reality Relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to the packet of nonexcludability Contain so that process, method, article or equipment including a series of elements not only include those elements, but also including It other elements that are not explicitly listed or further includes as elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, also there are other identical elements in article or equipment.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exists Similar terms are represented in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (10)

1. a kind of method of data synchronization, applied to the VR servers communicated to connect with multiple client, which is characterized in that including:
When first user of the first client in the multiple client makes a behavior, obtained from first client Behavioral data corresponding with the behavior;
It will be sent in the behavioral data with the matched first part's behavioral data of the first class of subscriber and belong to first use Second client of family classification, so that the second user of second client is able to observe that the void that the VR servers are safeguarded Intend at least first image of frame of first user corresponding with first part's behavioral data in scene;
By the second parts different with first part's behavioral data from second user categorical match in the behavioral data Behavioral data is sent to the third client for belonging to the second user classification, so that third user's energy of the third client Enough observe at least frame of first user corresponding with the second part behavioral data in the virtual scene Two images.
2. method of data synchronization according to claim 1, which is characterized in that described to be used in the behavioral data with first First part's behavioral data of family categorical match is sent to the second client for belonging to first class of subscriber, including:
Obtain user's weight of the second user;
The second user is divided to by first class of subscriber based on user's weight;
First part's behavioral data is sent to second client.
3. method of data synchronization according to claim 2, which is characterized in that the user's power for obtaining the second user Weight, including:
Obtain the second user for characterize user's importance priority weighting and/or, based in the virtual scene The position relationship of the second user and first user obtain the position weight of the second user;
User's weight is obtained based on the priority weighting and/or the position weight.
4. method of data synchronization according to claim 3, which is characterized in that described based on described in the virtual scene the The position relationship of two users and first user obtain the position weight of the second user, including:
Based on the distance between second user described in the virtual scene and first user and the second user with Visible level between first user obtains the position weight.
5. according to the method for data synchronization described in claim any in claim 1-4, which is characterized in that described from described first It is described to be matched in the behavioral data with the first class of subscriber after client obtains behavioral data corresponding with the behavior First part's behavioral data be sent to before the second client for belonging to first class of subscriber, the method further includes:
The behavioral data is at least divided into first part's behavioral data and the second part behavioral data, In, first part's behavioral data is the data for the first level of detail that the behavior can be shown in the behavioral data Subset, the second part behavioral data are the number for the second level of detail that the behavior can be shown in the behavioral data According to subset.
6. a kind of data synchronization unit, applied to the VR servers communicated to connect with multiple client, which is characterized in that including:
Behavioral data acquisition module, the first user for the first client in the multiple client make a behavior When, obtain behavioral data corresponding with the behavior from first client;
First behavior data transmission blocks, for by the behavioral data with the matched first part's behavior of the first class of subscriber Data are sent to the second client for belonging to first class of subscriber, so that the second user of second client can be seen Observe first user's corresponding with first part's behavioral data in the virtual scene that the VR servers are safeguarded At least first image of frame;
Second behavioral data sending module, for by the behavioral data with second user categorical match and described first The second part behavioral data for dividing behavioral data different is sent to the third client for belonging to the second user classification, so that institute State third client third user be able to observe that it is corresponding with the second part behavioral data in the virtual scene At least second image of frame of first user.
7. data synchronization unit according to claim 6, which is characterized in that the first behavior data transmission blocks, packet It includes:
Weight Acquisition submodule, for obtaining user's weight of the second user;
User's classification submodule, first class of subscriber is divided to for being based on user's weight by the second user;
Behavioral data sending submodule, for first part's behavioral data to be sent to second client.
8. data synchronization unit according to claim 7, which is characterized in that the Weight Acquisition submodule includes:
First Weight Acquisition unit, for obtain the second user for characterize user's importance priority weighting and/ Or, the position relationship based on second user described in the virtual scene and first user obtains the position of the second user Put weight;
Second Weight Acquisition unit obtains user's weight for being based on the priority weighting and/or the position weight.
9. data synchronization unit according to claim 8, which is characterized in that the first Weight Acquisition unit, including:
Position weight obtains subelement, for based between second user described in the virtual scene and first user Distance and the visible level between the second user and first user obtain the position weight.
10. according to the data synchronization unit described in claim any in claim 6-9, which is characterized in that further include:
Behavioral data sort module, for the behavioral data to be at least divided into first part's behavioral data and described Second part behavioral data, wherein, first part's behavioral data is that can show the behavior in the behavioral data The first level of detail data subset, the second part behavioral data be the behavioral data in can show the row For the second level of detail data subset.
CN201810007984.4A 2018-01-04 2018-01-04 Data synchronization method and device Expired - Fee Related CN108200064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810007984.4A CN108200064B (en) 2018-01-04 2018-01-04 Data synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810007984.4A CN108200064B (en) 2018-01-04 2018-01-04 Data synchronization method and device

Publications (2)

Publication Number Publication Date
CN108200064A true CN108200064A (en) 2018-06-22
CN108200064B CN108200064B (en) 2020-07-31

Family

ID=62588336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810007984.4A Expired - Fee Related CN108200064B (en) 2018-01-04 2018-01-04 Data synchronization method and device

Country Status (1)

Country Link
CN (1) CN108200064B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845670A (en) * 2018-06-27 2018-11-20 苏州馨镜家园软件科技有限公司 A kind of online virtual fitness entertainment systems and method based on somatosensory device
CN110322377A (en) * 2019-06-28 2019-10-11 德普信(天津)软件技术有限责任公司 Teaching method and system based on virtual reality

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160203642A1 (en) * 2015-01-14 2016-07-14 Oculus Vr, Llc Passive locators for a virtual reality headset
CN105872575A (en) * 2016-04-12 2016-08-17 乐视控股(北京)有限公司 Live broadcasting method and apparatus based on virtual reality
KR20170081456A (en) * 2016-01-04 2017-07-12 한국전자통신연구원 Personal experience sharing system based on virtual reality that supports multi-platform
CN107168532A (en) * 2017-05-05 2017-09-15 武汉秀宝软件有限公司 A kind of virtual synchronous display methods and system based on augmented reality
US20170304585A1 (en) * 2016-04-20 2017-10-26 Odyssey Science Innovations, LLC Virtual reality guided meditation in a wellness platform
CN107318029A (en) * 2017-06-14 2017-11-03 北京易威科技有限公司 Switch the method for correspondence virtual reality scenario according to video content under VR environment
CN107430790A (en) * 2015-04-09 2017-12-01 奇内莫伊北美有限责任公司 System and method for providing interactive virtual environments
CN107469343A (en) * 2017-07-28 2017-12-15 深圳市瑞立视多媒体科技有限公司 Virtual reality exchange method, apparatus and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160203642A1 (en) * 2015-01-14 2016-07-14 Oculus Vr, Llc Passive locators for a virtual reality headset
CN107430790A (en) * 2015-04-09 2017-12-01 奇内莫伊北美有限责任公司 System and method for providing interactive virtual environments
KR20170081456A (en) * 2016-01-04 2017-07-12 한국전자통신연구원 Personal experience sharing system based on virtual reality that supports multi-platform
CN105872575A (en) * 2016-04-12 2016-08-17 乐视控股(北京)有限公司 Live broadcasting method and apparatus based on virtual reality
US20170304585A1 (en) * 2016-04-20 2017-10-26 Odyssey Science Innovations, LLC Virtual reality guided meditation in a wellness platform
CN107168532A (en) * 2017-05-05 2017-09-15 武汉秀宝软件有限公司 A kind of virtual synchronous display methods and system based on augmented reality
CN107318029A (en) * 2017-06-14 2017-11-03 北京易威科技有限公司 Switch the method for correspondence virtual reality scenario according to video content under VR environment
CN107469343A (en) * 2017-07-28 2017-12-15 深圳市瑞立视多媒体科技有限公司 Virtual reality exchange method, apparatus and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵必厦: ""通道虚拟现实交互展示系统的研究与应用"", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845670A (en) * 2018-06-27 2018-11-20 苏州馨镜家园软件科技有限公司 A kind of online virtual fitness entertainment systems and method based on somatosensory device
CN110322377A (en) * 2019-06-28 2019-10-11 德普信(天津)软件技术有限责任公司 Teaching method and system based on virtual reality

Also Published As

Publication number Publication date
CN108200064B (en) 2020-07-31

Similar Documents

Publication Publication Date Title
Cheng et al. Will metaverse be nextg internet? vision, hype, and reality
Han et al. A dynamic resource allocation framework for synchronizing metaverse with iot service and data
Graham Telecommunications and the future of cities: debunking the myths
Haunss Promise and practice in studies of social media and movements
Kovachev et al. Mobile community cloud computing: emerges and evolves
CN101247361B (en) Member dynamic information display system and method in user group
CN113179206B (en) Session display method, session acquisition method, device, equipment, system and medium
CN110235120A (en) System and method for the conversion between media content item
KR101872371B1 (en) Dynamic computer systems and uses thereof
JP2020515933A (en) System and method for providing augmented reality personalized content
CN111617487B (en) Account access method and device in game application, storage medium and electronic equipment
US10692187B2 (en) Systems and methods for presenting content
CN105900123A (en) System and method to serve one or more advertisements with different media formats to one or more devices
CN110023880A (en) Shared three-dimensional user interface with personal space
CN107135387A (en) Online Customer Reception method and its system based on VR technologies
CN108876081B (en) Virtual room allocation method, device, storage medium and processor
CA2705403A1 (en) Method of managing a set of virtual environment control entities, device, and corresponding computer program product
US10362265B2 (en) Systems and methods for presenting content
CN106302666B (en) Data push method and device
CN108200064A (en) Method of data synchronization and device
WO2020213405A1 (en) Information processing system, information processing terminal, server apparatus, information processing method and program
Bujari et al. Optimal configuration of active and backup servers for augmented reality cooperative games
Van Winkle et al. Information and communication technology and the festival experience
CN208589071U (en) A kind of museum digitalized is toured system
CN106533912B (en) User communication system based on intelligent community

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200731