WO2011095038A1 - 实现终端间资源共享的方法、资源处理系统及终端 - Google Patents

实现终端间资源共享的方法、资源处理系统及终端 Download PDF

Info

Publication number
WO2011095038A1
WO2011095038A1 PCT/CN2010/080016 CN2010080016W WO2011095038A1 WO 2011095038 A1 WO2011095038 A1 WO 2011095038A1 CN 2010080016 W CN2010080016 W CN 2010080016W WO 2011095038 A1 WO2011095038 A1 WO 2011095038A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
terminal
information
connection
manager
Prior art date
Application number
PCT/CN2010/080016
Other languages
English (en)
French (fr)
Inventor
吴俊�
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011095038A1 publication Critical patent/WO2011095038A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, a resource processing system, and a terminal for implementing resource sharing between terminals.
  • the present invention provides a method for implementing resource sharing between terminals, the method comprising:
  • the first terminal establishes a connection with the second terminal, and acquires resource information that can be shared by the second terminal; the first terminal receives an instruction input by the user for operating a specific shared resource on the second terminal, and then creates a virtual resource corresponding to the specific shared resource, and sending, by the user, an operation instruction for operating the virtual resource to the second terminal;
  • the second terminal After receiving the operation instruction, the second terminal operates the corresponding resource according to the operation instruction, and then sends operation result information of the corresponding resource to the first terminal; and the first terminal receives the operation result. After the information, the operation result information of the corresponding resource is displayed.
  • the method further includes: the first terminal inputs an operation instruction that is input by the user and operates the virtual resource The first data packet is packaged into a specific format; the step of transmitting the operation result information of the corresponding resource to the first terminal includes: after the second terminal receives the first data packet, if the first data is identified The data packet is in the specific format, and the corresponding resource is operated according to the operation instruction in the first data packet, and then the operation result of the corresponding resource is packaged into the second data packet in the specific format, and then sent to the first terminal.
  • the step of displaying the operation result information of the corresponding resource includes: after the first terminal receives the second data packet, if the second data packet is identified as being in the specific format, displaying the second The result of the operation of the corresponding resource in the packet.
  • the step of the first terminal creating a virtual resource corresponding to the specific shared resource The method further includes: determining, by the first terminal, whether an application module that drives the specific shared resource is available, and if not, sending application capability negotiation information to the second terminal; After the application capability negotiation information is sent, the application module information that matches the specific shared resource is sent to the first terminal; and after the first terminal receives the application module information, loading the specific Application modules that share resources.
  • the step of establishing a connection between the first terminal and the second terminal includes: after receiving the connection request information with the second terminal, the first terminal detects whether the connection request information meets the requirement by using a predetermined security policy, if the requirement is met And establishing a connection with the second terminal.
  • the present invention further provides a resource processing system, which is applied to a first terminal, where the system includes: a connection manager, configured to: when detecting that a lower layer interface establishes a connection with a target terminal, acquiring The resource information that can be shared on the target terminal is output, and the obtained resource information is output to the resource manager.
  • the resource manager is configured to: output the received resource information that is available for sharing on the target terminal to the upper layer.
  • the resource virtual device is configured to: after receiving an instruction input by the user for operating a specific shared resource on the target terminal, creating a virtual resource corresponding to the specific shared resource, outputting an operation instruction of the user to the virtual resource to the interface driving module; and an interface driving module, configured to: send the operation instruction to the target device Receiving the specific shared resource returned by the target terminal according to the operation instruction After the first operation of the operation result information, the first operation result information output to the resource manager.
  • the resource virtualizer is further configured to: before the user outputs the operation instruction of the virtual resource to the interface driving module, package the operation instruction of the virtual resource by the user into the first format of the specific format data pack;
  • the interface driver module is further configured to: after receiving the first operation result information that is performed by the specific shared resource returned by the target terminal according to the operation instruction, identify whether the data packet carrying the first operation result information is For the specific format, if yes, the first operation result information is output to the resource manager.
  • the interface driving module is configured to send the received first data packet to the target device according to the following manner: converting the first data packet into a data packet matching the lower layer interface according to a lower layer interface protocol, and then sending Give the target terminal.
  • the system further includes an application manager, the connection manager further configured to: detect whether an application module for driving the specific shared resource is provided locally, and if not, output a signal to the application manager;
  • the application manager is configured to: after receiving the signal output by the connection manager, send application capability negotiation information to the target terminal; after receiving the application capability information returned by the target terminal, loading the specific shared resource Matching the application module, and then outputting a signal to the resource virtualizer;
  • the resource virtualizer is further configured to: after receiving the signal output by the application manager, create a virtual resource corresponding to the specific shared resource .
  • connection manager is further configured to: after receiving the connection request information with the target terminal, detecting whether the connection request meets a requirement according to a predetermined security policy, and if the requirement is met, establishing a connection with the target terminal.
  • the resource manager is further configured to: enumerate locally available resource information, and output the locally available resource information to the interface driver module;
  • the interface driver module is further configured to: if receiving an instruction for acquiring local resource information sent by the target terminal, send the locally available resource information to the target terminal.
  • the interface driver module is further configured to: if an instruction sent by the target terminal to operate the local resource is received, transmit an instruction to operate the local resource to the resource manager; and send a second operation result sent by the resource manager Information is sent to the target terminal;
  • the resource manager is further configured to: operate the corresponding resource according to the received instruction, and return the second operation result information of the corresponding resource to the interface driving module.
  • a method, a resource processing system, and a terminal for realizing resource sharing between terminals enable mutual sharing and use of data and functions between different terminals without the support of third party software.
  • FIG. 1 is a schematic diagram of a terminal according to an embodiment of the present invention.
  • 2 is a schematic diagram of a resource processing system according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for implementing resource sharing between terminals according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of application of a resource processing system according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a format of a flash connection data packet according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of processing of a transmission driver module according to an application example of the present invention.
  • FIG. 7 is a flowchart of processing for establishing a connection of a transmission driver module according to an application example of the present invention.
  • FIG. 8 is a flowchart of processing of receiving data by a transmission driving module according to an application example of the present invention.
  • FIG. 9 is a flowchart of an application example of a method for implementing resource sharing between terminals according to the present invention.
  • the preferred embodiment of the present invention is directed to the above problems, and the present invention provides a resource processing system for highly sharing data and functions between different terminals.
  • the device having the resource processing system can conveniently and conveniently share data with each other by wire or wirelessly. Function, data function sharing can be performed across operating system platforms and across hardware communication interfaces.
  • the terminal of the present invention is a lower layer interface driver layer and an upper layer application layer of an operating system of the original terminal.
  • Some intermediate layers ie, resource processing systems
  • a unified intermediate layer protocol is used to describe data information and control information of resource objects, and such data information and control information are packaged into a system.
  • the information flow irrelevant between the platform and the hardware interface allows the information flow (flash connection data packet) to be transmitted between different terminals through the intermediate layer.
  • the intermediate layer protocols of different terminals support the resource management, connection management, and drive management of the terminal. And the function of the virtual resource, so that the function and data information of the connected terminal can be collected and transmitted, and the functions and data of the other party are enumerated and operated.
  • the first terminal of the embodiment of the present invention establishes a connection with the second terminal, if it is determined that the connected second terminal also supports the shared resource function, the sharable resource information is obtained from the connected second terminal, and at the same time, the The first terminal may also send the locally available resource information to the connected second terminal.
  • the first terminal After receiving the instruction input by the user for using a shared resource of the connected second terminal, the first terminal creates a virtual resource corresponding to the selected shared resource, if the selected share is not locally enabled
  • the application module of the resource the first terminal negotiates with the connected terminal to load an application module that matches the selected shared resource, and after the application module is loaded, the virtual resource corresponding to the specific shared resource is allowed to be locally created.
  • the first terminal may package the operation command for the virtual resource input by the user into a data packet of a specific format, and then send the data packet to the connected second terminal; after receiving the operation command, the second terminal The operation command operates the selected resource, and then sends the operation result of the corresponding resource to the first terminal; the first terminal displays the received operation result of the selected shared resource on the second terminal.
  • the first terminal in this embodiment can share the resources on the second terminal, and the second terminal can share the resources on the first terminal.
  • the resource processing system of the embodiment of the present invention includes: a connection manager, a resource manager, a resource virtualizer, and an interface driver. Module, where
  • the connection manager is configured to: when detecting that the lower layer interface establishes a connection with the target terminal, acquire resource information that is available for sharing on the target terminal and send the resource information to the resource manager; the resource manager is configured to: the target terminal to be received And outputting the resource information that is available for sharing to the upper layer application; and receiving and displaying the first operation result information sent by the interface driving module; the resource virtual device is configured to: receive the user input for operating the target terminal After the instruction of the shared resource is created, a virtual resource corresponding to the specific shared resource is created, and the operation instruction of the virtual resource is packaged into a first data packet by the user and output to the interface driving module; and the interface driving module is set as: Receiving, the first data packet is sent to the target device, where the first data packet is converted into a data packet matching the lower layer interface according to a lower layer interface protocol, and then sent to the target terminal; a first operational node of the specific shared resource returned by the terminal operating according to the instruction After the information, the first operation result information output to the resource manager
  • the resource processing system of this embodiment further includes: an application manager, wherein the connection manager is further configured to: detect whether an application module for driving the specific shared resource is provided locally, and if not, to the The application manager outputs a signal; the application manager is configured to: after receiving the signal output by the connection manager, send application capability negotiation information to the target terminal; after receiving the application capability information returned by the target terminal And loading an application module that matches the specific shared resource, and then outputting a signal to the resource virtual device; the resource virtual device is further configured to: after receiving the signal output by the application manager, create a UI A virtual resource corresponding to a specific shared resource.
  • connection manager is further configured to: after receiving the connection request information with the target terminal, detecting whether the connection request meets a requirement according to a predetermined security policy, and if the requirement is met, establishing a connection with the target terminal, If it does not meet the requirements, the connection is refused to prevent illegal connections.
  • resource manager is further configured to: enumerate locally available resource information, and output the locally available resource information to the interface driver module;
  • the interface driver module is further configured to: if receiving an instruction for acquiring local resource information sent by the target terminal, sending the locally available resource information to the target terminal.
  • the interface driving module is further configured to: if receiving an instruction sent by the target terminal to operate the local resource, transmitting an instruction to operate the local resource to the resource manager; and sending a second operation sent by the resource manager The result information is sent to the target terminal; the resource manager is further configured to: operate the corresponding resource according to the received instruction, and return the second operation result information of the corresponding resource to the interface driving module.
  • the resources on the terminal where the resource processing system of the embodiment is located can also be shared by other terminals.
  • the following is a method for implementing resource sharing between terminals according to an embodiment of the present invention. It is assumed that the user wants to share the resources on the terminal B through the terminal A. As shown in FIG. 3, the method may include the following steps:
  • the terminal A After the connection between the terminal A and the terminal B, the terminal A can obtain the resource information that the terminal B can share. Specifically, the terminal A can obtain the resource information that the terminal B can share based on a certain security policy, and the terminal B can share the resource information.
  • the packet is packaged into a specific format, and the data packet of the specific format is sent to the terminal A.
  • the terminal A After receiving the data packet, the terminal A determines that the data packet is a data packet of a specific format, and then parses out the shareable information in the data packet. Resource information, the shared resource information is displayed to the user.
  • the terminal A After receiving the instruction input by the user for using the specific shared resource on the terminal B, the terminal A creates a virtual resource corresponding to the specific shared resource. Specifically, after receiving the instruction to use the specific shared resource, the terminal A receives the instruction of using the specific shared resource. Determining whether the local application capability matches the specific shared resource, and if yes, creating a virtual resource corresponding to the specific shared resource locally; if not, the terminal B negotiates the application capability, and the terminal B receives the terminal A.
  • the application module corresponding to the specific shared resource or the download address information of the application module corresponding to the specific shared resource is sent to the terminal A, and then the terminal A loads the application module, and then locally creates and The corresponding virtual resource of the specific shared resource.
  • the terminal A sends an operation command input by the user to the virtual resource to the terminal B. Specifically, the terminal A packages the operation command of the virtual resource input by the user into a specific format, and sends the data packet to the terminal B by the corresponding interface.
  • the terminal B After receiving the operation command sent by the terminal A, the terminal B operates the corresponding resource according to the operation command. Specifically, if the terminal B determines that the received data packet is a data packet of a specific format, the terminal B parses the data packet. The operation command in the operation, according to the operation command, the corresponding resource is operated.
  • the terminal B sends the operation result of the corresponding resource to the terminal A. Specifically, the terminal B packages the operation result of the corresponding resource into a packet of a specific format and sends the data packet to the terminal A by using a corresponding interface.
  • Terminal A displays the received operation result. After receiving the data packet of the specific format, the terminal A parses and displays the parsed operation result of the shared resource to the user.
  • FIG. 4 is a schematic diagram of application of the resource processing system of the present invention.
  • the resource processing system of the application example may include but is not limited to the following parts:
  • the interface driver module is divided into a transmission driver module.
  • function driver modules are included in this application example.
  • Transmission driver module The transmission driver module interacts with the function driver module through the flash connection data packet, and calls the interface driver and resource driver of the operation system downward.
  • the transfer driver module calls the resource driver, and the transfer driver module parses the operation command and data sent by the function driver module, and converts it into a call or input for a specific resource driver, and an operation event of the corresponding resource obtained from the resource driver and The output data is packaged as a flash-connected packet for distribution to the relevant interface.
  • the transfer driver module calls the interface driver to complete the transmission function of the flash connection data packet.
  • the transmission driver module unifies the implementation of connection management, data transmission and reception, and quality control of different types of interfaces (such as USB, Bluetooth, and serial ports), supports the resolution of the flash connection data packet, and transmits through the lower layer interface.
  • the flash connection data packet is converted into a data packet of the corresponding interface requirement format, and then transmitted by the corresponding lower layer interface, and the data obtained by the lower layer interface is also packaged into a flash connection data packet and sent to the upper layer function driving module.
  • the transmission driver module can realize the transmission of unified data flow and control flow between different platforms and different interfaces.
  • the format of the flash connection packet is shown in Figure 5, where the packet type can be defined as: connection request, connection response, disconnection, exception, and function driver; if the operation code is defined as a file operation, the sub-opcode Can be defined as: read, write, delete, locate, and create; etc.
  • the sub-opcode can be defined as play, stop, locate, forward, and rewind; etc.
  • the highest bit of the opcode is 0 Used to indicate the command, when it is 1, it is used to indicate the response to the opcode
  • the resource ID is the number of the resource in the operating system
  • the resource category can be defined as the camera, and the audio device, etc.
  • the serial number is the serial number of the operation command, which can be Low to high sorting allows setting of priority.
  • the flash connection data packet is added in the form of a protocol layer encapsulation to describe the functional and resource data on the terminal device in the form of protocol layer encapsulation, and the different functional and resource data on the device are in a data structure understandable by both parties or
  • the conventions are unified, and the methods for handling these resources and functions are included, so that the resources are highly shared, cross-platform and interface, for example, the camera function, all the devices supporting the description of the present invention can be mutually Send control commands and video data for receiving and processing cameras without the support of low-level drivers
  • Function-driven module Provides a unified interface for upper-level functional modules (including but not limited to resource managers, connection managers, application managers, and resource virtualizers), and converts the implementation operations of these interfaces into flash-connected data.
  • the packet is sent to the transmission driver module, and the transmission driver module receives the relevant flash connection data packet, distributes it to the relevant interface according to the analysis result, and calls it as an upper layer interface, and returns necessary parameter information and data information.
  • Resource Manager Supports peer and local resource enumeration functions for enumerating resources that support sharing in the current terminal; providing an interface to display resources available to the peer for sharing, and displaying operation results of the shared resources of the peer; monitoring the status of the resources, including Idle and use cases; Set the security policy for resource access. When other terminals are connected, you can obtain a list of resources supported by other terminals according to the security policy, and query the matching of the lower-layer drivers of the two terminals. 4, the connection manager:
  • the security policy used to implement the connection process rejecting the illegal connection; for example, it can implement password protection for certain resource accesses of the terminal, or set access rights of certain resources.
  • Application Manager Used to query the support of remote device application capabilities, and can send corresponding application resources to remote devices. For example, a user uses a mobile phone to share a public media player on a train via Bluetooth, but the media player of the mobile phone itself does not support the media stream of the flash connection protocol, that is, the mobile phone does not support adding a layer of flash connection to the audio and video stream data packet.
  • the protocol package is encapsulated to describe the type information of the media stream, etc., then the application manager of the mobile phone interacts with the media player on the train, and the application manager device on the train queries the platform, operating system and software information of the mobile phone.
  • a resource can be virtualized in the resource processing system, and the resource processing system accesses and operates the resource to the remote target device through commands.
  • the resource virtual device of the target device can cooperate with and respond to these commands. Operation, and sharing these functions is convenient to use across different interfaces across platforms, without the support of third-party software.
  • the user's mobile phone can establish file sharing with other mobile phones through Bluetooth, or can access the Internet through the General Packet Radio Service (GPRS), input the IP address and file path of the target PC, and access the password. Sharing is very convenient for users.
  • GPRS General Packet Radio Service
  • the resource virtualizer allows users to access shared resources using applications from the original operating system.
  • the user's mobile phone does not support the function of an external memory card, which can be accessed through the mobile phone's resource processing system.
  • To share a memory card or a folder in another mobile phone the user can see the shared memory card in the file manager on his own mobile phone. This sharing may be completely transparent to the user, just like This memory card is the same as the memory card in the user's mobile phone.
  • FIG. 6 is a flowchart of processing of a transmission driver module according to an application example of the present invention; as shown in FIG. 6, the method includes the following steps:
  • the processing procedure of the driving event reported by the transmission driver module to the lower layer interface includes the following steps: S501:
  • the transmission driver module receives After the event reported by the lower layer interface, the type of the lower layer interface is determined, and the driving event is converted into a unified transmission signal event according to different interface type protocols. For example, if the lower interface is a USB interface, the reported event is converted into a unified format data packet according to the USB interface protocol, so that the upper layer can transparently process the transmission data without using the interface for the data transmitted by the lower layer interface.
  • Protocols such as USB, Bluetooth, and Internet (INTERNET) protocols
  • S502. Determine a type of the converted signal event, and the type of the transmission signal event may have a connection request, a disconnect request, a data reception, and various abnormal messages, etc., according to the event type. Different types of processing are called separately, and there are connection request, disconnection request, data reception, and processing of various exception messages.
  • S503. The process finally packages the transmission data into a flash connection data packet, and the flash connection data packet format is as described above, please refer to FIG. 5.
  • S504. Send the flash connection data packet to the function driving module.
  • the processing flow of the data packet delivered by the function driver module to the function driver module includes the following steps:
  • the function driver module encapsulates the commands and data sent by the upper layer function modules (for example, the resource manager, the connection manager, the application manager, the resource virtual device, and the like) into a flash connection packet and sends the command to the transmission driver module.
  • the upper layer function modules for example, the resource manager, the connection manager, the application manager, the resource virtual device, and the like
  • the transmission driver module analyzes the received flash connection data packet, and performs different transmission processing according to the content of the analyzed flash connection data packet.
  • the content of the parsed flash packet includes: sending a connection request, sending a disconnect request, sending data, sending an abnormal message, etc., each process is finally based on a source address, a destination address, and a destination address resolved by the flash connected data packet.
  • the difference of the lower layer interface driver protocol is to encapsulate the data packet through a specific interface protocol and then send it to the target device.
  • the interface driver of the target terminal receives the data packet, and the subsequent operation repeats the operation of step S501 on the target device.
  • FIG. 7 is a flowchart of processing for establishing a connection of a transmission driver module according to an application example of the present invention, as shown in FIG.
  • the transmission driver module establishes a connection with the lower layer interface through a lower layer interface protocol.
  • the USB interface can establish a connection by controlling endpoint 0, and Ethernet can establish a connection through a TCP/IP socket.
  • the transmission driver module starts to receive the data packet by using the established lower layer interface connection, and determines the format of the received data packet, and may pass the number of flash connections in FIG. According to the flag of the packet, if it is a legal flash connection packet, the process goes to step S603. If it is a non-flash connection packet, it is discarded or transparently transmitted to the upper layer application, that is, the flash connection is continuously monitored in the interface. data pack.
  • the parsing connection packet parameter mainly parses the source device platform type of the connection package (for example, source hardware platform number, source operating system number, source interface type, source interface version, source address type, source address offset, and checksum, etc.) And the destination device platform type (for example, target hardware platform number, target operating system number, target interface type, target interface version, destination address type, destination address offset, and checksum, etc.). Determine whether the connection packet is legal, that is, determine whether the destination address and interface type match, checksum, and so on.
  • the functions of the flash-connected data packet include, but are not limited to, the fields described in FIG. 5.
  • the purpose of the flash-connected data packet is to establish a unified protocol, so that the flash-connected data packet can describe different interfaces and resource types of both parties of the data packet communication. Contain enough information, such as what hardware platform is connected on both sides, what type of resource is, format, and so on. With such information, the flash connection data packet can describe various resource data, whether it is video, audio, camera, file sharing, etc., the structure of the flash connection data packet can be used to understand the communication parties, and realize cross-system, Trans-interface transfer.
  • JAVA is a cross-flash data packet and is also used in JAVA code. It is parsed and executed by resource management devices on various platforms. The difference is that the flash connection data packet is not a code, but a description of resource data. What is achieved is the sharing of resources and features across platforms.
  • step S605. Determine, according to settings of an upper application (for example, a connection manager) (for example, a security policy, a system state, and the like), whether to receive a connection, and if the connection is not allowed, send a connection failure response packet to the target terminal; if the connection is allowed to be established Then, the process proceeds to step S605.
  • an upper application for example, a connection manager
  • a security policy for example, a security policy, a system state, and the like
  • FIG. 8 is a flowchart of processing for receiving data by a transmission driver module according to an application example of the present invention. As shown in FIG. 8, the method includes the following steps:
  • the transport driver module receives the packet. If the received packet type is a data packet, parsing the data of the data packet and filling in a buffer bound to the connection request.
  • Step S703 Construct a flash connection data packet to be sent to the function driver module when the reception is completed or the buffer is full, and the data area of the flash connection data packet may be filled into the data pointer of the buffer, and then sent to the function driver module, and then Step S703 is performed.
  • step S704 Determine whether there is an abnormality in the transmission process. If there is an abnormality, perform exception processing, for example, packet loss or error; if there is no abnormality, execute step S704 and return to step S701.
  • exception processing for example, packet loss or error
  • the function driver module After the function driver module receives the flash connection data packet, the data is processed by the data area pointer and the connection parameter, or the data pointer is directly returned to the upper application by using the API parameter.
  • the process of sending data by the flash connection module is the same as that of receiving data.
  • the upper layer function driver module interacts with the flash connection data packet, and the lower layer interaction is performed according to the specific lower layer interface protocol.
  • Both the mobile phone and the PC are equipped with the resource management device of the embodiment of the present invention, and the mobile phone and the PC to which the resource management device of the embodiment of the present invention is installed are collectively referred to as "flash connection device".
  • flash connection device The camera and USB communication function are built in the mobile phone, then the user can share the camera function of the mobile phone on the PC through the resource management device, as shown in FIG. 9, specifically including the following steps: S801, the mobile phone is inserted into the USB interface of the PC through the USB data cable.
  • the PC uses Windows
  • the PC initiates a USB enumeration, and communicates with the mobile phone; specifically, the USB device driver of the Windows XP operating system of the PC initiates a USB enumeration, and if the recognized mobile phone is a flash connected device, the corresponding registered USB function driver and the mobile phone are invoked. Communication.
  • the PC establishes a data connection with the mobile phone, and the mobile phone sends the shared resource information to the PC; specifically, the transmission driver module of the PC establishes a data connection with the transmission driver module of the mobile phone, and the resource manager of the mobile phone shares the resources that can be shared by the function driving module.
  • the list is sent to the transmission driver module of the mobile phone, and the transmission driver module on the mobile phone encapsulates the data such as the resource list into a flash connection data packet and sends it to the PC.
  • the connection manager between the PC and the mobile phone manages various connections between the peer end and the local end, including a flash connection on the USB interface, records connection parameters of the local end and the opposite end, and creates a data buffer related to the connection. .
  • the transmission driver module on the PC and the mobile phone is used to monitor the transmission of the underlying USB driver package and capture the data packets related to the flash connection.
  • the application is directly transmitted to the original upper layer; for the connection, transmission, and reception processing of the flash connection data packet, the received flash connection data packet is sent to the function driver module, and the sent flash connection data packet is transmitted through the USB.
  • the driver sends.
  • the PC identifies the flash connection data packet, parses the flash connection data packet, and displays the resource list that the mobile phone can share to the user.
  • the transmission driver module of the PC side receives the data packet, and if it is identified as a flash connection resource description package (ie, flashing the data packet), the flash connection data packet is output to the function driving module, the function driving module parses the flash connection data packet, analyzes which shared resources are on the mobile phone, and then transmits the analyzed resource data to the resource.
  • the manager and the interface provided by the resource manager displays the resources available for sharing on the mobile phone.
  • the resource manager on the PC and the mobile phone can support the resource enumeration function of the peer end and the local end, return the resource list available to the peer end, record the parameter of the resource, control the access authority of the resource, and provide the interface display at the same time.
  • the user can select the shared object from the list of shared resources to operate.
  • the application manager on the PC side searches for and loads an application module matching the resource type, such as a camera application, according to the type of the shared resource (eg, a camera), and then creates the resource virtual device.
  • the resource type such as a camera application
  • the type of the shared resource e.g, a camera
  • a local camera driver the actual control and data of the camera is realized by the flash connection function driving module to call the corresponding driver on the opposite mobile phone side. If the application manager on the PC cannot find the application module that matches the resource type, indicating that the application capability on the PC does not match the application capability of the resource to be shared, the PC can negotiate with the mobile device to support the application package.
  • the application manager on the mobile phone side supports application capability negotiation.
  • the camera application package is sent to the PC according to the operating system type of the peer platform (for example, Windows XP) and the locale;
  • the space is limited, and it is not necessary to support sending the application package to the PC, so the PC can be informed of the download address of the corresponding application package.
  • the PC After receiving the operation instruction of the USB camera created by the user locally, the PC packages the operation instruction into a flash connection data packet and sends the operation instruction to the mobile phone. Specifically, after receiving the operation instruction on the locally created USB camera, the resource virtual device on the PC outputs the operation instruction to the function driving module, and after the function driving module is packaged into the flash connection data packet, the transmission driving module is transmitted. It is converted to the data corresponding to the lower layer interface protocol and sent to the mobile phone.
  • the mobile phone After receiving the operation instruction sent by the PC, the mobile phone operates the camera according to the operation instruction, packages the operation result information of the camera into a flash connection data packet, and sends the result to the PC. Specifically, after receiving the resource function calling request on the PC side, the function driving module of the mobile phone operates the camera of the mobile phone, opens the preview, and packages the preview image data and format information into a flash connection data packet, and then flashes through the transmission driver module. Even the packet is sent to the PC.
  • the PC receives the flash connection data packet of the mobile phone. If it is determined to be the camera resource data, the image data and the image format are analyzed, and the image acquired by the camera is displayed. Specifically, after receiving the flash connection data packet, the transmission driving module on the PC sends the flash connection data packet to the function driving module, and the function driving module drives the resource manager to display the image captured by the camera.
  • the following describes some scenarios in which the resource processing system of the present invention is used. The actual usage scenarios include but are not limited to the following:
  • Intelligent integrated control center for household appliances; Intelligent household appliances are connected to the smart home appliance control center with the resource processing system of the present invention through a communication line, and the smart home appliance control center collects state data provided by each home appliance in real time, such as whether the washing machine washes clothes. Is the rice cooker cooked, whether the lights in a room are still lit, the readings of the water meter and the meter, etc.
  • the smart home appliance control center provides a wireless or wired interface to the user's various flash connected devices, so that the user is When watching TV in a certain room, the TV with the resource management system of the present invention automatically prompts the user that the water downstairs has been boiled, whether the power is turned off, the guest rings the door, and the owner does not have to run downstairs to the gate.
  • the visual door can be pressed to press the door button, and the operation can be completed by using the TV remote control.
  • the control function can also be transferred to the mobile phone with the resource management system of the present invention at any time, and the owner can select the channel of the TV by using the mobile phone. Control washing machines and microwave ovens.
  • the mobile phone becomes a wireless U disk, wireless camera, telecommuting; the traditional mobile phone needs to be plugged into the computer through USB, and then the computer is equipped with the driver and synchronization software to access the files on the mobile phone, if the computer is installed with different operating systems, family The models of the mobile phones used are different, so it is very troublesome to install a large number of drivers and software.
  • the mobile phone and personal computer equipped with the resource management system of the present invention can conveniently and transparently provide the functions of the U disk and the camera provided by the mobile phone to the individual.
  • the computer's operating system is integrated. This can be placed on the computer by wired or wireless means, and the computer will prompt the U disk and the camera to access.
  • the resource management system of the present invention automatically virtualizes the U disk and camera of the mobile phone into a local resource. It can be achieved even through a remote network.
  • the resource shared by the resource management system of the present invention has the characteristics of transitivity and network. If your mobile phone is forgotten at home when you go to work, as long as your mobile phone is connected to the computer connected to the Internet, you can also make your mobile phone through WAP PUSH message. Access to the 3G network, so you can virtualize your home phone to the U disk that is connected to your office computer through the company's Internet, and you can read the phone book, send and receive text messages, etc. on the computer.
  • the remote shared camera can also help. Look after the children at home.
  • Multimedia on-demand system in public places;
  • the multimedia on-demand system equipped with the resource processing system of the present invention can be installed in long-distance buses and trains, and the passenger can connect with the multimedia on-demand system as long as the mobile terminal having the resource processing system of the present invention can be provided in the on-demand system at will.
  • a method, a resource processing system, and a terminal for realizing resource sharing between terminals of the present invention enable mutual sharing and use of data and functions between different terminals without the support of third party software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种实现终端间资源共享的方法,该方法包括:第一终端与第二终端建立连接,获取所述第二终端可共享的资源信息;所述第一终端接收到用户输入的用于操作所述第二终端上的特定共享资源的指令后,创建一个与所述特定共享资源相应的虚拟资源,将用户输入的对所述虚拟资源进行操作的操作指令发送给所述第二终端;所述第二终端接收到所述操作指令后,根据所述操作指令操作相应资源,然后将相应资源的操作结果信息发送给所述第一终端;以及所述第一终端接收到所述操作结果信息后,显示所述相应资源的操作结果信息。本发明能够使不同的终端之间不需要第三方软件的支持即可以相互共享和使用彼此间的数据和功能。

