WO2006043489A1 - サーバ - Google Patents
サーバ Download PDFInfo
- Publication number
- WO2006043489A1 WO2006043489A1 PCT/JP2005/018998 JP2005018998W WO2006043489A1 WO 2006043489 A1 WO2006043489 A1 WO 2006043489A1 JP 2005018998 W JP2005018998 W JP 2005018998W WO 2006043489 A1 WO2006043489 A1 WO 2006043489A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- command
- transmission
- processing device
- determination
- instruction
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Definitions
- a server that mediates data communication between a command processing device and a processing requesting device.
- the prior art can accurately mediate data communication between the command processing device and the processing requesting device.
- the execution result includes a large amount of data such as a moving image, a heavy load is applied.
- the main object of the present invention is to provide a new server.
- Another object of the present invention is to provide a server that can accurately mediate data communication between a command processing device and a processing requesting device while reducing a load.
- the server according to the invention of claim 1 has the following: When a transmission request for requesting transmission of a command to the command processing device is received from the processing requesting device, it is determined whether or not the processing requesting device satisfies a predetermined condition. Determining means; first transmitting means for transmitting a command to the command processing device when the determination result of the determining means is indefinite; receiving means for receiving the execution result of the command transmitted by the first transmitting means from the command processing device The second transmission for transmitting the execution result received by the receiving means to the processing requesting device. First means for instructing the command processing device to prepare for receiving a command when the determination result of the determination means is affirmative; and to the command processing device in relation to the instruction of the first instruction means A command that instructs the processing requesting device to send a command directly.
- the determination means determines whether or not the processing requesting device satisfies a predetermined condition when a transmission request for requesting transmission of a command to the command processing device is received from the processing requesting device.
- the first transmitting means transmits a command to the command processing device.
- the receiving means receives the execution result of the command transmitted by the first transmitting means from the command processing apparatus, and the second transmitting means transmits the execution result received by the receiving means to the process requesting apparatus.
- the determination result of the determination means is affirmative, instructs the command processing device to prepare for receiving the command, and the second instruction means relates to the instruction of the first instruction means. Instructs the processing requesting device to send a command directly to the command processing device.
- the processing requesting device When the processing requesting device does not satisfy the predetermined condition, send the command to the command processing device, receive the execution result of the transmitted command from the command processing device, and send the received execution result to the processing requesting device. Do. When the processing requesting device satisfies the predetermined condition, the command processing device is instructed to receive a command, and the command is sent directly to the command processing device. A command and an execution result are directly exchanged between the processing device and the processing requesting device. Therefore, data communication between the command processing device and the processing requesting device can be accurately mediated while reducing the load.
- the server according to the invention of claim 2 is dependent on claim 1, the command processing device receives the command through the route, and the preparation process is a process for requesting disclosure of an arbitrary port.
- the server according to the invention of claim 3 is further dependent on claim 2 and further comprises acquisition means for acquiring from the command processing device the identifier of the port disclosed according to the instruction of the first instruction means, wherein the second instruction means is obtained by the acquisition means. Assign destination information including the acquired identifier to the instruction.
- the command processing device receives a command through the router, the command processing device Any port is disclosed through the device, the identifier of the public port is acquired from the command processing device, and the destination information including the identifier of the public port is notified to the processing requesting device. It can be sent directly to the command processing unit.
- the server according to the invention of claim 4 is dependent on claim 1, the predetermined condition includes a condition that the capability of the processing requesting device is higher than a threshold value, and the second transmission means requests processing of the amount of data included in the execution result.
- a reduction means for reducing according to the capability of the apparatus is included.
- the capacity of the processing requesting device When the capacity of the processing requesting device is low, the amount of data included in the received execution result is reduced according to the capability of the processing requesting device, so even the processing requesting device with low capacity can use the execution result without difficulty. it can.
- the server according to the invention of claim 5 is dependent on claim 4, the capability includes display capability, the execution result includes image data, and the reducing means resizes the image data according to the display capability. As a result, even a processing requesting device with low display capability can easily display an image.
- a server is dependent on claim 1 and the transmission request includes any one of a plurality of user identifiers, further comprising: for each of a plurality of user identifiers and a plurality of user identifiers A registration means for registering customer information including at least the assigned service type; an extraction means for extracting a user identifier from a transmission request before the discrimination means makes a determination; an assignment to the user identifier extracted by the extraction means Identifying means for identifying the specified service type based on customer information; and a first means for invalidating the determining means, the first transmitting means, the receiving means and the second transmitting means when the identification result of the identifying means indicates the first type.
- the invalidation means and the first instruction means issue a command when invalidation by the first invalidation means is performed.
- the registration means registers customer information including at least the plurality of user identifiers and the service type assigned to each of the plurality of user identifiers.
- the extraction means extracts the user identifier from the transmission request, and the identification means identifies the service type assigned to the user identifier extracted by the extraction means based on the customer information.
- the first invalidation means determines the discrimination means, The first transmission means, the reception means and the second transmission means are invalidated.
- the first command means issues a command when invalidation by the first invalidation means is performed.
- the command is sent to the command processing device regardless of whether the processing requesting device satisfies the predetermined condition.
- the command execution result is received from the command processing device, and the received execution result is transmitted to the processing requesting device.
- the server according to the invention of claim 7 is dependent on claim 6, and further comprises second invalidation means for invalidating the first command means and the second command means when the identification result of the identification means indicates the second type,
- the transmission means transmits when invalidation by the second invalidation means is performed.
- the service type assigned to the user identifier included in the transmission request is the second type
- preparation processing for receiving a command is performed on the command processing device regardless of whether the processing requesting device satisfies a predetermined condition. In addition to instructing the processing requesting device to send the command directly to the command processing device.
- the server according to the invention of claim 8 has the following: When a transmission request for requesting transmission of a command to the command processing device is received from the processing requesting device, the amount of data included in the execution result of the command is greater than the threshold value A data amount discriminating means for discriminating whether the data amount discriminating means; a first transmitting means for transmitting a command to the command processing device when the discrimination result of the data amount discriminating means is negative; an execution of the command transmitted by the first transmitting means; A receiving means for receiving a row result from the command processing device; a second sending means for sending the execution result received by the receiving means to the processing requesting device; for receiving a command when the determination result of the data amount determining means is affirmative First command means for instructing the command processing device to perform a preparatory process; and direct transmission of commands to the command processing device in relation to the instructions of the first command means Second command means for instructing the processing
- the data amount determination means determines whether or not the amount of data included in the command execution result is greater than the threshold when a transmission request for requesting transmission of a command to the command processing device is received from the processing request device. To do. The determination result of the data amount determination means is negative. At some time, the first transmission means transmits a command to the command processing device. The receiving means receives the execution result of the command transmitted by the first transmitting means from the command processing apparatus, and the second transmitting means transmits the execution result received by the receiving means to the process requesting apparatus. When the determination result of the data amount determination means is affirmative, the first instruction means instructs the command processing device to prepare for receiving the command, and the second instruction means follows the instruction of the first instruction means. Relatedly, it instructs the processing requesting device to send a command directly to the command processing device.
- command transmission to the command processing device When the amount of data included in the command execution result is less than or equal to the threshold, command transmission to the command processing device, reception of the transmitted command execution result from the command processing device, and processing of the received execution result Send to requesting device.
- the command processing device When the amount of data included in the command execution result is greater than the threshold, the command processing device is instructed to prepare for receiving the command, and the command requesting device is directly transmitted to the command processing device. By instructing, commands and execution results are directly exchanged between the command processing device and the processing requesting device. For this reason, data communication between the command processing device and the processing requesting device can be accurately mediated while reducing the load.
- a server according to the invention of claim 9 is dependent on claim 8 and further comprises: load determination means for determining whether the load is below the first threshold before the data amount determination means makes a determination; When the determination result of the load determination means is affirmative, the first invalidation means for invalidating the data amount determination means, and the first command means issue an instruction when the determination result of the load determination means is affirmative.
- the load determining means determines whether or not the load is below the first threshold before the data amount determining means makes a determination.
- the first invalidating means invalidates the data amount judging means when the determination result of the load judging means is affirmative.
- the first transmission means performs transmission when the determination result of the charging determination means is affirmative.
- the data amount determination means is invalidated, so that neither the instruction by the first instruction means nor the instruction by the second instruction means is performed.
- the first transmission means performs transmission, and accordingly, reception by the reception means and transmission by the second transmission means are also executed.
- the server according to the invention of claim 10 is dependent on claim 9, and is a charge determination means for determining whether or not the process according to the command is charged before the load determination means makes a determination, and the determination of the charge determination means When the result is affirmative, it further comprises a second invalidation means for invalidating the data amount determination means and the load determination means, and the first command means issues an instruction when the determination result of the charge determination means is affirmative.
- the charging determination means determines whether or not the process according to the command is to be charged before the load determination means makes a determination.
- the second invalidation means invalidates the data amount determination means and the load determination means when the determination result of the charging determination means is affirmative.
- the first transmission means performs transmission when the determination result of the charging determination means is affirmative.
- both the data amount determination means and the load determination means are invalidated, so that both the instruction by the first instruction means and the instruction by the second instruction means are executed. Absent.
- the first transmission means performs transmission, and accordingly, reception by the reception means and transmission by the second transmission means are also executed. If processing according to the command is subject to billing, communications can be made “via the server” regardless of the amount of load or the amount of data, so billing can be performed accurately.
- a mediation method is a method for mediating data communication between a command processing device and a processing requesting device, comprising: a transmission request for requesting transmission of a command to the command processing device A determination step for determining whether or not the processing requesting device satisfies a predetermined condition; a first transmission step for transmitting a command to the command processing device when the determination result of the determination step is negative Receiving step for receiving the execution result of the command sent in the first sending step from the command processing device; second sending step for sending the execution result received in the receiving step to the processing requesting device; discriminating the discriminating step A first instruction step that instructs the command processor to prepare for receiving a command when the result is positive; Beauty second instruction step of instructing the processing request unit directly transmitting a command to the associated to the command processor to the instruction of the first instruction step.
- a control program includes a command processing device and a processing request device.
- a control program executed by a server processor that mediates data communication with a device, and includes the following: Accepts a transmission request from a processing request device for requesting transmission of a command to a command processing device.
- a determination step for determining whether or not the processing requesting device satisfies a predetermined condition a first transmission step for transmitting a command to the command processing device when a determination result of the determination step is negative; a first transmission step A reception step of receiving the execution result of the command transmitted by the command processing device; a second transmission step of transmitting the execution result received by the reception step to the processing requesting device; a command when the determination result of the determination step is affirmative
- a second instruction step that instructs the processing requesting device to send a command directly to the command processing device in relation to the instruction of one instruction step.
- the recording medium according to the invention of claim 13 records the control program of claim 12.
- a mediation method is a method for mediating data communication between a command processing device and a processing requesting device, comprising: a transmission request for requesting transmission of a command to the command processing device When determining whether or not the amount of data included in the command execution result is greater than the first threshold, the determination result of the data amount determination step is negative.
- the first transmission step for transmitting a command to the command processing device at a certain time; the reception step for receiving the execution result of the command transmitted by the first transmission step from the command processing device; the execution result received by the reception step
- a second transmission step for transmitting a command to the processing requesting device; a preparation process for receiving a command when the determination result of the determinant amount determination step is affirmative
- the first instruction step to instruct the command processing unit; and a second instruction step for instructing a processing request unit directly transmitting a command to the associated to the command processor to the instruction of the first instruction step.
- a control program according to the invention of claim 15 is a control program executed by a processor of a server that mediates data communication between a command processing device and a processing requesting device, and comprises the following: command processing device Included in the command execution result when a request to send a command to the device is received from the processing requesting device.
- a data amount determination step for determining whether the amount of data to be received is greater than a first threshold; a first transmission step for transmitting a command to the command processing device when the determination result of the overnight amount determination step is negative; Reception step for receiving the execution result of the command transmitted by the first transmission step from the command processing device; Second transmission step for transmitting the execution result received by the reception step to the processing requesting device; Determination of the overnight amount determination step A first instruction step that instructs the command processor to prepare to receive a command when the result is positive; and processes the direct transmission of the command to the command processor in connection with the instruction of the first instruction step. Second command step to command the requesting device.
- the recording medium according to the invention of claim 16 records the control program of claim 15.
- FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention
- Figure 2 is an illustration showing the customer information database
- Figure 3 is an illustration showing the terminal information database
- Figure 4 is an illustration showing the client information database
- Fig. 5 (A) is a sequence diagram showing the communication method according to the "via server” method
- Fig. 5 (B) is an illustrative diagram showing the structure of the access packet
- Fig. 6 (A) is a sequence diagram showing the communication method according to the "no server” method
- Fig. 6 (B) is an illustrative diagram showing the structure of the access packet
- Figure 6 (C) is an illustration showing the structure of the port notification packet
- Fig. 6 (D) is an illustrative diagram showing the structure of the redirect command packet
- Fig. 7 is a flow diagram showing a part of the operation of the server CPU
- FIG. 8 is a flowchart showing another part of the operation of the server CPU.
- FIG. 9 is a flow diagram showing the rest of the operation of server CPU
- Figure 10 is a flowchart showing a part of the operation of the client CPU
- Figure 11 is a flow diagram showing some of the operations of the server CPU in another embodiment.
- FIG. 12 is a flowchart showing another part of the operation of the server CPU in another embodiment.
- surveillance camera system 10 of this embodiment includes a web camera 12 that is a client, and a server 14.
- the server 14 is connected to the Internet 20 via a dedicated line (not shown), and the Web camera 12 is connected to the same Internet 20 via the router 16 and the DSL modem 18.
- the router 16 not only the web camera 12 but also other clients such as information appliances and PCs are connected to the router 16 as necessary.
- the type corresponding to the UPnP (Universal Plug & Play) protocol is used.
- This type of router has a function to open a desired port in response to a client request.
- a mobile phone 22a and a personal computer (PC) 22b are connected to the Internet 20 via a gateway, modem or the like not shown.
- the Web camera 12 accepts operations from the mobile phone 22 a and the PC 22 b through the server 14 or directly without passing through the server 14. Specific operations include, for example, operations such as adjusting sensitivity and zoom magnification through the imaging unit 24 and camera processing circuit 26, and controlling the direction of the web camera 12 through a drive unit (not shown). .
- a database is stored in the hard disk 44d of the server 14, and the server 14 executes processes such as authentication, distribution, and mediation based on this DB.
- the DB includes a customer information DB shown in FIG. 2, a terminal information DB shown in FIG. 3, and a client information DB shown in FIG.
- the service type, user ID, and password are registered for each user registered as a customer.
- Use service A For users, the “server non-passing” method is always applied as a method for communication between terminals and clients.
- the “via server” method is applied when accessing from mobile phone 2 2 a, and the “non-server” method is applied when accessing from PC 2 2 b.
- the “via server” method is always applied.
- the user ID and password are used for authentication processing to determine whether the user who has accessed the server 14 is a legitimate user.
- terminal information DB parameters indicating the capabilities of various terminals used by the user are registered.
- display capability that is, the maximum resolution of the monitor screen is registered.
- the maximum resolution is used to perform resizing processing to adapt the size of the image included in the execution result to the terminal screen when the execution result received from the client is sent to the terminal.
- the communication speed, processing speed, storage capacity, etc. may be registered instead of or together with the maximum resolution.
- one or more parameters that indicate the capabilities of the terminal are registered in the terminal information DB.
- the server 14 executes an optimization process for optimizing the execution result for each terminal based on one or more registered parameters. Specific examples of optimization processing include resizing processing, frame rate conversion, and compression rate change processing.
- the server 14 sends the command received from the terminal to the client based on the IP address and port number registered in the client information DB. To do.
- the server 14 instructs the client ⁇ to issue a point disclosure request requesting the router 16 to release any port.
- the public port number is obtained from the client, and the obtained public port number and the IP address registered in the client information DB are notified to the terminal.
- the terminal sends a command to the destination specified by the notified address and port number.
- Fig. 5 (A) shows the communication protocol according to the "via server” method
- Fig. 6 (A) shows the communication protocol according to the "via server” method.
- “Service B” is assigned to the user, so when the user accesses the server 14 from the mobile phone 2 2 a, the “via server” method is selected and the PC 2 2 b When accessed, the “through server” method is selected.
- the access packet transmitted from the cellular phone 2 2 a is received by the server 14.
- the user ID, terminal type, password, and command transmission request are stored in the data area of the access packet. Note that in the case of a terminal that is used only by a specific user such as the mobile phone 22a, if the device ID described in the header area is used as the user ID, the user ID can be omitted from the data area. In other words, the user does not have to input his / her ID into the terminal during access.
- the server 14 extracts information such as user ID, terminal type, password, and command transmission request from the received access packet, and stores the extracted information in the RAM 36.
- the information in RAM 36 is backed up from time to time by the hard disk drive (HD D) 44 (the same applies hereinafter). Then, based on the IP address port number described in the client information DB (see Fig. 4), the client is notified of "command present".
- the server 14 identifies the service type by searching the customer information DB (see Fig. 2) using the extracted user ID as a key, and based on the identified service type and the extracted terminal type. Determine the communication method. In this case, since the service type is “B” and the terminal type is “mobile phone”, the communication method is determined as “via server”.
- the client Upon receiving the notification, the client (Web camera 12) establishes a TCP (Transmission Control Protocol) connection with the server 14, and then requests a command from the server 14.
- the server 14 that received the request sends a command to the client according to the transmission request stored in the RAM 36 because the communication method is “via server”.
- the client executes processing according to the command, and sends the execution result to the server 14.
- Server 1 4 receives the execution result and sends the received execution result to the mobile phone. 2 2 Send to a.
- the server 14 refers to the terminal information DB (see FIG. 3) and determines whether the size of the image included in the execution result matches the resolution of the monitor screen (not shown) of the mobile phone 2 2a. If it does not fit, the image is resized.
- the mobile phone 2 2 a receives the transmitted execution result and displays the received execution result on the monitor screen.
- the access packet transmitted from PC 2 2 b is received by server 14.
- the user ID, terminal type, password, and command transmission request are stored in the data area of the access packet.
- the server 14 extracts information from the received access packet, holds the extracted information in the RAM 36, and notifies the client of “command present”. After the notification, the server 14 specifies the service type and determines the communication method. In this case, since the service type is “B” and the terminal type is “PC”, the communication method is determined as “non-server”.
- a client that has received a “command present” notification requests a command from the server 14.
- the server 14 that received the request instructs the client to issue a “port disclosure request” instead of sending a command because the communication method is “through the server”.
- a client that has received a command to issue a “port disclosure request” requests router 16 to disclose an arbitrary port. Lou Yu 16 opens the port as requested. After that, the client sends a port notification packet to the server 14. As shown in Fig. 6 (C), the port number of the public port is described in the area of the port notification packet.
- Server 14 receives the port notification packet and sends a redirect command packet to PC 2 2 b.
- a redirect command packet As shown in Fig. 6 (D), the IP address of the client, the public port number extracted from the port notification packet, and the redirect command are described in the data area of the redirect command packet.
- the IP address is read from the client information DB (see Fig. 4).
- PC 2 2 b receives the redirect command packet and sends a command to the client.
- the command is sent with the IP extracted from the redirect instruction packet. This is done for the destination specified by the address and port number.
- the client executes processing according to the command, and sends the execution result to the PC 22 b.
- the PC 22b receives the transmitted execution result and displays an image based on the received execution result on a monitor screen (not shown). Thereafter, until the public port is closed, the PC 22b can send a command directly to the client and receive an execution result directly from the client.
- the CPU 42 of the server 14 executes the authentication Z distribution task shown in FIGS. 7 and 8 and the mediation task shown in FIG.
- the authentication distribution task is always activated, and the CPU 42 performs authentication when access is received from the terminal according to the authentication distribution task, and executes distribution processing when authentication is established.
- the mediation task is started after the distribution process is completed.
- the CPU 42 processes two tasks in parallel under the control of a multitasking OS such as / C I TRON.
- the control program corresponding to these flowcharts is stored in the ROM 38.
- step S 1 CPU 42 determines whether or not an access packet (see FIGS. 5B and 6B) has been received through network controller 40.
- the process proceeds to step S3, where the user ID, terminal type, password, and command transmission request are extracted from the access packet.
- the extracted information is held in the RAM 36.
- step S5 the customer information DB (see Fig. 2) is searched, and the authentication process using the user ID and password is performed.
- step S7 it is determined whether or not authentication is established. Specifically, it is determined whether or not the user ID and password extracted from the access packet match the registered information in the customer information DB, and if they match, authentication is established. If the authentication is not established, an error is notified to the terminal in step S13, and then the process returns to step S1.
- step S7 When authentication is established, the process moves from step S7 to step S9, and distribution processing (described later) is performed.
- distribution processing (described later) is performed.
- the mediation task is activated in step S11, and then the process returns to step S1.
- step S9 follows the subroutine shown in FIG. See Figure 8
- the CPU 42 searches the customer information DB (see FIG. 2) to identify the service type. Specifically, the service type corresponding to the user ID extracted in step S3 is read from the customer information DB.
- steps S 23 and S 25 it is determined whether the read service type is “A”, “B”, or “C”. If the service type is “A”, the process proceeds from step S 23 to step S 29 and the communication method is determined as “non-server”. If the service type is “B”, the process moves from step S 25 to step S 27. If the service type is “C”, the process proceeds from step S 25 to step S 31 and the communication method is determined to be “via server”.
- step S 27 it is determined whether or not the read terminal type is a PC. If the determination result is affirmative, the process proceeds to step S 29 and the communication method is determined as “non-server”. If the determination result is negative, the process proceeds to step S31 and the communication method is determined as “via server”.
- the communication method is determined as “no server” regardless of the terminal type, and if the service type is "C”, the communication method is “via server” regardless of the terminal type. "Determined.
- the service type is “B”
- the terminal type is PC
- the communication method is determined as “non-server”
- the terminal type is a mobile phone
- step S 41 when the mediation task is activated, CPU 42 notifies the client of “command present” in step S 41, and waits for a command request from the client in step S 43.
- the process proceeds to step S45, where it is determined whether or not the communication method is “no server”. The determination is made with reference to Regis R. If the result of this determination is affirmative, steps S47 to S51 are executed, and if negative, steps S53 to S63 are executed.
- step S 47 the client is instructed to issue a “port disclosure request”.
- step S49 the client sends a port notification packet (see Fig. 6 (C)). Wait for it to arrive.
- a redirect command bucket see Fig. 6 (D) is sent to the terminal in step S51. After sending the redirect command packet, this task is terminated.
- step S 53 a command is sent to the client.
- step S 5 5 it waits for an execution result sent from the client.
- the process proceeds to step S 57 and the terminal information DB (see Fig. 3) is searched to identify the maximum resolution of the terminal. Specifically, the maximum resolution corresponding to the terminal type extracted in step S3 is read from the terminal information DB.
- step S 59 it is confirmed whether the size of the image included in the received execution result does not exceed the specified maximum resolution.
- step S63 If the image size is within the maximum resolution, go to step S63. If the image size exceeds the maximum resolution, the resizing process is performed in step S 61, and then the process proceeds to step S 63. In step S 63, the execution result is transmitted to the terminal. After sending the execution result, this task is finished.
- the C P U 28 of the client executes processing according to the command according to the command execution task shown in FIG.
- the command execution task is started when the remote operation mode is turned on via an operation panel (not shown), and is ended when the remote operation mode is turned off.
- C P U 28 receives a command from the terminal via the server or not via the server, executes processing according to the command, and transmits the execution result to the terminal via the server or not via the server.
- C P U 28 processes a plurality of tasks in parallel under the control of a multitask OS such as ITRON.
- the control program corresponding to this flowchart is stored in the flash memory 30.
- step S 8 CPU 2 8 determines whether or not “command is present” notification is received from server 14. When the notification is received, the process proceeds to step S 83 and requests a command from the server 14. Thereafter, the loop of steps S 8 5 and S 8 7 is entered. In step S85, it is determined whether or not a command from server 14 has been received. In step S87, a command to issue a "port disclosure request" has been received. Determine whether or not.
- step S 8 5 When the command from the server 14 is received, it is determined as Y E S in step S 8 5, the process proceeds to step S 8 9, and processing according to the command is executed. In the next step S 9 1, the execution result is transmitted to the server 14, and then the process returns to step S 8 1.
- step S 8 7 When receiving a “port release request” command, it is determined as Y E S in step S 8 7, the process proceeds to step S 93, and a request is made to open any port in 16.
- step S 9 5 the server 14 is notified of the public port number. Thereafter, the loop of steps S 9 7 and S 9 9 is entered.
- step S 97 it is determined whether a command from the terminal has been received.
- step S 99 it is determined whether an end event has occurred.
- step S 97 When a command from the terminal is received, it is determined as Y ES in step S 97, and the process proceeds to step S 1 0 3 to execute processing according to the command. In the next step S 1 0 5, the execution result is transmitted to the terminal, and then the process returns to the loop of steps S 9 7 and S 9 9.
- end events include receiving end notifications from terminals or servers 14 and detecting timeouts.
- the server 14 of this embodiment accepts access from a terminal (mobile phone 2 2 a, PC 2 2 b), the type of service assigned to the user of the terminal and the terminal Based on the type of device, that is, the capability of the terminal, select either “via server” or “no server” method.
- “Bypass server” is selected for access from PC 2 2 b with high capabilities such as display, information processing, and communication, and for access from mobile phone 2 2 a with low capability “ “Via server” is selected.
- automatic selection based on the capabilities of such terminals is not performed, and even if accessed from PC 2 2 b, Even when accessing from the telephone 2 2 a, it is possible to set so that “pass through server” is always selected, and it is possible to set so that “pass through server” is always selected.
- the server 14 sends a command to the client (Web camera 1 2), receives the execution result of the process according to the command from the client, and sends the received execution result to the terminal Send to.
- the server 14 first instructs the client to prepare for receiving the command. Specifically, the client is instructed to issue a port disclosure request that requests the opening of any port to the router 16. Next, the published port number is obtained from the client, and the terminal is instructed to send a command to the destination specified by the destination information including the obtained number.
- the execution results can be optimized for the terminal.
- the load can be reduced by selecting the “through-the-server” method.
- One of these two communication methods is automatically selected based on the capability of the terminal, which makes the user troublesome operation.
- the terminal can use the execution result without any problem: Specifically, when accessing from a mobile phone 2 2 a with low display capability, “via server” is automatically selected, and the server 14 Since the image included in the execution result is resized, the mobile phone 22 a can display the entire image on the monitor screen without the user performing a scroll operation.
- the server 14 selected either the “via server” method or the “non-server” method based on the terminal capability, but the amount of data included in the command execution result and the load
- the communication method can also be selected based on the size of the device and whether or not to charge. In the following, another embodiment for performing selection based on such criteria will be described.
- FIG. 1 to FIG. 7 and FIG. 10 are also used in this embodiment, and redundant description is omitted.
- the distribution process shown in step S9 in FIG. 7 follows the subroutine in FIG.
- the mediation task shown in step S 11 is executed according to the flowchart of FIG. Referring to FIG. 11, in step S121, CPU 42 analyzes the command transmission request extracted from the access packet (see FIG. 5B and FIG. 6B). In step S123, it is determined whether or not processing according to the command is subject to billing. If so, proceed to step S133 to determine “via server” as the communication method.
- step S 125 determines whether or not the current load of the CPU 42 itself is below the threshold value S. If the load is below the threshold value S, the process proceeds to step S 133. Determine the communication method as "via server”. If the load has reached the threshold value S, the process proceeds to step S127 to determine whether or not a moving image is included in the command execution result. If a moving image is included in the execution result, the process proceeds to step S131, and the communication method is determined as “non-server”.
- step S129 If no moving image is included in the execution result, the process moves to step S129, and it is further determined whether or not the amount of data included in the execution result exceeds the threshold value T. If the amount of data exceeds the threshold value T, the process proceeds to step S131, and the communication method is determined as “without server”. If the amount of data does not exceed the threshold T, the process proceeds to step S133, and the communication method is determined as “via server”.
- the “via server” method is selected regardless of the load and the amount of data. If processing according to the command is not subject to billing, the “via server” method is selected when the load on the CPU 42 is light. When the load on CPU42 is heavy, the execution result includes a video, or when the amount of data in the execution result is large, the “through server” method is selected, the execution result does not include a video, and the execution result If the amount of data is small, the “via server” method is selected.
- steps S41 to S55 are the same as steps S41 to S55 in FIG.
- the CPU 42 proceeds to step S59a.
- step S 59 a it is determined whether or not processing according to the transmitted command is chargeable. If the determination result is affirmative, step S 6 la Charge processing is performed, and then the process proceeds to step S 63.
- charging is performed for the customer corresponding to the user ID extracted in step S 3 (see FIG. 7).
- step S 63 the execution result is transmitted to the terminal. After sending the execution result, this task is finished.
- the server 14 selects “via server if the process according to the command is chargeable” and receives the execution result received from the client (Web camera 1 2).
- charge processing is performed. If processing according to the command is not subject to billing, select the “via server” method when the load on C P U 4 2 is light.
- the load on CPU 4 2 is heavy, if the execution result includes a video, or if there is a large amount of execution result, select the “Non-server” method, and the execution result does not include a video and is executed If the resulting data volume is small, select the “via server” method.
- processing according to the command is subject to billing, you can be surely billed by selecting the “via server” method, and if not subject to billing, it is included in the execution result when the load on CPU 4 2 is heavy. It is possible to reduce the load on the CPU 42 by appropriately selecting the “non-server” method according to the data mode and data amount.
- the surveillance camera system 10 including the web camera 12 and the server 14 has been described.
- the present invention includes a server and a command processing device (client) that executes processing according to a command notified from the server. Can be applied to any processing system.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Description
Claims
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US11/665,457 US20080126646A1 (en) | 2004-10-20 | 2005-10-11 | Server |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004305114A JP4568078B2 (ja) | 2004-10-20 | 2004-10-20 | サーバ |
| JP2004-305114 | 2004-10-20 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2006043489A1 true WO2006043489A1 (ja) | 2006-04-27 |
Family
ID=36202905
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2005/018998 Ceased WO2006043489A1 (ja) | 2004-10-20 | 2005-10-11 | サーバ |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20080126646A1 (ja) |
| JP (1) | JP4568078B2 (ja) |
| WO (1) | WO2006043489A1 (ja) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4312136B2 (ja) * | 2004-09-17 | 2009-08-12 | 三洋電機株式会社 | コマンド処理装置 |
| US7827275B2 (en) * | 2006-06-08 | 2010-11-02 | Samsung Electronics Co., Ltd. | Method and system for remotely accessing devices in a network |
| JP2008252547A (ja) * | 2007-03-30 | 2008-10-16 | Ntt Communications Kk | 通信制御システム及び通信制御方法 |
| JP2009206793A (ja) * | 2008-02-27 | 2009-09-10 | Ntt Docomo Inc | 資源割当システム及び資源割当方法 |
| CN102474893A (zh) * | 2009-07-08 | 2012-05-23 | 日本电气株式会社 | 网关装置、方法和通信系统 |
| US20110258569A1 (en) * | 2010-04-20 | 2011-10-20 | Microsoft Corporation | Display of filtered data via frequency distribution |
| JP6330298B2 (ja) * | 2013-02-06 | 2018-05-30 | 株式会社リコー | 情報処理システム、情報処理方法およびプログラム |
| US9183016B2 (en) * | 2013-02-27 | 2015-11-10 | Vmware, Inc. | Adaptive task scheduling of Hadoop in a virtualized environment |
| US11967314B2 (en) * | 2021-11-02 | 2024-04-23 | Capital One Services, Llc | Automatic generation of a contextual meeting summary |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6053359A (ja) * | 1983-09-02 | 1985-03-27 | Nec Corp | 回線交換機用プロトコル変換方式 |
| JPS61171257A (ja) * | 1985-01-25 | 1986-08-01 | Fujitsu Ltd | メデイア変換送信方式 |
| JPH02281848A (ja) * | 1989-04-24 | 1990-11-19 | Matsushita Graphic Commun Syst Inc | 通信方式および通信装置 |
| JPH03256426A (ja) * | 1990-03-07 | 1991-11-15 | Hitachi Ltd | 情報配信方法 |
| JPH10173711A (ja) * | 1996-12-11 | 1998-06-26 | Fujitsu Ltd | マルチメディアネットワークにおける接続方式 |
| JP2001016274A (ja) * | 1999-04-30 | 2001-01-19 | Hitachi Ltd | システム間連携システムおよび方法 |
| US6421429B1 (en) * | 1993-12-29 | 2002-07-16 | At&T Corporation | Network-based system enabling image communications |
| JP2003348158A (ja) * | 2002-05-24 | 2003-12-05 | Canon Inc | 電子メール提供装置及びシステム及び方法 |
| JP2004336309A (ja) * | 2003-05-06 | 2004-11-25 | Nippon Telegr & Teleph Corp <Ntt> | コンテンツのネットワーク配信方法、システム、コンテンツ検索・選択サーバ、ロケーション選択サーバ |
Family Cites Families (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61135258A (ja) * | 1984-12-06 | 1986-06-23 | Nec Corp | 交換機用端末属性情報登録方式 |
| JPS61184948A (ja) * | 1985-02-12 | 1986-08-18 | Nec Corp | 交換機用属性情報登録方式 |
| JPS61184947A (ja) * | 1985-02-12 | 1986-08-18 | Nec Corp | 交換機用端末属性情報登録方法 |
| TW241420B (en) * | 1993-12-29 | 1995-02-21 | At & T Corp | A network-based system enabling image communications |
| US20040051785A1 (en) * | 1997-06-06 | 2004-03-18 | Nikon Corporation | Electronic camera having a communication function |
| US6833863B1 (en) * | 1998-02-06 | 2004-12-21 | Intel Corporation | Method and apparatus for still image capture during video streaming operations of a tethered digital camera |
| EP1246136A3 (en) * | 2001-03-28 | 2004-08-11 | Fuji Photo Film Co., Ltd. | Work data collection method |
| WO2004023321A1 (ja) * | 2002-09-04 | 2004-03-18 | E-Jan Net Co. | 接続システム、情報提供装置、接続方法、及びプログラム |
| JP4318914B2 (ja) * | 2002-12-26 | 2009-08-26 | 富士通株式会社 | ストレージシステム及びその動的負荷管理方法 |
| FR2852473A1 (fr) * | 2003-03-13 | 2004-09-17 | France Telecom | Procede et systeme de controle d'une chaine video distante |
| JP4352748B2 (ja) * | 2003-04-21 | 2009-10-28 | パナソニック株式会社 | 中継装置 |
| JP2005165852A (ja) * | 2003-12-04 | 2005-06-23 | Hitachi Ltd | ストレージシステム、ストレージ制御装置、ストレージシステムの制御方法 |
| US7747279B2 (en) * | 2004-03-30 | 2010-06-29 | Sony Corporation | Interface negotiation |
-
2004
- 2004-10-20 JP JP2004305114A patent/JP4568078B2/ja not_active Expired - Fee Related
-
2005
- 2005-10-11 US US11/665,457 patent/US20080126646A1/en not_active Abandoned
- 2005-10-11 WO PCT/JP2005/018998 patent/WO2006043489A1/ja not_active Ceased
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6053359A (ja) * | 1983-09-02 | 1985-03-27 | Nec Corp | 回線交換機用プロトコル変換方式 |
| JPS61171257A (ja) * | 1985-01-25 | 1986-08-01 | Fujitsu Ltd | メデイア変換送信方式 |
| JPH02281848A (ja) * | 1989-04-24 | 1990-11-19 | Matsushita Graphic Commun Syst Inc | 通信方式および通信装置 |
| JPH03256426A (ja) * | 1990-03-07 | 1991-11-15 | Hitachi Ltd | 情報配信方法 |
| US6421429B1 (en) * | 1993-12-29 | 2002-07-16 | At&T Corporation | Network-based system enabling image communications |
| JPH10173711A (ja) * | 1996-12-11 | 1998-06-26 | Fujitsu Ltd | マルチメディアネットワークにおける接続方式 |
| JP2001016274A (ja) * | 1999-04-30 | 2001-01-19 | Hitachi Ltd | システム間連携システムおよび方法 |
| JP2003348158A (ja) * | 2002-05-24 | 2003-12-05 | Canon Inc | 電子メール提供装置及びシステム及び方法 |
| JP2004336309A (ja) * | 2003-05-06 | 2004-11-25 | Nippon Telegr & Teleph Corp <Ntt> | コンテンツのネットワーク配信方法、システム、コンテンツ検索・選択サーバ、ロケーション選択サーバ |
Non-Patent Citations (1)
| Title |
|---|
| KAWARASAKI M ET AL: "Metadata Controlled CDN.", TECHNICAL REPORT OF IEICE NS2003-43., 13 June 2003 (2003-06-13), pages 37 - 40, XP002994952 * |
Also Published As
| Publication number | Publication date |
|---|---|
| US20080126646A1 (en) | 2008-05-29 |
| JP4568078B2 (ja) | 2010-10-27 |
| JP2006121251A (ja) | 2006-05-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6836287B1 (en) | Image distribution system and method of controlling the same | |
| JP2002507862A (ja) | デジタル画像撮像装置 | |
| JPH1155324A (ja) | コンピュータネットワークの通信システム | |
| US20060007318A1 (en) | Monitoring system center apparatus, monitoring-system-center program, and recording medium having recorded monitoring-system-center program | |
| JP2002521967A (ja) | インターネットカメラゲートウェイ | |
| US7239343B2 (en) | Image distribution method employing both a first network whose bandwidth is not assured and second network whose bandwidth is assured for control and image transmission | |
| CN106658652A (zh) | 连接WiFi热点的方法及装置 | |
| CN104639913A (zh) | 一种网络视频录像机及其自动接入ipc的方法 | |
| WO2006043489A1 (ja) | サーバ | |
| JP6585740B2 (ja) | ネットワーク接続システム及びその方法 | |
| US7447779B2 (en) | Method for performing a wireless communication by a wireless communication apparatus with an access point and establishing a connection with a network through the access point | |
| US20140241210A1 (en) | Communication apparatus and method of controlling the same | |
| WO2022121660A1 (zh) | 远程自动化抓包的实现方法、装置及系统 | |
| WO2018121693A1 (zh) | 一种机器人网络连接方法、系统及机器人 | |
| JP3804530B2 (ja) | 監視システムセンタ装置、監視システムセンタプログラム、および監視システムセンタプログラムを記録した記録媒体 | |
| CN115695861A (zh) | 一种流媒体数据管理系统、方法、设备及介质 | |
| CN110650448A (zh) | 一种用于移动通讯终端的通话管理系统及方法 | |
| JP4484353B2 (ja) | 通信制御装置及びその制御方法及び通信システム | |
| CN1758647B (zh) | 通信装置及其控制方法 | |
| WO2024067148A1 (zh) | 边缘互通业务执行方法、装置、系统、电子设备和介质 | |
| WO2006030680A1 (ja) | コマンド処理装置 | |
| US20130124729A1 (en) | Communication apparatus and control method for communication apparatus | |
| CN113014565B (zh) | 实现防端口扫描的零信任架构及服务端口访问方法和设备 | |
| CN109040503A (zh) | 流量共享方法及服务端 | |
| JP2003169058A (ja) | ローカルエリアネットワークにおける回線切替システム、サーバ及び端末装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KM KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
| AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
| WWE | Wipo information: entry into national phase |
Ref document number: 11665457 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 05793449 Country of ref document: EP Kind code of ref document: A1 |
|
| WWP | Wipo information: published in national office |
Ref document number: 11665457 Country of ref document: US |