CN103067341B - Online business hall access method, system and device - Google Patents
Online business hall access method, system and device Download PDFInfo
- Publication number
- CN103067341B CN103067341B CN201110320924.6A CN201110320924A CN103067341B CN 103067341 B CN103067341 B CN 103067341B CN 201110320924 A CN201110320924 A CN 201110320924A CN 103067341 B CN103067341 B CN 103067341B
- Authority
- CN
- China
- Prior art keywords
- client
- business hall
- online business
- server
- user
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000009877 rendering Methods 0.000 claims abstract description 17
- 238000012795 verification Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006855 networking Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000035945 sensitivity Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides an online business hall access method, a system and a device. The online business hall access method includes that a plurality of virtual terminal servers are arranged between a client and an online business hall server. Each virtual terminal server performs the following steps: (1) receiving a connecting request sent by the client and establishing connection with the client, requesting a code of a page of an online business hall home page to the online business hall server after receiving an online business hall access request sent by the client through the connection, (2) rendering the code of the page of the online business hall home page sent by the online business hall server to the online business hall home page, coding images of the online business hall home page to image data flow and sending to the client, and decoding the image data flow by the client to present the graphical online business hall home page for a user.
Description
Technical Field
The invention relates to a data communication technology, in particular to a method, a system and a device for accessing an online business hall.
Background
A conventional online business hall access networking is mainly composed of a client and an online business hall server, as shown in fig. 1. In fig. 1, when a client needs to access an online business hall, first, a web address of the online business hall is input in a browser of the client, and a request is sent to an online business hall server; and after receiving the request, the online business hall server returns the html code of the home page to the browser of the client, and the browser analyzes and renders the html code, and finally displays the html code in a page form to the user. And then, the browser packages the user operation into an http data packet for various operations of the page of the user, and transmits the http data packet to the online business hall server, wherein the http data packet is transmitted by adopting a plaintext.
As can be seen from the above, in the conventional online business hall access, the html code of the home page is parsed and rendered by the browser of the client to present the page for display to the user. Due to the difference of browsers used by different clients, the page presenting effect is different, and partial functions of the online business hall cannot be normally used;
in addition, since the online business hall is mainly distributed in the CMNET network, when a large number of clients access the online business hall at the same time, the access speed is slow due to the problem of interconnection and intercommunication.
Disclosure of Invention
The invention provides an online business hall access method, a system and a device, which are used for improving the access speed due to the difference of browsers of different clients.
The technical scheme provided by the invention comprises the following steps:
a method for accessing an online business hall is characterized in that a plurality of virtual terminal servers are arranged between a client and an online business hall server, and each virtual terminal server executes the following steps:
a, receiving a connection request sent by a client and establishing connection with the client, and requesting a code of a home page of an online business hall from an online business hall server after receiving an online business hall access request sent by the client through the connection;
and B, rendering the home page code sent by the online business hall server into an online business hall home page, coding the image of the online business hall home page into an image data stream, sending the image data stream to the client, and decoding the image data stream by the client to present the graphical online business hall home page to the user.
An online business hall access device, which is connected between a client and an online business hall server, comprising:
the client interface unit is used for receiving a connection request sent by a client, establishing connection with the client and receiving an online business hall access request sent by the client through the connection; after receiving the image data stream sent by the coding unit, sending the influence data stream to a client, and decoding the image data stream by the client to present a graphical online business hall home page to a user;
the server interface unit is used for requesting the code of the home page of the online business hall for the server of the online business hall and receiving the home page code sent by the server of the online business hall;
the rendering unit is used for rendering the home page code sent by the online business hall server into an online business hall home page;
and the coding unit is used for coding the image of the home page of the online business hall into an image data stream and sending the image data stream to the client interface unit.
An online business hall access system, the system comprising: the system comprises a client, an online business hall server and a plurality of online business hall access devices connected between the client and the online business hall server; wherein,
each online business hall access device comprises:
the client interface unit is used for receiving a connection request sent by a client, establishing connection with the client and receiving an online business hall access request sent by the client through the connection; after receiving the image data stream sent by the coding unit, sending the influence data stream to a client, and decoding the image data stream by the client to present a graphical online business hall home page to a user;
the server interface unit is used for requesting the code of the home page of the online business hall for the server of the online business hall and receiving the home page code sent by the server of the online business hall;
the rendering unit is used for rendering the home page code sent by the online business hall server into an online business hall home page;
and the coding unit is used for coding the image of the home page of the online business hall into an image data stream and sending the image data stream to the client interface unit.
According to the technical scheme, the client is connected to the virtual terminal server instead of being directly connected to the online business hall server in the traditional mode, when the client accesses the online business hall, the virtual terminal server is responsible for rendering the page codes returned by the online business hall server, the images of the rendered pages are coded into the image data streams and then returned to the client, and the images of the rendered pages are coded into the image data streams and then returned to the client instead of being rendered by the client in the traditional mode, so that the browser difference of different clients is avoided being shielded, and in addition, the virtual terminal server codes the images of the rendered pages into the image data streams and returns the image data streams to the client, so that the bandwidth use and the network quality sensitivity are reduced, and the access speed is improved.
Drawings
FIG. 1 is a diagram of prior art method application networking;
FIG. 2 is a diagram of application networking of the method of the present invention;
FIG. 3 is a flow chart provided by an embodiment of the present invention;
FIG. 4 is a detailed flow chart provided by an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a user operation implementation provided by an embodiment of the present invention;
FIG. 6 is a block diagram of a system provided by the present invention;
fig. 7 is a structural view of the apparatus according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The method provided by the invention needs to arrange a plurality of virtual terminal servers between the client and the online business hall server, which is specifically shown in figure 2.
And each virtual terminal server performs the operations as shown in fig. 3.
Referring to fig. 3, fig. 3 is a flow chart provided by the embodiment of the invention. As shown in fig. 3, the process may include the following steps:
step 301, receiving a connection request sent by a client and establishing connection with the client, and requesting a code of a home page of an online business hall from an online business hall server after receiving an online business hall access request sent by the client through the connection.
Step 302, rendering the homepage code sent from the online business hall server into an online business hall homepage, coding the image of the online business hall homepage into an image data stream, sending the image data stream to the client, and decoding the image data stream by the client to present a graphical online business hall homepage to the user.
The flow shown in fig. 3 is completed.
Through the flow shown in fig. 3, the client can access the online business hall.
In the flow shown in fig. 3, the connection between the client and the virtual terminal server needs to be implemented by a third party, i.e. a list server, and the flow shown in fig. 3 is described in detail below.
Referring to fig. 4, fig. 4 is a detailed flowchart provided by the embodiment of the present invention. As shown in fig. 4, the process may include the following steps:
in step 401, a client initiates a request to a list server to request a list of virtual terminal servers.
In step 402, the list server returns a list of virtual terminal servers currently idle to the client.
Because the virtual terminal server in the invention is virtual and can have one-to-one correspondence with the client, when the list server sends a virtual terminal server which is connected with a client, the virtual terminal server is determined not to be idle, and the virtual terminal server list does not include the virtual terminal server.
In step 403, the client checks the connection speed of each virtual terminal server in the virtual terminal server list, and selects the virtual terminal server with the highest connection speed.
Specifically, the step 403 may be: and the client sends a request to each virtual terminal server in the virtual terminal server list, records the response time of each virtual terminal server, and determines the virtual terminal server with the highest response time as the virtual terminal server with the highest connection speed.
Through steps 401 to 403, a virtual terminal server to which the client can connect can be selected for the client.
In step 404, the client sends a connection request to the selected virtual terminal server to establish a connection with the selected virtual terminal server.
Step 405, when the connection is successful, the client sends an online business hall access request to the virtual terminal server through the connection.
Wherein, the connection success specifically comprises: and the client successfully receives the response sent by the virtual terminal server aiming at the connection request.
In step 406, the virtual terminal server requests the online business hall server for the code of the online business hall home page.
Step 407, the online business hall server sends the online business hall home page code to the virtual terminal server a.
Step 408, the virtual terminal server renders the online business hall home page code into an online business hall home page, encodes the image of the online business hall home page into an image data stream, and sends the image data stream to the client.
In step 409, the client decodes the video data stream to present a graphical online lobby home page to the user.
The flow shown in fig. 4 is completed.
It should be noted that the client in the above steps 401 to 409 may be an online business hall terminal software installed on the client.
It should be noted that, after the client provides the online business hall home page to the user, the user can perform operations on the online business hall home page, as shown in fig. 5.
Referring to fig. 5, fig. 5 is a flowchart for implementing user operation according to an embodiment of the present invention. As shown in fig. 5, the process may include the following steps:
step 501, the user executes operation on the home page of the online business hall, and the client collects operation information executed by the user (user operation information for short) and sends the operation information to the virtual terminal server connected with the client.
The user operation information is a mode of executing operation on the home page of the online business hall by the user, and at least comprises the following steps: a mouse, a keyboard, an option box, etc. are used, and the present invention is not particularly limited.
Step 502, the virtual terminal server receives the user operation information sent by the client, verifies whether the operation performed by the user is legal or not according to the user operation information, if so, executes step 503, otherwise, ends the current process.
Step 503, determining the operation type according to the user operation information, and requesting a page code corresponding to the operation type from the online business hall server.
And the operation type is the result of the operation executed by the user on the home page of the online business hall.
Step 504, the online business hall server returns the page code corresponding to the operation type to the virtual terminal server.
And 505, the virtual terminal server receives the page code corresponding to the operation type sent by the online business hall server, renders the received page code into a user operation result page, and codes the image of the user operation result page into an image data stream to be sent to the client.
In step 506, the client decodes the video data stream to present a page of the user operation result to the user.
The flow shown in fig. 5 is completed.
It should be noted that, in the present invention, the identity authentication can be performed on the client, the traditional online business hall access mode is that the user identity authentication is directly performed by the online business hall server, but the identity authentication is performed on the user after the virtual terminal server is connected with the client.
So far, the description of the method provided by the present invention is completed, and the system and the apparatus provided by the present invention are described below.
Referring to fig. 6, fig. 6 is a system structure diagram provided by the present invention. As shown in fig. 6, the system may include: the system comprises a client, an online business hall server and a plurality of online business hall access devices connected between the client and the online business hall server.
Each of the online business hall access devices has a structure as shown in fig. 7. And will not be described in detail here.
In fig. 6, the system further comprises: a list server; wherein,
the list server is used for returning a virtual terminal server list which is currently idle to the client after receiving a request sent by the client;
and the client checks the connection speed of each virtual terminal server in the virtual terminal server list, selects the virtual terminal server with the highest connection speed, and sends the connection request to the selected virtual terminal server.
Referring to fig. 7, fig. 7 is a structural view of the apparatus provided in the present invention. As shown in fig. 7, the apparatus may include:
the client interface unit is used for receiving a connection request sent by a client, establishing connection with the client and receiving an online business hall access request sent by the client through the connection; after receiving the image data stream sent by the coding unit, sending the influence data stream to a client, and decoding the image data stream by the client to present a graphical online business hall home page to a user;
the server interface unit is used for requesting the code of the home page of the online business hall for the server of the online business hall and receiving the home page code sent by the server of the online business hall;
the rendering unit is used for rendering the home page code sent by the online business hall server into an online business hall home page;
and the coding unit is used for coding the image of the home page of the online business hall into an image data stream and sending the image data stream to the client interface unit.
In fig. 7, the apparatus further comprises: the user operates the analysis unit.
Based on the above, the client interface unit further receives user operation information sent by the client; the user operation information is a mode of executing operation on the home page of the online business hall by the user, and at least comprises the following steps: using a mouse, a keyboard, an option box;
the user operation analysis unit is used for verifying whether the operation performed by the user is legal or not according to the user operation information, and if the operation performed by the user is legal, determining the operation type according to the user operation information; the operation type is the result of the operation executed by the user on the home page of the online business hall;
the server interface unit further requests a page code corresponding to the operation type from the online business hall server; receiving a page code corresponding to the operation type sent by the online business hall server;
the rendering unit further renders the received page code into a user operation result page;
the coding unit further codes the image of the user operation result page into an image data stream and sends the image data stream to the client interface unit;
the client interface unit further sends the received image data stream to the client, and the client decodes the image data stream to present a page of a user operation result to the user.
Thus, the description of the system and the device provided by the invention is completed.
According to the technical scheme, the client is connected to the virtual terminal server instead of being directly connected to the online business hall server in the traditional mode, when the client accesses the online business hall, the virtual terminal server is responsible for rendering the page codes returned by the online business hall server, the images of the rendered pages are coded into the image data streams and then returned to the client, and the images of the rendered pages are coded into the image data streams and then returned to the client instead of being rendered by the client in the traditional mode, so that the browser difference of different clients is avoided being shielded, and in addition, the virtual terminal server codes the images of the rendered pages into the image data streams and returns the image data streams to the client, so that the bandwidth use and the network quality sensitivity are reduced, and the access speed is improved.
Furthermore, because the client is directly connected with the online business hall server in the traditional online business hall mode, the client directly attacks the online business hall server, and the client and the online business hall server can be isolated in the invention, thereby improving the safety of the online business hall server.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (5)
1. A method for accessing an online business hall is characterized in that a plurality of virtual terminal servers are arranged between a client and an online business hall server, and the method comprises the following steps:
the client sends a request to a preset list server,
the client receives a virtual terminal server list which is currently idle and returned by the list server;
the client checks the connection speed of each virtual terminal server in the virtual terminal server list, selects the virtual terminal server with the highest connection speed and sends a connection request to the selected virtual terminal server;
the virtual terminal server receives a connection request sent by a client and establishes connection with the client, after receiving an online business hall access request sent by the client through the connection, the virtual terminal server requests a code of a first page of the online business hall for the online business hall server, renders the first page code sent by the online business hall server into the first page of the online business hall, codes an image of the first page of the online business hall into an image data stream and sends the image data stream to the client, and the client decodes the image data stream to present a graphical first page of the online business hall to a user;
and when the client executes operation on the home page of the online business hall, the virtual terminal server executes identity authentication on the client.
2. The method of claim 1, wherein when the user performs an operation on the online lobby home page, the virtual terminal server further performs the following steps:
receiving user operation information sent by a client, and verifying whether the operation performed by a user is legal or not according to the user operation information; the user operation information is a mode of executing operation on the home page of the online business hall by the user, and at least comprises the following steps: using a mouse, a keyboard, an option box;
if the verification is legal, determining the operation type according to the user operation information, and requesting a page code corresponding to the operation type from the online business hall server; the operation type is the result of the operation executed by the user on the home page of the online business hall;
receiving a page code corresponding to the operation type sent by the online business hall server, rendering the received page code into a user operation result page, coding an image of the user operation result page into an image data stream, sending the image data stream to the client, and decoding the image data stream by the client to present the page of the user operation result to the user.
3. An online business hall access system, comprising: the system comprises a client, a list server, an online business hall server and a plurality of virtual terminal servers connected between the client and the online business hall server; wherein,
the client sends a request to a preset list server, receives a virtual terminal server list which is currently idle and is returned by the list server, checks the connection speed of each virtual terminal server in the virtual terminal server list, selects a virtual terminal server with the highest connection speed, and sends a connection request to the selected virtual terminal server;
the list server is used for returning a virtual terminal server list which is currently idle to the client after receiving a request sent by the client;
each virtual terminal server performs the following operations:
operation 1: receiving a connection request sent by a client and establishing connection with the client, requesting a code of a home page of an online business hall from an online business hall server after receiving an online business hall access request sent by the client through the connection, rendering the home page code sent by the online business hall server into a home page of the online business hall, coding an image of the home page of the online business hall into an image data stream and sending the image data stream to the client, and decoding the image data stream by the client to present a graphical home page of the online business hall to a user; and the number of the first and second groups,
operation 2: and when the client executes operation on the home page of the online business hall, the identity authentication is executed on the client.
4. The system of claim 3, wherein the virtual terminal server performs operation 1 by:
the client interface unit is used for receiving a connection request sent by a client, establishing connection with the client and receiving an online business hall access request sent by the client through the connection; after receiving the image data stream sent by the coding unit, sending the image data stream to a client, and decoding the image data stream by the client to present a graphical online business hall home page to a user;
the server interface unit is used for requesting the code of the home page of the online business hall for the server of the online business hall and receiving the home page code sent by the server of the online business hall;
the rendering unit is used for rendering the home page code sent by the online business hall server into an online business hall home page;
the coding unit is used for coding the image of the home page of the online business hall into an image data stream and sending the image data stream to the client interface unit; and when the client executes operation on the home page of the online business hall, the identity authentication is executed on the client.
5. The system of claim 4, wherein the client interface unit further receives user operation information sent by a client; the user operation information is a mode of executing operation on the home page of the online business hall by the user, and at least comprises the following steps: using a mouse, a keyboard, an option box;
the virtual terminal server further comprises: a user operation analysis unit; wherein,
the user operation analysis unit is used for verifying whether the operation performed by the user is legal or not according to the user operation information, and if the operation performed by the user is legal, determining the operation type according to the user operation information; the operation type is the result of the operation executed by the user on the home page of the online business hall;
the server interface unit further requests a page code corresponding to the operation type from the online business hall server; receiving a page code corresponding to the operation type sent by the online business hall server;
the rendering unit further renders the received page code into a user operation result page;
the coding unit further codes the image of the user operation result page into an image data stream and sends the image data stream to the client interface unit;
the client interface unit further sends the received image data stream to the client, and the client decodes the image data stream to present a page of a user operation result to the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110320924.6A CN103067341B (en) | 2011-10-20 | 2011-10-20 | Online business hall access method, system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110320924.6A CN103067341B (en) | 2011-10-20 | 2011-10-20 | Online business hall access method, system and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103067341A CN103067341A (en) | 2013-04-24 |
CN103067341B true CN103067341B (en) | 2017-05-03 |
Family
ID=48109807
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110320924.6A Active CN103067341B (en) | 2011-10-20 | 2011-10-20 | Online business hall access method, system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103067341B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593209A (en) * | 2008-12-30 | 2009-12-02 | 中国科学院地理科学与资源研究所 | A kind of alternating type online statistical map generation and distributing device and method |
CN101714080A (en) * | 2009-10-28 | 2010-05-26 | 金蝶软件(中国)有限公司 | Method and system for realizing web multiple language control |
CN101860533A (en) * | 2010-05-26 | 2010-10-13 | 卓望数码技术(深圳)有限公司 | Data transmission method based on C/S architecture browser and server |
CN102024048A (en) * | 2010-12-15 | 2011-04-20 | 中兴通讯股份有限公司 | Implementation method of mobile terminal and browser thereof |
CN102033926A (en) * | 2010-12-15 | 2011-04-27 | 百度在线网络技术(北京)有限公司 | Page content processing method and device |
CN102088472A (en) * | 2010-11-12 | 2011-06-08 | 中国传媒大学 | Wide area network-oriented decomposition support method for animation rendering task and implementation method |
CN102123168A (en) * | 2011-01-14 | 2011-07-13 | 广州市动景计算机科技有限公司 | Web page pre-reading and integration method and system based on relay server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5282447B2 (en) * | 2008-05-29 | 2013-09-04 | ソニー株式会社 | Information processing apparatus, information processing method, program, and information processing system |
-
2011
- 2011-10-20 CN CN201110320924.6A patent/CN103067341B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593209A (en) * | 2008-12-30 | 2009-12-02 | 中国科学院地理科学与资源研究所 | A kind of alternating type online statistical map generation and distributing device and method |
CN101714080A (en) * | 2009-10-28 | 2010-05-26 | 金蝶软件(中国)有限公司 | Method and system for realizing web multiple language control |
CN101860533A (en) * | 2010-05-26 | 2010-10-13 | 卓望数码技术(深圳)有限公司 | Data transmission method based on C/S architecture browser and server |
CN102088472A (en) * | 2010-11-12 | 2011-06-08 | 中国传媒大学 | Wide area network-oriented decomposition support method for animation rendering task and implementation method |
CN102024048A (en) * | 2010-12-15 | 2011-04-20 | 中兴通讯股份有限公司 | Implementation method of mobile terminal and browser thereof |
CN102033926A (en) * | 2010-12-15 | 2011-04-27 | 百度在线网络技术(北京)有限公司 | Page content processing method and device |
CN102123168A (en) * | 2011-01-14 | 2011-07-13 | 广州市动景计算机科技有限公司 | Web page pre-reading and integration method and system based on relay server |
Also Published As
Publication number | Publication date |
---|---|
CN103067341A (en) | 2013-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9887999B2 (en) | Login method and apparatus | |
US9794242B2 (en) | Method, apparatus and application platform for realizing logon to an application service website | |
US10834031B2 (en) | Information exchange method, client, and apparatus | |
CN103036902B (en) | Log-in control method and system based on Quick Response Code | |
CN103825881B (en) | The reorientation method and device of WLAN user are realized based on wireless access controller AC | |
US10630574B2 (en) | Link processing method, apparatus, and system | |
CN105025041A (en) | File upload method, file upload apparatus and system | |
CN101217512B (en) | A client-end state maintenance method, system, client-end and application server | |
CN103023919A (en) | Two-dimensional code based login control method and two-dimensional code based login control system | |
CN105162802B (en) | Portal authentication method and certificate server | |
TWI531222B (en) | Method, device and system for transmitting network resources | |
EP3198802A1 (en) | Transmitting media content during instant messaging | |
US20200228611A1 (en) | System and method for coupling two separate applications to an application session within a serverless infrastructure | |
CN103024740A (en) | Method and system for accessing internet by mobile terminal | |
CN102143177A (en) | Portal authentication method, Portal authentication device,Portal authentication equipment and Portal authentication system | |
KR20130026609A (en) | Apparatus and method for providing multimedia cloud service associated with social network service in multimedia cloud system | |
CN113489805A (en) | Docking method, device, equipment and storage medium of cloud desktop system | |
CN112261011A (en) | Cloud desktop authentication method based on two-dimensional code recognition | |
CN106161356B (en) | Method and system for rapidly logging in website through client | |
CN115022047B (en) | Account login method and device based on multi-cloud gateway, computer equipment and medium | |
CN101360107A (en) | Method, system and apparatus enhancing security of single system login | |
CN109359446B (en) | A kind of cross-domain login validation method in internet | |
CN107786502A (en) | A kind of authentication proxy's method, apparatus and equipment | |
CN104113511B (en) | A kind of method, system and relevant apparatus for accessing IMS network | |
CN102571817B (en) | Method and device for accessing application server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |