[go: up one dir, main page]

CN100352195C - Jp2004348666 - Google Patents

Jp2004348666 Download PDF

Info

Publication number
CN100352195C
CN100352195C CNB2004100347460A CN200410034746A CN100352195C CN 100352195 C CN100352195 C CN 100352195C CN B2004100347460 A CNB2004100347460 A CN B2004100347460A CN 200410034746 A CN200410034746 A CN 200410034746A CN 100352195 C CN100352195 C CN 100352195C
Authority
CN
China
Prior art keywords
client
request
instruction
display order
server
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.)
Expired - Fee Related
Application number
CNB2004100347460A
Other languages
Chinese (zh)
Other versions
CN1574742A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Publication of CN1574742A publication Critical patent/CN1574742A/en
Application granted granted Critical
Publication of CN100352195C publication Critical patent/CN100352195C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明提供一种客户端及服务器的系统、服务器及信息处理系统。在拖曳型客户端及服务器的系统中,由服务器控制客户端进行拖曳的时间。服务器(10)具有:Web服务器(11)、顺序控制部(12)和客户端管理部(13)。Web服务器(11)接受来自客户端(20)的请求,向客户端(20)返回对应该请求的响应。Web服务器(11)或顺序控制部(12)生成使客户端(20)进行规定请求的指令。客户端管理部(13)向客户端(20)发送所生成的指令。

Figure 200410034746

The invention provides a system of a client and a server, a server and an information processing system. In the dragging client and server system, the server controls the dragging time of the client. The server (10) has a Web server (11), a sequence control unit (12), and a client management unit (13). The web server (11) accepts the request from the client (20), and returns a response corresponding to the request to the client (20). A Web server (11) or a sequence control unit (12) generates a command for a client (20) to make a predetermined request. The client management unit (13) transmits the generated command to the client (20).

Figure 200410034746

Description

客户端及服务器的系统、服务器及信息处理系统Client and server systems, servers and information processing systems

技术领域technical field

本发明涉及一种用于控制在客户端显示的画面的顺序的技术,特别涉及从服务器进行Web应用程序的顺序控制的技术。The present invention relates to a technique for controlling the sequence of screens displayed on a client, and more particularly to a technique for controlling the sequence of Web applications from a server.

背景技术Background technique

伴随Web技术的普及,使用Web服务器和Web浏览器的客户端及服务器系统开始增多。作为该系统的特征可以列举如下,利用由HTML(HyperText Markup Language:超文本标记语言)记述的画面等可以简单地构筑系统,并可提供良好的个性化服务的优点。With the popularization of Web technology, the number of client and server systems using Web servers and Web browsers has begun to increase. The features of this system include the advantages that the system can be easily constructed using screens described in HTML (HyperText Markup Language), etc., and excellent personalized services can be provided.

但是,在该系统中使用的HTTP(Hyper Text Transfer Protocol:超文本传输协议)是对应来自客户端的请求,由服务器返回响应的非常简单的通信协议。因此,使用HTTP的应用通常是客户端主动获取必要信息的拖曳型系统。However, HTTP (Hyper Text Transfer Protocol: Hypertext Transfer Protocol) used in this system is a very simple communication protocol that responds to requests from clients and returns responses from servers. As a result, applications using HTTP are typically pull-and-pull systems where the client actively obtains the necessary information.

因此,对于来自客户端的请求,由于必须进行服务器的某种处理,所以有时不能马上回应。并且,与客户端的操作无关,根据服务器管理的应用的状况,有时需要使客户端显示某种画面。在这些场合下,客户端经常按一定间隔向服务器发出请求,在服务器的条件齐全时,接受规定的响应,由此来实现目的。Therefore, some kind of processing by the server is necessary for the request from the client, so it may not be able to respond immediately. In addition, regardless of the operation of the client, depending on the status of the application managed by the server, it may be necessary to display a certain screen on the client. In these cases, the client often sends a request to the server at a certain interval, and when the server's conditions are complete, it accepts the specified response, thereby achieving the goal.

发明内容Contents of the invention

本发明的目的是,提供一种在拖曳型客户端及服务器的系统中,由服务器控制客户进行拖曳的时间的技术。It is an object of the present invention to provide a technique in which the server controls the timing of dragging by the client in a dragging client and server system.

本发明的其他目的是,在客户端及服务器的系统中进行使客户端显示的画面的顺序控制。Another object of the present invention is to perform sequence control of screens displayed on a client in a system of a client and a server.