Description

实现终端间资源共享的方法、 资源处理系统及终端
技术领域 本发明涉及通信领域, 特别是涉及实现终端间资源共享的方法、 资源处 理系统及终端。
背景技术
随着生活水平的提高, 家电和消费类电子产品的种类和功能日益增多, 不同电子产品往往偏重于不同的功能点, 相互之间不能艮好地共享彼此的功 能, 如果个人电脑与移动通讯及娱乐类电子产品间数据功能共享能力可以进 一步提高, 能够快速连接、且方便共享的话, 将给人们的使用带来新的体验。 现有终端之间共享数据和功能的方法主要有通用串行总线 (Universal Serial Bus, USB ) 、 蓝牙、 红外、 WIFI ( Wireless Fidelity, 又称 802.11b标 准) 、 以及以太网等, 使用这些方法共享资源存在如下缺点: 1、 依赖驱动和上层软件: 比如用户有手机和个人电脑 ( Personal
Computer, PC ) , 如果用户想通过 PC访问存在手机闪存卡中的文件, 那么 用户连上数据线以后, 先得保证在 PC上安装好这种手机型号的驱动和同步 软件, 然后才能访问插在手机闪存卡中的文件资源, 如果用户更换了别的型 号的手机, 那么又得重新安装驱动和同步软件。
2、 共享模式单一: 现在终端之间的共享, 往往采用主从模式, 手机在被 电脑上的同步软件访问资源的同时无法访问电脑的资源, 手机和手机之间也 不能方便地共享资源。
3、使用不方便: 如同第 1点所述, 用户的个人电脑和手机间共享数据往 往是依赖同步软件来实现的, 用户使用某种功能前还必须熟悉这个同步软件 的说明书, 如果用户有一部国外版的手机, 那么同步软件还可能没有其当地 的语言界面, 那么在使用同步软件的各种功能时就存在困难。
4、 共享程度有限: 现在的消费类产品存在很多功能点无法共享的缺点, 比如手机、 数码相机、 以及摄像头都有摄像头和麦克, 但是在用户的电脑上 却无法共享摄像头和麦克风。
发明内容
本发明的目的在于提供一种实现终端间资源共享的方法、 资源处理系统 及终端, 使不同的终端之间可以相互共享和使用彼此间的数据和功能。 为了解决上述技术问题,本发明提供了一种实现终端间资源共享的方法, 该方法包括:
第一终端与第二终端建立连接, 获取所述第二终端可共享的资源信息; 所述第一终端接收到用户输入的用于操作所述第二终端上的特定共享资 源的指令后, 创建一个与所述特定共享资源相应的虚拟资源, 将用户输入的 对所述虚拟资源进行操作的操作指令发送给所述第二终端;
所述第二终端接收到所述操作指令后,根据所述操作指令操作相应资源, 然后将相应资源的操作结果信息发送给所述第一终端; 以及 所述第一终端接收到所述操作结果信息后, 显示所述相应资源的操作结 果信息。
将用户输入的对所述虚拟资源进行操作的操作指令发送给所述第二终端 的步骤之前, 所述方法还包括: 所述第一终端将用户输入的对所述虚拟资源 进行操作的操作指令打包成特定格式的第一数据包; 将相应资源的操作结果信息发送给所述第一终端的步骤包括: 所述第二 终端接收到所述第一数据包后, 若识别出所述第一数据包为所述特定格式, 则根据所述第一数据包中的操作指令操作相应资源, 然后将相应资源的操作 结果打包成所述特定格式的第二数据包后发送给所述第一终端; 显示所述相应资源的操作结果信息的步骤包括: 所述第一终端接收到所 述第二数据包后, 若识别出所述第二数据包为所述特定格式, 则显示所述第 二数据包中的相应资源的操作结果。 所述第一终端创建一个与所述特定共享资源相应的虚拟资源的步骤之 前, 所述方法还包括: 所述第一终端判断本地是否具备驱动所述特定共享资源的应用模块, 若 不具备, 则向所述第二终端发送应用能力协商信息; 所述第二终端接收到所述应用能力协商信息后, 将与所述特定共享资源 相匹配的应用模块信息发送给所述第一终端; 以及 所述第一终端接收到所述应用模块信息后, 加载与所述特定共享资源相 匹配的应用模块。
第一终端与第二终端建立连接的步骤包括: 所述第一终端接收到与所述第二终端的连接请求信息后, 以预定的安全 策略检测所述连接请求信息是否符合要求, 若符合要求, 则与所述第二终端 建立连接。 为了解决上述技术问题, 本发明还提供了一种资源处理系统, 应用于第 一终端中, 该系统包括, 连接管理器, 其设置为: 当检测到下层接口与目标终端建立连接时, 获 取所述目标终端上可供共享的资源信息, 并将获取到的资源信息输出给资源 管理器; 资源管理器, 其设置为: 将接收到的所述目标终端上可供共享的资源信 息输出给上层应用; 接收并显示所述接口驱动模块发来的所述第一操作结果 信息; 资源虚拟器, 其设置为: 接收到用户输入的用于操作所述目标终端上特 定共享资源的指令后, 创建一个与所述特定共享资源相应的虚拟资源, 将用 户对所述虚拟资源的操作指令输出给接口驱动模块; 及 接口驱动模块,其设置为: 将接收到所述操作指令发送给所述目标设备; 接收到所述目标终端返回的所述特定共享资源根据所述操作指令进行操作的 第一操作结果信息后, 将所述第一操作结果信息输出给所述资源管理器。 所述资源虚拟器还设置为: 将用户对所述虚拟资源的操作指令输出给接 口驱动模块之前, 将用户对所述虚拟资源的操作指令打包成特定格式的第一 数据包;
所述接口驱动模块还设置为: 接收到所述目标终端返回的所述特定共享 资源根据所述操作指令进行操作的第一操作结果信息后, 识别承载所述第一 操作结果信息的数据包是否为所述特定格式, 若是, 则将所述第一操作结果 信息输出给所述资源管理器。 所述接口驱动模块是设置为按如下方式将接收到所述第一数据包发送给 所述目标设备: 根据下层接口协议将所述第一数据包转换成与下层接口相匹 配的数据包后发送给目标终端。 所述系统还包括应用管理器, 所述连接管理器还设置为: 检测本地是否具备用于驱动所述特定共享资 源的应用模块, 若不具备, 则向所述应用管理器输出一信号; 所述应用管理器设置为: 接收到所述连接管理器输出的信号后, 向所述 目标终端发送应用能力协商信息; 接收到所述目标终端返回的应用能力信息 后, 加载与所述特定共享资源相匹配的应用模块, 然后向所述资源虚拟器输 出一信号; 所述资源虚拟器还设置为: 接收到所述应用管理器输出的信号后, 创建 一个与所述特定共享资源相应的虚拟资源。 所述连接管理器还设置为: 接收到与所述目标终端的连接请求信息后, 根据预定的安全策略检测所述连接请求是否符合要求, 若符合要求, 则与所 述目标终端建立连接。 所述资源管理器还设置为: 枚举本地可供共享的资源信息, 将本地可供 共享的资源信息输出给所述接口驱动模块;
所述接口驱动模块还设置为: 若接收到目标终端发来的获取本地资源信 息的指令, 则将所述本地可供共享的资源信息发送给目标终端。 所述接口驱动模块还设置为: 若接收到目标终端发来操作本地资源的指 令, 则将操作本地资源的指令传输给所述资源管理器; 将所述资源管理器发 来的第二操作结果信息发送给所述目标终端; 所述资源管理器还设置为: 根据接收到的指令操作相应资源, 将所述相 应资源的第二操作结果信息返回给所述接口驱动模块。 为了解决上述技术问题, 本发明还提供了一种终端, 其包括如权利要求
5-11中任一项所述的资源处理系统。 综上, 根据本发明的一种实现终端间资源共享的方法、 资源处理系统和 终端, 能够使不同的终端之间不需要第三方软件的支持即可以相互共享和使 用彼此间的数据和功能。
附图概述 图 1为本发明实施例的终端的示意图。 图 2为本发明实施例的资源处理系统的示意图。 图 3为本发明实施例的实现终端间资源共享的方法的流程图。 图 4为本发明实施例的资源处理系统的应用示意图。 图 5为本发明实施例的闪连数据包的格式示意图。 图 6为本发明应用示例的传输驱动模块的处理流程图。 图 7为本发明应用示例的传输驱动模块的建立连接的处理流程图。 图 8为本发明应用示例的传输驱动模块接收数据的处理流程图。 图 9为本发明的实现终端间资源共享的方法的应用示例的流程图。
本发明的较佳实施方式 针对以上问题, 本发明提出了让不同终端间数据和功能高度共享的资源 处理系统, 拥有该资源处理系统的设备可以相互间方便地通过有线或无线便 捷地共享数据和功能, 可以跨操作系统平台及跨硬件通讯接口进行数据功能 共享。
本发明的终端是在原有终端的操作系统的下层接口驱动层与上层应用层 中加入一些中间层 (即, 资源处理系统) , 如图 1所示, 用统一的中间层协 议去描述资源对象的数据信息和控制信息, 并且将这种数据信息和控制信息 打包转换为与系统平台和硬件接口无关的信息流, 让这种信息流(闪连数据 包)通过中间层在不同终端之间进行传递, 不同终端的中间层协议都支持本 终端的资源管理、 连接管理、 驱动管理以及虚拟资源的功能, 这样连接的终 端的功能和数据信息可以相互收集和传递, 相互之间枚举、 操作对方的功能 和数据。
本发明实施例的第一终端与第二终端建立连接后, 若判断连接的第二终 端也支持共享资源功能, 则向所连接的第二终端获取可共享的资源信息, 同 时, 本实施例的第一终端也可以将本地可供共享的资源信息发送给所连接的 第二终端。 第一终端接收到用户输入的用于使用所连接的第二终端的某一共享资源 的指令后, 创建与所述选定共享资源相应的虚拟资源, 若本地上未具备驱动 所述选定共享资源的应用模块, 则第一终端与所连接的终端协商加载与所述 选定共享资源相匹配的应用模块, 加载应用模块后即允许在本地创建与所述 特定共享资源相应的虚拟资源。
然后, 第一终端可以将用户输入的对所述虚拟资源的操作命令打包成特 定格式的数据包后发送给所连接的第二终端; 所述第二终端接收到所述操作命令后, 根据所述操作命令操作选定的资 源, 然后将相应资源的操作结果发送给第一终端; 第一终端显示接收到的第二终端上的选定共享资源的操作结果。 这样, 本实施例的第一终端即可共享第二终端上的资源, 同理第二终端 也可共享第一终端上的资源。
下面详细介绍一下本发明实施例的资源处理系统, 如图 2所示, 本实施 例的资源处理系统包括: 连接管理器、 资源管理器、 资源虚拟器和接口驱动 模块, 其中,
连接管理器设置为: 当检测到下层接口与目标终端建立连接时, 获取所 述目标终端上可供共享的资源信息并发给资源管理器; 资源管理器设置为: 将接收到的所述目标终端上可供共享的资源信息输 出给上层应用;以及接收并显示所述接口驱动模块发来的第一操作结果信息; 资源虚拟器设置为: 接收到用户输入的用于操作所述目标终端上特定共 享资源的指令后, 创建一个与所述特定共享资源相应的虚拟资源, 将用户对 所述虚拟资源的操作指令打包成第一数据包后输出给接口驱动模块; 及 接口驱动模块设置为: 将接收到所述第一数据包发送给所述目标设备, 具体为, 根据下层接口协议将所述第一数据包转换成与下层接口相匹配的数 据包后发送给目标终端; 接收到所述目标终端返回的所述特定共享资源根据 所述指令进行操作的第一操作结果信息后, 将所述第一操作结果信息输出给 所述资源管理器。
进一步地, 本实施例的资源处理系统还包括: 应用管理器, 所述连接管理器还设置为: 检测本地是否具备用于驱动所述特定共享资 源的应用模块, 若不具备, 则向所述应用管理器输出一信号; 所述应用管理器设置为: 接收到所述连接管理器输出的信号后, 向所述 目标终端发送应用能力协商信息; 接收到所述目标终端返回的应用能力信息 后, 加载与所述特定共享资源相匹配的应用模块, 然后向所述资源虚拟器输 出一信号; 所述资源虚拟器还设置为: 接收到所述应用管理器输出的信号后, 创建 一个与所述特定共享资源相应的虚拟资源。 进一步地, 连接管理器还设置为: 接收到与所述目标终端的连接请求信 息后, 根据预定的安全策略检测所述连接请求是否符合要求, 若符合要求, 则与所述目标终端建立连接, 若不符合要求, 则拒绝连接, 以防止非法连接。 进一步地, 资源管理器还设置为: 枚举本地可供共享的资源信息, 将本 地可供共享的资源信息输出给所述接口驱动模块; 接口驱动模块还设置为: 若接收到目标终端发来的获取本地资源信息的 指令, 则将所述本地可供共享的资源信息发送给目标终端。 进一步地, 接口驱动模块还设置为: 若接收到目标终端发来操作本地资 源的指令, 则将操作本地资源的指令传输给所述资源管理器; 将所述资源管 理器发来的第二操作结果信息发送给所述目标终端; 资源管理器还设置为: 根据接收到的指令操作相应资源, 将所述相应资 源的第二操作结果信息返回给所述接口驱动模块。 这样, 本实施例的资源处理系统所在的终端上的资源也可以被其他终端 共享。
下面是本发明实施例的一种实现终端间资源共享的方法, 假设用户想通 过终端 A共享终端 B上的资源, 如图 3所示, 该方法可以包括下面步骤:
SI 1、 终端 A与终端 B建立连接后, 获取终端 B可共享的资源信息; 具体地,终端 A可以基于一定的安全策略来获取终端 B可共享的资源信 息, 终端 B将可共享的资源信息打包成特定格式的数据包, 将该特定格式的 数据包发送给终端 A; 终端 A接收到数据包后, 若判断该数据包为特定格式 的数据包, 则解析出该数据包中的可共享的资源信息, 将该可共享的资源信 息显示给用户。
512、 终端 A接收到用户输入的用于使用终端 B上的特定共享资源的指 令后, 创建与所述特定共享资源相应的虚拟资源; 具体地, 终端 A接收到使用特定共享资源的指令后, 判断本地的应用能 力是否与该特定共享资源相匹配, 若匹配, 则在本地创建与该特定共享资源 相应的虚拟资源; 若不匹配, 则与终端 B协商应用能力, 终端 B接收到终端 A发来的协商应用能力请求后, 将该特定共享资源相应的应用模块、 或者将 该特定共享资源相应的应用模块的下载地址信息发送给终端 A, 然后终端 A 加载该应用模块后, 在本地创建与该特定共享资源相应的虚拟资源。
513、 终端 A将用户输入的对所述虚拟资源的操作命令发送给终端 B; 具体地, 终端 A将用户输入的对所述虚拟资源的操作命令打包成特定格 式的数据包由相应的接口发送给终端 B。
514、 终端 B接收到终端 A发来的操作命令后, 根据所述操作命令操作 相应资源; 具体地, 若终端 B判断接收到的数据包为特定格式的数据包, 则解析出 所述数据包中的操作命令, 根据所述操作命令操作相应的资源。
515、 终端 B将相应资源的操作结果发送给终端 A; 具体地, 终端 B将相应资源的操作结果打包成特定格式的数据包由相应 的接口发送给终端 A。
S16、 终端 A显示接收到的操作结果。 终端 A接收到特定格式的数据包后, 进行解析, 将解析出的对共享资源 的操作结果显示给用户。
现基于本发明提出一种实施方案, 但本发明不限于这种具体实施方案。 图 4为本发明的资源处理系统的应用示意图, 如图 4所示, 本应用示例 的资源处理系统可以包括但不局限于以下几个部分: 本应用示例中将接口驱动模块分为传输驱动模块和功能驱动模块。
1、 传输驱动模块: 传输驱动模块向上与功能驱动模块通过闪连数据包交互, 向下调用操作 系统的接口驱动和资源驱动。
A、 传输驱动模块对资源驱动的调用, 传输驱动模块解析功能驱动模块下发的操作命令和数据, 转化为对具体 资源驱动的调用或输入, 同时将从资源驱动获得的相应资源的操作事件和输 出数据打包为闪连数据包分发给相关接口。 B、 传输驱动模块对接口驱动的调用, 完成闪连数据包的传输功能, 传输驱动模块将不同类型的接口 (比如 USB、 蓝牙、 以及串口) 的连接 管理、 数据收发、 以及质量控制等具体机制的实现都统一起来, 支持闪连数 据包的解析, 并通过下层接口进行传输, 例如, 根据相应接口协议将闪连数 据包转换成相应接口要求格式的数据包后由相应的下层接口进行传输, 也支 持将下层接口获得的数据打包为闪连数据包发给上层功能驱动模块, 传输驱 动模块即可实现了不同平台, 不同接口之间的统一数据流和控制流的传输。 闪连数据包的格式示意图如图 5所示, 其中, 包类型可以定义为: 连接 请求、 连接应答、 断开连接、 异常、 以及功能驱动等; 操作码若定义为文件 操作, 则子操作码可以定义为: 读、 写、 删除、 定位、 以及创建等; 操作码 若定义为媒体操作, 则子操作码可以定义为播放、 停止、 定位、 前进、 以及 后退等; 操作码最高位为 0时用于表示命令, 为 1时用于表示对操作码的响 应; 资源 ID 为资源在操作系统中的编号; 资源类别可以定义为摄像头、 以 及音频设备等; 序列号为操作命令的序号, 可以从低到高排序, 允许设置优 先级。
闪连数据包是在低层的通信数据包基础上以协议层封装的形式增加描述 终端设备上的功能性和资源数据, 将设备上不同的功能性和资源数据以双方 都可以理解的数据结构或约定统一起来, 同时包括了处理这些资源和功能的 方法, 使得资源具有高度的共享性, 跨平台和接口, 打个比方, 比如说摄象 头功能, 所有支持本发明描述的设备相互间都可以发送接收和处理摄象头的 控制命令和视频数据, 而无须低层驱动的支持
2、 功能驱动模块: 为上层功能模块(包括但不限于资源管理器、 连接管理器、应用管理器、 以及资源虚拟器等)提供统一的接口, 并将这些接口的实现操作转化为闪连 数据包发给传输驱动模块, 同时将传输驱动模块接收相关闪连数据包, 根据 解析结果分发到相关接口, 作为上层接口的调用, 并返回必要参数信息和数 据信息。
3、 资源管理器: 支持对端和本端资源枚举功能, 用于枚举当前终端中支持共享的资源; 提供界面显示对端可供共享的资源, 及显示对端共享资源的操作结果; 监视 资源的状态, 包括空闲和使用的情况; 设置资源访问的安全策略, 当有其他 终端连接时, 可以根据安全策略获取其他终端支持的资源列表, 查询双方终 端下层驱动的匹配情况等。 4、 连接管理器:
A、 用于处理下层接口上报的连接事件; 对于远程设备发起的连接, 查询远程设备的接口的类型及应用能力, 例 如, 远程设备上有哪些功能资源, 比如文件管理, 摄像头, 调频(Frequency Modulation, FM ) 收音机, 全球定位系统( Global Positioning System, GPS ) 等应用资源, 将连接的消息通知远程设备; 对于本终端发起的连接, 会自动 获取或通过人机方式得到连接的参数, 根据连接的参数发命令给功能驱动模 块去建立连接。 如果设备或接口的类型或应用能力不匹配的话, 则通知应用 管理器, 让应用管理器进行应用能力匹配的协商工作。 B、 用于实现连接过程的安全策略, 拒绝非法连接; 比如, 可以实现对终端的某些资源访问进行密码保护, 或者设置某些资 源的访问权限等。
C、 用于管理已建立的连接, 监视连接的状态。
4、 应用管理器: 用于查询远程设备应用能力的支持情况, 可以为远程设备发送相应的应 用资源。 比如, 某个用户用手机通过蓝牙共享火车上的公共媒体播放器, 但是手 机本身的媒体播放器不支持闪连协议的媒体流, 即手机不支持将音视频流数 据包再加一层闪连协议包进行封装以描述媒体流的类型信息等, 那么手机的 应用管理器就会与火车上的媒体播放器进行交互, 火车上应用管理器设备就 会查询到手机的平台、 操作系统和软件信息, 给手机发送相应的软件或补丁 包, 这样用户就可以在旅行中用手机点播火车上的媒体服务提供的电影了。 5、 资源虚拟器: 可以在资源处理系统中虚拟一个资源, 并把资源处理系统对这个资源的 访问和操作通过命令发到远程目标设备上, 目标设备的资源虚拟器可以配合 和响应这些命令的操作, 而且共享的这些功能是可以跨平台通过不同接口方 便的使用, 不需要第三方软件的支持。 例如, 用户的手机既可以通过蓝牙来与别的手机建立文件共享, 也可以 通过通用分组无线业务( General Packet Radio Service, GPRS )上网, 输入目 标 PC的 IP地址和文件路径及访问密码就可以建立共享, 对用户来说非常方 便。 为了让用户获得一个好的使用体验, 资源虚拟器能够让用户使用原有操 作系统中的应用来访问共享的资源, 比如用户的手机不支持外接存储卡的功 能, 其可以通过手机的资源处理系统来共享其他手机中的存储卡或是一个文 件夹,那么用户在自已的手机上就可以在文件管理器看到共享的这个存储卡, 这种共享对用户来说可能是完全透明的, 就像这张存储卡是用户的手机中的 存储卡一样。
图 6为本发明应用示例的传输驱动模块的处理流程图; 如图 6所示, 包 括下面步骤: 传输驱动模块对下层接口上报的驱动事件的处理流程包括下面步骤: S501、 传输驱动模块接收到下层接口上报的事件后, 判断下层接口的类 型 , 根据不同接口类型协议将所述驱动事件转换为统一的传输信号事件。 例如, 下层接口是 USB接口, 则根据 USB接口协议将上报的事件转换 为统一格式的数据包, 以使上层能够透明地处理传输数据, 而不用去管下层 接口传输的数据采用的是哪种接口协议, 例如 USB、 蓝牙、 以及因特网 ( INTERNET )等协议
S502、 判断转换后的传输信号事件的类型, 传输信号事件的类型可以有 连接请求, 断开请求, 数据接收, 以及各种异常消息等, 根据事件类型的不 同分别调用不同类型的处理过程, 分别有连接请求, 断开请求, 数据接收, 以及各种异常消息的处理。
S503、 处理过程最后将传输数据打包变成闪连数据包, 闪连数据包格式 所上文所述, 请参考图 5。 S504、 将闪连数据包发给功能驱动模块。
传输驱动模块对功能驱动模块下发的数据包的处理流程包括下面步骤:
5505、 功能驱动模块将上层功能模块(例如, 资源管理器、 连接管理器、 应用管理器和资源虚拟器等) 下发的命令和数据封装成闪连数据包下发到传 输驱动模块。
5506、传输驱动模块对接收到的闪连数据包的进行分析,根据解析出的闪 连数据包的内容进行不同的传输处理。 解析出的闪连数据包的内容比如包括: 发送连接请求、 发送断开请求、 发送数据、 发送异常消息等, 每个处理过程最后都要根据闪连数据包解析出 来的源地址、 目的地址、 下层接口驱动协议的不同将数据包通过具体的接口 协议封装后发送到目标设备。
5507、 目标终端的接口驱动接收到数据包, 之后的操作在目标设备上重 复步骤 S501的操作。
图 7为本发明应用示例的传输驱动模块的建立连接的处理流程图, 如图
7所示, 包括下面步骤:
S601, 传输驱动模块通过下层接口协议与下层接口建立连接。 比如, USB接口可以通过控制端点 0建立连接, 以太网可以通过 TCP/IP 的套接字建立连接。
S602, 下层接口的连接建立好以后, 传输驱动模块利用建立好的下层接 口连接开始接收数据包, 判断接收到的数据包格式, 可以通过图 5的闪连数 据包的标志位进行判断, 如果是合法的闪连数据包, 则转入步骤 S603 , 如果 是非闪连数据包, 则丟弃或透传给上层应用, 也就是在接口中不断地监听闪 连数据包。
5603 , 对接收到的闪连数据包的功能进行判断, 若发现是连接包, 则开 始解析连接包参数, 判断该连接包是否合法。 其中, 解析连接包参数主要解析连接包的源设备平台类型 (例如, 源硬 件平台号、 源操作系统号、 源接口类型、 源接口版本、 源地址类型、 源地址 偏移、 以及校验和等) 和目的设备平台类型 (例如, 目标硬件平台号、 目标 操作系统号、 目标接口类型、 目标接口版本、 目标地址类型、 目标地址偏移、 以及校验和等) 。 判断该连接包是否合法, 即判断目的地址和接口类型是否匹配, 校验和 等。
闪连数据包的功能包括但不限于图 5所描述的字段, 闪连数据包的目的 在于建立一个统一的协议, 让闪连数据包能够描述数据包通信双方的不同的 接口和资源类型所能包含的足够的信息, 比如连接的双方是什么硬件平台, 资源是什么类型, 格式等等。 有了这样的信息, 本闪连数据包可以描述各种 资源数据, 无论是视频、 音频、 摄像头、 文件共享的等等都可以利用本闪连 数据包的结构让通信双方理解, 实现跨系统、 跨接口传输。 如 JAVA是跨平 闪连数据包也就类以于 JAVA代码, 由各个平台上的资源管理装置来对其进 行解析和执行, 不同的是闪连数据包不是代码, 而是资源数据的描述, 实现 的是跨平台的资源和功能的共享。
5604, 根据上层应用 (例如, 连接管理器) 的设置 (例如, 安全策略、 和系统状态等) 决定是否接收连接, 若不允许连接, 则向目标终端发送连接 失败应答数据包; 若允许建立连接, 则转向步骤 S605。
5605 , 向目标终端发送连接成功应答数据包。
5606, 构造闪连数据包, 将闪连数据包发给功能驱动模块, 功能驱动层 会把该连接包分析以后发给连接管理器, 由连接管理器记录连接的参数。 图 8为本发明应用示例的传输驱动模块接收数据的处理流程图, 如图 8 所示, 包括下面步骤:
5701、 传输驱动模块接收包, 如果接收到的包类型是数据包, 则将该数 据包的数据解析出来并填入与连接请求相绑定的緩冲区。
5702、 在接收完成或緩冲区满的情况下构建闪连数据包, 发给功能驱动 模块, 闪连数据包的数据区可以填入緩冲区的数据指针, 然后发给功能驱动 模块, 然后执行步骤 S703。
5703、 判断传输过程中是否有异常, 若存在异常, 则进行异常处理, 例 如, 丟包或报错; 若无异常, 则执行步骤 S704并返回步骤 S701。
5704、 功能驱动模块接收到该闪连数据包后进行处理, 通过数据区指针 和连接参数取得数据内容, 或直接把数据指针以 API参数的方式再向上返回 给上层应用。
闪连传输模块发送数据的处理流程与接收数据的原理相同, 方式相反, 与上层功能驱动模块都是通过闪连数据包交互, 与下层交互是根据具体的下 层接口协议进行数据发送操作。
基于以上处理流程, 这里例举一个具体的实例更好地说明每个模块的功 能和作用, 但本发明的应用场景不限于以下列举的具体场景。 手机和 PC都安装了本发明实施例的资源管理装置, 将安装有本发明实 施例的资源管理装置的手机和 PC统称为 "闪连设备" 。 手机上内置了摄像 头和 USB通讯功能, 那么用户可以通过资源管理装置在 PC上共享手机的摄 像头功能, 如图 9所示, 具体包括下面步骤: S801、手机通过 USB数据线插入 PC的 USB接口,假设 PC使用 Windows
XP操作系统。 5802、 PC发起 USB枚举, 与手机进行通信; 具体地, PC的 Windows XP操作系统的 USB设备驱动发起 USB枚举, 若识别手机为闪连设备, 则调用对应注册的 USB功能驱动与手机进行通信。
5803、 PC与手机建立数据连接, 手机向 PC发送共享资源信息; 具体地, PC的传输驱动模块与手机的传输驱动模块建立数据连接, 手机 的资源管理器通过功能驱动模块将自身可共享的资源列表发给手机的传输驱 动模块, 手机上的传输驱动模块将资源列表等数据封装为闪连数据包发给 PC。 在本实施例中, PC与手机上的连接管理器管理对端和本端的各种连接, 包括 USB接口上的闪连连接 , 记录本端和对端的连接参数,创建与连接相关 的数据緩沖区。
PC与手机上的传输驱动模块用于监听下层 USB驱动包的传输, 捕捉闪 连相关的数据包。 对于非闪连数据包, 直接向原上层应用透传; 对于闪连数 据包进行连接、 发送、 以及接收的处理, 将接收的闪连数据包发给功能驱动 模块, 发送的闪连数据包通过 USB驱动发送。
5804、 PC 识别出闪连数据包, 解析该闪连数据包, 将手机可共享的资 源列表显示给用户; 具体地, PC侧的传输驱动模块接收到数据包,若识别为闪连资源描述包 (即闪连数据包) , 则将该闪连数据包输出给功能驱动模块, 功能驱动模块 解析该闪连数据包, 分析出手机上有哪些共享资源, 然后将分析出的资源数 据传送给资源管理器, 再由资源管理器提供的界面显示手机上可供共享的资 源。 本实施例中, PC和手机上的资源管理器都能够支持对端和本端的资源枚 设举功能、 返回对端可用的资源列表、 记录资源的参数、 控制资源的访问权 限、 同时提供界面显示对端可供共享的资源, 用户可以从共享资源列表中选 择共享的对象进行操作。
5805、若 PC的用户希望共享摄像头的功能,则当 PC接收到用户输入的 共享摄像头请求时, 创建一个本地 USB摄像头的驱动。 具体地, PC侧的应用管理器接收到共享摄像头请求后,根据共享资源的 类型 (如, 摄像头) , 查找并加载与该资源类型相匹配的应用模块, 比如摄 像头应用, 然后由资源虚拟器创建一个本地的摄像头驱动, 对该摄像头的实 际控制和数据通过闪连功能驱动模块来调用对端手机侧相应的驱动而实现。 若 PC上的应用管理器查找不到与该资源类型相匹配的应用模块, 说明 PC上的应用能力与待共享资源的应用能力不匹配, 则 PC可以与手机进行应 用能力协商, 支持应用包的下载、 安装及更新。 手机侧的应用管理器支持应用能力协商, 当接收到 PC发来的能力协商 请求时, 根据对端平台的操作系统类型 (例如, Windows XP )和语言环境等 给 PC发送摄像头应用包; 如果手机空间有限, 不必支持给 PC发送应用包, 则可以告诉 PC相应的应用包的下载地址。
5806、 PC接收到用户在本地创建的 USB摄像头上的操作指令后, 将该 操作指令打包为闪连数据包后发送给手机。 具体地, PC上的资源虚拟器接收到用户在本地创建的 USB摄像头上的 操作指令后, 将该操作指令输出给功能驱动模块, 由功能驱动模块打包为闪 连数据包后, 通过传输驱动模块转换为与下层接口协议相应的数据后发送给 手机。
5807、 手机接收到 PC发来的操作指令后, 根据操作指令操作摄像头, 将摄像头的操作结果信息打包为闪连数据包后发送给 PC。 具体地, 手机的功能驱动模块接收到 PC侧的资源功能调用请求后, 操 作手机的摄像头, 打开预览, 并将预览的图像数据以及格式信息打包成闪连 数据包, 然后通过传输驱动模块将闪连数据包发给 PC。
5808、 PC 收到手机的闪连数据包, 若判断是摄像头资源数据, 分析出 图像数据和图像格式, 显示摄像头获取的图像。 具体地, PC上的传输驱动模块接收到该闪连数据包后 ,将闪连数据包发 送给功能驱动模块,由功能驱动模块驱动资源管理器显示摄像头摄下的图像。 下面列举一些使用本发明的资源处理系统的场景, 实际的使用场景包括 但不限于以下几种:
1、 家用电器智能集成控制中心; 智能家用电器通过通信线连入带有本发明的资源处理系统的智能家电控 制中心, 智能家电控制中心实时收集各个家电提供的状态数据, 比如洗衣机 是否洗好衣服了, 电饭堡是否煮好饭了, 某个房间的电灯是否还亮着, 水表 和电表的读数等, 智能家电控制家电中心对用户的各种闪连设备提供无线或 有线接口, 这样用户在某个房间看电视时候, 带有本发明的资源管理系统的 电视机会自动提示用户, 楼下的水已烧开了, 是否关闭电源, 有客人按门铃, 主人不必跑下楼去到大门旁的可视门禁去按下门钮, 用电视遥控器就可以完 成这个操作, 控制功能也可以随时转到主人支持带有本发明的资源管理系统 的手机上, 主人用手机就可以选择电视的频道, 控制洗衣机和微波炉等。
2、 手机变无线 U盘, 无线摄像头, 远程办公; 传统的手机需要通过 USB插入计算机上,然后在计算机装好驱动和同步 软件才能访问手机上的文件, 如果计算机安装了不同的操作系统, 家人使用 的手机型号都不同, 那么要安装一大堆驱动和软件很麻烦, 装有本发明的资 源管理系统的手机和个人电脑可以方便的把手机提供的 U盘和摄像头功能透 明无缝地与个人计算机的操作系统相整合。 这可以通过有线或无线方式, 把 手机放在计算机旁边, 计算机就会提示有 U盘和摄像头接入, 本发明的资源 管理系统会自动把手机的 U盘和摄像头虚拟化为一个本地的资源, 即使通过 远程网络也可以实现。 本发明的资源管理系统共享的资源具有传递性和网络 性的特点, 如果上班时您的手机忘在家里了, 只要您的手机连在上网的电脑 上, 您也通过 WAP PUSH消息让您的手机接入 3G网络, 这样你就可以通过 公司的互联网把家中的手机虚拟化为正连在办公室电脑上的 U盘, 而且可以 在电脑上读电话本, 收发短信等, 远程共享的摄像头还可以帮忙照看家中的 孩子。
3、 公共场所的多媒体点播系统; 装有本发明的资源处理系统的多媒体点播系统可以装在长途汽车和列车 中, 旅客只要拥有具有本发明的资源处理系统的移动终端就可以与多媒体点 播系统的进行连接, 随意选择点播系统中提供电影、 电视、 音乐、 广播等, 如果同伴的手机具有 GPS定位或移动电视的功能,那么使用闪连可以共享他 的电视和 GPS的服务功能。
4、 多媒体教学系统; 老师可以将课件放在自己的手机上, 通过本发明的资源处理系统与电子 白板进行无线连接, 在白板上播放自己的课件, 学生也可以加入白板资源的 共享, 把手机或计算机触摸屏映射到白板上, 在上面进行教学互动。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以采用 硬件的形式实现, 也可以采用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的 情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。
工业实用性 本发明的一种实现终端间资源共享的方法、 资源处理系统和终端, 能够 使不同的终端之间不需要第三方软件的支持即可以相互共享和使用彼此间的 数据和功能。

