Summary of the invention
For above shortcomings part in the prior art, overcome the opacity of businessman's background in existing network business platform, in the uncertainty of the enterprising product transaction security of doing business of network and the problem that the consumer is easily cheated in shopping, the 3D panorama outdoor scene network business platform construction method that the object of the present invention is to provide a kind of entity businessman to carry out high confidence level business activities at network.
For solving the problems of the technologies described above, the technical solution used in the present invention is:
3D panorama outdoor scene network business platform construction method of the present invention organically combines panorama real scene image technology and 3D modeling technique, constructs a complete 3D panorama outdoor scene network business platform that is made of the true environment of entity businessman, may further comprise the steps:
Set up the system architecture of 3D panorama outdoor scene network business platform;
Gather and make up the needed data of 3D panorama outdoor scene network business platform;
In the system architecture of above-mentioned 3D panorama outdoor scene network business platform, data creation panorama outdoor scene that utilization collects shows outer curtain, create virtual ground, to set the roaming mode of user in 3D scene display platform synchronous with roaming position and the geography information of real world of user in the 3D scene environment, obtains the scene environment of 3D panorama outdoor scene network business platform;
In the scene environment of above-mentioned business platform, add 3D virtual identifying, virtual sales counter, virtual goods frame and commodity 3D solid model, realize online transaction, thereby obtain 3D panorama outdoor scene network business platform.
The system architecture of described 3D panorama outdoor scene network business platform comprises server, network and client, and server and client communicate by network; Wherein server is comprised of service management unit, database management unit, data storage cell, 3D entity management unit, network payment unit, order management unit and commercial matters information administrative unit; Network is made of the network data transmission agreement; Client is comprised of 3D scene display platform and geographical information platform.
Described collection makes up the needed data of 3D panorama outdoor scene network business platform and comprises:
1) utilize the data acquisition platform collection to make up the needed raw data of 3D panorama outdoor scene network business platform, panorama real scene image data and the corresponding geographic information data of this frame of one frame are stored respectively in the data acquisition storer according to continuous mode, and dumped in the data storage cell of server;
The geographic information data opening relationships table that the deposit path of each frame image data that 2) will store at data storage cell is corresponding with this frame is stored in relation table in the database management unit of server.
Described establishment panorama outdoor scene shows that outer curtain comprises:
Adopt 3D graphic package interface to create the three-dimensional environment of Virtual Space, and in the three-dimensional environment of Virtual Space, draw curtain outside the scene demonstration; The panorama real scene image data that collect are sent to 3D scene display platform the client from server, and texture shows outer curtain to scene, obtain to show based on scene outer act Virtual Space.
The method of described establishment virtual ground is:
Outside showing, the scene that has built sets up an invisible face as virtual ground in the Virtual Space at curtain place;
Determine the position of above-mentioned virtual ground in the Virtual Space, consistent with the perspective relation of Virtual Space to guarantee the image that curtain shows outside scene shows.
Described with the user in the 3D scene environment roaming position and the geography information synchronizing step of real world be:
The panorama outdoor scene is shown the corresponding geographic information data of outer curtain current frame image data, and this user geographic position of living in other user's geography information in specified scope pass to the environmental map of preprepared real scene in real time by the routine interface between 3D scene display platform and the geographical information platform, environmental map demarcate and upgrade this user's roaming current location and near the current location of other users' roamings, realize that roaming position and the geography information of real world of user in the 3D scene environment is synchronous.
Described interpolation 3D virtual identifying comprises:
In the 3D of server entity management unit, in advance the attribute information of the 3D virtual identifying of outdoor scene commodity is stored;
When user 3D people entities roamed into the geographic position of adding the 3D virtual identifying in 3D scene display platform, server arrived this subscription client with the attribute information at the 3D of current geographic position virtual identifying in the 3D entity management unit by Internet Transmission;
In the 3D of this subscription client scene display platform, utilize 3D graphic package interface drafting 3 D virtual identifying, realize that the user carries out in the process of exchange mutual with commodity under real scene.
The virtual sales counter of described interpolation, virtual goods frame and commodity 3D solid model comprise:
The 3D solid model files such as the virtual sales counter that utilizes the 3D modeling tool to establish, virtual goods frame are stored, obtained the raw data of 3D entity;
The position that will comprise the Points And lines of 3D solid model in the space, and the raw data of surface label diagram data utilizes routine interface to read in 3D scene display platform, realizes the importing of 3D entity;
Change or regulate the initial display position of 3D entity on active user's client virtual ground by the function in the 3D graphic package interface, realize the interpolation in the scene environment of 3D panorama outdoor scene network business platform of virtual sales counter, virtual goods frame and commodity 3D solid model.
The present invention has following beneficial effect and advantage:
1. the constructed 3D panorama outdoor scene network business platform of the present invention is made of real scene fully, for the businessman that has retail shop's entity in real world, realizes that the extension of its Internet business is used, and strengthens the degree of belief of its network trading.
2. the present invention will combine with the two-dimensional map (geographical information platform) of real world based on the three-dimensional scenic space of panorama real scene image, make user's curtain outside the panorama outdoor scene shows further improve the actual experience of customer consumption for roaming in the Virtual Space of background.
3. the present invention is mapped to outer act of transaction scene that creates in the real world of scene demonstration with the panorama real scene image, and in the interactivity of the inner interpolation in constructed Virtual Space 3D entity with further enhancing network trading, this method provides a technical strategies for the structure of network business platform.
4. user interface is succinctly friendly, and easy operating contains much information.
Embodiment
The inventive method organically combines panorama real scene image technology and 3D modeling technique, constructs a complete 3D panorama outdoor scene network business platform that is made of the true environment of entity businessman.3D panorama outdoor scene network business platform can be widely used in shopping online, hotel guest room reservation, dining room reservation and real estate sales exhibition etc.
3D panorama outdoor scene network business platform construction method of the present invention may further comprise the steps:
1. set up the system architecture of 3D panorama outdoor scene network business platform
As shown in Figure 1, the system architecture of 3D panorama outdoor scene network business platform comprises server, network and client three parts, and wherein server is comprised of service management unit 101, database management unit 102, data storage cell 103,3D entity management unit 104, network payment unit 105, order management unit 106 and commercial matters information administrative unit 107; Network is made of network data transmission agreement 108 (FTP or HTTP); Client is comprised of 3D scene display platform 109 and geographical information platform 110, realizes by web browser.
Each submodule function is as follows in the 3D panorama outdoor scene network business platform:
Service management unit 101 is collected each client user's current information by network, such as information such as the current roaming state of geographic position, the user of user in the environmental map of current 3D market and IP address, and by network will with active user geographic position specified scope in other user profile pass to this user.
Data storage cell 103 is the disk spaces that reserve in server, is used for storing preprepared panorama real scene image data, adopts jpeg format that panorama real scene image data are preserved in the present embodiment.
Database management unit 102 can adopt the database geographic information datas that the URL of preprepared panorama real scene image data in server is corresponding with these frame panorama real scene image data such as SQL Server, Oracle or Sybase to store together.The geographic position of reality in video camera place business environment layout map when described geographic information data refers to gather the panorama real scene image.During the URL of needed next frame panorama real scene image data is corresponding with it when client is roamed in 3D panorama outdoor scene network business platform environment to the server request user by network geographic information data, database management unit 102 will find corresponding panorama real scene image data at data storage cell 103 by the URL of these frame panorama real scene image data, and geographic information data corresponding to this frame panorama real scene image Data URL passed client back in the lump by network.
3D entity management unit 104 is for the data messages such as ID (being used for user's information management) of storing 3D entity (such as 3D goods carrier, 3D exhibition booth, the goods 3D solid model etc.) geographic position of place scene environment, the data of 3D entity and representing each user.
3D scene display platform 109 is with the form embedded network browser of the 3D graphic package interfaces such as OpenGL, Direct3D with the control program, makes up the Virtual Space that the panorama real scene image is combined with the 3D entity in 3D scene display platform 109.By write network data transmission agreement 108 in 3D scene display platform 109 control programs, such as FTP or HTTP etc., client can be utilized the procotol of control programming, sends request of data by network to server.
In the electronic chart embedded network browser of geographical information platform 110 with form web page.Electronic chart can obtain by the data-interface function in browsing device net page program and the 3D scene display platform program geographic information data of user's current location.
Network payment unit 105 is used for realizing the bill payment of user-selected commodity.
Order management unit 106 is used for the order of management commercial articles ordering, comprises the information such as the order of magnitude, order goods kind, commodity amount.
Commercial matters information administrative unit 107 is used for all merchandise newss and the information on services that storage 3D network business platform adds, such as information such as trade name, price and supplying units.
The present embodiment Adoption Network browser is as the client of 3D panorama outdoor scene network business platform, in client, make up and demonstration 3D scene reality platform 109 and geographical information platform 110, the present embodiment adopts electronic chart as the geographical information platform 110 of client, the plane figure diagram data in the data market of electronic chart.
2. gather and make up the needed data of 3D panorama outdoor scene network business platform
As shown in Figure 2, utilize the data acquisition platform collection to set up the needed raw data of 3D panorama outdoor scene network business platform.Data acquisition platform is comprised of data acquisition control program 201, geographic information acquisition equipment 202, panoramic picture collecting device 203 and data acquisition storer 204.Panoramic picture collecting device 202 (such as panoramic camera) is responsible for gathering panorama real scene image data; Geographic information acquisition equipment 202 (position of the odometer on the present embodiment employing mobile robot and gyroscope record panorama real scene image collection point) gathers geographic information data; 201 pairs of geographic information acquisition equipments of data acquisition control program are controlled (the present embodiment adopts uniformly-spaced panorama real scene image data sampling), triggered by 202 pairs of panoramic picture collecting devices 203 of geographic information acquisition equipment, the panorama real scene image data of equally spaced managing the position are gathered, and panorama real scene image data and the corresponding geographic information data of this frame of every frame are stored in data acquisition storer 204 respectively according to continuous mode.Each frame panorama real scene image data is preserved separately, and such as saving as jpeg format or BMP form etc., the present embodiment selects jpeg image format to store; The panorama real scene image data conversion storage that to store in data acquisition storer 204 at last is in the data storage cell 103 of server; Every two field picture at the URL(uniform resource locator) (UniformResource Locator, URL) of server data stores unit 103 geographic information data opening relationships table corresponding to this frame, is stored in relation table in the server database administrative unit 102.So, the URL of every frame panorama real scene image is corresponding one by one with this frame panorama real scene image data geographic information data in database management unit 102, and the URL by every frame panorama real scene image can obtain these frame panorama real scene image data and its corresponding geographic information data.
3. create the panorama outdoor scene and show outer curtain, create virtual ground and set the roaming mode of user in 3D scene display platform, and the user is synchronous in the geography information of the roaming position of 3d space and real world
(1) in client 3D scene display platform 109, creates curtain outside the demonstration of spherical panorama outdoor scene
As shown in Figure 3, employing 3D graphic package interface (such as OpenGL or Direct3D etc.) creates the three-dimensional environment of Virtual Space, and draws curtain 301 outside the scene demonstration (curtain adopts curtain outside the spherical scene demonstration outside the scene demonstration of the present embodiment) in the Virtual Space; The panorama real scene image data that collect are sent to the 3D scene display platform 109 of active client from the data storage cell 103 of server.Adopt the texture mapping method in the 3D graphic package interface that panorama real scene image data texture is mapped to the outer curtain of spherical scene demonstration, can obtain the spherical panorama outdoor scene and show outer act;
(2) create virtual ground, set the roaming mode of user on virtual ground, and the user is synchronous in the geography information of the roaming position of 3d space and real world
As shown in Figure 3, outside showing, the spherical panorama outdoor scene that has built sets up virtual ground 302 in the Virtual Space at curtain place:
Virtual ground 302 is an invisible face, is used for putting virtual sales counter, virtual goods frame, 3D people entities 304,3D virtual identifying 305 and commodity 3D solid model 306 etc. in the constructed environment of whole 3D panorama outdoor scene network business platform.Corresponding with the position of image scene on outside the spherical panorama outdoor scene shows act in order to guarantee from user's viewpoint observation 3D entity, need to regulate the position of virtual ground 302 in 3d space, make the spherical panorama outdoor scene show that the perspective relation of the 3d space in the upper image that shows of outer curtain and the 3D scene display platform 109 is consistent.This perspective relation is observed viewpoint height, virtual ground 302 positions and spherical panorama outdoor scene by the user and is shown that outer curtain epigraph perspective relation determines jointly.The present embodiment is drawn two parallel lines in virtual ground 302, and is corresponding with two shown on image parallel lines.By regulating the height of user's viewpoint and virtual ground 302, when two parallel lines coincide on two parallel lines on the virtual ground 302 and the image, showing then that perspective relation is demarcated finishes, thereby has determined the position of virtual ground 302 and the position of user's viewpoint.
Set the roaming mode of user on virtual ground 302:
At first to demarcate the distance on the virtual ground 302 and the distance relation in the real world.In 3d space to from user's viewpoint to virtual ground 302 the distance and the panoramic camera primary optical axis measure to the ground actual range.The ratio of these two distances namely can be used as the Virtual Space distance to the conversion scale of the actual range of real world.So, each position on the virtual ground corresponding the geography information of a reality on the real world Scene environmental map 303.
The roaming mode of user in the constructed environment of 3D panorama outdoor scene network business platform is as shown in Figure 4, and be specific as follows:
(401) begin to carry out the user and roam program;
(402) roaming range of 3D people entities 304 in virtual ground 302 positions, present frame scene place to the user limits in initialization procedure; The present invention does not have special provision to the shape of roaming range, can be the zone of the shapes such as circle or rectangle; The present embodiment adopts border circular areas, user's 3D people entities 304 present frame random zone radius shown by spherical scene the radius of outer curtain determine (the present embodiment select the spherical panorama outdoor scene show outside act radius about 1/2, this zone can be adjusted parameter by specific requirement);
(403) the 3D people entities 304 of handling the user is roamed (concrete method of operating belongs to prior art, embodies) in program in the residing virtual ground 302 of present frame;
(404) when the user handles 3D people entities 304 away from initial position, calculate 3D people entities 304 current positions and initial position in 3d space distance and with respect to the video camera rotation angle of initial position; Distance in this 3d space is changed according to demarcating good Virtual Space and the transformational relation of real world distance, obtained 3D people entities 304 positions and the actual range of this initial position in real world;
(405) user judges whether to jump to 3D people entities 304 positions; If not redirect then goes to step (404), otherwise subsequent steps (406);
(406) actual geographic position corresponding to 3D people entities 304 position on virtual ground 302 that will calculate gained sends back server, searches the URL with the most contiguous panorama real scene image data in this geographic position in database management unit 102; In data storage cell 103, panorama real scene image data are extracted, and transmitted back 3D scene display platform 109 in the client; Curtain outside spherical scene demonstration is drawn in active user's 3D people entities position, and carry out texture mapping thereon, upgrade the current geographic position of users at geographical information platform 110 simultaneously;
(407) judge whether to quit a program, as withdraw from, end user roaming program on virtual ground 302 then, otherwise return step (404).
The user is synchronous in the geography information of the roaming position of 3d space and real world:
When the user roamed in the constructed environment of 3D panorama outdoor scene network business platform, along with the change of roaming scence, its geographic position also should change thereupon.The spherical panorama outdoor scene is shown to the corresponding geographic information data of outer curtain current frame image data, and this user geographical position of living in other user's geography information in specified scope (being that the spherical panorama outdoor scene shows that the radius length of outer curtain in Virtual Space is converted into the actual distance of real world) by 3D scene display platform 109 and geographical information platform 110 be routine interface real-time Transmission between electronic chart to the environmental map 303 of preprepared real scene, on environmental map 303, demarcate and upgrade current location 307 that this user roams and near the current location roamed of other users.
4. in the scene environment of the 3D panorama outdoor scene network business platform that builds, add 3D virtual identifying, virtual sales counter, virtual goods frame and commodity 3D solid model etc.
(1) for showing the outdoor scene commodity in the outer curtain, the spherical panorama outdoor scene adds the 3D virtual identifying
The user can observe the true scene in commodity, the guest room in hotel restaurant and the have dinner hall etc. of pendulum on sales counter or goods carrier in the market in the curtain outside the spherical panorama outdoor scene shows in the scene environment roam procedure of 3D panorama outdoor scene network business platform.For the commodity on sales counter in the market and the goods carrier, although show in the spherical panorama outdoor scene and can see these commodity outdoor scenes on the outer curtain, owing to these information all in image, can't carry out with it alternately.Therefore the present embodiment adopts 3D graphic package interface to add the 3D virtual identifying 305 of commodity in the curtain outside the spherical panorama outdoor scene shows, be used for by checking with the merchandise news of can finishing alternately of 3D virtual identifying 305, to operations such as these commodity place an order, concrete methods of realizing is:
In the 3D of server entity management unit 104, in advance the attribute information of the 3D virtual identifying 305 of outdoor scene commodity is stored, such as the geography information of 3D virtual identifying 305 in scene, virtual identifying towards the angle, the information such as size, pattern, word content, font.When user 3D people entities 304 roams into the geographic position of adding 3D virtual identifying 305 in 3D scene display platform 109, server arrives this subscription client with the attribute information at the 3D of current geographic position virtual identifying 305 in the 3D entity management unit 104 by Internet Transmission, in the 3D of this subscription client scene display platform 109, utilize 3D graphic package interface to draw, realize that the user carries out in the process of exchange mutual with the outdoor scene commodity under real scene.
(2) in the 3D scene environment, add virtual sales counter, virtual goods frame and commodity 3D solid model etc.
Show the shown true shopping environment of outer curtain in the 3D scene display platform 109 of background take the spherical panorama outdoor scene, businessman can show its commodity 3D solid model 306 at virtual sales counter, virtual goods frame.The user can experience shopping environment genuine and believable in, in virtual three-dimensional space, carry out alternately with commodity.Concrete methods of realizing is as follows:
To utilize the 3D modeling tool (such as 3D modeling softwares such as Maya or 3Dmax, the 3D solid model files such as the virtual sales counter that the present embodiment employing Maya) establishes, virtual goods frame are stored with file layouts such as .max .ma or .smd, obtain the raw data of 3D entity, these raw data comprise the position of the Points And lines of 3D solid model in the space, and the surface label diagram data; Utilize routine interface to read in 3D scene display platform 109 raw data of these Points And lines etc., realize the importing of 3D entity; Change by the function in the 3D graphic package interface again or regulate the initial display position of 3D entity on active user's client virtual ground.
(show wrong) as shown in Figure 5, be the client schematic diagram of 3D panorama outdoor scene network business platform.Wherein, 51 is 3D scene display platform, is used for showing the inner panorama outdoor scene of businessman; 52 are geographical information platform (not being inconsistent with figure), are used for showing that the active user is in residing geographic position, businessman inside; 53 is the 3D people entities of active user in client, and the user can be by handling the activity such as do shopping of this 3D people entities in the business platform environment; 54 is the particular location in the environmental map of active user place.
The concrete application process of 3D panorama outdoor scene network business platform in shopping at network is as follows:
Roam in the 3D scene display platform of user 3D people entities curtain outside showing based on the spherical panorama outdoor scene, when arriving the geographic position at certain brand special counter place, 3D entity management unit 104 in the server is sent to the data of the 3D virtual identifying of this brand special counter, virtual sales counter, virtual goods frame and commodity 3D solid model the 3D scene display platform 109 of client, and is presented on the interior virtual ground of the outer curtain of spherical panorama outdoor scene demonstration.What the inner virtual goods frame of curtain was put outside the spherical panorama outdoor scene shows is this brand special counter last word, puts on display with the form of high emulation 3D entity, selects for the user.The user also can click the 3D virtual identifying of display goods in the true scene of this brand special counter, wherein each 3D virtual identifying corresponding ID number of a kind of commodity, return the details of all these commodity in the commercial matters information administrative unit 107 from server, and in the shopping scene, show.When the user determines to buy this product, only need to select to buy option, deposit the active user in and buy tabulation.When the user does shopping completely, active user's user end to server network payment unit 105 sends message, and the user enters the commodity payment page in client commodity are settled accounts.And the order of being settled accounts is stored in the order management unit 106 of server, and businessman will deliver to the user according to the information on the order.
The 3D panorama outdoor scene network business platform on the net concrete application process of hotel room reservation is as follows:
In 3D scene display platform 109, certain hotel's real scene outside showing, the spherical panorama outdoor scene is shown in the curtain.Because the internal environment to the hotel has been carried out data acquisition in panorama real scene image data acquisition, so the user's 3D people entities that can handle user self hotel of " coming into " institute's preliminary election carries out outdoor scene to the guest room environment entered, HOTEL FACILITIES etc. and investigates.When selected certain guest room of user, can handle the 3D people entities and roam into trading hall, at the virtual sales counter bill payment that capable guest room subscribes that advances, finish this time transaction.
The restaurant concrete application process of making a reservation is as follows on the net for 3D panorama outdoor scene network business platform:
In 3D scene display platform 109, certain restaurant real scene outside showing, the spherical panorama outdoor scene is shown in the curtain.The user can be in selected restaurant free-roaming, in real scene, investigate the environment in dining room, also can in real scene, select oneself to want the seats in a restaurant subscribed, and the row transaction of advancing of the virtual sales counter in this restaurant.
3D panorama outdoor scene network business platform also can be applicable to real estate sales exhibition on the network, the investigation of online tourism sight spot and various commercial reservation business, and the process of concrete application process and foregoing description roughly the same.
Above embodiment is only for explanation the present invention; but not limitation of the present invention; relevant technologies field personnel are not in the situation that break away from the spirit and scope of the present invention; can also make various conversion and distortion, so the technical scheme of all equivalent variations should belong to also within the category of claim protection of the present invention.