根据本发明一实施方式的客户端及服务器的系统,包括:具备浏览器的客户端和接受来自所述浏览器的HTTP(Hyper Text TransferProtocol)请求,返回对应所述请求的HTTP响应的服务器,所述服务器具有:根据来自所述客户端的连接建立请求,使用套接与所述客户端建立连接的连接单元;生成使所述浏览器进行规定的请求的指令的指令生成单元;使用通过所述连接单元所建立的连接,向所述客户端发送所述生成的指令的指令发送单元,所述系统特征在于,所述服务器还具有:存储具有显示顺序被预先确定的多个显示页的内容的内容存储单元;在接收到来自所述客户端的获取所述多个显示页中的任一页的请求时,判定该请求是否是符合所述显示顺序的判定单元,在所述获取的请求不符合所述显示顺序时,所述指令生成单元生成使所述客户端进行符合所述显示顺序的请求的指令。这样,即使是用HTTP进行通信的客户端及服务器的系统,服务器也能控制客户端的请求,还可以控制由客户端显示的显示页的显示顺序。The system of the client and the server according to an embodiment of the present invention includes: a client with a browser and a server that accepts an HTTP (Hyper Text Transfer Protocol) request from the browser and returns an HTTP response corresponding to the request. The server has: according to the connection establishment request from the client, a connection unit that establishes a connection with the client using a socket; an instruction generation unit that generates an instruction for the browser to perform a specified request; The connection established by the unit is an instruction sending unit that sends the generated instruction to the client, and the system is characterized in that the server further has: a content that stores the contents of a plurality of display pages whose display order is predetermined A storage unit; when receiving a request from the client to acquire any one of the plurality of display pages, a judging unit for judging whether the request conforms to the display order, and when the acquired request does not conform to the When the display order is specified, the instruction generating unit generates an instruction for the client to make a request conforming to the display order. In this way, even in a system of a client and a server communicating by HTTP, the server can control the client's request and can also control the display order of the display pages displayed by the client.

在优选实施方式中,所述连接单元还可以具有存储建立连接后的客户端的IP地址的存储单元。此时,所述生成单元生成对应在所述存储单元存储有IP地址的客户端的指令,所述发送单元参照所述存储单元,发送所述生成的指令。In a preferred embodiment, the connection unit may also have a storage unit for storing the IP address of the client after the connection is established. In this case, the generation unit generates a command corresponding to the client whose IP address is stored in the storage unit, and the transmission unit refers to the storage unit and transmits the generated command.

根据本发明一个实施方式的服务器,具有:接受来自客户端的请求,向所述客户端返回对应所述请求的响应的响应单元;生成使所述客户端进行规定请求的指令的指令生成单元;向所述客户端发送所述生成的指令的指令发送单元,所述服务器特征在于,还具有:存储具有显示顺序被预先确定的多个显示页的内容的内容存储单元;在接收到来自所述客户端的获取所述多个显示页中的任一页的请求时,判定该请求是否是符合所述显示顺序的判定单元,在所述获取的请求不符合所述显示顺序时,所述指令生成单元生成使所述客户端进行符合所述显示顺序的请求的指令。这样,服务器可以控制客户端进行的请求,还可以控制由客户端显示的显示页的显示顺序。The server according to one embodiment of the present invention has: a response unit that accepts a request from a client and returns a response corresponding to the request to the client; an instruction generation unit that generates an instruction for the client to perform a specified request; The client sends the instruction sending unit of the generated instruction, and the server is characterized in that it also has: a content storage unit that stores the contents of a plurality of display pages whose display order is predetermined; When obtaining any one of the plurality of display pages from the terminal, a judging unit that judges whether the request conforms to the display order, and when the acquired request does not conform to the display order, the instruction generating unit Instructions are generated for the client to make requests in accordance with the display order. In this way, the server can control the requests made by the client, and can also control the display order of the display pages displayed by the client.

根据本发明一个实施方式的服务器,具有:接受来自第1客户端的请求,向第1客户端返回对应所述请求的响应的响应单元;接受来自第1客户端的请求,生成使第2客户端进行规定的请求的指令的指令生成单元;向第2客户端发送所述生成的指令的指令发送单元。这样,第1客户端利用该服务器可以控制第2客户端的显示画面。A server according to one embodiment of the present invention has: a response unit that accepts a request from the first client and returns a response corresponding to the request to the first client; accepts a request from the first client and generates a response unit for the second client to perform an instruction generating unit for a command of a prescribed request; an instruction sending unit for sending the generated instruction to the second client. In this way, the first client can control the display screen of the second client using the server.

根据本发明一个实施方式的信息处理装置,具有:接收来自客户端拥有的Web浏览器的HTTP(Hyper Text Transfer Protocol)请求,返回对应所述请求的HTTP响应的Web服务器;根据来自所述客户端的连接建立请求,使用套接与所述客户端建立连接的连接单元;生成使所述Web浏览器进行对应所述Web服务器的规定的HTTP请求的指令的指令生成单元;使用通过所述连接单元所建立的连接,向所述客户端发送所述生成的指令的指令发送单元,所述信息处理装置特征在于,所述服务器还具有:存储具有显示顺序被预先确定的多个显示页的内容的内容存储单元;在接收到来自所述客户端的获取所述多个显示页中的任一页的请求时,判定该请求是否是符合所述显示顺序的判定单元,在所述获取的请求不符合所述显示顺序时,所述指令生成单元生成使所述客户端进行符合所述显示顺序的请求的指令。An information processing device according to an embodiment of the present invention has: a Web server that receives an HTTP (Hyper Text Transfer Protocol) request from a Web browser owned by a client and returns an HTTP response corresponding to the request; A connection establishment request, using a socket connection unit to establish a connection with the client; an instruction generation unit that generates an instruction that causes the Web browser to perform a specified HTTP request corresponding to the Web server; An established connection, an instruction sending unit that sends the generated instruction to the client, the information processing device is characterized in that the server further includes: a content that stores the contents of a plurality of display pages whose display order is predetermined A storage unit; when receiving a request from the client to acquire any one of the plurality of display pages, a judging unit for judging whether the request conforms to the display order, and when the acquired request does not conform to the When the display order is specified, the instruction generating unit generates an instruction for the client to make a request conforming to the display order.

