WO2012155539A1 - 在近场通信网络中共享数据和应用的方法及近场通信网络 - Google Patents
在近场通信网络中共享数据和应用的方法及近场通信网络 Download PDFInfo
- Publication number
- WO2012155539A1 WO2012155539A1 PCT/CN2012/070234 CN2012070234W WO2012155539A1 WO 2012155539 A1 WO2012155539 A1 WO 2012155539A1 CN 2012070234 W CN2012070234 W CN 2012070234W WO 2012155539 A1 WO2012155539 A1 WO 2012155539A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- server
- client
- data file
- application
- information
- Prior art date
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/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Definitions
- the present invention relates to the field of near field communication, and more particularly to a method and a near field communication network for sharing data and applications in a near field communication network.
- each device can be regarded as a smart terminal that can provide certain services to the outside world, so the demand for service release and acquisition will increase.
- a telephone can acquire movie media data or play a movie directly, but because its display device is greatly limited, it can provide this function as a service, and another terminal with a suitable display device can pass The phone establishes a connection to obtain the service and thereby watch the movie.
- the technology used in the Internet of Things is mainly data sharing.
- it is a service that uses a telephone to obtain movie media data.
- playing video requires three prerequisites: the ability to acquire multimedia data, configure display devices, and have the ability to process multimedia data.
- the existing method limits the supported scenarios.
- the terminal configured with the display device supports the multimedia data processing function at the same time. For example, for a TV, although it has a display function, it is reasonable, so even if the telephone supports the processing function of the multimedia data, the television still cannot play the video normally, so this method will be greatly used in use. limits.
- the data sharing and processing links must be pre-customized and can hardly be dynamically expanded.
- a method of sharing data in a near field communication network comprising:
- the client interacts with the server that has established the near field communication, acquires and displays the supported by the server. Identification information of the data file;
- the client When the user is selected to select a data file from the data file supported by the server, the client sends a shared data request to the server, where the identifier information of the data file selected by the user is carried;
- the server returns a data file corresponding to the identifier information carried in the shared data request to the client according to the shared data request;
- the client receives the data file.
- the method also includes:
- the client After receiving the data file, the client enables the corresponding local application to process and display the data file under the user's selection.
- the method also includes:
- the client further acquires description information of the data file supported by the server when interacting with the server;
- the client After receiving the data file, the client selects a corresponding local application to process and display the data file according to the type information in the description information of the data file.
- the method also includes:
- the client sends a shared data request to the server again after starting the local application processing and displaying the data file; the server processes the sharing The data requests and provides a new data file, looping back until the client confirms that the user closes the local application.
- a method of sharing an application in a near field communication network comprising:
- the client interacts with the server that has established the near field communication, and obtains and displays the identification information of the application supported by the server;
- the client When the user is selected to select an application from the application supported by the server, the client sends a shared application request to the server, where the identifier of the application selected by the user is carried; The sharing application request, launching an application corresponding to the identification information carried in the shared application request, and returning a display screen message of the application to the client Interest rate
- the client displays the received display screen information, and sends the corresponding input action information to the service after detecting an input action performed by the input device supported by the local end on the current display screen.
- the server processes the input action information and performs corresponding processing, and sends the processed display screen to the client for display.
- the method also includes:
- the client converts the coordinate of the input action to the coordinate of the server, and then sends the converted coordinate to the server by input action information.
- a near field communication network including a client and a server, wherein:
- the client is configured to: interact with a server that has established near field communication, acquire and display identification information of a data file supported by the server; and send a message to the server when confirming that the user selects a data file from the server a shared data request, where the identifier information of the data file selected by the user is carried; and the data file sent by the server is further received;
- the server is configured to: return, according to the shared data request, a data file corresponding to the identifier information carried in the shared data request to the client.
- the client is further configured to: obtain, when interacting with the server that has established the approach communication, the description information of the data file supported by the server;
- the data file is processed and displayed by selecting a corresponding local application according to the type information in the description information of the data file.
- the client is further configured to: when the data file selected by the user is composed of a continuous data stream, after the local application is started to process and display the data file, send the shared data request to the server again, until Confirming that the user closes the local application;
- the server is further configured to: process the shared data request and provide a new data file.
- a near field communication network including a client and a server, wherein:
- the client is configured to: interact with the server that has established the near field communication, acquire and display the identification information of the application supported by the server; and confirm that the user selects an application from the applications supported by the server, Sending a shared application request to the server, where the user selected
- the identification information used is also displayed.
- the display screen information sent by the server is also displayed, and each time an input operation performed by the input device supported by the local end on the current display screen is detected, the corresponding input action is performed. Information is sent to the server;
- the server is configured to: start, according to the received shared application request, an application corresponding to the identifier information carried in the request, and return display screen information of the application to the client;
- the input action information sent by the client is parsed and processed accordingly, and the processed display screen is sent to the client for display.
- the client is further configured to: when the input action is related to the coordinate position, after the coordinate of the input action is converted to the coordinate of the server at the local end, the converted coordinate is sent to the Server.
- a client device includes: an information acquisition module, a shared request sending module, and a receiving module, where:
- the information acquiring module is configured to: interact with a server that has established near field communication, and obtain and display the data file or the identification information of the application supported by the server;
- the sharing request sending module is configured to: when confirming that the user selects a data file or an application from the server, sending a shared data request or a shared application request to the server, where the user selects the data file or the identification information of the application;
- the receiving module is configured to: further receive a data file or display screen information sent by the server.
- the client device further includes a display module and a detection module, wherein:
- the display module is configured to: display display screen information received by the server; and the detecting module is configured to: perform an input action on the current display screen by the input device supported by the user at each time After that, the corresponding input action information is sent to the server.
- the client device also includes a coordinate conversion module, wherein:
- the coordinate conversion module is configured to: when the input action is related to the coordinate position, convert the coordinate of the input action to the coordinate of the server at the local end, and then send the converted coordinate to the server by inputting the action information.
- the client device also includes a display module, wherein:
- the information obtaining module is further configured to: obtain, when interacting with the server that has established the approach communication, the description information of the data file supported by the server;
- the display module is configured to: after receiving the data file, according to the type information in the description information of the data file, select a corresponding local application to process and display the data file.
- the sharing request sending module is further configured to: when the data file selected by the user is composed of a continuous data stream, after the display module starts the local application to process and display the data file, and then sends the data file to the server again. A shared data request is sent until it is confirmed that the user closes the local application.
- a server device includes a sharing request receiving module and a sending module, wherein:
- the sharing request receiving module is configured to: receive a shared data request or a shared application request sent by a client that has established near field communication;
- the sending module is configured to: return, according to the shared data request or the shared application request sent by the client that has established the near field communication, to the client to return the shared data request or the identifier information carried in the shared application request. Data file or application.
- the sending module is further configured to: when returning the application corresponding to the identifier information carried in the shared application request to the client, returning the display screen information of the application to the client.
- the server device also includes an analysis processing module, wherein:
- the parsing processing module is configured to: parse the received input action information sent by the client, perform corresponding processing, and send the processed display screen to the client for display.
- a near field communication network comprising any of the client devices as described above and any of the server devices described above.
- the data sharing and application sharing content of the near field communication can be flexibly configured and dynamically expanded, and no pre-setting is needed for the shared content; the implementation element of an application can be flexibly configured, and the communication device can be fully configured.
- FIG. 1 is a flowchart of a method for sharing data in a near field communication network according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for sharing an application in a near field communication network according to an embodiment of the present invention
- the technical solution of the present invention realizes dynamic expansion.
- Existing application sites are generally confirmed in advance, which applications need to be shared, and the content and protocols shared by the application have been confirmed, and implementation is only required to be developed for these established specifications.
- the present invention is to solve such a technical problem. For this reason, it is required that the initial specification content is smaller (that is, sharing the initial desktop and the communication metadata format), and on this basis, what kind of application is shared, and what kind of data is shared, What process to establish a share can be negotiated in the metadata interaction.
- the server provides a shared service, and the client requests a shared service.
- the unit function of the movie playing can be divided into three functions of media data acquisition, media decoding, and media content display, and the server informs the client in a certain manner.
- a movie service that supports two functions of media data acquisition and media decoding.
- the client requests the movie service by inputting actions.
- the typical way is that the server displays its own movie service on the desktop and the pixels of its own desktop.
- the size and the desktop screen inform the client that the client inputs an action by means of a mouse click, and the server parses the input action of the client, and judges The object that is broken by the client is the movie service icon.
- the server manages the movie service icon in the form of a placeholder icon.
- the so-called placeholder icon refers to the attribute description of the application in addition to having a visual icon, and includes support for media data acquisition for the movie service application. Media decoding function, and the output format of the media.
- the server then sends the placeholder icon information to the client.
- the client provides feedback according to what functions the server needs.
- the server starts data sharing with the client according to the negotiation result.
- the so-called initial desktop includes environment information needed for subsequent application sharing, such as the length and width of the desktop and the number of pixels, the format and organization of the input data, the desktop image of the server, and the placeholder icon of the shared application provided by the server.
- the present embodiment is applied between a server and a client that interact using a near field communication method, and the near field communication includes, but is not limited to, Near Field Communication (NFC).
- NFC Near Field Communication
- the server has at least the capability of providing data services, and the server can also have an application function of data processing and performing view representation;
- the client has at least a display device, can establish communication with the server through the near field communication network, and can select the pair according to the situation.
- the data or application provided by the server is shared.
- the method of data sharing includes:
- Step 101 After establishing a near field communication with the server, the client sends a request for obtaining the desktop configuration information to the server. After receiving the request, the server returns an initial desktop to the client, where the server supports the server.
- the identification information of each data file may further carry description information of each data file; wherein the identifier information is used to uniquely identify the corresponding data file;
- Step 102 The client displays the identification information of each data file supported by the server to the user (if the description information is also displayed together), and initiates a shared data request to the server when determining that the user selects a data file for data sharing. , carrying the identification information of the data file selected by the user;
- Step 103 The server searches for the corresponding data file according to the identifier information carried in the received shared data request, and then sends the data file to the client.
- Step 104 After receiving the data file, the client may query the user for which application to process. The file, and launching a local application selected by the user, the data file is processed by the application. If the data file is composed of a continuous data stream (such as a multimedia file), after the client starts the application, the client sends a shared data request to the server again, and the server processes the request and provides a new data file. Until the user closes the local app.
- a continuous data stream such as a multimedia file
- the client after receiving the data file, the client can also automatically select an appropriate application according to the type of the file, and then start the application to process the data file.
- the server device has a built-in movie player and can obtain movie media data
- the client does not support movie playing or movie media data, and can be shared by near field communication by using the above method.
- the server's movie playback app watching movies.
- the application sharing method includes:
- Step 201 After establishing a near field communication with the server, the client sends a request for obtaining the desktop configuration information to the server. After receiving the request, the server returns an initial desktop to the client, where the server supports the server.
- the identification information of each application may further carry the description information of each application; where the identifier information is used to uniquely identify the corresponding application;
- Step 202 The client displays the identification information of each application supported by the server to the user (if the description information is also displayed together), and initiates a sharing application request to the server when determining that the user selects an application for application sharing. Carrying identification information of the application selected by the user;
- Step 203 The server starts the corresponding application according to the identifier information carried in the received shared application request, and returns display information of the application.
- Step 204 After receiving the display screen information of the application, the client finishes displaying on the display device.
- the user inputs the required information through an input device supported by the client, such as a keyboard, a mouse, or a touch panel.
- the client records the information input by the user, and converts the information into a format recognizable by the server, and then sends the information to the server.
- the client if the information input by the user is related to the location on the display device, the client also needs to convert the coordinates of the location on the device to the coordinates of the server and then send the coordinates to the server;
- Step 205 the server parses the information input by the user, and responds, if the interface is updated Displaying, sending new application screen information to the client;
- step 204 and step 205 are repeatedly executed, until after receiving the request sent by the client to close the application, the server responds and finally closes the execution of the corresponding application.
- the application screen information published by the server (that is, the initial desktop mentioned above) is composed of meta information and picture picture data, and the meta information includes at least coordinate information and geometric size information of the outer contour of the application picture.
- the client displays the interface of the application or the initial desktop according to the picture picture data, the unified reference coordinates must be used uniformly.
- the server needs to share the input simulation program with the client.
- the function of the input simulation program is to insert any original input actions into the server, such as mouse click, letter input, etc., and then share with the client.
- the appropriate input processing distribution mechanism translates into actual input actions to the initial desktop and/or each application.
- the input simulation program refers to inserting the input queue of the other party in the form of an input stack (drive layer concept) used by the other party in order to parse the input action and content of the client, that is, simulating the input action of the other party, such as mouse click or keyboard input.
- the client When the client confirms that an input action is generated on the device, if it is a coordinate-related input, such as a mouse click on a certain position, it is necessary to synthesize the input action to perform coordinate conversion on the local screen coordinates and the reference coordinates, and calculate the The corresponding coordinates of the server.
- the server After the input action preprocessed by the device is sent to the server, the server inputs the virtual cost input through the local input simulation program, and then responds accordingly.
- the communication messages between the client and the server are divided into four types: obtaining desktop configuration information, requesting shared data, synchronizing input actions, and refreshing display data.
- the communication text is composed of two parts: the header information and the data body.
- the header information includes a type field (8 bits) and a data body total length field (32 bits).
- the type field is used to indicate the type of the message, and the data body is total.
- the length field indicates the length of the data body packet contained in this packet.
- the data body has a corresponding format according to different packet types. Assume that the display device parameter of the server is 128 100 16, that is, the width is 100 pixels, the height is 128 pixels, and the display depth is 16 bits.
- Request packets for obtaining desktop configuration information Type field value is 0x00, no data body message
- Refresh message display data Type The field value is 0x01, and the data body contains the upper left coordinate (16 bits), the width (8 bits), the height (8 bits), and the display data of the display area.
- the message of the synchronous input action The type field value is 0x02.
- the data body contains the input type (occupies 8 bits) and the input information.
- Input types include character input ( 0x00 ), left mouse click ( 0x01 ), and right mouse click (0x02 ).
- the input information field of the character input contains an input Unicode character, which occupies 32 bits; the left mouse click and the right mouse click contain a coordinate field, occupying 16 bits; the application sharing process is further explained by an application example, such as As shown in Figure 3, the following steps are included:
- Step 301 After the client connects to the server through the near field communication, the client sends a request message (0x0000000000) for obtaining the desktop configuration information to the server.
- Step 302 The server obtains its current desktop display data (occupied, sends a refresh display data message to the client (0 ⁇ 010003200000006480 ⁇ ), where xxxx represents desktop display data;
- Step 303 The client receives the refresh display data packet, starts from the reference coordinate, starts drawing the initial desktop, and records the related data.
- Step 304 The user selects an application for movie viewing by clicking, and after the client obtains the click operation, it determines that the operation is within the initial desktop range, and sends a synchronous input action to the server according to the reference coordinate (0x02000000300).
- Lxxxx ) , xxxx represents the corresponding click coordinates after coordinate conversion;
- Step 305 The server forwards the received mouse click information to the input simulation program, and after processing, directly adds a corresponding mouse click event to the hardware input queue.
- the server display program automatically completes the event processing, completes the event distribution, and the display program locates the click event for starting the movie play, completes the start of the movie player, and starts the movie play;
- Step 306 the server according to the movie The need to play the application, send the refresh display number to the client According to the message, the client completes the display update, loops back and forth, and completes the sharing function of the movie application.
- the implementation of the input simulation program is adapted to the implementation method of the application sharing, and thus the different implementations do not hinder the scope of protection of the present invention.
- the difference between the display mode, the rotation, the transparency and the like of the client and the server does not constitute a limitation of the present invention.
- the present invention only requires that the client input action can be converted into a server input action.
- a near field communication network includes a client and a server, where: the client is configured to: interact with a server that has established near field communication, and acquire and display data supported by the server. And identifying, by the user, a data file, and sending a shared data request to the server, where the identifier of the data file selected by the user is carried; and receiving the data file sent by the server ;
- the server is configured to: return, according to the shared data request, a data file corresponding to the identifier information carried in the shared data request to the client. More preferably,
- the client is further configured to: obtain, in a process of interacting with the server that has established the approach communication, the description information of the data file supported by the server;
- the corresponding application After receiving the data file, according to the type information in the description information of the data file, the corresponding application is selected and processed and displayed.
- the client is further configured to: when the data file selected by the user is composed of consecutive data streams, after the local application is started to process and display the data file, send the shared data request to the server again, until Confirming that the user closes the application;
- the server is further configured to: process the shared data request and provide a new data file.
- another near field communication network includes a client and a server, where:
- the client is configured to: interact with a server that has established near field communication, acquire and display the The identification information of the application supported by the server; when the user is selected to select an application from the server, the shared application request is sent to the server, where the identifier information of the application selected by the user is carried; Displaying the screen information, and sending the corresponding input action information to the server after detecting the input action performed by the user on the current display screen by the input device supported by the local end;
- the server is configured to: start an application corresponding to the identifier information carried in the shared application request according to the received shared application request, and return display information of the application to the client;
- the input operation information sent by the client is parsed and processed accordingly, and the processed display screen is sent to the client for display.
- the client is further configured to: when the input action is related to the coordinate position, the input action is converted to the coordinate of the server at the local end, and then sent to the server by the input action information.
- An embodiment of the present invention further provides a client device, including: an information acquiring module, a sharing request sending module, and a receiving module, where:
- the information acquiring module is configured to: interact with a server that has established near field communication, and obtain and display the data file or the identification information of the application supported by the server;
- the sharing request sending module is configured to: when confirming that the user selects a data file or an application from the server, sending a shared data request or a shared application request to the server, where the user selects the data file or the identification information of the application;
- the receiving module is configured to: further receive a data file or display screen information sent by the server.
- the client device further includes a display module and a detection module, wherein:
- the display module is configured to: display display screen information received by the server; and the detecting module is configured to: perform an input action on the current display screen by the input device supported by the user at each time After that, the corresponding input action information is sent to the server.
- the client device also includes a coordinate conversion module, wherein: The coordinate conversion module is configured to: when the input action is related to the coordinate position, convert the coordinate of the input action to the coordinate of the server at the local end, and then send the converted coordinate to the server by inputting the action information. .
- the client device also includes a display module, wherein:
- the information obtaining module is further configured to: obtain, when interacting with the server that has established the approach communication, the description information of the data file supported by the server;
- the display module is configured to: after receiving the data file, according to the type information in the description information of the data file, select a corresponding local application to process and display the data file.
- the sharing request sending module is further configured to: when the data file selected by the user is composed of a continuous data stream, after the display module starts the local application to process and display the data file, and then sends the data file to the server again. A shared data request is sent until it is confirmed that the user closes the local application.
- An embodiment of the present invention further provides a server device, including a sharing request receiving module and a sending module, where:
- the sharing request receiving module is configured to: receive a shared data request or a shared application request sent by a client that has established near field communication;
- the sending module is configured to: return, according to the shared data request or the shared application request sent by the client that has established the near field communication, to the client to return the shared data request or the identifier information carried in the shared application request. Data file or application.
- the sending module is further configured to: when returning the application corresponding to the identifier information carried in the shared application request to the client, returning the display screen information of the application to the client.
- the server device also includes an analysis processing module, wherein:
- the parsing processing module is configured to: parse the received input action information sent by the client, perform corresponding processing, and send the processed display screen to the client for display.
- Embodiments of the present invention also provide a near field communication network, including any of the client devices described above and any of the server devices described above.
- a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk.
- all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits.
- each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
- the data sharing and application sharing content of the near field communication can be flexibly configured and dynamically expanded, and no pre-setting is needed for the shared content; the implementation element of an application can be flexibly configured, and the communication device can be fully configured.
- the present invention has a strong industrial applicability.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
一种在近场通信网络中共享数据和应用的方法及近场通信网络,所述共享数据的方法包括:客户端与已建立近场通信的服务端交互,获取并显示所述服务端支持的数据文件的标识信息;在确认用户从中选择一数据文件时,所述客户端向所述服务端发送共享数据请求,其中携带所述用户选择的数据文件的标识信息;所述服务端根据所述共享数据请求,向所述客户端返回该请求中携带的标识信息对应的数据文件;所述客户端接收所述数据文件。采用上述技术方案后,近场通信的数据共享和应用共享的内容可以灵活配置,动态扩展,对于共享的内容无需任何预先的设定;对于一个应用的实现元素可以灵活配置,通信设备可以充分发挥各自的优势。
Description
在近场通信网络中共享数据和应用的方法及近场通信网络
技术领域
本发明涉及近场通信领域, 尤其涉及一种在近场通信网络中共享数据和 应用的方法及近场通信网络。
背景技术
在物联网广泛发展的未来, 每个设备都可以被看作一个能够对外提供一 定服务的智能终端, 因此服务的发布和获取的需求会日益增加。 比如, 一个 电话机可以获取电影媒体数据或直接播放电影, 但由于其显示设备受到很大 限制, 则它可以将这个功能作为服务来提供, 而另一个具有合适的显示设备 的终端则可以通过与该电话机建立连接来获取该服务, 从而观看电影。
目前物联网釆用的技术主要是数据共享, 对于上例也就是利用电话机获 取电影媒体数据的服务。 以这个应用场景为例, 播放视频需要三个必备条件: 能够获取到多媒体数据、 配置有显示设备及具备处理多媒体数据的能力。 现 有方式限制了支持的场景, 必须要求配置有显示设备的终端同时支持多媒体 数据处理功能才可以使用。 比如, 对于电视来讲, 它虽然具有显示功能, 但 理, 所以即使电话机支持该多媒体数据的处理功能, 但该电视依然无法正常 播放该视频, 因此这种方式在使用上就会受到很大的限制。 而且, 数据共享 环节和处理环节必须预先定制, 几乎不能动态扩展。
发明内容
本发明的目的在于提供一种在近场通信网络中共享数据和应用的方法及 近场通信网络, 以支持动态扩展、 支持数据共享也支持应用共享。
为解决上述问题, 釆用如下技术方案:
一种在近场通信网络中共享数据的方法, 包括:
客户端与已建立近场通信的服务端交互, 获取并显示所述服务端支持的
数据文件的标识信息;
在确认用户从所述服务端支持的数据文件中选择一数据文件时, 所述客 户端向所述服务端发送共享数据请求, 其中携带所述用户选择的数据文件的 标识信息;
所述服务端根据所述共享数据请求, 向所述客户端返回与所述共享数据 请求中携带的标识信息对应的数据文件;
所述客户端接收所述数据文件。
该方法还包括:
所述客户端接收到所述数据文件后, 在用户的选择下启用对应的本地应 用对所述数据文件进行处理并显示。
该方法还包括:
所述客户端在与所述服务端交互时, 还获取所述服务端支持的数据文件 的描述信息;
所述客户端接收到所述数据文件后, 根据所述数据文件的描述信息中的 类型信息, 自行选择相应的本地应用对所述数据文件进行处理并显示。
该方法还包括:
当用户选择的数据文件是由连续的数据流构成时, 所述客户端在启动本 地应用对该数据文件进行处理显示后,再次向所述服务端发送共享数据请求; 所述服务端处理该共享数据请求并提供新的数据文件, 循环往复直到所述客 户端确认所述用户关闭所述本地应用。
一种在近场通信网络中共享应用的方法, 包括:
客户端与已建立近场通信的服务端交互, 获取并显示所述服务端支持的 应用的标识信息;
在确认用户从所述服务端支持的应用中选择一应用时, 所述客户端向所 述服务端发送共享应用请求, 其中携带所述用户选择的应用的标识信息; 所述服务端根据接收到的所述共享应用请求, 启动与所述共享应用请求 中携带的标识信息对应的应用, 并向所述客户端返回所述应用的显示画面信
息;
所述客户端显示接收到的所述显示画面信息, 并在每一次检测到用户通 过本端支持的输入设备在当前显示画面上进行的输入动作后, 将相应的输入 动作信息发送给所述服务端, 由所述服务端对所述输入动作信息解析后进行 相应处理, 并将处理后的显示画面发送给所述客户端进行显示。
该方法还包括:
所述输入动作与坐标位置有关时, 所述客户端将所述输入动作在本端的 坐标转换为在所述服务端的坐标后, 将转换后的坐标通过输入动作信息发送 给所述服务端。
一种近场通信网络, 包括客户端和服务端, 其中:
所述客户端设置成: 与已建立近场通信的服务端交互, 获取并显示所述 服务端支持的数据文件的标识信息; 还在确认用户从中选择一数据文件时, 向所述服务端发送共享数据请求, 其中携带所述用户选择的数据文件的标识 信息; 还接收所述服务端发来的数据文件;
所述服务端设置成: 根据所述共享数据请求, 向所述客户端返回所述共 享数据请求中携带的标识信息对应的数据文件。
其中: 所述客户端还设置成: 在与已建立进场通信的所述服务端交互时, 获取到所述服务端支持的数据文件的描述信息;
相应的, 在接收到所述数据文件后, 还根据该数据文件的描述信息中的 类型信息, 自行选择相应的本地应用对所述数据文件进行处理并显示。
其中: 所述客户端还设置成: 当用户选择的数据文件是由连续的数据流 构成时, 在启动本地应用对该数据文件进行处理显示后, 再次向所述服务端 发送共享数据请求, 直到确认所述用户关闭所述本地应用为止;
所述服务端还设置成: 处理所述共享数据请求并提供新的数据文件。 一种近场通信网络, 包括客户端和服务端, 其中:
所述客户端设置成: 与已建立近场通信的服务端交互, 获取并显示所述 服务端支持的应用的标识信息; 还在确认用户从所述服务端支持的应用中选 择一应用时, 向所述服务端发送共享应用请求, 其中携带所述用户选择的应
用的标识信息; 还显示接收到所述服务端发来的显示画面信息, 并在每一次 检测到用户通过本端支持的输入设备在当前显示画面上进行的输入动作后, 将相应的输入动作信息发送给所述服务端;
所述服务端设置成: 根据接收到的所述共享应用请求, 启动该请求中携 带的标识信息对应的应用, 并向所述客户端返回该应用的显示画面信息; 还 对收到的所述客户端发来的输入动作信息进行解析后进行相应处理, 并将处 理后的显示画面发送给所述客户端进行显示。
其中: 所述客户端还设置成: 在所述输入动作与坐标位置有关时, 将该 输入动作在本端的坐标转换为在服务端的坐标后, 通过输入动作信息将转换 后的坐标发送给所述服务端。
一种客户端设备, 包括: 信息获取模块、 共享请求发送模块及接收模块, 其中:
所述信息获取模块设置成: 与已建立近场通信的服务端交互, 获取并显 示所述服务端支持的数据文件或应用的标识信息;
所述共享请求发送模块设置成: 在确认用户从中选择一数据文件或应用 时, 向所述服务端发送共享数据请求或共享应用请求, 其中携带所述用户选 择的数据文件或应用的标识信息; 所述接收模块设置成: 还接收所述服务端发来的数据文件或显示画面信 息。
该客户端设备还包括显示模块和检测模块, 其中:
所述显示模块设置成: 显示接收到所述服务端发来的显示画面信息; 所述检测模块设置成: 在每一次检测到用户通过本端支持的输入设备在 当前显示画面上进行的输入动作后, 将相应的输入动作信息发送给所述服务 端。
该客户端设备还包括坐标转换模块, 其中:
所述坐标转换模块设置成: 在所述输入动作与坐标位置有关时, 将该输 入动作在本端的坐标转换为在服务端的坐标后, 通过输入动作信息将转换后 的坐标发送给所述服务端。
该客户端设备还包括显示模块, 其中:
所述信息获取模块还设置成:在与已建立进场通信的所述服务端交互时, 获取到所述服务端支持的数据文件的描述信息;
所述显示模块设置成: 在接收到所述数据文件后, 还根据该数据文件的 描述信息中的类型信息, 自行选择相应的本地应用对所述数据文件进行处理 并显示。
其中: 所述共享请求发送模块还设置成: 当用户选择的数据文件是由连 续的数据流构成时, 在所述显示模块启动本地应用对该数据文件进行处理显 示后, 再次向所述服务端发送共享数据请求, 直到确认所述用户关闭所述本 地应用为止。
一种服务器设备, 包括共享请求接收模块及发送模块, 其中:
所述共享请求接收模块设置成: 接收已建立近场通信的客户端发来的共 享数据请求或共享应用请求;
所述发送模块设置成: 根据已建立近场通信的客户端发来的共享数据请 求或共享应用请求, 向所述客户端返回所述共享数据请求或所述共享应用请 求中携带的标识信息对应的数据文件或应用。 其中: 所述发送模块还设置成: 向所述客户端返回与所述共享应用请求 中携带的标识信息对应的应用时, 还向所述客户端返回该应用的显示画面信 息。
该服务器设备还包括解析处理模块, 其中:
所述解析处理模块设置成: 对收到的所述客户端发来的输入动作信息进 行解析后进行相应处理,并将处理后的显示画面发送给所述客户端进行显示。
一种近场通信网络, 包括如上所述的任意一种客户端设备和如上所述的 任意一种服务器设备。
釆用上述技术方案后, 近场通信的数据共享和应用共享的内容可以灵活 配置, 动态扩展, 对于共享的内容无需任何预先的设定; 对于一个应用的实 现元素可以灵活配置, 通信设备可以充分发挥各自的优势。
附图概述
图 1为本发明实施例中在近场通信网络中共享数据的方法流程图; 图 2为本发明实施例中在近场通信网络中共享应用的方法流程图; 图 3为本发明实施例中一个在近场通信网络中共享数据的具体流程示意
本发明的较佳实施方式
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。
本发明的技术方案实现了动态扩展上。 现有的应用场所一般事先已经确 认, 需要共享哪些应用, 以及应用共享的内容和协议均已经确认, 实现时只 要针对这些既定规范进行开发即可。 比如可以为餐饮业开发一套应用, 也可 以为运输业开发一套应用, 但是目前无法用为餐饮业开发的应用与另一款为 运输业开发的应用建立应用共享。 本发明正是为了解决这样的技术问题, 为 此, 需要初始规范内容更小 (即共享初始桌面和通信元数据格式) , 在此基 础上, 共享什么样的应用, 共享什么样的数据, 以什么流程来建立共享, 均 可以在元数据的交互中协商。
从本质上来讲, 实现动态扩展的基础有三个: 输入动作的解析、 共享内 容的单元功能划分与表述及建立交互的元数据格式。 服务器提供共享服务, 客户端请求共享服务, 以电影播放这个服务为例, 电影播放的单元功能可以 划分为媒体数据获取、 媒体解码和媒体内容显示这三个功能, 服务器以一定 的方式告知客户端自己支持媒体数据获取和媒体解码这两个功能的电影服 务, 客户端以输入动作的方式请求该电影服务, 典型的方式是服务器将自身 的电影服务显示在桌面上,并将自身桌面的象素大小和桌面画面告知客户端, 客户端用鼠标点击的方式输入一个动作, 服务器解析客户端的输入动作, 判
断到客户端点击的对象是电影服务图标。 服务器以占位图标的方式管理电影 服务图标, 所谓占位图标是指除了拥有一个可视图标之外, 还包含对应用的 属性描述, 对电影服务应用来说, 就要包括支持媒体数据获取、 媒体解码功 能, 以及媒体的输出格式等。 之后服务器将占位图标信息发送给客户端, 客 户端根据自己需要服务器的什么功能, 提供反馈, 随后服务器就根据协商结 果, 开始与客户端进行数据共享。 其中所谓的初始桌面包括为方便后续应用共享需要的环境信息, 比如桌 面的长宽及象素数、 输入数据的格式和组织方式、 服务器的桌面图片、 服务 器提供的共享应用的占位图标等。
下面将结合附图对本发明的具体实施进行进一步详细的说明。
本实施例应用于使用近场通信方式进行交互的服务端和客户端之间, 所 述近场通信包括但不限于近距离无线通讯( NFC, Near Field Communication )。 服务端至少具有提供数据服务的能力, 服务端还可以具备数据处理并完成视 图表现的应用功能; 客户端至少具备显示设备, 能通过近场通信网络与服务 端建立通信, 并可以根据情况选择对服务端提供的数据或者应用进行共享。
下面对数据共享和应用共享两种情况, 分别进行阐述。
数据共享的方法, 如图 1所示, 包括:
步骤 101 , 客户端在与服务端建立近场通信后, 向服务端发送一个获取 桌面配置信息的请求; 服务端收到该请求后, 向客户端返回一个初始桌面, 其中携带了本服务端支持的各数据文件的标识信息, 还可以携带各数据文件 的描述信息; 其中, 标识信息用于唯一的标识对应的数据文件;
步骤 102 , 客户端向用户显示服务端支持的各数据文件的标识信息 (如 有描述信息亦可一同显示) , 并在确定用户从中选择某数据文件进行数据共 享时, 向服务端发起共享数据请求, 其中携带用户选择的数据文件的标识信 息;
步骤 103 , 服务端根据接收到的共享数据请求中携带的标识信息查找对 应的数据文件, 然后将该数据文件发送给客户端;
步骤 104 , 客户端收到该数据文件后, 可向用户询问釆用哪个应用处理
该文件, 并启动用户选定的本地应用, 由该应用对该数据文件进行处理。 如果该数据文件是由连续的数据流构成的 (如多媒体文件) , 则客户端 在启动该应用后, 再次向服务端发送共享数据请求, 服务端处理该请求并提 供新的数据文件, 循环往复直到用户关闭本地应用。
在具体实现时, 客户端在收到数据文件后, 也可以根据该文件的类型自 动选择合适的应用, 然后启动该应用以对该数据文件进行处理。
假设服务端与客户端都有显示设备, 且两者显示的内容也保持一致, 即 服务端桌面上的所有显示内容都能在客户端上进行显示。 以共享电影播放应 用为例, 服务端设备内置有电影播放器, 且可以获取到电影媒体数据, 客户 端既不支持电影播放, 也不能获取到电影媒体数据, 利用上述方法可通过近 场通信共享服务端的电影播放应用, 观看电影。
应用共享的方法, 如图 2所示, 包括:
步骤 201 , 客户端在与服务端建立近场通信后, 向服务端发送一个获取 桌面配置信息的请求, 服务端收到该请求后, 向客户端返回一个初始桌面, 其中携带了服务端支持的各应用的标识信息,还可以携带各应用的描述信息; 其中, 标识信息用于唯一的标识对应的应用;
步骤 202 , 客户端向用户显示服务端支持的各应用的标识信息 (如有描 述信息亦可一同显示) , 并在确定用户从中选择某应用进行应用共享时, 向 服务端发起共享应用请求, 其中携带用户选择的应用的标识信息;
步骤 203 , 服务端根据接收到的共享应用请求中携带的标识信息启动相 应的应用, 并返回该应用的显示画面信息;
步骤 204 , 客户端收到该应用的显示画面信息后, 在显示设备上完成显 示。 用户通过客户端支持的输入设备, 如键盘、 鼠标或触控面板等, 输入需 要的信息, 客户端记录用户输入的信息, 并将该信息转换成服务端可识别的 格式后发送给服务端。 其中, 如果用户输入的信息与在显示设备上的位置有 关, 则客户端还需要将该位置在本设备上的坐标转换为在服务端的坐标后再 发送给该服务端;
步骤 205 , 服务端解析用户输入的信息, 并做出响应, 若更新了界面显
示, 则向客户端发送新的应用画面信息;
之后, 重复执行步骤 204和步骤 205 , 直到接收到客户端发来的用户选 择关闭该应用的请求后, 服务端响应并最终关闭相应应用的执行。
在上述对数据共享和对应用共享的方法的说明中, 涉及到了数据文件的 传输、 对客户端输入信息的响应和服务端应用画面信息的发布等三个关键的 技术。 其中, 数据文件的传输及应用画面信息的发布直接通过发送含有信息 标签和信息体的通信包就可以实现了。 而对客户端输入信息的响应, 则涉及 到输入动作的坐标转换, 下面进行详细阐述。
服务端发布的应用画面信息 (也即前面提到的初始桌面) 由元信息和画 面图片数据组成, 元信息至少要包含该应用画面的外轮廓的坐标信息和几何 尺寸信息。 客户端在根据画面图片数据绘制应用或初始桌面的界面显示时, 必须统一使用统一的基准坐标。
服务端需要与客户端共享相适应的输入模拟程序, 该输入模拟程序的功 能是可以给服务端虚拟***任何原始的输入动作, 比如鼠标单击、 字母输入 等等, 再经过与客户端共享的相适应的输入处理分发机制, 转换为对初始桌 面和 /或各应用的实际输入动作。 其中, 输入模拟程序是指为了解析客户端的 输入动作和内容, 需要以对方使用的输入栈(驱动层概念)形式***对方的 输入队列, 也就是模拟对方的输入动作, 比如鼠标点击或者键盘输入。
当客户端确认在本设备上产生了输入动作时, 如果是与坐标相关的输入 时, 比如鼠标单击某位置, 就需要综合该输入动作在本地屏幕坐标和基准坐 标进行坐标转换, 计算出在服务端的相应坐标。 将经过本设备预处理的输入 动作发送给服务端后, 服务端通过本地的输入模拟程序虚拟成本地的输入动 作, 然后做出相应的输入响应。
客户端和服务端间的通信报文分为: 获取桌面配置信息、请求共享数据、 同步输入动作和刷新显示数据四个类型。 通信 文由头信息和数据体两个部 分组成, 头信息包含一个类型字段(占 8比特)和一个数据体总长度字段(占 32比特) , 类型字段用于表明本报文的类型, 数据体总长度字段表明本报文 包含的数据体报文长度, 数据体依据不同的报文类型, 有对应的格式。
假设服务端的显示设备参数为 128 100 16, 即宽度为 100象素、 高度 为 128象素、 显示深度为 16比特。
针对本实施例, 只用到其中三个类型的报文, 格式分别定义如下: 获取桌面配置信息的请求报文: 类型字段值为 0x00, 无数据体报文; 刷新显示数据的报文: 类型字段值为 0x01 , 数据体中包含显示区域的左 上角坐标(占 16比特)、 宽度(占 8比特)、 高度(占 8比特)和显示数据; 同步输入动作的报文: 类型字段值为 0x02, 数据体中包含输入类型 (占 8比特 )和输入信息。 输入类型包含字符输入( 0x00 )、 鼠标左单击( 0x01 ) 、 鼠标右单击 (0x02 ) 。 字符输入的输入信息字段包含一个输入的 Unicode字 符, 占 32比特; 鼠标左单击和鼠标右单击包含一个坐标字段, 占 16比特; 下面用一个应用实例对上述应用共享流程进行进一步说明,如图 3所示, 包括如下步骤:
步骤 301、 客户端通过近场通信连接到服务端后, 向服务端发送获取桌 面配置信息的请求报文(0x0000000000 ) ;
步骤 302、 服务端获取自己的当前桌面显示数据 (占用, 向客户端发送 刷新显示数据报文(0χ010003200000006480χχχχ ) , 其中 xxxx表示桌面显示 数据;
步骤 303、 客户端接收到刷新显示数据报文, 从基准坐标起始, 开始绘 制初始桌面, 并记录下相关的数据;
步骤 304、 用户通过点击选择用于电影观看的应用, 客户端获取本次点 击操作后, 判断出该操作在初始桌面范围内, 则结合基准坐标, 向服务端发 送同步输入动作 ^艮文(0x02000000300 lxxxx ) , xxxx表示经过坐标转换后对 应的单击坐标;
步骤 305、 服务端将收到的鼠标单击信息转交给输入模拟程序, 该程序 经过处理后, 直接在硬件输入队列中加入一个对应的鼠标单击事件。 在应用 场景下, 服务端显示程序会自动完成事件处理, 完成事件分发, 由显示程序 定位到启动电影播放的单击事件, 完成电影播放器的启动, 开始电影播放; 步骤 306、 服务端根据电影播放应用的需要, 向客户端发送刷新显示数
据报文, 客户端完成显示更新, 循环往复, 完成电影应用的共享功能。
所述输入模拟程序的实现与应用共享的实现方法相适应, 因此造成的不 同实现, 并不妨碍本发明的保护范围。 客户端与服务端在显示比例、 旋转、 透明度等显示方式上的不同, 也不构成本发明的限制之列, 本发明只要求客 户端输入动作能够被转换为服务端输入动作即可。
在本实施例中, 一种近场通信网络, 包括客户端和服务端, 其中: 所述客户端设置成: 与已建立近场通信的服务端交互, 获取并显示所述 服务端支持的数据文件的标识信息; 还在确认用户从中选择一数据文件时, 向所述服务端发送共享数据请求, 其中携带所述用户选择的数据文件的标识 信息; 还接收所述服务端发来的数据文件;
所述服务端设置成: 根据所述共享数据请求, 向所述客户端返回与所述 共享数据请求中携带的标识信息对应的数据文件。 较优地,
所述客户端还设置成:在与已建立进场通信的所述服务端交互的过程中, 获取所述服务端支持的数据文件的描述信息;
还在接收到所述数据文件后, 根据所述数据文件的描述信息中的类型信 息, 自行选择相应的应用对所述数据文件进行处理并显示。
较优地,
所述客户端还设置成: 当用户选择的所述数据文件是由连续的数据流构 成时, 在启动本地应用对该数据文件进行处理显示后, 再次向所述服务端发 送共享数据请求, 直到确认所述用户关闭所述应用为止;
所述服务端还设置成: 处理所述共享数据请求并提供新的数据文件。
此外, 在本实施例中, 另一种近场通信网络中, 包括客户端和服务端, 其中:
所述客户端设置成: 与已建立近场通信的服务端交互, 获取并显示所述
服务端支持的应用的标识信息; 还在确认用户从中选择一应用时, 向所述服 务端发送共享应用请求, 其中携带所述用户选择的应用的标识信息; 还显示 接收到所述服务端发来的显示画面信息, 并在每一次检测到用户通过本端支 持的输入设备在当前显示画面上进行的输入动作后, 将相应的输入动作信息 发送给所述服务端;
所述服务端设置成: 根据接收到的所述共享应用请求, 启动与所述共享 应用请求中携带的标识信息对应的应用, 并向所述客户端返回该应用的显示 画面信息; 还对收到的所述客户端发来的输入动作信息进行解析后进行相应 处理, 并将处理后的显示画面发送给所述客户端进行显示。
较优地,
所述客户端还设置成: 在所述输入动作与坐标位置有关时, 将该输入动 作在本端的坐标转换为在所述服务端的坐标后, 通过所述输入动作信息发送 给所述服务端。
本发明的实施例还提供了一种客户端设备, 包括: 信息获取模块、 共享 请求发送模块及接收模块, 其中:
所述信息获取模块设置成: 与已建立近场通信的服务端交互, 获取并显 示所述服务端支持的数据文件或应用的标识信息;
所述共享请求发送模块设置成: 在确认用户从中选择一数据文件或应用 时, 向所述服务端发送共享数据请求或共享应用请求, 其中携带所述用户选 择的数据文件或应用的标识信息;
所述接收模块设置成: 还接收所述服务端发来的数据文件或显示画面信 息。
该客户端设备还包括显示模块和检测模块, 其中:
所述显示模块设置成: 显示接收到所述服务端发来的显示画面信息; 所述检测模块设置成: 在每一次检测到用户通过本端支持的输入设备在 当前显示画面上进行的输入动作后, 将相应的输入动作信息发送给所述服务 端。
该客户端设备还包括坐标转换模块, 其中:
所述坐标转换模块设置成: 在所述输入动作与坐标位置有关时, 将该输 入动作在本端的坐标转换为在服务端的坐标后, 通过输入动作信息将转换后 的坐标发送给所述服务端。
该客户端设备还包括显示模块, 其中:
所述信息获取模块还设置成:在与已建立进场通信的所述服务端交互时, 获取到所述服务端支持的数据文件的描述信息;
所述显示模块设置成: 在接收到所述数据文件后, 还根据该数据文件的 描述信息中的类型信息, 自行选择相应的本地应用对所述数据文件进行处理 并显示。
其中: 所述共享请求发送模块还设置成: 当用户选择的数据文件是由连 续的数据流构成时, 在所述显示模块启动本地应用对该数据文件进行处理显 示后, 再次向所述服务端发送共享数据请求, 直到确认所述用户关闭所述本 地应用为止。
本发明的实施例还提供了一种服务器设备, 包括共享请求接收模块及发 送模块, 其中:
所述共享请求接收模块设置成: 接收已建立近场通信的客户端发来的共 享数据请求或共享应用请求;
所述发送模块设置成: 根据已建立近场通信的客户端发来的共享数据请 求或共享应用请求, 向所述客户端返回所述共享数据请求或所述共享应用请 求中携带的标识信息对应的数据文件或应用。
其中: 所述发送模块还设置成: 向所述客户端返回与所述共享应用请求 中携带的标识信息对应的应用时, 还向所述客户端返回该应用的显示画面信 息。
该服务器设备还包括解析处理模块, 其中:
所述解析处理模块设置成: 对收到的所述客户端发来的输入动作信息进 行解析后进行相应处理,并将处理后的显示画面发送给所述客户端进行显示。 本发明的实施例还提供了一种近场通信网络, 包括如上所述的任意一种 客户端设备和如上所述的任意一种服务器设备。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
以上所述仅为本发明的优选实施例而已, 并非用于限定本发明的保护范 围。 根据本发明的发明内容, 还可有其他多种实施例, 在不背离本发明精神 改变和变形, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。
工业实用性
釆用上述技术方案后, 近场通信的数据共享和应用共享的内容可以灵活 配置, 动态扩展, 对于共享的内容无需任何预先的设定; 对于一个应用的实 现元素可以灵活配置, 通信设备可以充分发挥各自的优势。 因此本发明具有 4艮强的工业实用性。
Claims
1、 一种在近场通信网络中共享数据的方法, 包括:
客户端与已建立近场通信的服务端交互, 获取并显示所述服务端支持的 数据文件的标识信息;
在确认用户从所述服务端支持的数据文件中选择一数据文件时, 所述客 户端向所述服务端发送共享数据请求, 其中携带所述用户选择的数据文件的 标识信息;
所述服务端根据所述共享数据请求, 向所述客户端返回与所述共享数据 请求中携带的标识信息对应的数据文件;
所述客户端接收所述数据文件。
2、 如权利要求 1所述的方法, 该方法还包括:
所述客户端接收到所述数据文件后, 在用户的选择下启用对应的本地应 用对所述数据文件进行处理并显示。
3、 如权利要求 1所述的方法, 该方法还包括:
所述客户端在与所述服务端交互时, 还获取所述服务端支持的数据文件 的描述信息;
所述客户端接收到所述数据文件后, 根据所述数据文件的描述信息中的 类型信息, 自行选择相应的本地应用对所述数据文件进行处理并显示。
4、 如权利要求 1~3中任意一项所述的方法, 该方法还包括:
当用户选择的数据文件是由连续的数据流构成时, 所述客户端在启动本 地应用对该数据文件进行处理显示后,再次向所述服务端发送共享数据请求; 所述服务端处理该共享数据请求并提供新的数据文件, 循环往复直到所述客 户端确认所述用户关闭所述本地应用。
5、 一种在近场通信网络中共享应用的方法, 包括:
客户端与已建立近场通信的服务端交互, 获取并显示所述服务端支持的 应用的标识信息;
在确认用户从所述服务端支持的应用中选择一应用时, 所述客户端向所 述服务端发送共享应用请求, 其中携带所述用户选择的应用的标识信息; 所述服务端根据接收到的所述共享应用请求, 启动与所述共享应用请求 中携带的标识信息对应的应用, 并向所述客户端返回所述应用的显示画面信 息;
所述客户端显示接收到的所述显示画面信息, 并在每一次检测到用户通 过本端支持的输入设备在当前显示画面上进行的输入动作后, 将相应的输入 动作信息发送给所述服务端, 由所述服务端对所述输入动作信息解析后进行 相应处理, 并将处理后的显示画面发送给所述客户端进行显示。
6、 如权利要求 5所述的方法, 该方法还包括:
所述输入动作与坐标位置有关时, 所述客户端将所述输入动作在本端的 坐标转换为在所述服务端的坐标后, 将转换后的坐标通过输入动作信息发送 给所述服务端。
7、 一种近场通信网络, 包括客户端和服务端, 其中:
所述客户端设置成: 与已建立近场通信的服务端交互, 获取并显示所述 服务端支持的数据文件的标识信息; 还在确认用户从中选择一数据文件时, 向所述服务端发送共享数据请求, 其中携带所述用户选择的数据文件的标识 信息; 还接收所述服务端发来的数据文件;
所述服务端设置成: 根据所述共享数据请求, 向所述客户端返回所述共 享数据请求中携带的标识信息对应的数据文件。
8、 如权利要求 7所述的近场通信网络, 其中:
所述客户端还设置成: 在与已建立进场通信的所述服务端交互时, 获取 到所述服务端支持的数据文件的描述信息;
相应的, 在接收到所述数据文件后, 还根据该数据文件的描述信息中的 类型信息, 自行选择相应的本地应用对所述数据文件进行处理并显示。
9、 如权利要求 7或 8所述的近场通信网络, 其中:
所述客户端还设置成: 当用户选择的数据文件是由连续的数据流构成时, 在启动本地应用对该数据文件进行处理显示后, 再次向所述服务端发送共享 数据请求, 直到确认所述用户关闭所述本地应用为止; 所述服务端还设置成: 处理所述共享数据请求并提供新的数据文件。
10、 一种近场通信网络, 包括客户端和服务端, 其中:
所述客户端设置成: 与已建立近场通信的服务端交互, 获取并显示所述 服务端支持的应用的标识信息; 还在确认用户从所述服务端支持的应用中选 择一应用时, 向所述服务端发送共享应用请求, 其中携带所述用户选择的应 用的标识信息; 还显示接收到所述服务端发来的显示画面信息, 并在每一次 检测到用户通过本端支持的输入设备在当前显示画面上进行的输入动作后, 将相应的输入动作信息发送给所述服务端;
所述服务端设置成: 根据接收到的所述共享应用请求, 启动该请求中携 带的标识信息对应的应用, 并向所述客户端返回该应用的显示画面信息; 还 对收到的所述客户端发来的输入动作信息进行解析后进行相应处理, 并将处 理后的显示画面发送给所述客户端进行显示。
11、 如权利要求 10所述的近场通信网络, 其中:
所述客户端还设置成: 在所述输入动作与坐标位置有关时, 将该输入动 作在本端的坐标转换为在服务端的坐标后, 通过输入动作信息将转换后的坐 标发送给所述服务端。
12、 一种客户端设备, 包括: 信息获取模块、 共享请求发送模块及接收 模块, 其中:
所述信息获取模块设置成: 与已建立近场通信的服务端交互, 获取并显 示所述服务端支持的数据文件或应用的标识信息;
所述共享请求发送模块设置成: 在确认用户从中选择一数据文件或应用 时, 向所述服务端发送共享数据请求或共享应用请求, 其中携带所述用户选 择的数据文件或应用的标识信息; 所述接收模块设置成: 还接收所述服务端发来的数据文件或显示画面信 息。
13、如权利要求 12所述的客户端设备, 该客户端设备还包括显示模块和 检测模块, 其中:
所述显示模块设置成: 显示接收到所述服务端发来的显示画面信息; 所述检测模块设置成: 在每一次检测到用户通过本端支持的输入设备在 当前显示画面上进行的输入动作后, 将相应的输入动作信息发送给所述服务 端。
14、 如权利要求 12或 13所述的客户端设备, 该客户端设备还包括坐标 转换模块, 其中:
所述坐标转换模块设置成: 在所述输入动作与坐标位置有关时, 将该输 入动作在本端的坐标转换为在服务端的坐标后, 通过输入动作信息将转换后 的坐标发送给所述服务端。
15、 如权利要求 12所述的客户端设备, 该客户端设备还包括显示模块, 其中:
所述信息获取模块还设置成:在与已建立进场通信的所述服务端交互时, 获取到所述服务端支持的数据文件的描述信息;
所述显示模块设置成: 在接收到所述数据文件后, 还根据该数据文件的 描述信息中的类型信息, 自行选择相应的本地应用对所述数据文件进行处理 并显示。
16、 如权利要求 15所述的客户端设备, 其中:
所述共享请求发送模块还设置成: 当用户选择的数据文件是由连续的数 据流构成时, 在所述显示模块启动本地应用对该数据文件进行处理显示后, 再次向所述服务端发送共享数据请求, 直到确认所述用户关闭所述本地应用 为止。
17、 一种服务器设备, 包括共享请求接收模块及发送模块, 其中: 所述共享请求接收模块设置成: 接收已建立近场通信的客户端发来的共 享数据请求或共享应用请求;
所述发送模块设置成: 根据已建立近场通信的客户端发来的共享数据请 求或共享应用请求, 向所述客户端返回所述共享数据请求或所述共享应用请 求中携带的标识信息对应的数据文件或应用。
18、 如权利要求 17所述的服务器设备, 其中:
所述发送模块还设置成: 向所述客户端返回与所述共享应用请求中携带 的标识信息对应的应用时, 还向所述客户端返回该应用的显示画面信息。
19、 如权利要求 17或 18所述的服务器设备, 该服务器设备还包括解析 处理模块, 其中:
所述解析处理模块设置成: 对收到的所述客户端发来的输入动作信息进 行解析后进行相应处理,并将处理后的显示画面发送给所述客户端进行显示。
20、 一种近场通信网络, 包括如权利要求 12-16 中任一项所述的客户端 设备和如权利要求 17-19中任一项所述的服务器设备。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103027341A CN102394866A (zh) | 2011-10-09 | 2011-10-09 | 在近场通信网络中共享数据和应用的方法及近场通信网络 |
CN201110302734.1 | 2011-10-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012155539A1 true WO2012155539A1 (zh) | 2012-11-22 |
Family
ID=45862075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/070234 WO2012155539A1 (zh) | 2011-10-09 | 2012-01-11 | 在近场通信网络中共享数据和应用的方法及近场通信网络 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102394866A (zh) |
WO (1) | WO2012155539A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103036597A (zh) * | 2012-12-12 | 2013-04-10 | 华为终端有限公司 | 近距离设备间的资源分享方法和设备 |
CN112887756A (zh) * | 2021-01-11 | 2021-06-01 | 上海七牛信息技术有限公司 | 一种多媒体微服务的多输入多输出通信***及方法 |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2857980A4 (en) * | 2012-05-25 | 2015-12-30 | Hsiung-Kuang Tsai | ARCHITECTURE OF DATA TRANSMISSION |
CN102833345B (zh) * | 2012-09-05 | 2016-12-07 | 中兴通讯股份有限公司 | 一种设备间共享内容的方法、装置及*** |
CN102904934A (zh) * | 2012-09-25 | 2013-01-30 | 东莞宇龙通信科技有限公司 | 终端数据传输的方法及其*** |
CN103780637B (zh) | 2012-10-18 | 2016-12-21 | 腾讯科技(深圳)有限公司 | 信息共享装置及方法 |
CN112291775A (zh) * | 2020-10-19 | 2021-01-29 | 深圳市中诺通讯有限公司 | 终端获取业务的方法及设备 |
CN114221969B (zh) * | 2021-11-24 | 2023-08-22 | 安徽听见科技有限公司 | 基于近场通信的数据同步方法、终端、服务端、*** |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546362A (zh) * | 2008-03-27 | 2009-09-30 | 通用电气公司 | 利用nfc技术来实现请求式便携病历的***和方法 |
CN101551826A (zh) * | 2009-05-19 | 2009-10-07 | 成都市华为赛门铁克科技有限公司 | 数据检索方法、装置及其*** |
CN102047223A (zh) * | 2008-03-27 | 2011-05-04 | 摩托罗拉*** | 在电子设备中进行自动近场通信应用选择的方法和装置 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7194690B2 (en) * | 2003-04-17 | 2007-03-20 | Lenovo (Singapore) Pte. Ltd. | Remote support for computer or other electronic device |
US9317599B2 (en) * | 2008-09-19 | 2016-04-19 | Nokia Technologies Oy | Method, apparatus and computer program product for providing relevance indication |
-
2011
- 2011-10-09 CN CN2011103027341A patent/CN102394866A/zh active Pending
-
2012
- 2012-01-11 WO PCT/CN2012/070234 patent/WO2012155539A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546362A (zh) * | 2008-03-27 | 2009-09-30 | 通用电气公司 | 利用nfc技术来实现请求式便携病历的***和方法 |
CN102047223A (zh) * | 2008-03-27 | 2011-05-04 | 摩托罗拉*** | 在电子设备中进行自动近场通信应用选择的方法和装置 |
CN101551826A (zh) * | 2009-05-19 | 2009-10-07 | 成都市华为赛门铁克科技有限公司 | 数据检索方法、装置及其*** |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103036597A (zh) * | 2012-12-12 | 2013-04-10 | 华为终端有限公司 | 近距离设备间的资源分享方法和设备 |
CN112887756A (zh) * | 2021-01-11 | 2021-06-01 | 上海七牛信息技术有限公司 | 一种多媒体微服务的多输入多输出通信***及方法 |
Also Published As
Publication number | Publication date |
---|---|
CN102394866A (zh) | 2012-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2012155539A1 (zh) | 在近场通信网络中共享数据和应用的方法及近场通信网络 | |
CA2820342C (en) | Application discovery | |
US7996538B2 (en) | Information processing apparatus and content information processing method for transmitting content and event information to a client | |
US20120060100A1 (en) | System and method for transferring media content | |
CN104918105B (zh) | 媒体文件的多屏播放方法、设备及*** | |
JP5916822B2 (ja) | リモートユーザインターフェースサーバとリモートユーザインターフェースクライアントとの間のインターフェースのための装置及び方法 | |
KR101771003B1 (ko) | 컨텐츠 출력 시스템 및 그 시스템에서 코덱 정보 공유 방법 | |
KR20150095554A (ko) | 정보 처리 장치, 정보 처리 방법 및 프로그램 | |
CA2960118A1 (en) | System with a companion device and a primary device | |
US12032528B2 (en) | Information sharing method, apparatus, electronic device, and storage medium | |
WO2014190655A1 (zh) | 应用同步方法、应用服务器及终端 | |
WO2014056427A1 (zh) | 展示多幅图像的方法、装置、家庭网络***和移动终端 | |
CN114286137A (zh) | 一种镜像投屏方法、显示设备及终端 | |
US20100053472A1 (en) | Image content transmitting server, image display apparatus, image content transmitting method, and image displaying method | |
KR101329668B1 (ko) | 푸쉬 서버를 이용한 콘텐츠 공유 시스템 및 방법 | |
EP2339787B1 (en) | System and Method for Displaying Document Content Using UPnP | |
CN115022688A (zh) | 一种显示设备及媒体数据接力方法 | |
CN112910745B (zh) | 一种智能家居设备的控制方法及设备 | |
JP5420863B2 (ja) | シンクライアントシステム、アプリケーションサーバ、端末制御サーバ、通信方法 | |
KR101991787B1 (ko) | 홈 네트워크 미디어 전송 협상 | |
Park et al. | Development of a Second Screen Service for Personalized | |
JP2009246814A (ja) | クライアント制御型動画通信端末向けVoDシステム | |
JP2010232812A (ja) | 動画ファイル送信サーバおよびその動作制御方法 | |
Concolato et al. | Declarative Interfaces for dynamic widgets communications | |
CN115499693A (zh) | 多屏异显的控制方法及装置、***、存储介质、电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12784969 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12784969 Country of ref document: EP Kind code of ref document: A1 |