CN110471772A - A kind of distributed system and its rendering method, client computer - Google Patents

A kind of distributed system and its rendering method, client computer Download PDF

Info

Publication number
CN110471772A
CN110471772A CN201910765782.0A CN201910765782A CN110471772A CN 110471772 A CN110471772 A CN 110471772A CN 201910765782 A CN201910765782 A CN 201910765782A CN 110471772 A CN110471772 A CN 110471772A
Authority
CN
China
Prior art keywords
projection device
client computer
rendering
configuration information
information
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
CN201910765782.0A
Other languages
Chinese (zh)
Other versions
CN110471772B (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.)
Shanghai Hongxing Cloud Computing Technology Co ltd
Original Assignee
Shanghai Yunshen Intelligent 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 Shanghai Yunshen Intelligent Technology Co Ltd filed Critical Shanghai Yunshen Intelligent Technology Co Ltd
Priority to CN201910765782.0A priority Critical patent/CN110471772B/en
Publication of CN110471772A publication Critical patent/CN110471772A/en
Application granted granted Critical
Publication of CN110471772B publication Critical patent/CN110471772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The invention discloses a kind of distributed system and its rendering methods, client computer, are related to line holographic projections field, which includes: at least two hosts;It serves as the host of server and is allowed between every host for serving as client computer by network and realize synchronizing information, and be connected with an at least projection device on every host for serving as client computer.The framework of distributed system of the present invention shares the rendering pressure of each client computer, can be realized the rendering of the immersion show surroundings more demanding to image quality, and rendering effect has preferable stability and fluency.The host number that client computer is served as in distributed system can also flexibly increase and decrease according to actual needs, and establishment is convenient, fast, be widely used.

Description