本发明还涉及一种使客户端进行请求的方法,该方法具有:接受来自客户端的请求,向所述客户端返回对应所述请求的响应的步骤;生成使所述客户端进行规定的请求的指令的生成步骤;和向所述客户端发送所述生成的指令的步骤,所述方法特征在于,还具有:预先存储具有显示顺序被预先确定的多个显示页的内容的步骤,当接收到的所述来自客户端的请求为获取所述多个显示页中的任一页的请求时,判定该请求是否是符合所述显示顺序,在所述获取的请求不符合所述显示顺序时,在所述生成步骤中生成使所述客户端进行符合所述显示顺序的请求的指令。The present invention also relates to a method for making a request from a client, the method comprising: a step of accepting a request from the client and returning a response corresponding to the request to the client; generating a request for the client to make a request A step of generating an instruction; and a step of sending the generated instruction to the client, the method is characterized in that it also has: a step of pre-storing the contents of a plurality of display pages with a predetermined display order, and when receiving When the request from the client is a request to obtain any one of the plurality of display pages, it is determined whether the request conforms to the display order, and when the obtained request does not conform to the display order, the In the generating step, an instruction for causing the client to make a request in accordance with the display order is generated.

本发明还涉及另一种使客户端进行请求的方法,该方法具有:接收来自客户端拥有的Web浏览器的HTTP请求,返回对应所述请求的HTTP响应的步骤;对应来自所述客户端的连接建立请求,使用套接与所述客户端建立连接的步骤;生成使所述Web浏览器进行对应所述Web服务器的规定的HTTP请求的指令的生成步骤;使用所述建立的连接,向所述客户端发送所述生成的指令的步骤,所述方法特征在于,还具有:预先存储具有显示顺序被预先确定的多个显示页的内容的步骤,当接收到的所述来自客户端的请求为获取所述多个显示页中的任一页的请求时,判定该请求是否是符合所述显示顺序,在所述获取的请求不符合所述显示顺序时,在所述生成步骤中生成使所述客户端进行符合所述显示顺序的请求的指令。The present invention also relates to another method for making a request from a client, the method having the steps of: receiving an HTTP request from a Web browser owned by the client, and returning an HTTP response corresponding to the request; corresponding to the connection from the client Establishing a request, using a socket to establish a connection with the client; generating an instruction for the Web browser to perform a specified HTTP request corresponding to the Web server; using the established connection, sending to the The step of sending the generated instruction by the client, the method is characterized in that it also has the step of pre-storing the contents of a plurality of display pages with a predetermined display order, when the received request from the client is to obtain When a request for any one of the plurality of display pages is requested, it is determined whether the request conforms to the display order, and when the obtained request does not conform to the display order, the generating step generates the The client is instructed to make a request in accordance with the display order.

在优选实施方式中,所述指令也可以包括使所述Web浏览器显示的Web页的URL(Uniform Resource Locator:同一资源定位器)。In a preferred embodiment, the instruction may also include the URL (Uniform Resource Locator: same resource locator) of the Web page displayed by the Web browser.

附图说明Description of drawings

图1是应用本发明的一实施方式的客户端及服务器的系统的构成图。FIG. 1 is a configuration diagram of a system to which a client and a server according to an embodiment of the present invention are applied.

图2是表示客户端列表的一个示例的图。FIG. 2 is a diagram showing an example of a client list.

图3是表示强制页切换处理步骤的流程图。FIG. 3 is a flowchart showing the procedure of the forced page switching process.

图4是顺序控制部12进行的处理的流程图。FIG. 4 is a flowchart of processing performed by the sequence control unit 12 .

图5是进行订货处理时的处理顺序示例图。Fig. 5 is a diagram showing an example of a processing procedure when order processing is performed.

图中:1-客户端及服务器的系统;10-服务器;11-WEB服务器;12-顺序控制部;13-客户端管理部;16、25-套接通信部;20-客户端;21-WEB浏览器;22-请求发行指示部。In the figure: 1-client and server system; 10-server; 11-WEB server; 12-sequence control department; 13-client management department; 16, 25-socket communication department; 20-client; 21- WEB browser; 22-Request issuance instruction part.

具体实施方式Detailed ways

以下,结合附图说明应用本发明一实施方式的客户端及服务器的系统。图1表示本实施方式的客户端及服务器的系统1的整体构成图。本系统1具有服务器10和客户端20。在图1中,客户端20是1台,但也可以具有多台。服务器10和客户端20通过例如因特网、LAN(Local AreaNetwork)等网络(未图示)相连接。Hereinafter, a system applying a client and a server according to an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 shows an overall configuration diagram of a client and server system 1 according to the present embodiment. This system 1 has a server 10 and a client 20 . In FIG. 1 , there is one client 20 , but there may be a plurality of clients. The server 10 and the client 20 are connected through networks (not shown) such as the Internet and LAN (Local Area Network).