Claims

权 利 要 求 书
1、 一种实现终端间资源共享的方法, 该方法包括:
第一终端与第二终端建立连接, 获取所述第二终端可共享的资源信息; 所述第一终端接收到用户输入的用于操作所述第二终端上的特定共享资 源的指令后, 创建一个与所述特定共享资源相应的虚拟资源, 将用户输入的 对所述虚拟资源进行操作的操作指令发送给所述第二终端; 所述第二终端接收到所述操作指令后,根据所述操作指令操作相应资源, 然后将相应资源的操作结果信息发送给所述第一终端; 以及 所述第一终端接收到所述操作结果信息后, 显示所述相应资源的操作结 果信息。
2、 如权利要求 1所述的方法, 其中: 将用户输入的对所述虚拟资源进行操作的操作指令发送给所述第二终端 的步骤之前, 所述方法还包括: 所述第一终端将用户输入的对所述虚拟资源 进行操作的操作指令打包成特定格式的第一数据包; 将相应资源的操作结果信息发送给所述第一终端的步骤包括: 所述第二 终端接收到所述第一数据包后, 若识别出所述第一数据包为所述特定格式, 则根据所述第一数据包中的操作指令操作相应资源, 然后将相应资源的操作 结果打包成所述特定格式的第二数据包后发送给所述第一终端; 显示所述相应资源的操作结果信息的步骤包括: 所述第一终端接收到所 述第二数据包后, 若识别出所述第二数据包为所述特定格式, 则显示所述第 二数据包中的相应资源的操作结果。
3、 如权利要求 1或 2所述的方法, 其中: 所述第一终端创建一个与所述 特定共享资源相应的虚拟资源的步骤之前, 所述方法还包括:
所述第一终端判断本地是否具备驱动所述特定共享资源的应用模块, 若 不具备, 则向所述第二终端发送应用能力协商信息; 所述第二终端接收到所述应用能力协商信息后, 将与所述特定共享资源 相匹配的应用模块信息发送给所述第一终端; 以及 所述第一终端接收到所述应用模块信息后, 加载与所述特定共享资源相 匹配的应用模块。
4、 如权利要求 1或 2所述的方法, 其中: 第一终端与第二终端建立连接 的步骤包括: 所述第一终端接收到与所述第二终端的连接请求信息后, 以预定的安全 策略检测所述连接请求信息是否符合要求, 若符合要求, 则与所述第二终端 建立连接。
5、 一种资源处理系统, 应用于第一终端中, 该系统包括, 连接管理器, 其设置为: 当检测到下层接口与目标终端建立连接时, 获 取所述目标终端上可供共享的资源信息, 并将获取到的资源信息输出给资源 管理器; 资源管理器, 其设置为: 将接收到的所述目标终端上可供共享的资源信 息输出给上层应用; 接收并显示所述接口驱动模块发来的所述第一操作结果 信息; 资源虚拟器, 其设置为: 接收到用户输入的用于操作所述目标终端上特 定共享资源的指令后, 创建一个与所述特定共享资源相应的虚拟资源, 将用 户对所述虚拟资源的操作指令输出给接口驱动模块; 及 接口驱动模块,其设置为: 将接收到所述操作指令发送给所述目标设备; 接收到所述目标终端返回的所述特定共享资源根据所述操作指令进行操作的 第一操作结果信息后, 将所述第一操作结果信息输出给所述资源管理器。
6、 如权利要求 5所述的系统, 其中: 所述资源虚拟器还设置为: 将用户对所述虚拟资源的操作指令输出给接 口驱动模块之前, 将用户对所述虚拟资源的操作指令打包成特定格式的第一 数据包;
所述接口驱动模块还设置为: 接收到所述目标终端返回的所述特定共享 资源根据所述操作指令进行操作的第一操作结果信息后, 识别承载所述第一 操作结果信息的数据包是否为所述特定格式, 若是, 则将所述第一操作结果 信息输出给所述资源管理器。
7、 如权利要求 6所述的系统, 其中: 所述接口驱动模块是设置为按如下方式将接收到所述第一数据包发送给 所述目标设备: 根据下层接口协议将所述第一数据包转换成与下层接口相匹 配的数据包后发送给目标终端。
8、 如权利要求 5所述的系统, 其还包括应用管理器, 所述连接管理器还设置为: 检测本地是否具备用于驱动所述特定共享资 源的应用模块, 若不具备, 则向所述应用管理器输出一信号; 所述应用管理器设置为: 接收到所述连接管理器输出的信号后, 向所述 目标终端发送应用能力协商信息; 接收到所述目标终端返回的应用能力信息 后, 加载与所述特定共享资源相匹配的应用模块, 然后向所述资源虚拟器输 出一信号; 所述资源虚拟器还设置为: 接收到所述应用管理器输出的信号后, 创建 一个与所述特定共享资源相应的虚拟资源。
9、 如权利要求 5所述的系统, 其中: 所述连接管理器还设置为: 接收到与所述目标终端的连接请求信息后, 根据预定的安全策略检测所述连接请求是否符合要求, 若符合要求, 则与所 述目标终端建立连接。
10、 如权利要求 5-9中任一项所述的系统, 其中: 所述资源管理器还设置为: 枚举本地可供共享的资源信息, 将本地可供 共享的资源信息输出给所述接口驱动模块;
所述接口驱动模块还设置为: 若接收到目标终端发来的获取本地资源信 息的指令, 则将所述本地可供共享的资源信息发送给目标终端。
11、 如权利要求 10所述的系统, 其中:
所述接口驱动模块还设置为: 若接收到目标终端发来操作本地资源的指 令, 则将操作本地资源的指令传输给所述资源管理器; 将所述资源管理器发 来的第二操作结果信息发送给所述目标终端; 所述资源管理器还设置为: 根据接收到的指令操作相应资源, 将所述相 应资源的第二操作结果信息返回给所述接口驱动模块。
12、 一种终端, 其包括如权利要求 5-11中任一项所述的资源处理系统。
PCT/CN2010/080016 2010-02-08 2010-12-20 实现终端间资源共享的方法、资源处理系统及终端 WO2011095038A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010112245.5A CN101771707B (zh) 2010-02-08 2010-02-08 实现终端间资源共享的方法、资源处理系统及终端
CN201010112245.5 2010-02-08

Publications (1)

Publication Number Publication Date
WO2011095038A1 true WO2011095038A1 (zh) 2011-08-11

Family

ID=42504298

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/080016 WO2011095038A1 (zh) 2010-02-08 2010-12-20 实现终端间资源共享的方法、资源处理系统及终端

Country Status (2)

Country Link
CN (1) CN101771707B (zh)
WO (1) WO2011095038A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200391A (zh) * 2017-12-29 2018-06-22 移康智能科技(上海)股份有限公司 一种智能可视门铃及智能可视门铃的控制方法
CN112731877A (zh) * 2020-12-22 2021-04-30 福建爱迪生科技有限公司 智能家居的控制方法

Families Citing this family (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771707B (zh) * 2010-02-08 2015-08-12 中兴通讯股份有限公司 实现终端间资源共享的方法、资源处理系统及终端
CN101908989B (zh) * 2010-08-16 2016-01-13 海尔集团公司 一种智能家电的控制方法
JP5167322B2 (ja) * 2010-09-08 2013-03-21 株式会社バッファロー データ転送方法および端末
CN102469089A (zh) * 2010-11-17 2012-05-23 金蝶软件(中国)有限公司 一种动态数据共享与隔离的方法及装置
CN102185861B (zh) * 2011-05-13 2014-04-16 惠州Tcl移动通信有限公司 一种实现平板电脑与智能手机交互的系统及方法
CN102255902A (zh) * 2011-07-06 2011-11-23 中兴通讯股份有限公司 一种网络设备功能共享的方法及装置
CN102932383B (zh) * 2011-08-08 2015-07-29 联想(北京)有限公司 一种数据传输方法、终端及终端系统
CN102932958A (zh) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 实时数据共享方法、装置及系统
CN102999383B (zh) * 2011-09-16 2018-09-28 中兴通讯股份有限公司 断开虚拟桌面的处理方法和装置
CN102394920B (zh) * 2011-10-24 2015-07-29 深圳市智慧宇宙管理咨询有限公司 一种共享电脑网络的方法、移动终端及电脑
CN103167343B (zh) * 2011-12-14 2016-05-25 宏碁股份有限公司 电子装置、电子系统以及共享数据的方法
CN103327459A (zh) * 2012-03-23 2013-09-25 宇龙计算机通信科技(深圳)有限公司 共享短、彩信的方法、系统和移动终端
CN103581135B (zh) * 2012-07-31 2018-02-06 上海狂龙数字科技股份有限公司 数字白板、客户端和网络端
CN102819614A (zh) * 2012-08-29 2012-12-12 深圳市茁壮网络股份有限公司 一种局域网中共享目录分类显示方法、装置及系统
CN103118068B (zh) * 2012-12-26 2016-05-25 珠海金山办公软件有限公司 由当前应用设备从其它数据源设备获取数据的方法和系统
CN103179276B (zh) * 2013-03-15 2017-04-05 东莞宇龙通信科技有限公司 网络播放器对手机安装apk的方法和装置
CN103200696B (zh) * 2013-03-28 2017-02-08 东莞宇龙通信科技有限公司 数据共享的方法及装置
CN104079617A (zh) * 2013-03-29 2014-10-01 联想(北京)有限公司 终端设备和用于其的方法
US10261813B2 (en) * 2013-09-25 2019-04-16 Arm Limited Data processing system for dispatching tasks from a plurality of applications to a shared resource provided by an accelerator
CN103561080A (zh) * 2013-10-30 2014-02-05 威盛电子股份有限公司 无线网络的远程资源服务装置、方法和远程显示服务系统
CN108848567B (zh) * 2013-10-31 2022-10-04 华为终端有限公司 一种内容共享的方法及装置
CN104796315A (zh) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 资源共享处理方法及装置
CN103944764A (zh) * 2014-04-28 2014-07-23 深圳市华信天线技术有限公司 数传电台的命令传输方法及系统
CN103986504B (zh) * 2014-05-20 2017-01-18 深圳市同洲电子股份有限公司 一种图像共享的方法及电子设备
CN104079645A (zh) * 2014-06-27 2014-10-01 华为技术有限公司 一种信息共享方法和装置
CN104618511A (zh) * 2015-02-26 2015-05-13 小米科技有限责任公司 智能设备检测方法和装置
CN106331050A (zh) * 2015-07-06 2017-01-11 中兴通讯股份有限公司 一种资源共享方法、终端设备、应用服务器及系统
CN105120009A (zh) * 2015-09-14 2015-12-02 百度在线网络技术(北京)有限公司 终端互联方法及装置
CN105430483B (zh) * 2015-11-03 2018-07-10 广东威创视讯科技股份有限公司 智能终端互相控制的方法和系统
KR101714522B1 (ko) * 2015-11-10 2017-03-09 현대자동차주식회사 가상화 프레임웍 기반 차량 avn 스마트폰 연동 서비스 제공 방법 및 그를 위한 장치
CN105338108A (zh) * 2015-11-21 2016-02-17 中新国际电子有限公司 一种基于云平台的设备分享方法
CN106855823A (zh) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 设备间任务接管的方法及装置
CN106101395B (zh) * 2016-06-01 2020-03-27 努比亚技术有限公司 移动终端及数据获取方法
CN106027666B (zh) * 2016-06-30 2019-03-19 东方通信股份有限公司 一种独立于平台网络的调度方法
CN106375942B (zh) * 2016-09-20 2021-02-23 杭州联络互动信息科技股份有限公司 一种数据信息的传输的方法以及装置
CN106572236A (zh) * 2016-09-29 2017-04-19 宇龙计算机通信科技(深圳)有限公司 终端间转移使用习惯设置的方法及系统
CN106878453B (zh) * 2017-03-14 2023-10-31 上海直真视通科技有限公司 共享云存储方法及系统
CN107562373B (zh) * 2017-08-07 2021-02-23 广州视源电子科技股份有限公司 多系统u盘读取方法、装置、可读存储介质和计算机设备
CN107831842A (zh) * 2017-12-10 2018-03-23 夏烬楚 基于大数据的智能信息捕获系统
CN109195017B (zh) * 2018-09-10 2022-01-04 深圳Tcl数字技术有限公司 局域网组件配置方法、装置、计算机可读存储介质及系统
CN109450851B (zh) * 2018-09-30 2020-09-22 Oppo广东移动通信有限公司 设备连接方法、电子设备及计算机可读介质
CN109606431B (zh) * 2018-11-14 2021-01-26 浙江众合科技股份有限公司 基于资源白板的车车通信行车资源管理方法
CN109471667A (zh) * 2018-11-16 2019-03-15 郑州大学 电脑与手机一体化智能交互方法
CN110460795B (zh) * 2019-07-30 2021-09-07 晶晨半导体(深圳)有限公司 一种用于组合电视mipi摄像头的共享装置及共享方法
CN111131930B (zh) * 2019-12-31 2022-04-26 维沃移动通信有限公司 设备资源控制方法、第一电子设备及计算机可读存储介质
CN111800824A (zh) * 2020-05-28 2020-10-20 上海诺行信息技术有限公司 智能仪表的数据传输系统、驱动接口封装装置及方法
CN114697348B (zh) * 2020-12-25 2023-08-22 华为终端有限公司 分布式实现方法、分布式系统、可读介质及电子设备
CN112948146B (zh) * 2021-03-18 2023-11-28 江门职业技术学院 一种应用共享系统、控制方法及存储介质
CN113193979B (zh) * 2021-03-25 2023-05-09 深圳市广和通无线股份有限公司 实现物联网模块虚拟外设共享的方法、装置、计算机设备
CN113242314B (zh) * 2021-05-28 2023-06-13 Oppo广东移动通信有限公司 跨端资源访问方法、装置、存储介质及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1262869A1 (en) * 2001-05-29 2002-12-04 Sony International (Europe) GmbH System and method for discovering and customizing resources in networks
CN1571570A (zh) * 2004-05-10 2005-01-26 惠州Tcl移动通信有限公司 带摄像头手机及其向电脑输入视频数据的方法
CN1881189A (zh) * 2005-06-17 2006-12-20 杭州波导软件有限公司 一种电脑接收带摄像头手机输入视频数据的方法及系统
CN101052050A (zh) * 2006-04-06 2007-10-10 英业达股份有限公司 实现计算机设备共享的系统及其方法
CN101771707A (zh) * 2010-02-08 2010-07-07 中兴通讯股份有限公司 实现终端间资源共享的方法、资源处理系统及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1262869A1 (en) * 2001-05-29 2002-12-04 Sony International (Europe) GmbH System and method for discovering and customizing resources in networks
CN1571570A (zh) * 2004-05-10 2005-01-26 惠州Tcl移动通信有限公司 带摄像头手机及其向电脑输入视频数据的方法
CN1881189A (zh) * 2005-06-17 2006-12-20 杭州波导软件有限公司 一种电脑接收带摄像头手机输入视频数据的方法及系统
CN101052050A (zh) * 2006-04-06 2007-10-10 英业达股份有限公司 实现计算机设备共享的系统及其方法
CN101771707A (zh) * 2010-02-08 2010-07-07 中兴通讯股份有限公司 实现终端间资源共享的方法、资源处理系统及终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108200391A (zh) * 2017-12-29 2018-06-22 移康智能科技(上海)股份有限公司 一种智能可视门铃及智能可视门铃的控制方法
CN112731877A (zh) * 2020-12-22 2021-04-30 福建爱迪生科技有限公司 智能家居的控制方法
CN112731877B (zh) * 2020-12-22 2022-02-01 深圳安力诺科技有限公司 智能家居的控制方法

Also Published As

Publication number Publication date
CN101771707A (zh) 2010-07-07
CN101771707B (zh) 2015-08-12

Similar Documents

Publication Publication Date Title
WO2011095038A1 (zh) 实现终端间资源共享的方法、资源处理系统及终端
JP6271568B2 (ja) コンピューティングデバイスと車両ヘッドユニットとの間のワイヤレスディスプレイセッションの確立
EP3054700B1 (en) Method, device and system for processing media
JP5061360B2 (ja) リモートコントロール・フレームワーク
US9124441B2 (en) Remote audio
EP2474127B1 (en) Method and apparatus for controlling remote user interface in a home network
TW201826869A (zh) 設備關聯方法、裝置、終端設備和作業系統
KR101394291B1 (ko) 스마트 미디어 클라우드 환경에서 자동화된 개인미디어 장치 선별과 데이터 관리 시스템 및 그 방법
CN114286165B (zh) 一种显示设备、移动终端、投屏数据传输方法及系统
CN105323628B (zh) 基于dlna跨屏播放的方法及系统、浏览器端装置和播放装置
EP2387198A1 (en) Content distribution system and gateway device, and program
US20170228311A1 (en) Method For Verifying Operations For Common Application Development Of In-Vehicle Infotainment System And Mobile Terminal
CN114339332B (zh) 一种移动终端、显示设备及跨网投屏方法
US9571954B2 (en) Information processing system, information processing method, mobile phone, server, and control methods and control programs thereof
KR20160080239A (ko) 가상 디바이스 드라이버를 이용한 리소스 공유 방법 및 그 전자 디바이스
US10165082B2 (en) Method and apparatus for managing connection between plurality of devices over network
US20130178166A1 (en) Method and apparatus for providing outside network service based on advertisment viewing
AU2013236562A1 (en) Information processing system, information processing method, server, and control method and control program of server
TW201220114A (en) Authority control systems and methods, and computer program products thereof
KR101561524B1 (ko) 원격 사용자 인터페이스 관리 시스템 및 그 방법
KR101442640B1 (ko) 홈 네트워크 프록시 서버를 이용한 원격 사용자 인터페이스 제공 시스템 및 제공방법
US20160255148A1 (en) Electronic devices and methods for processing hardware or software service requests between interconnected electronic devices
CN118214777A (zh) 通信方法、系统、电子设备及存储介质
Wang Concepts for an intuitive user interface for DLNA using NFC technology

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: 10845121

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: 10845121

Country of ref document: EP

Kind code of ref document: A1