A kind of distributed system and its rendering method, client computer
Technical field
The present invention relates to line holographic projections field more particularly to a kind of distributed systems and its rendering method, client computer.
Background technique
Existing immersion show surroundings, either single screen enclosed or multi-screen circulating type are all using a master Machine, thereon run a program, this program according to projection screen number, create the rendering window of respective numbers to each screen The content of upper projection is rendered.
System architecture used by traditional immersion show surroundings all concentrates on all pressure on one host, One host runs single program, and it is part very simple thing that single program, which starts multiple rendering windows, but multiple windows all with One smooth frame number carry out picture rendering be it is very difficult, therefore, this traditional system architecture can only meet to image quality Rendering of less demanding, the especially not no requirement of real-time of ray tracing.Such as: the rendering frame number of multi-screen can be stablized 30 Frame/second.
With the raising of people's aesthetic conceptions, the requirement to image quality is also higher and higher, and traditional immersion show surroundings are adopted System architecture can not meet actual demand again.
Summary of the invention
The object of the present invention is to provide a kind of distributed system and its rendering methods, client computer, have shared each client computer Pressure is rendered, the rendering of the immersion show surroundings more demanding to image quality is can be realized, substantially increases making for user With experience.
Technical solution provided by the invention is as follows:
A kind of distributed system, comprising: at least two hosts;The host for serving as server allows every to serve as visitor by network It realizes synchronizing information between the host of family machine, and is connected with an at least projection device on every host for serving as client computer.
In the above-mentioned technical solutions, by the connection framework of multiple client-servers, sharing for rendering pressure is realized, To realize the rendering of the immersion show surroundings more demanding to image quality.
Further, a host had not only served as the server, but also served as the client computer.
In the above-mentioned technical solutions, host can the function of reception server and the function of a client computer simultaneously, can It is server that different hosts (terminal device in other words), which is arranged, according to practical situations, improves the spirit of distributed system setting Activity.
Further, the server is set for receiving each projection connected on the clients that each client computer is sent Standby projection device information;And receive the corresponding configuration information of each projection device information;And by each configuration Information is sent to corresponding client computer;The client computer, for when receiving the configuration information that the server is sent, According to the configuration information, starts rendering program and corresponding projected picture is rendered.
In the above-mentioned technical solutions, the configuration information of each projection device can be distributed by server, be uniformly managed, and be guaranteed The Cost Allocation of each projection device rendering pressure.
Further, the server is further used for saving and showing each projection device information;The server, Receive the corresponding configuration information of each projection device information to specifically include: the server receives user according to each of display The corresponding configuration information of the projection device information setting.
In the above-mentioned technical solutions, configuration information can be set by the user himself, and meet the needs of different actual conditions, adapt to Property is preferable, improves the usage experience of user.
Further, the client computer starts rendering program and carries out wash with watercolours to corresponding projected picture according to the configuration information Dye includes: the client computer, obtains the resolution ratio of the corresponding projection device of the configuration information;And match confidence according to described The system display pattern of corresponding projection device Yu the client computer is ceased, window coordinates are obtained;And match confidence according to described Breath, the resolution ratio and the window coordinates, starting rendering program render corresponding projected picture.
In the above-mentioned technical solutions, the acquisition of window coordinates, resolution ratio, it is ensured that the correct rendering of projected picture.
Further, when the system display pattern is non-expanding mode (there was only a display equipment), the window Coordinate is initial coordinate;When the system display pattern is mode of extension, is shown based on the corresponding projection device of the configuration information When showing equipment, the window coordinates of the corresponding projection device of the configuration information are initial coordinate;
When the system display pattern is mode of extension, the corresponding projection device of the configuration information is non-master display equipment When, according to the resolution ratio of positional relationship and each projection device between the non-master display equipment and main display equipment, certainly Determine the window coordinates of the corresponding projection device of the configuration information.
In the above-mentioned technical solutions, it discloses the projection device that non-expanding mode is connected with mode of extension and obtains window coordinates Different modes, ensure that the correctness of each projection device rendered picture.
Further, the server is further used for executing when receiving the operational order that a client computer is sent The operational order obtains the corresponding operating result of the operational order;And according to rendering demand, by corresponding operation knot Fruit is sent to corresponding client computer and synchronizes;The client computer, in render process, when receiving the synchronous operation knot When fruit, projected picture is rendered according to the synchronous operating result.
In the above-mentioned technical solutions, server synchronizes the operating result in each client computer according to rendering demand, makes each client It is preferable that projection device on machine renders the projected picture consistency come.
Further, the server is further used for obtaining the location information of user, and the location information is sent to Each client computer synchronizes;The client computer, in render process, when receiving the location information, according to upper one The location information of secondary acquisition and the location information received now obtain multiple location of interpolation by linear interpolation method progress interpolation Information, the corresponding projected picture of location information for rendering each location of interpolation information respectively and receiving now.
In the above-mentioned technical solutions, the location information of user, the content meeting of user's viewing are considered when projected picture renders Change with the variation of its position, and transition is smooth when projected picture variation, substantially increases the viewing experience of user.
The present invention also provides a kind of client computer, applied in any of the above-described distributed system, comprising: send mould Block, for after connecting foundation with server communication, the projection device information of each projection device of connection to be sent to server; Receiving module, the configuration information sent for receiving the server according to the projection device information;Rendering module is used for root According to the configuration information, starts corresponding rendering program and projected picture is rendered.
Further, the receiving module is further used for obtaining the resolution ratio of the corresponding projection device of the configuration information; And the system display pattern according to the corresponding projection device of the configuration information and the client computer, obtain window coordinates;Institute Rendering module is stated, for according to the configuration information, starting rendering program to carry out rendering to corresponding projected picture and specifically includes: The rendering module starts rendering program and throws corresponding according to the configuration information, the resolution ratio and the window coordinates Shadow picture is rendered.
Further, when the system display pattern is non-expanding mode, the window coordinates are initial coordinate;When described When system display pattern is mode of extension, shows equipment based on the corresponding projection device of the configuration information, the configuration information The window coordinates of corresponding projection device are initial coordinate;When the system display pattern is mode of extension, the configuration information When corresponding projection device is non-master display equipment, according to the positional relationship between the non-master display equipment and main display equipment With the resolution ratio of each projection device, the window coordinates of the corresponding projection device of the configuration information are determined.
Further, the sending module is further used for that the operational order is sent to institute when generating operational order State server.
Further, further includes: the receiving module is further used for receiving the operating result of the server sync; The rendering module, is further used in render process, is rendered according to the synchronous operating result to projected picture.
Further, the rendering module is further used for when receiving the location information that the server is sent, in wash with watercolours During dye, the location information obtained according to the last time and the location information received now carry out interpolation by interpolation method, obtain To multiple location of interpolation information, the corresponding throwing of location information for rendering each location of interpolation information respectively and receiving now Shadow picture.
The present invention also provides a kind of rendering methods of distributed system, comprising the following steps: connect when with server communication After foundation, the projection device information of each projection device of connection is sent to the server;The server is received according to institute State the configuration information of projection device information transmission;According to the configuration information, start rendering program to corresponding projected picture into Row rendering.
Further, further comprising the steps of: to obtain the resolution ratio of the corresponding projection device of the configuration information;According to described The system display pattern of the corresponding projection device of configuration information and the client computer obtains window coordinates;It is described according to Configuration information, starting rendering program render corresponding projected picture the following steps are included: according to the configuration information, institute Resolution ratio and the window coordinates are stated, starting rendering program renders corresponding projected picture.
Further, when the system display pattern is non-expanding mode, the window coordinates are initial coordinate;When described When system display pattern is mode of extension, shows equipment based on the corresponding projection device of the configuration information, the configuration information The window coordinates of corresponding projection device are initial coordinate;When the system display pattern is mode of extension, the configuration information When corresponding projection device is non-master display equipment, according to the positional relationship between the non-master display equipment and main display equipment With the resolution ratio of each projection device, the window coordinates of the corresponding projection device of the configuration information are determined.
Further, further comprising the steps of: when generating operational order, the operational order being sent to the service Device.
Further, further comprising the steps of: when receiving the operating result of the server sync, in render process In, projected picture is rendered according to the synchronous operating result.
Further, further comprising the steps of: when receiving the location information synchronized that the server is sent, In In render process, the location information obtained according to the last time and the location information received now are linearly inserted by interpolation method Value, obtains multiple location of interpolation information, the location information pair for rendering each location of interpolation information respectively and receiving now The projected picture answered.
Compared with prior art, distributed system of the invention and its rendering method, client computer beneficial effect are:
The framework of distributed system of the present invention shares the rendering pressure of each client computer, can be realized and wants to image quality The rendering of higher immersion show surroundings is asked, and rendering effect has preferable stability and fluency.In distributed system The host number for serving as client computer can also flexibly increase and decrease according to actual needs, and establishment is convenient, fast, be widely used.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, to a kind of distributed system and its Rendering method, client computer above-mentioned characteristic, technical characteristic, advantage and its implementation be further described.
Fig. 1 is the structural schematic diagram of distributed system one embodiment of the present invention;
Fig. 2 is the structural schematic diagram of client computer one embodiment of the present invention;
Fig. 3 is the flow chart of rendering method one embodiment of distributed system of the present invention;
Fig. 4 is the schematic diagram of projection device information one embodiment that UI of the present invention shows a client computer;
Fig. 5 is the drop shadow effect's figure for being located at positive one embodiment on a face projection screen of the invention;
Fig. 6 is that the drop shadow effect in Fig. 5 on the same face projection screen positioned at the left side schemes;
Fig. 7 is that the drop shadow effect in Fig. 5 on the same face projection screen positioned at the right side schemes.
Drawing reference numeral explanation:
1. server, 2. client computer, 21. sending modules, 22. receiving modules, 23. rendering modules, 3. projection devices.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated " only this ", can also indicate the situation of " more than one ".
Immersion show surroundings of the invention are mainly used in house ornamentation displaying, can use the projection of respective numbers as needed Screen.Such as: it shows the finishing environment in kitchen, five projection screens can be used, be respectively as follows: upper and lower, left and right, preceding;Show visitor The finishing effect of the very long decorative wall of the one side in the Room, can be only with a face projection screen.
The quantity of the corresponding projection device of every face projection screen can determine according to the requirement of image quality, such as: every face projection screen The corresponding projection device of curtain, alternatively, three-plane projection's screen respectively corresponds to a projection device, fourth face projection screen corresponding two Platform projection device.
Its logic business realized of following distributed systems can apply existing engine implementation, including but not limited to illusory to draw Hold up 4.
Host, for the terminal device for supporting various application programs, such as: it is mobile phone, tablet computer, computer, dedicated Terminal etc..
In one embodiment of the invention, a kind of distributed system, comprising: at least two hosts;Serve as server 1 Host is allowed between every host for serving as client computer 2 by network and realizes synchronizing information, and on every host for serving as client computer 2 It is connected with an at least projection device 3.
Fig. 1 shows a kind of embodiment of distributed system, there is a server 1 and two client computer 2, two client computer 2 are all communicated to connect with server by TCP/IP and server 1, are all connected with two projection devices 3 in every client computer 2.
Specifically, client-server is connected in the same network, the communication link of each client-server is realized It connects, the forwarding of information is carried out by server, realizes the synchronizing information between each client computer.
Projection device is equivalent to a display equipment, can be connected by realizing with the video card interface of client computer, such as: Projection device is attached by HDMI/VGA interface and a client computer.When immersive environment is realized based on 4K projection device When, it is connect by the interface of HDMI2.1 or more with client computer.If a client computer is connected with multiple projection devices, this client computer is needed There is the video card interface of respective numbers to connect for each projection device.
Such as: a client computer is connected with three projection devices, is at least set in this client computer there are three HDMI interface, one Platform projection device corresponds to a HDMI interface, this three projection devices are connected in this client computer.
Every client computer undertakes the rendering pressure of each projection device connected to it.In above-mentioned example, in this client computer Three projection devices are connected with, this client computer will open three rendering programs, and each rendering program is responsible for corresponding projection device Picture rendering.
If in the case where limited budget, several projection devices can be allowed to share a client computer.Preferably, every projection is set One client computer of standby connection is, it can be achieved that the good dispersion for rendering pressure.
If there are four projection screen, the corresponding projection device of each projection screen carries out the present invention with this application scenarios System and traditional system between comparison:
This four projection devices can be all connected to same by system architecture used by traditional immersion show surroundings On host (being equivalent to a client computer of the invention), a rendering program is run by this host, opens four rendering windows (each corresponding projection device of rendering window) carries out the rendering of picture, that is to say, that all rendering pressure all concentrate on On this host.
And distributed system of the invention, more client computer (be equivalent to and introduce multiple host) can be used, by this four Projection device is connected in these client computer, and every client computer is only responsible for the wash with watercolours of the corresponding picture of the projection device being connected thereto Dye, that is to say, that the pressure of the corresponding picture rendering of this four projection devices can be shared in each client computer.If budget is sufficient It is enough, four client computer can be directlyed adopt, every client computer connects a projection device, and this connection type makes every client computer only The rendering pressure for being responsible for a projection device and a traditional host is needed to undertake the rendering pressure of four projection devices It compares, greatly reduces the rendering pressure of client computer, so that the picture rendering of requirements at the higher level can be realized.Certainly, if limited budget, Three client computer can also be used, wherein a client computer connects two projection devices, in addition two client computer are separately connected one Projection device;Or two client computer, every client computer connect two projection devices and all drop compared to traditional system architecture The low rendering pressure of client computer.
As an implementation, a private server (Dedicated Server) can be used to realize and each client computer Network communication connection.
As another embodiment, it is shown if being applied to house ornamentation, a large amount of data is needed unlike game Interaction can not use private server, and the higher mode of cost performance is to use Listen server (Listen Server), Increase corresponding parameter given host starting is the client of server client or client computer.
Such as: use illusory engine 4, specify each host (such as: the terminal devices such as computer, mobile phone, tablet computer) with Listen mode starts client, if being provided that the client of client computer parameter on host, is equivalent to visitor after starting Family machine;If being provided that the client of server parameter on host, a server is equivalent to after starting;If same Not only client computer parameter had been contained in the client being arranged on host but also has included server parameter, after starting this client, both The function of execute server, and execute the function of client computer.
It should be noted that aforementioned described rendering program is to execute in the client for have client computer parameter and rendering phase Close the function program of service logic.
Example is as follows:
If having three projection devices A, B, C and three host As ', B ', C ', photographic equipment A be connected to host A ', photography is set The visitor of client computer parameter is provided that on standby B is connected to host B ', photographic equipment C is connected to host C ', host B ' and host C ' Family end is carried out the service logic that client computer should execute after the two starting, and host A ' on be provided with (existing client computer ginseng Number, have server parameter again) listen parameter client, host A ' perform this client after, be both equivalent to one Platform server, and it is equivalent to a client computer.
In practical application, in order to allow user preferably to watch immersion show surroundings, it is possible to provide human-computer interaction.Such as: User can open the cabinet shown, a certain ornament of replacement etc. by interaction.There are many concrete implementation modes, such as: make visitor Family machine has the function that interact with user, alternatively, allowing the function etc. of server realization human-computer interaction.
Such as: projection screen is two sides, respectively front and the left side, three projection devices is used, wherein first and second Projection device is responsible for positive projection, and third platform projection device is responsible for the projection on the left side, and first and second projection device is connected to One client computer, third platform projection device are connected to second client computer, and the mobile phone of user is as server, with First client Machine and second client computer communication connection.User can allow mobile phone by operational order by hand hands- operation, according to rendering demand Corresponding operating result is synchronized to First client computer and second client computer at the appropriate time.Certainly, if First client computer If also there is interactive function with second client, the hand as server can also be sent to by the client computer of generation operational order Machine, after executing operational order by mobile phone, according to the rendering demand of each client computer, at the appropriate time by the corresponding behaviour of this operational order Another client computer is synchronized to as result.
In the above-described embodiments, the framework of distributed system shares the rendering pressure of each client computer, has both been able to achieve more A screen synch runs the projection of a scene, and can apply to the wash with watercolours of the immersion show surroundings more demanding to image quality Dye, and rendering effect has preferable stability and fluency.The quantity of client computer can also be according to practical need in distributed system Flexible increase and decrease is asked, establishment is convenient, fast, is widely used.
Field is shown based on house ornamentation is applied to, and data are relatively simple compared to for game, can be used Listen Server's Mode sets up distributed system, low in cost, and can flexible setting different terminal equipment be according to demand server, has higher Adaptability.
Based on the improvement of above-mentioned distributed system embodiment, in addition to same as described above, further includes: server 1 is used for Receive the projection device information for connecting each projection device on the clients that each client computer is sent;And receive each institute State the corresponding configuration information of projection device information;And each configuration information is sent to corresponding client computer.
Specifically, between server 1 and client computer 2 information exchange can be carried out after establishing long connection.The two can be used The agreements such as TCP connection, Web-socket agreement in Socket agreement carry out long connection.Once client computer 2 is connect with server 1 The projection device information for each projection device being connected thereto can be pushed to server 1 automatically by success, client computer 2.
Such as: there are two client computer and a server, is connected with a projection device A in First client computer, second Two projection devices B, C are connected in platform client computer, after this two client computer all establish long connection with this server, first The projection device information of projection device A is just sent to server by platform client computer, and second client computer is just projection device B and throwing The projection device information sending server of shadow equipment C, so that the projection device for allowing server to receive this three projection devices is believed Breath.
Projection device information includes but is not limited to: the system of the resolution ratio of projection device, projection device and client computer is shown Mode, the title of projection device, number of projection device etc..
As an implementation, server can pass through default after receiving the projection device information of each projection device Setting obtains the corresponding configuration information of each projection device information.
Specifically, configuration information includes: the projection screen for being responsible for projection.
Such as: server has received two projection device information, and default setting is matching for first projection device information For confidence breath to throw front, the configuration information of second projection device information is to throw the right side.
If a projection screen is responsible for by several projection devices, example is as follows: positive projection screen is set by two projections Standby to be responsible for, the configuration information of first projection device information is to throw positive left side, and second projection device information matches confidence Breath is the positive right side of throwing.
As another embodiment, server 1 is further used for saving and showing each projection device information;Clothes Business device 1, receive the corresponding configuration information of each projection device information and specifically include: server 1 receives user according to display The corresponding configuration information of each projection device information setting.
It is set specifically, server after receiving the projection device information of each client feedback, can be reserved for these projections Standby information, and the projection device information of preservation is fed back into operation user by user interface (User Interface, UI), it uses Family can carry out the setting of configuration information to the corresponding projection device of each projection device information, to make each client computer starting corresponding Rendering program projected picture is rendered.
As shown in figure 4, being two projections of the connection for the client computer transmission that server receives in this client computer The projection device information of equipment, and shown by UI, the corresponding configuration information of first projection device information of user setting To throw front, the corresponding configuration information of the second projection device is to throw the left side.
After each projection device information has its corresponding configuration information, each configuration information can be sent to corresponding client Machine allows it to execute subsequent operation.
Such as: the corresponding configuration information of first projection device information is to throw front, and second projection device information is corresponding Configuration information be to throw the left side, the corresponding projection device of two projection device information is all connected in the same client computer, services The two configuration informations are just sent to this client computer by device, this client computer is allowed to understand the corresponding projection of first projection device information Equipment throws front, and the corresponding projection device of second projection device information throws the left side.
Client computer 2, for when receiving the configuration information that the server is sent, according to the configuration information, Starting rendering program renders corresponding projected picture.
Specifically, the configuration information that each client computer is sent according to server, is arranged corresponding parameter operation rendering program, holds Carry on a shoulder pole the rendering of homolographic projection picture.
Such as: if a client computer has connected two projection devices (respectively No. 1 and No. 2), front and the left side are thrown respectively, that When server by open command (form of open command is not construed as limiting, and can send jointly to client computer with configuration information, Directly configuration information can be mixed in open command) when pass to this client computer, it can be respectively in corresponding projection device A subsidiary data (i.e. configuration information, No. 1 video camera are Front parameter) at ID is positive in No. 1 projector's starting when needing When picture, rendering program can obtain a Front parameter on startup, thus activation before to virtual camera, to just Face picture is rendered;Similarly, the client computer for being responsible for the projection left side can activate the corresponding left side virtually to image by Left parameter Machine.Similarly, at this time if separately having a client computer Lian Liaoyitai projector to need to throw the right side, server is opened notifying it When opening rendering program, the configuration information that he has Right parameter can be transmitted to.
It should be noted that in actual use, after client computer is connected to the configuration information of a projection device, operation peace The client of dress is arranged the corresponding start-up parameter of this configuration information (such as: Front parameter, window coordinates etc.) and calls rendering journey Sequence activates the virtual camera of corresponding position, renders to realize to the picture of this position.Therefore, configuration information is different, although Call the same rendering program, but the start-up parameter being arranged it is different, it can be achieved that different location picture rendering.When a client computer On when having more projection devices, rendering program can be called to render different projected pictures using respective configuration information, It is equivalent to the opening of game client difference account more.
Optionally, client computer 2 start rendering program and render to corresponding projected picture according to the configuration information Include:
Client computer 2 obtains the resolution ratio of the corresponding projection device of the configuration information;And according to the configuration information The system display pattern of corresponding projection device and the client computer obtains window coordinates;And according to the configuration information, The resolution ratio and the window coordinates, starting rendering program render corresponding projected picture.
Acquisition window coordinates are the frame information in order to determine the projected picture of projection device rendering, i.e. a left side for frame information (Left), right (Right), upper (Top), under (Bottom) information, to guarantee the picture position projected after rendering just Really, it does not deviate and size is correct.
Such as: if the resolution ratio of projection device is 2560x1440, it is known that the coordinate of upper left point is (Left=0, Top= 0) coordinate that, then can extrapolate lower-left point is (0,1440), and the coordinate of lower-right most point is (2560,1440), and the coordinate of upper right point is (2560,0).
Therefore, window coordinates directly acquire the coordinate of any one corner points, for convenience of description, in the present embodiment Window coordinates are selected as the coordinate in the upper left corner.
Optionally, when the system display pattern is that (non-expanding mode here is interpreted as non-expanding mode, a client Only it is connected to a projection device on machine, the system display pattern of this projection device and client computer is exactly non-expanding mode) When, the window coordinates are initial coordinate;
When the system display pattern is mode of extension, shows equipment based on the corresponding projection device of the configuration information When, the window coordinates of the corresponding projection device of the configuration information are initial coordinate;
When the system display pattern is mode of extension, the corresponding projection device of the configuration information is non-master display equipment When, according to the resolution ratio of positional relationship and each projection device between the non-master display equipment and main display equipment, certainly Determine the window coordinates of the corresponding projection device of the configuration information.
Specifically, window coordinates are initial coordinate, for convenience of calculating, initial coordinate can be set as (0,0).
If being connected with more projection devices in a client computer, these projection devices are connected with mode of extension and client computer It connects, wherein an only projection device is the main display equipment of client computer, other projection devices are all the non-master displays of client computer Equipment, in the operating system of client computer, each non-master display equipment and main display equipment have positional relationship, such as: one is non-master Show that equipment is located at the left side of main display equipment, above or the right side (orientation of software view) etc..The throwing connected with mode of extension The window coordinates of shadow equipment need to be set according to its positional relationship between the projection device as main display equipment and each projection Standby resolution ratio determines.
Such as: two projection devices are connected in same client computer, and (resolution ratio is First projection device Be 1920x1080) mode of extension with the system display pattern of client computer, based on show equipment, configuration information be throw it is positive The system display pattern of right side, second projection device and client are mode of extension, are non-master display equipment, and what it is in client computer is Its in system setting is located at the left side of main display equipment, and configuration information is to throw positive left side, then First projection device is corresponding Window coordinates be (0,0), the corresponding window coordinates adaptability of the second projection device becomes (- 1920,0).
For another example: two projection devices are connected in same client computer, and (resolution ratio is First projection device 1920x1080) with the system display pattern of client computer be mode of extension, configuration information be throw front, based on show equipment, The system display pattern of second projection device and client are mode of extension, and configuration information is to throw the right side, are located at main display The right side of equipment, then the corresponding window coordinates of First projection device are (0,0), and the corresponding window coordinates of the second projection device are suitable Answering property becomes (1920,0).
The window coordinates that each projection device is determined according to system display pattern ensure that the corresponding shadowgraph of each projection device The correct rendering in face enables the harmonious splicing of the picture projected, and user is available more preferable in immersion show surroundings Viewing effect.
Such as: as illustrated in figs. 5-7, by three projection the same face projection screens, their resolution ratio is all 2560x1440 shows based on the corresponding projection device A of Fig. 5 and sets if these three projection devices are all connected in the same client computer Standby, the corresponding projection device C of the corresponding projection device B and Fig. 7 of Fig. 6 is non-master display equipment, the corresponding position projection device B Information is located at the left side of main display equipment in an operating system, and the corresponding location information of projection device B is located in an operating system It is main display equipment the right, the corresponding window coordinates of projection device A be (0,0), the corresponding window coordinates of projection device B be (- 2560,0), the corresponding window coordinates of projection device C are (2560,0).
Certainly, the positional relationship of each projection device may be in operating system: projection device B as main display equipment, Projection device A is located at the right of projection device B, and projection device C is located at the right of projection device A;The corresponding window of projection device B Coordinate be (0,0), the corresponding window coordinates of projection device A be (2560,0), the corresponding window coordinates of projection device C be (5120, 0)。
Optionally, the distributed system of the present embodiment, server 1 are further used for that a client computer hair ought be received When the operational order sent, the operational order is executed, obtains the corresponding operating result of the operational order;And according to rendering Corresponding operation result is sent to corresponding client computer and synchronized by demand;Client computer 2, in render process, when receiving When the synchronous operational order, projected picture is rendered according to synchronous each operational order.
Specifically, operational order can be sent to clothes when producing the operational order of user in any one client computer Business device, by this operational order of server process, after obtaining corresponding operation result, according to the rendering demand of each client computer, suitable When opportunity be sent to other client computer and synchronize, when rendering, each client computer can carry out shadowgraph according to synchronous operating result The rendering in face.Such as: server is the hand-held tablet computer of user, two client computer, client computer A one projection device of connection A ' is responsible for projection front, and client computer B connects another projection device B ', is responsible for the projection left side, when user opens front projection On screen when the door of leftmost side cabinet, this is exactly an operational order, and client computer A generates corresponding operation depending on the user's operation After instruction, sends it to server and corresponding operating result is saved, discovery is worked as after server executes this operational order When the client computer B picture to be rendered is related to this operating result, this operating result is sent to client computer B and is synchronized, client computer B It will appreciate that the door of positive leftmost side cabinet is opened, the projected picture of rendering, also can be its wash with watercolours when being related to this cabinet Dye open appearance.
It should be noted that simultaneously operating result is more substantially to allow the rendering program being responsible for different projected pictures and calling Between synchronization.
Such as: in same client computer, there is two projection devices, wherein the corresponding projected picture of No. 1 projection device be with Configuration information be throw the left side, window coordinates (0,0), the rendering program that oneself resolution ratio be 2560x1440 calling needs it The projected picture on the left side of projection is rendered;The corresponding projected picture of No. 2 projection devices is with configuration information for throwing front, window Mouthful coordinate (2560,0), oneself resolution ratio are the positive projection that the rendering program that 2560x1440 is called needs to project to it Picture is rendered.When a cabinet when the left side is opened, this client computer can be sent to this operational order server, service Device can be corresponding operating result, i.e. the left side a cabinet is that machine is sent in each client computer opening state in due course, wash with watercolours The rendering program for contaminating positive projected picture can also synchronize this operating result, guarantee that the rendering of picture is synchronous.
The acquisition modes of operational order can be implemented by using the prior art, and specific mode is not construed as limiting.Such as: user is in visitor It is input operation instruction on the machine A of family.For another example, pass through the movement of sensor senses user, automatic identification operational order.
As another embodiment, user can input operation instruction on the server, by server by operational order pair The operating result answered is synchronized to all client computer.
Such as: if the place that user can contact is arranged in server, user can be inputted by the interactive interface on server Corresponding operating result after being executed by it, is synchronized to all client computer by operational order.
It is the corresponding operating result of each operational order is synchronous in all client computer, it is ensured that be rendered in each client computer The identical ornament of projected picture come is consistent in the state of all angles, and user is allowed to have better observing effect.Such as: If a cabinet is open, what front projection came out is open state, if it is also to open that side, which is related to this cabinet, State.
In one embodiment, client computer further accounts for subscriber station in immersion show surroundings when rendering projected picture Relative position, it is understood that be user location information, guarantee render come each projected picture meet in actual scene The picture that subscriber station is seen in the position.
Such as: in actual scene, if exactly this television set that subscriber station in the front of a television set, is seen Front, side are hardly visible;If subscriber station is to the side to the left of television set, it is seen that the left side of this television set, one Divide front.
Similarly, during rendering projected picture, consider the location information of user, the picture for rendering and projecting can be made Face more meets the visual angle of user, and viewing effect is more preferable.
Optionally, server 1 is further used for obtaining the location information of user, and the location information is sent to respectively The client computer synchronizes;
The client computer 2, in render process, when receiving the location information, according to the position of last time acquisition Information and the location information received now carry out interpolation by interpolation method and (preferably, carry out linear interpolation, picture transitional effect More preferably), multiple location of interpolation information are obtained, the location information for rendering each location of interpolation information respectively and receiving now Corresponding projected picture.
Specifically, server can obtain the location information of user by certain frequency, each client is transmitted to after getting Machine synchronizes, and allows it to consider the location information of user in render process, the picture projected is made more to tally with the actual situation.
In view of the transmission speed of data in a network, in order to guarantee the smooth excessiveness of projected picture, each client computer needs Necessary interpolation is carried out between first latter two location information of acquisition.It should be noted that the location information of user is basis The position that the two-dimensional coordinate expression that practical immersion show surroundings are established, i.e. user are stood in practical immersion show surroundings.
Such as: if the synchronizing speed of location information is 2 times/second, the rendering speed of every client computer is 60 frames/second, if The coordinate of the first hyposynchronous location information is (0,0) in one second, and the coordinate of the second hyposynchronous location information is (20,30), If if client computer did not did interpolation processing in one second, the projection in all directions that the two positions are seen can be only rendered in the one second Picture, i.e. user are located at the projected picture seen when coordinate is (0,0) and user is located at the projection seen when coordinate is (20,30) Picture, it is seen that be two projected pictures directly jump, convert it is more stiff, observing effect is bad.
If carrying out necessary interpolation between two location informations successively obtained, several location of interpolation information are obtained, And the rendering of projected picture is carried out in turn, picture transition is smoother, smooth when making to project, and improves the appreciation effect of user.
Such as: if the coordinate of the first hyposynchronous location information is (0,0), the second hyposynchronous location information in one second Coordinate be (20,30), carry out interpolation between two, obtain 19 location of interpolation information (1,1.5), (2,3) if ... position Rendered good in the corresponding projected picture of location information (0,0), then successively rendering is located at coordinate (1,1.5), (2,3) ... The projected picture of (20,30), projects one by one.
It should be noted that specific Interpolation Process determines that this is not restricted according to the interpolation method actually selected.
In the present embodiment, each client computer can carry out the synchronization of information by server, make the picture one of each client computer rendering Cause property is preferable, ensure that good viewing effect.
In addition, the different location that can be stood according to user carries out the rendering of projected picture, see user's different location To the projected picture of different angle;And in evolution, interpolation processing can be carried out, keeps the picture transition projected more flat It is sliding, smooth, further improve the viewing experience of user.
Fig. 2 shows a kind of embodiments of client computer 2 of the invention, comprising: sending module 21, for when and server communication After connection is established, the projection device information of each projection device of connection is sent to server.
Specifically, carrying out information exchange after long connection can be established between server and client computer 2.The two can be used The agreements such as TCP connection, Web-socket agreement in Socket agreement carry out long connection.Once client computer 2 is connect with server The projection device information for each projection device being connected thereto can be pushed to server automatically by success, client computer 2.
Projection device information includes but is not limited to: the system of the resolution ratio of projection device, projection device and client computer is shown Mode, the title of projection device, number of projection device etc..
Receiving module 22, the configuration information sent for receiving the server according to the projection device information.
Rendering module 23, for starting rendering program and being rendered to corresponding projected picture according to the configuration information.
Specifically, configuration information includes: the projection screen for being responsible for projection.Each client computer matches confidence according to what server was sent Breath runs rendering program with different parameters, undertakes the rendering of homolographic projection picture.
Optionally, receiving module 22 are further used for obtaining the resolution ratio of the corresponding projection device of the configuration information;With And the system display pattern according to the corresponding projection device of the configuration information and the client computer, obtain window coordinates;With And
Rendering module 23, according to the configuration information, starting rendering program carries out rendering to corresponding projected picture and includes: Rendering module 23 starts rendering program to corresponding projection according to the configuration information, the resolution ratio and the window coordinates Picture is rendered.
Specifically, the resolution ratio for obtaining the corresponding projection device of configuration information is to determine the specific wash with watercolours of projected picture The number of the point of dye.
Acquisition window coordinates are the frame information in order to determine the projected picture of projection device rendering, i.e. a left side for frame information (Left), right (Right), upper (Top), under (Bottom) information, to guarantee the picture position projected after rendering just Really, it does not deviate and size is correct.
Specific example can be found in second embodiment of distributed system, and details are not described herein.
Therefore, window coordinates directly acquire the coordinate of any one corner points, for convenience of description, in the present embodiment Window coordinates are selected as the coordinate in the upper left corner.
Optionally, when the system display pattern is that (non-expanding mode here is interpreted as non-expanding mode, a client Only it is connected to a projection device on machine, the system display pattern of this projection device and client computer is exactly non-expanding mode) When, the window coordinates are initial coordinate;
When the system display pattern is mode of extension, shows equipment based on the corresponding projection device of the configuration information When, the window coordinates of the corresponding projection device of the configuration information are initial coordinate;
When the system display pattern is mode of extension, the corresponding projection device of the configuration information is non-master display equipment When, according to the resolution ratio of positional relationship and each projection device between the non-master display equipment and main display equipment, certainly Determine the window coordinates of the corresponding projection device of the configuration information.
Specifically, window coordinates are initial coordinate, for convenience of calculating, initial coordinate can be set as (0,0).
If being connected with more projection devices in a client computer, these projection devices are connected with mode of extension and client computer It connects, wherein an only projection device is the main display equipment of client computer, other projection devices are all the non-master displays of client computer Equipment, in the operating system of client computer, each non-master display equipment and main display equipment have positional relationship, such as: one is non-master Show that equipment is located at the left side, the above or right side etc. of main display equipment.With the window coordinates of the projection device of mode of extension connection It needs to be determined according to the resolution ratio of its positional relationship between the projection device as main display equipment and each projection device.Tool The example of body can be found in second embodiment of distributed system, and details are not described herein.
The window coordinates that each projection device is determined according to system display pattern ensure that the corresponding shadowgraph of each projection device The correct rendering in face enables the harmonious splicing of the picture projected, and user is available more preferable in immersion show surroundings Viewing effect.
Optionally, sending module 21 are further used for when generating operational order, the operational order are sent to described Server.
Receiving module 22 is further used for receiving the operating result of the server sync;Rendering module 23, further For being rendered according to the synchronous operating result to projected picture in render process.
Specifically, operational order can be sent to clothes when producing the operational order of user in any one client computer Business device, by this operational order of server process, after obtaining corresponding operation result, according to the rendering demand of each client computer, suitable When opportunity be sent to other client computer and synchronize, when rendering, each client computer according to synchronous operating result carried out projected picture Rendering.
Such as: server is the hand-held tablet computer of user, two client computer, client computer A one projection device of connection A ' is responsible for projection front, and client computer B connects another projection device B ', is responsible for the projection left side, when user opens front projection On screen when the door of leftmost side cabinet, this is exactly an operational order, and client computer A generates corresponding operation depending on the user's operation After instruction, sends it to server and corresponding operating result is saved, discovery is worked as after server executes this operational order When the client computer B picture to be rendered is related to this operating result, this operating result is sent to client computer B and is synchronized, client computer B It will appreciate that the door of positive leftmost side cabinet is opened, the projected picture of rendering, also can be its wash with watercolours when being related to this cabinet Dye open appearance.
It should be noted that simultaneously operating result is more substantially to allow the rendering program being responsible for different projected pictures and calling Between synchronization.
The acquisition modes of operational order can be implemented by using the prior art, and specific mode is not construed as limiting.Such as: user is in visitor It is input operation instruction on the machine A of family.For another example, pass through the movement of sensor senses user, automatic identification operational order.
It is the corresponding operating result of each operational order is synchronous in all client computer, it is ensured that be rendered in each client computer The identical ornament of projected picture come is consistent in the state of all angles, and user is allowed to have better, consistency observation Effect.Such as: if a cabinet is open, what front projection came out is open state, if side is related to this cabinet Son is also open state.
In another embodiment, in addition to identical with the present embodiment, client computer is when rendering projected picture, also nationwide examination for graduation qualification Subscriber station is considered in the relative position of immersion show surroundings, it is understood that is the location information of user, guarantee renders next Each projected picture meets the picture that subscriber station in actual scene is seen in the position.
Such as: in actual scene, if exactly this television set that subscriber station in the front of a television set, is seen Front, side are hardly visible;If subscriber station is to the side to the left of television set, it is seen that the left side of this television set, one Divide front.
Similarly, during rendering projected picture, consider the location information of user, the picture for rendering and projecting can be made Face more meets the visual angle of user, and viewing effect is more preferable.
Optionally, rendering module 23 are further used for rendering when receiving the location information that the server is sent In the process, the location information obtained according to the last time and the location information received now carry out interpolation (preferably by interpolation method Ground, carries out linear interpolation, and picture transitional effect is more preferable), multiple location of interpolation information are obtained, render each interpolation position respectively Confidence ceases projected picture corresponding with the location information received now.
Specifically, server can obtain the location information of user by certain frequency, each client is transmitted to after getting Machine synchronizes, and allows it to consider the location information of user in render process, the picture projected is made more to tally with the actual situation.
In view of the transmission speed of data in a network, in order to guarantee the smooth excessiveness of projected picture, each client computer needs Necessary interpolation is carried out between first latter two location information of acquisition.It should be noted that the location information of user is basis The position that the two-dimensional coordinate expression that practical immersion show surroundings are established, i.e. user are stood in practical immersion show surroundings.
If carrying out necessary interpolation between two location informations successively obtained, several location of interpolation information are obtained, And the rendering of projected picture is carried out in turn, picture transition is smoother, smooth when making to project, and improves the appreciation effect of user.
It should be noted that specific Interpolation Process determines that this is not restricted according to the interpolation method actually selected.Separately Outside, specific example refers to second embodiment of distributed system, does not repeat in the present embodiment.
In the present embodiment, each client computer can carry out the synchronization of information by server, make the picture one of each client computer rendering Cause property is preferable, ensure that good viewing effect.
In addition, the different location that can be stood according to user carries out the rendering of projected picture, see user's different location To the projected picture of different angle;And in evolution, interpolation processing can be carried out, keeps the picture transition projected more flat It is sliding, smooth, further improve the viewing experience of user.
Fig. 3 shows the flow chart of the rendering method of a distributed system of the invention, applied to client computer, including with Lower step:
The projection device information of each projection device of connection is sent to institute after connecting foundation with server communication by S301 State server.
Specifically, carrying out information exchange after long connection can be established between server and client computer 2.The two can be used The agreements such as TCP connection, Web-socket agreement in Socket agreement carry out long connection.Once client computer 2 is connect with server The projection device information for each projection device being connected thereto can be pushed to server automatically by success, client computer 2.
Projection device information includes but is not limited to: the system of the resolution ratio of projection device, projection device and client computer is shown Mode, the title of projection device, number of projection device etc..
S302 receives the configuration information that the server is sent according to the projection device information;
S303 starts rendering program and renders to corresponding projected picture according to the configuration information.
Specifically, configuration information includes: the projection screen for being responsible for projection.Each client computer matches confidence according to what server was sent Breath undertakes the rendering of homolographic projection picture with the rendering program that different parameters are run.
Optionally, the rendering method of distributed system is further comprising the steps of:
S304 obtains the resolution ratio of the corresponding projection device of the configuration information;
S305 obtains window according to the system display pattern of the corresponding projection device of the configuration information and the client computer Coordinate;
According to the configuration information in step S303, start corresponding rendering program to projected picture carry out rendering include with Lower step:
S313 starts rendering program and throws corresponding according to the configuration information, the resolution ratio and the window coordinates Shadow picture is rendered.
Specifically, the resolution ratio for obtaining the corresponding projection device of configuration information is to determine the specific wash with watercolours of projected picture The number of the point of dye.
Acquisition window coordinates are the frame information in order to determine the projected picture of projection device rendering, i.e. a left side for frame information (Left), right (Right), upper (Top), under the information of (Bottom) do not have to guarantee that the picture projected after rendering is correct It offsets and size is correct.
Specific example can be found in second embodiment of distributed system, and details are not described herein.
Therefore, window coordinates directly acquire the coordinate of any one corner points, for convenience of description, in the present embodiment Window coordinates are selected as the coordinate in the upper left corner.
Optionally, when the system display pattern is that (non-expanding mode here is interpreted as non-expanding mode, a client Only it is connected to a projection device on machine, the system display pattern of this projection device and client computer is exactly non-expanding mode) When, the window coordinates are initial coordinate;
When the system display pattern is mode of extension, shows equipment based on the corresponding projection device of the configuration information When, the window coordinates of the corresponding projection device of the configuration information are initial coordinate;
When the system display pattern is mode of extension, the corresponding projection device of the configuration information is non-master display equipment When, according to the resolution ratio of positional relationship and each projection device between the non-master display equipment and main display equipment, certainly Determine the window coordinates of the corresponding projection device of the configuration information.
Specifically, window coordinates are initial coordinate, for convenience of calculating, initial coordinate can be set as (0,0).
If being connected with more projection devices in a client computer, these projection devices are connected with mode of extension and client computer It connects, wherein an only projection device is the main display equipment of client computer, other projection devices are all the non-master aobvious of this client computer Show equipment, in the operating system of client computer, each non-master display equipment and main display equipment have positional relationship, such as: one is non- Main display equipment is located at the left side, the above or right side etc. of main display equipment.It is sat with the window of the projection device of mode of extension connection Mark needs to be determined according to the resolution ratio of its positional relationship between the projection device as main display equipment and each projection device. Specific example can be found in second embodiment of distributed system, and details are not described herein.
The window coordinates that each projection device is determined according to system display pattern ensure that the corresponding shadowgraph of each projection device The correct rendering in face enables the harmonious splicing of the picture projected, and user is available more preferable in immersion show surroundings Viewing effect.
Optionally, the rendering method of distributed system is further comprising the steps of:
When generating operational order, the operational order is sent to the server.
When receiving the operating result of the server sync, in render process, according to the synchronous operation knot Fruit renders projected picture.
Specifically, operational order can be sent to clothes when producing the operational order of user in any one client computer Business device, by this operational order of server process, after obtaining corresponding operation result, according to the rendering demand of each client computer, suitable When opportunity be sent to other client computer and synchronize, when rendering, each client computer according to synchronous operating result carried out projected picture Rendering.
The acquisition modes of operational order can be implemented by using the prior art, and specific mode is not construed as limiting.Such as: user is in visitor It is input operation instruction on the machine A of family.For another example, pass through the movement of sensor senses user, automatic identification operational order.
It is the corresponding operating result of each operational order is synchronous in all client computer, it is ensured that be rendered in each client computer The identical ornament of projected picture come is consistent in the state of all angles, and user is allowed to have better, consistency observation Effect.Such as: if a cabinet is open, what front projection came out is open state, if side is related to this cabinet Son is also open state.
In another embodiment, in addition to identical with the present embodiment, client computer is when rendering projected picture, also nationwide examination for graduation qualification Subscriber station is considered in the relative position of immersion show surroundings, it is understood that is the location information of user, guarantee renders next Each projected picture meets the picture that subscriber station in actual scene is seen in the position.
Such as: in actual scene, if exactly this television set that subscriber station in the front of a television set, is seen Front, side are hardly visible;If subscriber station is to the side to the left of television set, it is seen that the left side of this television set, one Divide front.
Similarly, during rendering projected picture, consider the location information of user, the picture for rendering and projecting can be made Face more meets the visual angle of user, and viewing effect is more preferable.
Optionally, the rendering method of distributed system is further comprising the steps of:
When receiving the location information synchronized that the server is sent, in render process, according to the last time The location information of acquisition and the location information received now carry out interpolation by interpolation method and (preferably, carry out linear interpolation, draw Face transitional effect is more preferable), multiple location of interpolation information are obtained, each location of interpolation information is rendered respectively and receives now The corresponding projected picture of location information.
Specifically, server can obtain the location information of user by certain frequency, each client is transmitted to after getting Machine synchronizes, and allows it to consider the location information of user in render process, the picture projected is made more to tally with the actual situation.
In view of the transmission speed of data in a network, in order to guarantee the smooth excessiveness of projected picture, each client computer needs Necessary interpolation is carried out between first latter two location information of acquisition.It should be noted that the location information of user is basis The position that the two-dimensional coordinate expression that practical immersion show surroundings are established, i.e. user are stood in practical immersion show surroundings.
If carrying out necessary interpolation between two location informations successively obtained, several location of interpolation information are obtained, And the rendering of projected picture is carried out in turn, picture transition is smoother, smooth when making to project, and improves the appreciation effect of user.
It should be noted that specific Interpolation Process determines that this is not restricted according to the interpolation method actually selected.Separately Outside, specific example refers to second embodiment of distributed system, does not repeat in the present embodiment.
In the present embodiment, each client computer can carry out the synchronization of information by server, make the picture one of each client computer rendering Cause property is preferable, ensure that good viewing effect.
In addition, the different location that can be stood according to user carries out the rendering of projected picture, see user's different location To the projected picture of different angle;And in evolution, interpolation processing can be carried out, keeps the picture transition projected more flat It is sliding, smooth, further improve the viewing experience of user.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (20)

1. a kind of distributed system characterized by comprising
At least two hosts;
It serves as the host of server and is allowed between every host for serving as client computer by network and realize synchronizing information, and every is served as An at least projection device is connected on the host of client computer.
2. distributed system as described in claim 1, it is characterised in that: a host had not only served as the server, but also served as One client computer.
3. distributed system as claimed in claim 1 or 2, it is characterised in that:
The server, the projection device for connecting each projection device on the clients sent for receiving each client computer Information;And
Receive the corresponding configuration information of each projection device information;And
Each configuration information is sent to corresponding client computer;
The client computer, for according to the configuration information, opening when receiving the configuration information that the server is sent Dynamic rendering program renders corresponding projected picture.
4. distributed system as claimed in claim 3, it is characterised in that:
The server is further used for saving and showing each projection device information;
The server receives the corresponding configuration information of each projection device information and specifically includes:
The server receives the corresponding configuration information of each projection device information setting of the user according to display.
5. distributed system as claimed in claim 3, which is characterized in that the client computer, according to the configuration information, starting Rendering program carries out rendering to corresponding projected picture
The client computer obtains the resolution ratio of the corresponding projection device of the configuration information;And
According to the system display pattern of the corresponding projection device of the configuration information and the client computer, window coordinates are obtained;With And
According to the configuration information, the resolution ratio and the window coordinates, start rendering program to corresponding projected picture into Row rendering.
6. distributed system as claimed in claim 5, it is characterised in that:
When the system display pattern is non-expanding mode, the window coordinates are initial coordinate;
When the system display pattern is mode of extension, shows equipment based on the corresponding projection device of the configuration information, institute The window coordinates for stating the corresponding projection device of configuration information are initial coordinate;
When the system display pattern is mode of extension, the corresponding projection device of the configuration information is non-master display equipment, According to the resolution ratio of positional relationship and each projection device between the non-master display equipment and main display equipment, institute is determined State the window coordinates of the corresponding projection device of configuration information.
7. distributed system as claimed in claim 3, it is characterised in that:
The server is further used for when receiving the operational order that a client computer is sent, and executes the operation and refers to It enables, obtains the corresponding operating result of the operational order;And according to rendering demand, corresponding operation result is sent to phase The client computer answered synchronizes;
The client computer, in render process, when receiving the synchronous operating result, according to the synchronous operation knot Fruit renders projected picture.
8. distributed system as claimed in claim 3, it is characterised in that:
The server is further used for obtaining the location information of user, and the location information is sent to each client Machine synchronizes;
The client computer, in render process, when receiving the location information, according to last time obtain location information and The location information received now carries out interpolation by linear interpolation method, obtains multiple location of interpolation information, and rendering is each respectively The location of interpolation information and the corresponding projected picture of location information received now.
9. a kind of client computer, which is characterized in that be applied in distributed system a method as claimed in any one of claims 1-8, comprising:
Sending module, for after connecting foundation with server communication, the projection device information of each projection device of connection to be sent out Give server;
Receiving module, the configuration information sent for receiving the server according to the projection device information;
Rendering module, for starting rendering program and being rendered to corresponding projected picture according to the configuration information.
10. client computer as claimed in claim 9, it is characterised in that:
The receiving module is further used for obtaining the resolution ratio of the corresponding projection device of the configuration information;And according to institute The system display pattern of the corresponding projection device of configuration information Yu the client computer is stated, window coordinates are obtained;
The rendering module, for starting rendering program and carrying out rendering tool to corresponding projected picture according to the configuration information Body includes:
The rendering module starts rendering program to corresponding according to the configuration information, the resolution ratio and the window coordinates Projected picture rendered.
11. client computer as claimed in claim 10, it is characterised in that:
When the system display pattern is non-expanding mode, the window coordinates are initial coordinate;
When the system display pattern is mode of extension, shows equipment based on the corresponding projection device of the configuration information, institute The window coordinates for stating the corresponding projection device of configuration information are initial coordinate;
When the system display pattern is mode of extension, the corresponding projection device of the configuration information is non-master display equipment, According to the resolution ratio of positional relationship and each projection device between the non-master display equipment and main display equipment, institute is determined State the window coordinates of the corresponding projection device of configuration information.
12. client computer as claimed in claim 9, it is characterised in that:
The sending module is further used for that the operational order is sent to the server when generating operational order.
13. client computer as claimed in claim 12, which is characterized in that further include:
The receiving module is further used for receiving the operating result of the server sync;
The rendering module, is further used in render process, is carried out according to the synchronous operating result to projected picture Rendering.
14. client computer as claimed in claim 9, it is characterised in that:
The rendering module is further used for when receiving the location information that the server is sent, in render process, root The location information obtained according to the last time and the location information received now carry out interpolation by linear interpolation method, obtain multiple insert It is worth location information, the corresponding projected picture of location information for rendering each location of interpolation information respectively and receiving now.
15. a kind of rendering method of distributed system, which comprises the following steps:
After connecting foundation with server communication, the projection device information of each projection device of connection is sent to the service Device;
Receive the configuration information that the server is sent according to the projection device information;
According to the configuration information, starts rendering program and corresponding projected picture is rendered.
16. the rendering method of distributed system as claimed in claim 15, which is characterized in that further comprising the steps of:
Obtain the resolution ratio of the corresponding projection device of the configuration information;
According to the system display pattern of the corresponding projection device of the configuration information and the client computer, window coordinates are obtained;
It is described according to the configuration information, start rendering program corresponding projected picture is rendered the following steps are included:
According to the configuration information, the resolution ratio and the window coordinates, start rendering program to corresponding projected picture into Row rendering.
17. the rendering method of distributed system as claimed in claim 16, it is characterised in that:
When the system display pattern is non-expanding mode, the window coordinates are initial coordinate;
When the system display pattern is mode of extension, shows equipment based on the corresponding projection device of the configuration information, institute The window coordinates for stating the corresponding projection device of configuration information are initial coordinate;
When the system display pattern is mode of extension, the corresponding projection device of the configuration information is non-master display equipment, According to the resolution ratio of positional relationship and each projection device between the non-master display equipment and main display equipment, institute is determined State the window coordinates of the corresponding projection device of configuration information.
18. the rendering method of distributed system as claimed in claim 15, which is characterized in that further comprising the steps of:
When generating operational order, the operational order is sent to the server.
19. the rendering method of distributed system as claimed in claim 18, which is characterized in that further comprising the steps of:
When receiving the operating result of the server sync,
In render process, projected picture is rendered according to the synchronous operating result.
20. the rendering method of distributed system as claimed in claim 15, which is characterized in that further comprising the steps of:
When receiving the location information synchronized that the server is sent, in render process, obtained according to the last time Location information and the location information that receives now linear interpolation carried out by interpolation method, obtain multiple location of interpolation information, The corresponding projected picture of location information for rendering each location of interpolation information respectively and receiving now.
CN201910765782.0A 2019-08-19 2019-08-19 Distributed system, rendering method thereof and client Active CN110471772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910765782.0A CN110471772B (en) 2019-08-19 2019-08-19 Distributed system, rendering method thereof and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910765782.0A CN110471772B (en) 2019-08-19 2019-08-19 Distributed system, rendering method thereof and client