服务器10和客户端20例如均由通用的计算机系统构成,以下说明的服务器10和客户端20中的各个构成要素或功能,例如通过执行计算机程序来实现。Both the server 10 and the client 20 are configured by, for example, a general-purpose computer system, and each component or function of the server 10 and the client 20 described below is realized, for example, by executing a computer program.

在客户端20中,安装Web浏览器21和套接通信部25。客户端20可以使用Web浏览器21从Web服务器获取各种信息,并使显示装置(未图示,以下相同)显示。此时,Web浏览器21向Web服务器发送HTTP(HyperText Transfer Protocol)请求,作为对它的HTTP响应,获取用HTML(Hyper Text Markup Language)记述的各种信息。因此,本系统1是客户端20主动获取信息的所谓拖曳型系统。In the client 20, a Web browser 21 and a socket communication unit 25 are installed. The client 20 can use the Web browser 21 to acquire various information from the Web server, and display it on a display device (not shown, the same applies hereinafter). At this time, the Web browser 21 sends an HTTP (HyperText Transfer Protocol) request to the Web server, and acquires various information described in HTML (Hyper Text Markup Language) as an HTTP response thereto. Therefore, this system 1 is a so-called drag system in which the client 20 actively acquires information.

在本实施方式中,Web浏览器21还具有请求发行指示部22。请求发行指示部22从服务器10接收页切换指令(详细后述),根据所接收的页切换指令进行请求发行的指示。例如,页切换指令中包括URL,请求发行指示部22指示发行用于获取由该URL特定的Web页的请求。请求发行指示部22可以通过读取被称为例如小应用程序的应用软件来实现。In the present embodiment, the Web browser 21 further includes a request issuance instruction unit 22 . The request issuance instructing unit 22 receives a page switching command (details will be described later) from the server 10, and instructs a request for issuance based on the received page switching command. For example, a URL is included in the page switching command, and the request issuance instructing unit 22 instructs issuance of a request for acquiring a Web page specified by the URL. The request issuance instructing unit 22 can be realized by reading application software called, for example, an applet.

服务器10具有:Web服务器11;顺序控制部12;客户端管理部13;把Web浏览器21的状态通知给顺序控制部12的状态通知处理部14;在客户端管理部13和Web服务器11及顺序控制部12之间进行所通知的信息的转接的中继处理部15;套接通信部16;和存储有多个Web页的内容存储部17。Server 10 has: Web server 11; Sequence control section 12; Client management section 13; The relay processing unit 15 that transfers the notified information among the sequence control unit 12 ; the socket communication unit 16 ; and the content storage unit 17 that stores a plurality of Web pages.

状态通知处理部14和中继处理部15也可以作为例如DLL(DynamicLink Library)来实现。The state notification processing unit 14 and the relay processing unit 15 can also be realized as, for example, a DLL (Dynamic Link Library).

状态通知处理部14根据Web服务器11返回给Web浏览器21的响应,把Web浏览器21的状态通知给顺序控制部12。The status notification processing unit 14 notifies the sequence control unit 12 of the status of the Web browser 21 based on the response returned from the Web server 11 to the Web browser 21 .

在存储在内容存储部17的Web页中,包括被预先确定了显示顺序(sequence)的显示页。例如,在有关用户认证的Web页中,使Web浏览器21按照空闲画面→认证开始画面→认证确认画面→个人画面的顺序进行显示。The Web pages stored in the content storage unit 17 include display pages whose display order (sequence) is predetermined. For example, a Web page related to user authentication is displayed on the Web browser 21 in the order of idle screen→authentication start screen→authentication confirmation screen→personal screen.

Web服务器11从Web浏览器接受HTTP请求,并返回与其相应的HTTP响应。例如,根据HTTP请求中包括的URL(Uniform Resource Locator),获取存储在内容存储部17的Web页,作为响应返回。The Web server 11 receives an HTTP request from a Web browser, and returns an HTTP response corresponding thereto. For example, based on the URL (Uniform Resource Locator) included in the HTTP request, the Web page stored in the content storage unit 17 is acquired and returned as a response.

顺序控制部12控制显示在客户端的显示装置的Web页的显示顺序。例如,顺序控制部12存储如上所述程序预先确定的Web页的显示顺序。顺序控制部12判定显示在Web浏览器21的Web页是否符合该顺序。在不符合该顺序时,生成用于使进行符合该顺序的请求的页切换指令。此处生成的页切换指令包括按照顺序,接下来应显示的Web页的URL。该页切换指令通过中继处理部15被通知给客户端管理部13。The sequence control unit 12 controls the display sequence of Web pages displayed on the display device of the client. For example, the order control unit 12 stores a display order of Web pages predetermined by the program as described above. The sequence control unit 12 judges whether or not the Web pages displayed on the Web browser 21 conform to the sequence. When this order is not followed, a page switching command is generated to make a request conforming to this order. The page switching command generated here includes URLs of Web pages to be displayed next in sequence. This page switching command is notified to the client management unit 13 via the relay processing unit 15 .

另外,Web服务器11根据来自客户端的请求,生成页切换指令,并通过中继处理部15被通知给客户端管理部13。例如,如果对与已发送请求的客户端不同的客户端发送页切换指令,则可以从某客户端控制其他客户端的显示画面。此时,在请求中,包括使显示的页的URL和使显示该页的对象客户端的IP地址等。该处理可以作为Web服务器11内的线程来实现。In addition, the Web server 11 generates a page switching command in response to a request from the client, and notifies the command to the client management unit 13 via the relay processing unit 15 . For example, if a page switching command is sent to a client different from the client that has sent the request, it is possible to control the display screen of another client from a certain client. In this case, the URL of the page to be displayed, the IP address of the target client to display the page, and the like are included in the request. This processing can be implemented as a thread within the Web server 11 .

即,本系统1的基本是客户端20从服务器10主动获取信息的拖曳动作,但通过顺序控制部12生成页切换指令来推动客户端20,可以强制使客户端20进行拖曳动作。That is, the system 1 is basically a dragging operation in which the client 20 actively acquires information from the server 10 , but the client 20 can be forced to perform the dragging operation by generating a page switching command and pushing the client 20 by the sequence control unit 12 .

页切换指令的生成时间可以是上述以外的任意时间。例如,也可以根据来自未图示的应用程序等的通知,由顺序控制部12生成页切换指令。The generation time of the page switching command may be any time other than the above. For example, the sequence control unit 12 may generate a page switching command based on a notification from an application program (not shown).

套接通信部16、25是使用套接相互建立连接的连接部。因此,客户端20和服务器10除进行基于HTTP的通信外,可以使用套接通信部16、25建立基于套接的连接来进行通信。The socket communication units 16 and 25 are connection units that establish a connection with each other using a socket. Therefore, the client 20 and the server 10 can communicate by establishing a socket-based connection using the socket communication units 16 and 25 in addition to HTTP-based communication.

套接通信部16例如根据来自客户端的套接通信部25的请求,建立基于套接的连接。已建立连接的客户端的IP地址也可以注册在客户端数据表19中。客户端管理部13利用该连接,发送由顺序控制部12生成的页切换指令。The socket communication unit 16 establishes a socket-based connection, for example, in response to a request from the socket communication unit 25 of the client. The IP address of the connected client can also be registered in the client data table 19 . Using this connection, the client management unit 13 transmits the page switching command generated by the sequence control unit 12 .

客户端管理部13管理服务器1进行顺序控制的对象客户端。客户端管理部13具有已注册顺序控制对象的客户端的客户端数据表19。客户端数据表19例如图2所示,具有客户端的IP地址191和用于在服务器中识别客户端的ID192。如果参照该数据表,则可以知道顺序控制对象的客户端。The client management unit 13 manages the target clients for which the server 1 performs sequence control. The client management unit 13 has a client data table 19 of registered clients of sequence control targets. The client data table 19 has, for example, as shown in FIG. 2 , an IP address 191 of the client and an ID 192 for identifying the client in the server. By referring to this data sheet, the client of the sequence control object can be known.

下面,使用图3的流程图,说明在具有上述结构的本系统1中,服务器10强制使客户端20进行页切换的处理步骤。Next, the processing procedure of the server 10 forcing the client 20 to switch pages in the system 1 having the above configuration will be described using the flowchart of FIG. 3 .

首先,顺序控制部12通过中继处理部15向客户端管理部13请求获取ID,获取注册在客户端数据表19中的客户端的ID(S11)。顺序控制部12生成页切换指令,通过中继处理部15通知给客户端管理部13(S12)。在页切换指令中附加了发送地ID。客户端管理部13把该ID转换为IP地址,从套接通信部25向客户端20发送页切换指令。First, the sequence control unit 12 requests the client management unit 13 to acquire an ID through the relay processing unit 15, and acquires the ID of the client registered in the client data table 19 (S11). The sequence control unit 12 generates a page switching command, and notifies it to the client management unit 13 via the relay processing unit 15 (S12). The destination ID is added to the page switching command. The client management unit 13 converts the ID into an IP address, and transmits a page switching command from the socket communication unit 25 to the client 20 .

在客户端20,请求发行指示部22通过套接通信部25获取页切换指令,指示Web浏览器21发行用于获取页切换指令中包括的URL的页(S14)。Web浏览器21根据该指示向服务器10发行请求(S15)。在服务器10,Web服务器11根据请求来返回响应(S16)。Web浏览器21接受该响应,切换使显示装置显示的页(S17)。In the client 20, the request issuance instructing unit 22 acquires the page switching command via the socket communication unit 25, and instructs the Web browser 21 to issue a page for acquiring the URL included in the page switching command (S14). The Web browser 21 issues a request to the server 10 according to the instruction (S15). At the server 10, the Web server 11 returns a response according to the request (S16). The Web browser 21 receives the response, and switches the page to be displayed on the display device (S17).

结果,服务器10可以强制使客户端20进行页切换。As a result, the server 10 can force the client 20 to perform page switching.