Publications (2)

Publication Number Publication Date
CN110471772A true CN110471772A (en) 2019-11-19
CN110471772B CN110471772B (en) 2022-03-15

Family

ID=68511296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910765782.0A Active CN110471772B (en) 2019-08-19 2019-08-19 Distributed system, rendering method thereof and client

Country Status (1)

Country Link
CN (1) CN110471772B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242278A (en) * 2021-04-19 2021-08-10 中国电影科学技术研究所 Communication method and device for manufacturing heterogeneous network based on movie cloud and electronic equipment
CN115801746A (en) * 2022-12-05 2023-03-14 广州南方智能技术有限公司 Distributed server rendering device and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334891A (en) * 2008-08-04 2008-12-31 北京理工大学 Multichannel distributed plotting system and method
CN102685239A (en) * 2012-05-18 2012-09-19 北京尔宜居科技有限责任公司 Distribution type rendering method
US20140122562A1 (en) * 2012-10-25 2014-05-01 Cambridge Silicon Radio Limited Reduced latency media distribution system
CN104125494A (en) * 2014-07-07 2014-10-29 四川中电启明星信息技术有限公司 Distributed playing scene picture splicing method for large screen
US20150097858A1 (en) * 2013-10-07 2015-04-09 Sony Corporation Image processing device, image processing method, and display device
CN106600672A (en) * 2016-11-29 2017-04-26 上海金陵电子网络股份有限公司 Network-based distributed synchronous rendering system and method
CN108109105A (en) * 2017-12-10 2018-06-01 西北工业大学 It may be programmed the data visualisation system of pipeline based on Qt frames and OpenGL
CN109164997A (en) * 2018-08-22 2019-01-08 南京南瑞信息通信科技有限公司 Distributed picture rendering and picture control method for playing back, device and equipment
CN109313484A (en) * 2017-08-25 2019-02-05 深圳市瑞立视多媒体科技有限公司 Virtual reality interactive system, method and computer storage medium
CN109683841A (en) * 2018-12-27 2019-04-26 武汉深之度科技有限公司 Control display methods and calculating equipment under multiple display environment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334891A (en) * 2008-08-04 2008-12-31 北京理工大学 Multichannel distributed plotting system and method
CN102685239A (en) * 2012-05-18 2012-09-19 北京尔宜居科技有限责任公司 Distribution type rendering method
US20140122562A1 (en) * 2012-10-25 2014-05-01 Cambridge Silicon Radio Limited Reduced latency media distribution system
US20150097858A1 (en) * 2013-10-07 2015-04-09 Sony Corporation Image processing device, image processing method, and display device
CN104125494A (en) * 2014-07-07 2014-10-29 四川中电启明星信息技术有限公司 Distributed playing scene picture splicing method for large screen
CN106600672A (en) * 2016-11-29 2017-04-26 上海金陵电子网络股份有限公司 Network-based distributed synchronous rendering system and method
CN109313484A (en) * 2017-08-25 2019-02-05 深圳市瑞立视多媒体科技有限公司 Virtual reality interactive system, method and computer storage medium
CN108109105A (en) * 2017-12-10 2018-06-01 西北工业大学 It may be programmed the data visualisation system of pipeline based on Qt frames and OpenGL
CN109164997A (en) * 2018-08-22 2019-01-08 南京南瑞信息通信科技有限公司 Distributed picture rendering and picture control method for playing back, device and equipment
CN109683841A (en) * 2018-12-27 2019-04-26 武汉深之度科技有限公司 Control display methods and calculating equipment under multiple display environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李庭苇: "基于LabVIEW的空间频域成像系统控制软件设计及应用评估", 《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242278A (en) * 2021-04-19 2021-08-10 中国电影科学技术研究所 Communication method and device for manufacturing heterogeneous network based on movie cloud and electronic equipment
CN115801746A (en) * 2022-12-05 2023-03-14 广州南方智能技术有限公司 Distributed server rendering device and method
CN115801746B (en) * 2022-12-05 2023-09-22 广州南方智能技术有限公司 Distributed server rendering device and method

Also Published As

Publication number Publication date
CN110471772B (en) 2022-03-15

Similar Documents

Publication Publication Date Title
EP3804301B1 (en) Re-creation of virtual environment through a video call
CN109508162B (en) Screen projection display method, system and storage medium
US8432431B2 (en) Compositing video streams
CN107018370A (en) Display methods and its system for video wall
CN104168315B (en) A kind of full visual angle smooth immersion display methods and system
US11475652B2 (en) Automatic representation toggling based on depth camera field of view
CN105592103B (en) The synchronous display method of virtual reality device and mobile device based on Unity3D
KR20100126812A (en) How to Display Video Image Streams and Client Management Systems
CN110471772A (en) A kind of distributed system and its rendering method, client computer
CN104317546A (en) Situational interactive experience simulation system
CN108880983A (en) A kind of the voice real-time processing method and device of virtual three-dimensional space
US9357173B2 (en) Method and terminal for transmitting information
CN106530408A (en) Museum temporary exhibition planning and design system
CN107102726A (en) A kind of preschool education system based on AR
CN116744027A (en) Meta universe live broadcast system
CN216291234U (en) Third person weighing visual angle shooting system
CN117014655A (en) Video rendering method, device, equipment and storage medium
KR102404130B1 (en) Device for transmitting tele-presence image, device for receiving tele-presence image and system for providing tele-presence image
CN112019922A (en) Facial expression data processing method applied to virtual studio
US12205228B2 (en) Re-creation of virtual environment through a video call
US20240257365A1 (en) Deterministic object alignment for background removal
Van Broeck et al. Real-time 3D video communication in 3D virtual worlds: Technical realization of a new communication concept
US10331023B1 (en) Multi-projection screening system and method using polymer-dispersed liquid crystal panel
CN114760324A (en) Interactive system based on remote synchronization
CN116980556A (en) Virtual image display method and device, storage medium and electronic equipment

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
TR01 Transfer of patent right

Effective date of registration: 20220907

Address after: 201508 1st floor, No. 1000, Tingwei Road, Jinshan District, Shanghai (Bay area science and Innovation Center)

Patentee after: Shanghai Hongxing Cloud Computing Technology Co.,Ltd.

Address before: 200120 2, building 979, Yun Han Road, mud town, Pudong New Area, Shanghai

Patentee before: SHANGHAI YUNSHEN INTELLIGENT TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right