下面,使用图4的流程图说明显示顺序被预先确定的内容时的顺序控制部12的处理。此处,示例的顺序是由显示页1(空闲画面)→显示页2(认证开始画面)→显示页3(认证确认画面)→显示页4(个人画面)构成的认证程序。在该程序中,显示页2和显示页3的显示时间即使在经过一定的时间也不转移到下一画面时,作为到时而返回显示页1。Next, the processing of the sequence control unit 12 when displaying contents whose sequence is predetermined will be described using the flowchart of FIG. 4 . Here, the example sequence is an authentication program consisting of display page 1 (idle screen)→display page 2 (authentication start screen)→display page 3 (authentication confirmation screen)→display page 4 (personal screen). In this program, when the display time of the display page 2 and the display page 3 does not shift to the next screen even after a certain time elapses, it returns to the display page 1 as time-out.

顺序控制部12生成使显示页1的页切换指令发送给客户端20,使显示页1(S21)。顺序控制部12监视客户端20的状态变化,判定显示页是否已切换(S22)。在显示页已切换时(S22为是),判定新显示的显示页是否是显示页2(S23)。此处,在未切换为显示页2时(S23为否),由于不符合顺序,所以返回步骤S21,使强制显示页1。The sequence control unit 12 generates a page switching command to display the page 1 and sends it to the client 20 to display the page 1 (S21). The sequence control part 12 monitors the state change of the client 20, and determines whether the display page has been switched (S22). When the display page has been switched (YES in S22), it is determined whether or not the newly displayed display page is the display page 2 (S23). Here, when the page 2 is not switched to display (No in S23), since the sequence is out of order, it returns to step S21, and the page 1 is forcibly displayed.

在已切换为显示页2时(S23为是),由于符合顺序,所以转入下一步骤,判定显示页2的时间是否超过规定的时间(S24)。在显示页2的显示时间超过规定的时间时(S24为是),返回步骤S21,使强制显示页1。在未超过规定的时间时(S24为否),顺序控制部12监视客户端20的状态变化,判定显示页是否已切换(S25)。在显示页已切换时(S25为是),判定新显示的显示页是否是显示页3(S26)。此处,在未切换为显示页3时(S26为否),由于不符合顺序,顺序控制部12生成使显示页2的页切换指令,发送给客户端20,使显示页2,返回步骤S24(S31)。When switching to the display page 2 (S23 is Yes), because the order is met, so proceed to the next step to determine whether the time for displaying the page 2 exceeds the prescribed time (S24). When the display time of the displayed page 2 exceeds the predetermined time (YES in S24), the process returns to step S21 to forcibly display the page 1. When the predetermined time has not passed (S24: No), the sequence control part 12 monitors the state change of the client 20, and determines whether the display page has been switched (S25). When the display page has been switched (YES in S25), it is determined whether or not the newly displayed display page is the display page 3 (S26). Here, when the display page 3 is not switched (S26 is No), because the sequence does not conform to the order, the sequence control unit 12 generates a page switching command to display the page 2, and sends it to the client 20 to display the page 2, and returns to step S24 (S31).

在已切换为显示页3时(S26为是),由于符合顺序,所以转入下一步骤,判定显示页3的时间是否经过规定的时间(S27)。在显示页3的显示时间超过规定的时间时(S27为是),返回步骤S21,使强制显示页1。在未超过规定的时间时(S27为否),顺序控制部12监视客户端20的状态变化,判定显示页是否已切换(S28)。在显示页已切换时(S28为是),判定新显示的显示页是否是显示页4(S29)。此处,在未切换为显示页4时(S29为否),由于不符合顺序,顺序控制部12生成使显示页3的页切换指令,发送给客户端20,使显示页3,返回步骤S27(S32)。在已切换为显示页4时(S29为是),由于符合顺序,所以继续显示个人画面。这样,服务器10可以控制使客户端20显示的画面的顺序。When the display page 3 has been switched (YES in S26), because the order is met, the process proceeds to the next step, and it is judged whether the time for displaying the page 3 has passed the prescribed time (S27). When the display time of the displayed page 3 exceeds the predetermined time (YES in S27), the process returns to step S21 to forcibly display the page 1. When the predetermined time has not passed (S27: No), the sequence control part 12 monitors the state change of the client 20, and judges whether the display page was switched (S28). When the display page has been switched (YES in S28), it is determined whether or not the newly displayed display page is display page 4 (S29). Here, when the display page 4 is not switched (S29 is No), because the sequence does not conform to the order, the sequence control unit 12 generates a page switching command to display the page 3, and sends it to the client 20 to display the page 3, and returns to step S27 (S32). When the display page 4 has been switched (YES in S29), since the order is matched, the personal screen is continuously displayed. In this way, the server 10 can control the order of screens displayed on the client 20 .

下面,结合图5说明在本系统1中,服务器10从客户端20接受商品等订货时的处理步骤。Next, the processing procedure when the server 10 receives an order for a product or the like from the client 20 in the present system 1 will be described with reference to FIG. 5 .

首先,客户端20的Web浏览器21显示用于输入订货的订货画面。正在使用客户端20的用户向该画面输入必要信息,向服务器10发送请求(S41)。Web服务器11接受该请求时,把表示已接受订货的确认画面作为响应返回给Web浏览器21(S42)。First, the Web browser 21 of the client 20 displays an order screen for inputting an order. The user who is using the client 20 inputs necessary information on this screen, and sends a request to the server 10 (S41). When the Web server 11 accepts the request, it returns a confirmation screen indicating that the order has been accepted to the Web browser 21 as a response (S42).

然后,Web服务器11指示进行库存确认等规定的订货处理的订货处理部30进行处理(S43)。订货处理部30在完成规定的处理时,将该结果通知顺序控制部12(S44)。顺序控制部12生成使显示表示订货结果的订货结果画面的页切换指令,通过客户端管理部13发送给客户端20(S45、S46)。Then, the Web server 11 instructs the order processing unit 30 that performs predetermined order processing such as inventory check to perform processing (S43). When the order processing unit 30 completes the predetermined processing, it notifies the sequence control unit 12 of the result (S44). The sequence control unit 12 generates a page switching command for displaying an order result screen showing the order result, and sends it to the client 20 through the client management unit 13 (S45, S46).

在客户端20中,请求发行指示部22接受该指令,指示Web浏览器21发行用于获取显示页3的请求(S47)。Web浏览器21接受该请求,向Web服务器11请求获取订货结果画面,并显示所获取的画面。In the client 20, the request issuance instructing unit 22 receives the instruction, and instructs the Web browser 21 to issue a request for acquiring the display page 3 (S47). In response to this request, the Web browser 21 requests the Web server 11 to obtain an order result screen, and displays the obtained screen.

这样,在接受请求后,由于必须进行某种处理,所以即使在不能马上返回处理结果时,也可以先将对于请求(S41)的临时响应(S42)返回,由服务器将处理结束的时间通知客户端,使客户端获取显示处理结果的显示页。即,根据本实施方式,在拖曳型客户端及服务器的系统中,服务器可以进行强制客户端进行拖曳的推送。In this way, after accepting the request, some processing must be performed, so even if the processing result cannot be returned immediately, the provisional response (S42) to the request (S41) can be returned first, and the server will notify the client of the end of processing time. The terminal enables the client to obtain a display page displaying the processing result. That is, according to the present embodiment, in a system of a drag-and-drop client and a server, the server can push to force the client to drag.

上述的本发明的实施方式是为了说明本发明的示例,不得把本发明的范围仅限定于这些实施方式。本行业人士在不脱离本发明的技术思想的范围内可以利用其他各种方式来实施本发明。The above-mentioned embodiments of the present invention are for illustrating examples of the present invention, and the scope of the present invention should not be limited to these embodiments. Those skilled in the art can implement the present invention in various other ways without departing from the technical idea of the present invention.

Claims (7)

1. the system of client and server, this system comprises: possesses the client of browser and accepts HTTP request, return server the http response of described request from described browser,
Described server has:
Corresponding connection from described client is set up request, the linkage unit that uses socket and described client to connect;
Generation makes the instruction generation unit of the request that described browser stipulates;
The connection that use is set up by described linkage unit sends the transmitting element of the instruction of described generation to described client,
Described system features is that described server also has:
Storage has a plurality of content storage unit that show the content of page or leaf that DISPLAY ORDER is determined in advance;
When receiving the request of arbitrary page in described a plurality of demonstration pages or leaves from obtaining of described client, judge whether this request is the identifying unit that meets described DISPLAY ORDER,
When described request of obtaining did not meet described DISPLAY ORDER, described instruction generation unit generated and makes described client meet the instruction of the request of described DISPLAY ORDER.
2. the system of client according to claim 1 and server, described linkage unit also has the memory cell of the IP address of the client after storage connects,
Described instruction generation unit generates correspondingly has the instruction of the client of IP address in described cell stores,
Described transmitting element sends the instruction of described generation with reference to described memory cell.
3. server, this server has:
Acceptance is returned the response unit of the response of corresponding described request from the request of client to described client;
Generation makes the instruction generation unit of the instruction of the request that described client stipulates; With
Send the instruction sending unit of the instruction of described generation to described client,
Described server is characterised in that also have:
Storage has a plurality of content storage unit that show the content of page or leaf that DISPLAY ORDER is determined in advance;
When receiving the request of arbitrary page in described a plurality of demonstration pages or leaves from obtaining of described client, judge whether this request is the identifying unit that meets described DISPLAY ORDER,
When described request of obtaining did not meet described DISPLAY ORDER, described instruction generation unit generated and makes described client meet the instruction of the request of described DISPLAY ORDER.
4. information processor, this information processor has:
Accept the HTTP request from the Web browser that client has, return the Web server of the http response of corresponding described request;
Set up request according to connection, the linkage unit that uses socket and described client to connect from described client;
Generation makes described Web browser send the instruction generation unit of instruction of the HTTP request of regulation to described Web server; With
The connection that use is set up by described linkage unit sends the instruction sending unit of the instruction of described generation to described client,
Described information processor is characterised in that described Web server also has:
Storage has a plurality of content storage unit that show the content of page or leaf that DISPLAY ORDER is determined in advance;
When receiving the request of arbitrary page in described a plurality of demonstration pages or leaves from obtaining of described client, judge whether this request is the identifying unit that meets described DISPLAY ORDER,
When described request of obtaining did not meet described DISPLAY ORDER, described instruction generation unit generated and makes described client meet the instruction of the request of described DISPLAY ORDER.
5. information processor according to claim 4 is characterized in that, described instruction comprises the URL of the Web page or leaf that makes described Web browser demonstration.
6. method that client is asked, this method has:
Acceptance is returned the step of the response of corresponding described request from the request of client to described client;
Generation makes the generation step of the instruction of the request that described client stipulates; With
Send the step of the instruction of described generation to described client,
Described method feature is also have:
Storage in advance has a plurality of steps that show the content of page or leaf that DISPLAY ORDER is determined in advance,
When the described request that receives from client be obtain described a plurality of when showing arbitrary page in the page or leaf request, judge whether this request is to meet described DISPLAY ORDER, when described request of obtaining did not meet described DISPLAY ORDER, generation made described client meet the instruction of the request of described DISPLAY ORDER in described generation step.
7. method that client is asked, this method has:
Reception is asked from the HTTP of the Web browser that client has, and returns the step of the http response of corresponding described request;
Corresponding connection from described client is set up request, the step of using socket and described client to connect;
The generation step of the instruction that the HTTP that generation makes described Web browser carry out the regulation of corresponding described Web server asks;
Use the connection of described foundation, send the step of the instruction of described generation to described client,
Described method feature is also have:
Storage in advance has a plurality of steps that show the content of page or leaf that DISPLAY ORDER is determined in advance,
When the described request that receives from client be obtain described a plurality of when showing arbitrary page in the page or leaf request, judge whether this request is to meet described DISPLAY ORDER, when described request of obtaining did not meet described DISPLAY ORDER, generation made described client meet the instruction of the request of described DISPLAY ORDER in described generation step.
CNB2004100347460A 2003-05-26 2004-05-09 Jp2004348666 Expired - Fee Related CN100352195C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP147937/2003 2003-05-26
JP2003147937A JP2004348666A (en) 2003-05-26 2003-05-26 Client-server system, server, and information processing system

Publications (2)

Publication Number Publication Date
CN1574742A CN1574742A (en) 2005-02-02
CN100352195C true CN100352195C (en) 2007-11-28

Family

ID=33534325

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100347460A Expired - Fee Related CN100352195C (en) 2003-05-26 2004-05-09 Jp2004348666

Country Status (2)

Country Link
JP (1) JP2004348666A (en)
CN (1) CN100352195C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296236B (en) * 2008-06-12 2011-06-08 北京中星微电子有限公司 Method, system and data client terminal for multi-user real-time access to multimedia data
CN101854367A (en) * 2010-06-13 2010-10-06 用友软件股份有限公司 Method and system for server side to monitor client

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1210308A (en) * 1997-06-04 1999-03-10 国际商业机器公司 Applet redirection for controlled access to non-originating hosts
CN1210409A (en) * 1997-08-28 1999-03-10 国际商业机器公司 Server-side asynchronous form management
CN1305145A (en) * 1999-11-30 2001-07-25 国际商业机器公司 Information control system and information processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1210308A (en) * 1997-06-04 1999-03-10 国际商业机器公司 Applet redirection for controlled access to non-originating hosts
CN1210409A (en) * 1997-08-28 1999-03-10 国际商业机器公司 Server-side asynchronous form management
CN1305145A (en) * 1999-11-30 2001-07-25 国际商业机器公司 Information control system and information processing method

Also Published As

Publication number Publication date
CN1574742A (en) 2005-02-02
JP2004348666A (en) 2004-12-09

Similar Documents

Publication Publication Date Title
US20060059246A1 (en) System and method for connection optimization
US10225362B2 (en) Processing DNS queries to identify pre-processing information
CN1271502C (en) Creation of printer example based on internet in working station
JP5022301B2 (en) Proxy server, communication relay program, and communication relay method
US20150081896A1 (en) Latency measurement in resource requests
US20090144395A1 (en) System and method for optimizing content retrieval over a data network
CN101662464A (en) System for realizing HTTP request service and method thereof
CN1638338A (en) Method and system for session sharing
IL167256A (en) Remote dynamic configuration of a web server to provide capacity demand
EP1473903B1 (en) Information processing apparatus and session management method
JP2004530192A (en) Web-based imaging system using cookies to provide single-operation printing options
KR20030095868A (en) Web-contents display apparatus and method in mobile communication terminal such as pda
WO2007085164A1 (en) A method and a system for reporting the renewal information of the client property
CN100352195C (en) Jp2004348666
US6954777B1 (en) Method for extending capabilities of an arbitrary web server
JP2000090000A (en) How to operate the client computer
US8832281B2 (en) Utilizing resources of a peer-to-peer computer environment
KR100351478B1 (en) Method for setting up and using preference in web browser
US20030154290A1 (en) System and method for realtime-controlling web brower of user
KR100365137B1 (en) System and method for maintaining a mobile internet connection
CN1794730B (en) Enhanced internet session management protocol
US7620734B2 (en) System and method for distributing foveated data in a network
JP2005107662A (en) Www system processing method and system
JP2001147877A (en) Information offering device, information relay device, document data display method and computer program product for displaying document data
WO1997038375A1 (en) An internet server and method of controlling an internet 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1070506

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1070506

Country of ref document: HK

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071128

Termination date: 20170509