WO2013123695A1 - Method for determining sharing device, method and system for file transmission - Google Patents

Method for determining sharing device, method and system for file transmission Download PDF

Info

Publication number
WO2013123695A1
WO2013123695A1 PCT/CN2012/073732 CN2012073732W WO2013123695A1 WO 2013123695 A1 WO2013123695 A1 WO 2013123695A1 CN 2012073732 W CN2012073732 W CN 2012073732W WO 2013123695 A1 WO2013123695 A1 WO 2013123695A1
Authority
WO
WIPO (PCT)
Prior art keywords
shared device
shared
current
touch track
devices
Prior art date
Application number
PCT/CN2012/073732
Other languages
French (fr)
Chinese (zh)
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 WO2013123695A1 publication Critical patent/WO2013123695A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to a method and system for determining a shared device for multi-screen sharing. Background technique
  • “Three-network convergence” achieves the perfect integration of service level, control layer and bearer level through multi-screen convergence, enabling multi-screen sharing between different shared devices.
  • the existing shared device needs to accurately select an icon representing another shared device when identifying the sharing request, and cannot meet the user's needs in terms of operation convenience. Summary of the invention
  • the main object of the present invention is to provide a method and system for determining a shared device that is applied to a multi-screen sharing device, and by using different touch trajectories to determine a shared object and transmit a shared file, thereby implementing an operation for increasing operations. Convenience.
  • the method for determining a shared device includes the following steps:
  • A determining the distances of the respective shared devices in the horizontal plane from the current shared device, and the distance from each shared device to the current shared device;
  • a shared device at a distance corresponding to the length of the touch track in the direction indicated by the touch track is determined as a shared device to be communicated.
  • the shared object is determined by different touch trajectories, and the operation is convenient.
  • you select an object you only need to slide it a certain distance on the screen of the currently shared device.
  • the length of the sliding rule can be used to identify the receiver at different distances from the currently shared device in the direction, thereby saving operation time.
  • step A includes:
  • the directions in which the respective shared devices are projected on the horizontal plane with respect to the current shared device and the distance to the current shared device are determined.
  • the calculation of the spatial coordinates of all the shared devices by the strength of the communication signal transmission determines the position of each shared device relative to the current shared device.
  • step A includes:
  • Obtaining image information including at least three shared devices having spatial coordinates and the current shared device;
  • the directions in which the respective shared devices are projected on the horizontal plane with respect to the current shared device and the distance to the current shared device are determined.
  • the determining, by the step C, that the shared device that is in the direction indicated by the touch track includes:
  • the shared device in the direction with the smallest direction error indicated by the touch track is judged as the matched shared device.
  • the fault tolerance is achieved by judging the shared device having the smallest error in the direction indicated by the touch track.
  • the distance from each shared device to the current shared device includes: a spatial distance of each shared device relative to the current shared device or a distance projected from the horizontal plane to the current shared device. From above, the distance can be calculated in different ways depending on the needs of the calculation.
  • the method further includes: displaying, on the touch screen of the current shared device, the icons of the other shared devices according to the determined directions of the shared devices in a direction corresponding to the beginning of the touch track.
  • the icons of other shared devices are visually displayed, which more intuitively displays the recipient's shared destination that the user can send, thereby facilitating the operation.
  • the icon of the other shared device is displayed at a distance corresponding to the start point of the touch track according to different distances of the shared device to the current shared device; and the shared device matched in the direction indicated by the touch track is determined in step C.
  • the method further includes: using the shared device corresponding to the icon of the shared device that ends the endpoint to the touch track as the matched shared device.
  • the invention also provides a file transmission method of a shared device, comprising the steps of:
  • A the distance from each shared device to the current shared device
  • the shared object is determined and the shared file is transmitted through different touch trajectories, thereby realizing easy operation.
  • selecting objects and selecting files for transmission simply slide them on the screen of the currently shared device to save operating time.
  • the determining, by the step C, that the shared device that is in the direction indicated by the touch track includes:
  • the shared device in the direction with the smallest direction error indicated by the touch track is judged as the matched shared device.
  • the distance from each shared device to the current shared device includes: a spatial distance of each shared device relative to the current shared device or a distance projected from the horizontal plane to the current shared device horizontal projection.
  • the distance can be calculated in different ways depending on the needs of the calculation.
  • the present invention also provides a system for implementing a method for determining a shared device and a file transmission method for multi-screen sharing, including:
  • a space coordinate receiving unit configured to receive spatial coordinates of the shared device
  • a coordinate system conversion unit configured to determine various directions and large distances of other shared devices in a horizontal plane with respect to the current shared device
  • a touch track acquisition unit configured to collect a touch track, where the start point of the touch track corresponds to the selected file
  • a projection unit configured to determine a projection direction and a distance of the touch track in a horizontal plane
  • a shared device identification unit configured to determine a match according to a touch track length in a direction indicated by a horizontal plane projection on the current shared device screen according to the touch track Shared device
  • a shared file transfer unit for transferring selected files to the matched shared device.
  • FIG. 1 is a flowchart of a multi-screen shared file transmission method according to the present invention.
  • step S20 of the present invention is a sub-flow chart of step S20 of the present invention.
  • FIG. 3 is a schematic diagram of a location of a current shared device and a pointing device according to the present invention.
  • Figure 4 is a schematic view showing the display of the PAD of the present invention.
  • Figure 5 is an enlarged schematic view of a section 2 of the display of the PAD of the present invention.
  • FIG. 6 is a schematic structural view of the system of the present invention. detailed description
  • the current shared device that is shared is a mobile terminal with a touch screen, such as a tablet computer such as a PAD, a laptop, a mobile phone, and the like.
  • the shared device in the wireless network also includes a fixed-point device with wireless interconnection function, that is, a relatively fixed-position wireless terminal, such as a desktop computer, a television, a printer, a wireless router, or a device for positioning only functions such as a micro base station, a signal. Transmitter, etc.
  • Step S10 When the PAD enters the above wireless network, the PAD establishes a wireless connection with the pointing device.
  • the pointing device acquires the model number of the PAD, assigns an IP address to the PAD and provides it to the PAD.
  • the pointing device stores the model and IP address of the PAD in its attribute list.
  • the pointing device stores a list of attributes of all shared devices wirelessly connected thereto, the attribute list storing the model number of the shared device, the device icon, the IP address and the spatial coordinates, and the spatial coordinates of the pointing device itself. Wherein, when the PAD position changes, the attribute list is updated with corresponding space coordinates.
  • Step S20 Calculate the spatial coordinates of the PAD based on the spatial coordinates of the pointing device, and add the spatial coordinates to the attribute list corresponding to the PAD stored by the pointing device, and list the attribute and the network. All shared devices are shared so that the spatial coordinates of each shared device within the network are known by other devices.
  • the measuring step of the spatial coordinates of the PAD includes: Step S201: Calculate a distance of at least three pointing devices to the PAD.
  • FIG. 3 is a schematic diagram showing the position of the PAD and the pointing device.
  • the spatial coordinates of the three pointing devices are a ( Xa, Ya, Za), b ( Xb, Yb, Zb ) and c, respectively.
  • wireless transceiver modules such as infrared, Bluetooth, WIFI or ultrasonic are installed on the three fixed point devices.
  • a corresponding wireless transceiver module is also installed in the PAD.
  • the distance of the signal transmission can be calculated according to the degree of attenuation of the wireless signal transmission.
  • Step S202 Calculate the spatial coordinates of the PAD according to the above result and the spatial coordinates of the above three pointing devices.
  • the expressions of the spatial coordinates ( ⁇ , ⁇ , ⁇ ) of the PAD can be derived from the above three sets of calculations.
  • the calculation of this step can be calculated by the PAD or by the pointing device.
  • the parameters required to calculate the signal transmission distance and the parameters required to calculate the PAD space coordinates can be exchanged through the previously established wireless connection.
  • the calculation of the PAD coordinates can also be implemented by other positioning techniques, such as a camera set on a roof or a higher position to acquire a global image including the pointing device and the PAD, and image the position of the PAD for image positioning.
  • the image acquired by one camera can obtain the projection of each shared device of horizontal projection, and the spatial coordinates of the PAD can be calculated by two or more cameras.
  • Step 203 Add the space coordinate to the attribute list corresponding to the PAD stored by the pointing device and share the attribute list with all shared devices in the network, so that the spatial coordinates of each shared device in the network are Known by other devices.
  • Step S30 Determine, according to the horizontal coordinate of the other shared device in the network, the horizontal plane direction of each of the other shared devices relative to the PAD, centering on the PAD.
  • the PAD is provided with a direction sensor, such as a geomagnetic sensor, and the spatial directions of the other shared devices determined are relatively unchanged, so that regardless of how the PAD rotates the screen in the horizontal plane, due to the presence of the direction sensor, PAD can correctly calibrate the direction of other shared devices.
  • a direction sensor such as a geomagnetic sensor
  • the coordinate coordinates of other shared devices relative to the PAD are obtained by coordinate transformation, and a direction is set as a reference direction, such as north. Then, based on the obtained spatial coordinates, the angle at which the respective shared devices in the horizontal plane take the PAD as an origin is determined.
  • the above-mentioned spatial coordinates and the angle calculated according to the above are independent of the PAD orientation, that is, when the PAD is rotated by the horizontal plane, when positioning for each shared device, the positioning is always based on the spatial coordinates, that is, does not follow
  • the rotation of the PAD screen changes, so that when the selected object is determined by the finger in the PAD linear touch trajectory, regardless of how the PAD screen is placed, the linear touch trajectory always points to the shared device as the selected object. be chosen.
  • each shared device can be projected onto a horizontal plane to perform the above calculation of the angle, and the touch trajectory of the user on the PAD described later is also projected onto the horizontal plane.
  • Step S40 The user's finger slides in a straight line on the PAD touch screen. Since the above-mentioned direction sensor is built in the PAD, it can determine the direction in which the user's linear touch track is projected in the horizontal plane according to the reference direction of the direction sensor calibration ( Through this PAD planar projection, this technique is a well-known technique, so the technology will not be described again).
  • Step S50 On the horizontal plane of the projection, the shared device that is matched in the direction indicated by the determined touch track is used as the shared device selected by the user, that is, the selected object, and the file is transmitted to the selected shared object.
  • the PAD determines the direction in the direction according to the direction of the touch track of the fast sliding finger.
  • the computer serves as the selected object and sends the file to the computer.
  • the speed of the finger sliding can be set. When a certain speed is reached (ie, the above-mentioned quick sliding finger), it is considered to be The selected file is sent out, otherwise it is only regarded as the file selected by the mobile within the PAD.
  • the icons of the respective shared devices are separately displayed on the PAD touch screen at the positions of the respective angles calculated above, so that the user can visualize the operation.
  • the selected file may be centered on the selected file, and the shared device is displayed around the file in conjunction with the angle, preferably around the PAD screen.
  • the touch swiped, it is based on the sliding trajectory The sliding direction is determined, and the shared device icon in the other direction is hidden, and only the shared device icon in the direction is retained.
  • the touch slide is finished, the displayed icons of the shared devices are hidden.
  • the distance from the PAD is further calculated according to the coordinates of each shared device (or the coordinates projected by the horizontal plane), and the length value of the touch track is used (ie, the touch track) Ending the endpoint's distance from the starting endpoint) Identifying shared devices of different distances corresponding to different length values.
  • the shared device of the same angle performs the above display, different icons are displayed at different positions corresponding to the different length values, thereby facilitating user operation.
  • the touch trajectory may have a certain angular deviation, and the angular deviation may be adjusted according to an angle formed by a shared device in an adjacent direction.
  • the PA point is a point-selected file.
  • the IPAD and TV directions are larger.
  • the angle deviation is set larger.
  • the angle between the computer and the mobile phone is smaller. Smaller, or a shared device in the nearest direction in the direction indicated by the touch track as the selected object.
  • the length of the touch track is further set according to the distance from the computer and the mobile phone to the PAD, that is, the end point of the touch track with the M as the starting point (ie, the terminating contact) is the arc A or When any point is nearby, it indicates that the selected object is a computer, and when the end point is arc B or any nearby point, it indicates that the selected object is a mobile phone.
  • Fig. 5 is an enlarged view of the interval 2 in Fig. 4, the touch point of the computer icon center point The distance from the end point N is d2, and the distance from the center point of the mobile phone icon to N is dl, as shown in the figure d2 ⁇ dl, therefore, the computer icon is selected.
  • the PAD pops up a dialog menu, and displays an icon with a distance less than the threshold. Select by the user touching the icon.
  • the identification system includes:
  • the spatial coordinate receiving unit 1 1 is configured to receive the spatial coordinates of the current shared device and other shared devices measured by the pointing device.
  • the coordinate system conversion unit 12 is connected to the spatial coordinate receiving unit 11 for performing coordinate system conversion on the spatial coordinates of the other shared device by using the spatial coordinates of the current shared device as an origin to determine that other shared devices are in a horizontal plane with respect to the current shared device.
  • Direction and distance is connected to the spatial coordinate receiving unit 11 for performing coordinate system conversion on the spatial coordinates of the other shared device by using the spatial coordinates of the current shared device as an origin to determine that other shared devices are in a horizontal plane with respect to the current shared device.
  • the storage unit 18 is connected to the coordinate system conversion unit 12 for storing the spatial coordinates of all the shared devices after the conversion.
  • the storage unit 18 is further configured to store the model, device icon and IP address of all shared devices.
  • the projection unit 13 is connected to the coordinate system conversion unit 12 for projecting all the shared devices to the horizontal plane according to the spatial coordinates, to determine the directions in which the respective shared devices are projected on the horizontal plane with respect to the current shared device, and the respective shared devices to the current sharing. The distance of the device.
  • the touch track acquisition unit 14 is configured to collect user touch commands, including a touch direction and a touch length.
  • the projection unit 13 is also coupled to the touch track acquisition unit 14 for projecting the touch track onto a horizontal plane.
  • a direction sensor 15, connected to the projection unit 13, is used to determine the reference direction of the currently shared device. Specifically, regardless of how the current shared device rotates the screen in the horizontal plane, the spatial directions of the other shared devices and the user touch trajectory determined are relatively unchanged.
  • the shared device identification unit 16 coupled to the projection unit 13 and the touch track acquisition unit 14, is for determining a shared device that matches the length of the touch track in the direction indicated by the touch track.
  • the shared device identification unit 16 includes a touch speed determination module, a touch track fault tolerance module, and a touch track calculation module (not shown).
  • the touch speed determination module is configured to determine a user touch sliding speed. Specifically, it is considered to be used to select other sharing devices only when the touch sliding speed reaches the preset speed, and the touch track starting point corresponds to the selected file.
  • the touch track fault tolerance module is used to correct the angle of the touch track. Specifically, when there is an angular deviation between the touch track and the shared device, it is considered to be the matched shared device when the touch track end point is at any point on the arc.
  • the touch track calculation module is used to calculate the touch track length, and the shared devices according to different length values are matched. In addition, it is also used to calculate the distance between the end points of the touch track and the two or more shared devices, and the closest to the end point of the touch track is the matched shared device.
  • a display unit (not shown) is respectively connected to the touch track collection unit 14 and the shared device identification unit 16 for triggering display of icons of other shared devices according to the touch point; and sharing the two ends of the touch track end points respectively When the distances of the devices are the same, only the icons of the two or more shared devices with the same distance are triggered.
  • the shared file transfer unit 17 is connected to the shared device identification unit 16 for file transfer to the determined matching shared device.

Abstract

Provided in the present invention are a method for determining a sharing device and a method for file transmission, comprising the steps of: A: determining the directions of sharing devices on a horizontal projection relative to a current sharing device; B: determining the direction pointed to in the horizontal projection by a touch track on the current sharing device; and, C: determining the sharing device matched on the direction pointed to by the touch track, and transmitting to the sharing device matched a selected file corresponding to the starting point of the touch track. Also provided in the present invention is a system implementing the method for file transmission for the sharing device. Convenient operation is implemented by using different touch tracks to implement determination of a shared object and transmission of the shared file. When transmitting a selected object or the selected file, only sliding thereto on a screen of the current sharing device is required, thus conserving operation time.

Description

共享设备的确定方法和文件传输方法及系统 技术领域  Method and system for determining shared device and technology
本发明涉及一种应用于多屏共享的共享设备的确定方法和文件 传输方法及系统。 背景技术  The present invention relates to a method and system for determining a shared device for multi-screen sharing. Background technique
"三网融合" 是指电信网络、 计算机网络和有线电视网络三大网 络通过技术改造, 实现包括语音、 数据、 图像等综合多媒体的通信业 务。 "三网融合" 通过多屏融合实现业务层面、 控制层面和承载层面 的完美融合, 使实现不同共享设备之间的多屏共享。 但现有的共享设 备在在识别共享请求时需要用户准确选择表示其他共享设备的图标, 在操作便捷性方面无法满足用户的需求。 发明内容  "Three-network convergence" refers to the three major networks of telecommunication networks, computer networks and cable television networks that realize comprehensive communication services including voice, data and images through technological transformation. "Three-network convergence" achieves the perfect integration of service level, control layer and bearer level through multi-screen convergence, enabling multi-screen sharing between different shared devices. However, the existing shared device needs to accurately select an icon representing another shared device when identifying the sharing request, and cannot meet the user's needs in terms of operation convenience. Summary of the invention
有鉴于此, 本发明的主要目的在于, 提供一种应用于多屏共享的 共享设备的确定方法和文件传输方法及系统, 通过不同的触摸轨迹实 现确定共享对象并传输共享文件, 实现增加操作的便捷性。  In view of this, the main object of the present invention is to provide a method and system for determining a shared device that is applied to a multi-screen sharing device, and by using different touch trajectories to determine a shared object and transmit a shared file, thereby implementing an operation for increasing operations. Convenience.
其中, 共享设备的确定方法, 包括步骤:  The method for determining a shared device includes the following steps:
A: 确定出各个共享设备相对于当前共享设备在水平面投影的各 个方向、 各个共享设备到当前共享设备的距离;  A: determining the distances of the respective shared devices in the horizontal plane from the current shared device, and the distance from each shared device to the current shared device;
B: 确定在当前共享设备上的触摸轨迹在水平面投影所指的方向 和触摸轨迹的长度;  B: determining the direction of the touch trajectory on the current shared device in the horizontal plane and the length of the touch trajectory;
C: 确定在所述触摸轨迹所指方向上、 与触摸轨迹长度相对应的 距离处的共享设备, 作为所要通讯的共享设备。  C: A shared device at a distance corresponding to the length of the touch track in the direction indicated by the touch track is determined as a shared device to be communicated.
由上, 通过不同的触摸轨迹实现确定共享对象, 实现便于操作。 当选择对象时, 只需在当前共享设备的屏幕上向其滑动一定距离便 可, 通过滑动规矩的长短即可识别出该方向上距离当前共享设备不同 距离的接收方, 节省操作时间。 From above, the shared object is determined by different touch trajectories, and the operation is convenient. When you select an object, you only need to slide it a certain distance on the screen of the currently shared device. The length of the sliding rule can be used to identify the receiver at different distances from the currently shared device in the direction, thereby saving operation time.
可选的, 步骤 A包括:  Optionally, step A includes:
根据至少三个具有空间坐标的共享设备与当前共享设备通讯信 号的强度确定出当前共享设备的空间坐标;  Determining the spatial coordinates of the current shared device according to the strength of at least three shared devices having spatial coordinates and the current shared device communication signal;
根据当前共享设备的空间坐标、 其他各个共享设备的空间坐标确 定出各个共享设备相对于当前共享设备在水平面投影的各个方向和 到当前共享设备的距离。  According to the spatial coordinates of the current shared device and the spatial coordinates of the other shared devices, the directions in which the respective shared devices are projected on the horizontal plane with respect to the current shared device and the distance to the current shared device are determined.
由上, 通过通讯信号传输的强度对所有共享设备空间坐标的计 算, 实现确定各个共享设备相对于当前共享设备的位置。  From above, the calculation of the spatial coordinates of all the shared devices by the strength of the communication signal transmission determines the position of each shared device relative to the current shared device.
可选的, 步骤 A包括:  Optionally, step A includes:
获取包括至少三个具有空间坐标的共享设备与当前共享设备的 图像信息;  Obtaining image information including at least three shared devices having spatial coordinates and the current shared device;
根据三个所述共享设备的空间坐标进行图像分析确定出当前共 享设备的空间坐标;  Performing image analysis according to the spatial coordinates of the three shared devices to determine the spatial coordinates of the current shared device;
根据当前共享设备的空间坐标、 其他各个共享设备的空间坐标确 定出各个共享设备相对于当前共享设备在水平面投影的各个方向和 到当前共享设备的距离。  According to the spatial coordinates of the current shared device and the spatial coordinates of the other shared devices, the directions in which the respective shared devices are projected on the horizontal plane with respect to the current shared device and the distance to the current shared device are determined.
由上, 通过图像信息获取所有共享设备空间坐标, 实现确定各个 共享设备相对于当前共享设备的位置。  From above, all shared device space coordinates are obtained by image information, and the position of each shared device relative to the current shared device is determined.
可选的, 步骤 C所述确定所述触摸轨迹所指方向上所匹配的共享 设备包括:  Optionally, the determining, by the step C, that the shared device that is in the direction indicated by the touch track includes:
判断与所述触摸轨迹所指方向误差最小的方向上的共享设备作 为所匹配的共享设备。  The shared device in the direction with the smallest direction error indicated by the touch track is judged as the matched shared device.
由上, 通过判断与触摸轨迹所指方向误差最小的共享设备, 实现 增加容错性。  From above, the fault tolerance is achieved by judging the shared device having the smallest error in the direction indicated by the touch track.
可选的, 所述各个共享设备到当前共享设备的距离包括: 各个共 享设备相对于当前共享设备的空间距离或在水平面投影到当前共享 设备水平投影的距离。 由上, 可根据计算的需要采用不同的方式来计算所述距离。 Optionally, the distance from each shared device to the current shared device includes: a spatial distance of each shared device relative to the current shared device or a distance projected from the horizontal plane to the current shared device. From above, the distance can be calculated in different ways depending on the needs of the calculation.
可选的, 步骤 A后还包括: 在当前共享设备的触摸屏上, 将上述 各个其他共享设备的图标根据确定出的各个共享设备的方向在所述 触摸轨迹起点四周对应的方向上进行显示。  Optionally, after step A, the method further includes: displaying, on the touch screen of the current shared device, the icons of the other shared devices according to the determined directions of the shared devices in a direction corresponding to the beginning of the touch track.
由上, 通过可视化显示出其他共享设备的图标, 更加直观的显示 出用户可发送的接收方共享终点, 实现操作的便利性。  From above, the icons of other shared devices are visually displayed, which more intuitively displays the recipient's shared destination that the user can send, thereby facilitating the operation.
其中, 还根据各个共享设备到当前共享设备的不同距离, 在到触 摸轨迹起点对应距离显示所述其他各个共享设备的图标;步骤 C所述 确定所述触摸轨迹所指方向上所匹配的共享设备还包括: 以到触摸轨 迹结束端点最近的共享设备的图标所对应的共享设备作为所匹配的 共享设备。  The icon of the other shared device is displayed at a distance corresponding to the start point of the touch track according to different distances of the shared device to the current shared device; and the shared device matched in the direction indicated by the touch track is determined in step C. The method further includes: using the shared device corresponding to the icon of the shared device that ends the endpoint to the touch track as the matched shared device.
由上, 对于触摸轨迹所指方向有多个共享设备, 通过可视化显示 出共享设备的图标, 以触摸轨迹结束端点与共享设备的图标间的距离 判断所选择的对象, 实现提高选择的准确性。  From above, there are multiple sharing devices in the direction indicated by the touch track, and the icon of the shared device is visually displayed, and the distance between the endpoint and the icon of the shared device is ended by the touch track to determine the selected object, thereby improving the accuracy of the selection.
本发明还提供一种共享设备的文件传输方法, 包括步骤:  The invention also provides a file transmission method of a shared device, comprising the steps of:
A: 各个共享设备到当前共享设备的距离;  A: the distance from each shared device to the current shared device;
B: 确定在当前共享设备上的触摸轨迹在水平面投影所指的方向 和触摸轨迹的长度;  B: determining the direction of the touch trajectory on the current shared device in the horizontal plane and the length of the touch trajectory;
C: 确定在所述触摸轨迹所指方向上、 与触摸轨迹长度相对应的 距离处的共享设备, 将触摸轨迹起点对应的所选文件传输到该匹配的 共享设备。  C: determining a sharing device at a distance corresponding to the length of the touch track in the direction indicated by the touch track, and transmitting the selected file corresponding to the start point of the touch track to the matching shared device.
由上, 通过不同的触摸轨迹实现确定共享对象并传输共享文件, 实现便于操作。 当选择对象和选择文件进行传输时, 只需在当前共享 设备的屏幕上向其滑动便可, 节省操作时间。  From above, the shared object is determined and the shared file is transmitted through different touch trajectories, thereby realizing easy operation. When selecting objects and selecting files for transmission, simply slide them on the screen of the currently shared device to save operating time.
可选的, 步骤 C所述确定所述触摸轨迹所指方向上所匹配的共享 设备包括:  Optionally, the determining, by the step C, that the shared device that is in the direction indicated by the touch track includes:
判断与所述触摸轨迹所指方向误差最小的方向上的共享设备作 为所匹配的共享设备。  The shared device in the direction with the smallest direction error indicated by the touch track is judged as the matched shared device.
由上, 通过判断与触摸轨迹所指方向误差最小的共享设备, 实现 增加容错性。 From above, by judging the shared device with the smallest direction error in the direction of the touch track Increase fault tolerance.
可选的, 所述各个共享设备到当前共享设备的距离包括: 各个共 享设备相对于当前共享设备的空间距离或在水平面投影到当前共享 设备水平投影的距离。  Optionally, the distance from each shared device to the current shared device includes: a spatial distance of each shared device relative to the current shared device or a distance projected from the horizontal plane to the current shared device horizontal projection.
由上, 可根据计算的需要采用不同的方式来计算所述距离。  From above, the distance can be calculated in different ways depending on the needs of the calculation.
本发明还提供一种实现应用于多屏共享的共享设备的确定方法 和文件传输方法的系统, 包括:  The present invention also provides a system for implementing a method for determining a shared device and a file transmission method for multi-screen sharing, including:
空间坐标接收单元, 用于接收共享设备的空间坐标;  a space coordinate receiving unit, configured to receive spatial coordinates of the shared device;
坐标系转换单元, 用于确定其他共享设备相对于当前共享设备在 水平面的各个方向和 巨离;  a coordinate system conversion unit, configured to determine various directions and large distances of other shared devices in a horizontal plane with respect to the current shared device;
触摸轨迹采集单元, 用于采集触摸轨迹, 该触摸轨迹起点对应为 所选文件;  a touch track acquisition unit, configured to collect a touch track, where the start point of the touch track corresponds to the selected file;
投影单元, 用于确定所述触摸轨迹在水平面的投影方向和距离; 共享设备识别单元, 用于依据触摸轨迹在当前共享设备屏幕上的 水平面投影所指的方向上的触摸轨迹长度, 确定所匹配的共享设备; 共享文件传输单元, 用于向所匹配的共享设备传输所选文件。 由上, 通过不同的触摸轨迹实现确定共享对象, 实现便于操作。 当选择对象时, 只需在当前共享设备的屏幕上向其滑动一定距离便 可, 通过滑动规矩的长短即可识别出该方向上距离当前共享设备不同 距离的接收方, 并进行文件传输, 节省操作时间。 附图说明  a projection unit, configured to determine a projection direction and a distance of the touch track in a horizontal plane; a shared device identification unit, configured to determine a match according to a touch track length in a direction indicated by a horizontal plane projection on the current shared device screen according to the touch track Shared device; a shared file transfer unit for transferring selected files to the matched shared device. From above, the shared object is determined by different touch trajectories, and the operation is convenient. When selecting an object, it is only necessary to slide a certain distance on the screen of the currently shared device, and the length of the sliding rule can identify the receiver at a different distance from the currently shared device in the direction, and perform file transmission, saving Operating time. DRAWINGS
图 1为本发明多屏共享的文件传输方法的流程图;  1 is a flowchart of a multi-screen shared file transmission method according to the present invention;
图 2为本发明步骤 S20的子流程图;  2 is a sub-flow chart of step S20 of the present invention;
图 3为本发明当前共享设备与定点设备的位置示意图;  3 is a schematic diagram of a location of a current shared device and a pointing device according to the present invention;
图 4为本发明 PAD的显示示意图;  Figure 4 is a schematic view showing the display of the PAD of the present invention;
图 5为本发明 PAD的显示的区间 2的放大示意图;  Figure 5 is an enlarged schematic view of a section 2 of the display of the PAD of the present invention;
图 6为本发明系统结构示意图。 具体实施方式 Figure 6 is a schematic structural view of the system of the present invention. detailed description
下面结合附图 1-6对本发明所述应用于被选对象的共享请求识别 方法和识别系统的具体实施方式进行详细的说明。 其中, 本例中, 发 起共享的当前共享设备为具有触摸屏的移动终端, 如 PAD等平板电 脑、 手提电脑、 手机等。 同处于无线网络中的共享设备还包括具有无 线互联功能的定点设备, 即位置相对固定的无线终端, 如台式电脑、 电视、 打印机、 无线路由器、 或仅用于定位功能的装置如微型基站、 信号发射器等。  The specific implementation manner of the sharing request identification method and the identification system applied to the selected object according to the present invention will be described in detail below with reference to FIGS. In this example, the current shared device that is shared is a mobile terminal with a touch screen, such as a tablet computer such as a PAD, a laptop, a mobile phone, and the like. The shared device in the wireless network also includes a fixed-point device with wireless interconnection function, that is, a relatively fixed-position wireless terminal, such as a desktop computer, a television, a printer, a wireless router, or a device for positioning only functions such as a micro base station, a signal. Transmitter, etc.
下面, 以一 PAD 向一电脑发起文件传输为例, 对本发明进行描 述。 如图 1所示, 包括步骤:  Hereinafter, the present invention will be described by taking a PAD to initiate file transfer to a computer as an example. As shown in Figure 1, the steps are as follows:
步骤 S10: 当该 PAD进入上述无线网络内, PAD与定点设备建 立无线连接。 定点设备获取该 PAD的型号, 为该 PAD分配 IP地址 并提供给该 PAD。定点设备将该 PAD的型号和 IP地址存入其属性列 表。  Step S10: When the PAD enters the above wireless network, the PAD establishes a wireless connection with the pointing device. The pointing device acquires the model number of the PAD, assigns an IP address to the PAD and provides it to the PAD. The pointing device stores the model and IP address of the PAD in its attribute list.
定点设备中存储有与其无线连接的所有共享设备的属性列表, 所 述属性列表存储有共享设备的型号、 设备图标、 IP地址和空间坐标, 以及定点设备自身的空间坐标。 其中, 在该 PAD位置发生变化时, 该属性列表会相应的空间坐标的更新。  The pointing device stores a list of attributes of all shared devices wirelessly connected thereto, the attribute list storing the model number of the shared device, the device icon, the IP address and the spatial coordinates, and the spatial coordinates of the pointing device itself. Wherein, when the PAD position changes, the attribute list is updated with corresponding space coordinates.
对于无线连接的建立, 为公知技术, 故不再对无线连接建立的过 程进行赘述。  For the establishment of a wireless connection, which is a well-known technique, the process of establishing a wireless connection will not be described again.
步骤 S20: 以定点设备的空间坐标为基准, 测算出该 PAD的空间 坐标, 并将所述空间坐标添加至定点设备所存储的该 PAD所对应的 属性列表中, 以及将该属性列表与网络内的所有共享设备共享, 以使 网络内的各个共享设备的空间坐标均被其他设备所知。  Step S20: Calculate the spatial coordinates of the PAD based on the spatial coordinates of the pointing device, and add the spatial coordinates to the attribute list corresponding to the PAD stored by the pointing device, and list the attribute and the network. All shared devices are shared so that the spatial coordinates of each shared device within the network are known by other devices.
定点设备的坐标相对固定, 故以定点设备为基准进行该 PAD 空 间坐标的测算。 如图 2所示, 该 PAD的空间坐标的测算步骤包括: 步骤 S201 : 计算至少三个定点设备到该 PAD的距离。  The coordinates of the pointing device are relatively fixed, so the measurement of the PAD space coordinates is performed based on the pointing device. As shown in FIG. 2, the measuring step of the spatial coordinates of the PAD includes: Step S201: Calculate a distance of at least three pointing devices to the PAD.
如图 3所示该 PAD与定点设备的位置示意图, 在本实施例中, 三个定点设备的空间坐标分别为 a ( Xa,Ya,Za ) 、 b ( Xb,Yb,Zb ) 和 c ( Xc,Yc,Zc ) , 在该三个定点设备上安装有红外、 蓝牙、 WIFI 或超 声波等无线收发模块。 相应的, 在所述 PAD 中同样安装有对应的无 线收发模€€块。 可依据无线信号传输的衰减程度计算出信号传输的距 离, 例如依据 A A A接收信号的强度指示 (RSSI, Received Signal Strength Indicator )公式 PR=PT/Sn, 可分别计算出上述三个定点设备与该 PAD 的距离 Sa、 Sb和 Sc。 其中, PR表示接收方无线信号的接收功率, Ρτ 表示发送方无线信号的发射功率, S表示无线信号收发装置之间的距 离, η为传播因数, 空气中 η取值可为 3。 FIG. 3 is a schematic diagram showing the position of the PAD and the pointing device. In this embodiment, the spatial coordinates of the three pointing devices are a ( Xa, Ya, Za), b ( Xb, Yb, Zb ) and c, respectively. (Xc, Yc, Zc), wireless transceiver modules such as infrared, Bluetooth, WIFI or ultrasonic are installed on the three fixed point devices. Correspondingly, a corresponding wireless transceiver module is also installed in the PAD. The distance of the signal transmission can be calculated according to the degree of attenuation of the wireless signal transmission. For example, according to the AAA Received Signal Strength Indicator (RSSI) formula P R = P T /S n , the above three fixed point devices can be respectively calculated. The distances S a , S b and S c from the PAD. Wherein P R represents the received power of the wireless signal of the receiver, τ represents the transmission power of the wireless signal of the sender, S represents the distance between the wireless signal transmitting and receiving devices, η is the propagation factor, and the value of η in the air may be 3.
步骤 S202:根据上述结果及上述三个定点设备的空间坐标计算该 PAD的空间坐标。  Step S202: Calculate the spatial coordinates of the PAD according to the above result and the spatial coordinates of the above three pointing devices.
假设该 PAD的空间坐标为 ( X, Υ,Ζ ) , 那么依据投影以及勾股定 理可得出下列计算式:  Assuming that the spatial coordinates of the PAD are (X, Υ, Ζ), then the following formula can be derived according to the projection and the Pythagorean rule:
Sa=^l(x-xa)2+(Y-Ya)2+(z-za)2S a =^l(xx a ) 2 +(YY a ) 2 +(zz a ) 2 ,
Sh= (X-Xb)2+(Y-Yb)2+(Z-Zb)2、 和S h = (XX b ) 2 +(YY b ) 2 +(ZZ b ) 2 , and
Figure imgf000008_0001
Figure imgf000008_0001
.
由上述三组计算式便可推导出该 PAD的空间坐标(Χ,Υ,Ζ)的表达式 The expressions of the spatial coordinates (Χ, Υ, Ζ) of the PAD can be derived from the above three sets of calculations.
为: 、2_ 。 其中,
Figure imgf000008_0002
For: , 2_ . among them,
Figure imgf000008_0002
Figure imgf000008_0003
Figure imgf000008_0003
― 一 一 一 一 i3 ― one one one one i3
A: ~ 一 ¾ ^2 i "— — A: ~ one 3⁄4 ^2 i "—
― Sfi ― Sc — i - ¾2丄― ½3;
Figure imgf000009_0001
― S fi ― S c — i - 3⁄42丄― 1⁄23;
Figure imgf000009_0001
该步骤的计算可由 PAD 计算, 也可由定点设备进行计算, 上述 计算信号传输距离所需要的参数及计算 PAD 空间坐标所需要的参数 可通过之前建立的无线连接交互。  The calculation of this step can be calculated by the PAD or by the pointing device. The parameters required to calculate the signal transmission distance and the parameters required to calculate the PAD space coordinates can be exchanged through the previously established wireless connection.
关于该 PAD 坐标的计算, 还可以由其他定位技术实现, 如设置 于屋顶或较高位置上的摄像头获取包括定点设备和该 PAD 的全局图 像, 通过图像分析该 PAD 的位置进行定位。 另外, 通过一个摄像头 获取的图片可获得水平投影的各个共享设备的投影, 通过两个及两个 以上的摄像头, 则可计算出该 PAD的空间坐标。  The calculation of the PAD coordinates can also be implemented by other positioning techniques, such as a camera set on a roof or a higher position to acquire a global image including the pointing device and the PAD, and image the position of the PAD for image positioning. In addition, the image acquired by one camera can obtain the projection of each shared device of horizontal projection, and the spatial coordinates of the PAD can be calculated by two or more cameras.
步骤 203 : 将所述空间坐标添加至定点设备所存储的该 PAD所对 应的属性列表中 以及将该属性列表与网络内的所有共享设备共享, 以使网络内的各个共享设备的空间坐标均被其他设备所知。  Step 203: Add the space coordinate to the attribute list corresponding to the PAD stored by the pointing device and share the attribute list with all shared devices in the network, so that the spatial coordinates of each shared device in the network are Known by other devices.
步骤 S30:根据网络内其他各个共享设备相对于该 PAD的水平面 坐标,以该 PAD为中心,确定出各个其他各个共享设备相对于该 PAD 的水平面方向。  Step S30: Determine, according to the horizontal coordinate of the other shared device in the network, the horizontal plane direction of each of the other shared devices relative to the PAD, centering on the PAD.
其中, 该 PAD 上设置有方向传感器, 如地磁传感器, 所确定出 的其他各个共享设备的空间方向相对地磁是不变的, 从而, 无论该 PAD在水平面如何旋转屏幕, 由于方向传感器的存在, 该 PAD都可 以正确标定出其他各个共享设备的方向。  Wherein, the PAD is provided with a direction sensor, such as a geomagnetic sensor, and the spatial directions of the other shared devices determined are relatively unchanged, so that regardless of how the PAD rotates the screen in the horizontal plane, due to the presence of the direction sensor, PAD can correctly calibrate the direction of other shared devices.
如图 3所示, 以该 PAD空间坐标为原点, 通过坐标变换, 得出 其他共享设备相对于该 PAD的空间坐标, 并设定一方向为参考方向, 如正北方。 进而才 据得出的空间坐标, 确定出水平面内所述各个共享 设备以该 PAD为原点的所在角度。  As shown in FIG. 3, taking the PAD space coordinate as the origin, the coordinate coordinates of other shared devices relative to the PAD are obtained by coordinate transformation, and a direction is set as a reference direction, such as north. Then, based on the obtained spatial coordinates, the angle at which the respective shared devices in the horizontal plane take the PAD as an origin is determined.
其中, 各个共享设备的空间坐标进行坐标系转换时, 以该 PAD 的空间坐标(Χ,Υ,Ζ )为原点, 则空间坐标为 (X Y Z 的共享设备 相对于该 PAD变换后的坐标为 (ΧΛΥΛΖ^ ) , 其中, Xi^ Xi- X; Yi' =Yi- Y; ZJ ^ ZJ- Z, 进而才艮据坐标和三角函数即可计算出上述角 度。 可见, 上述空间坐标以及据此计算出的角度, 与该 PAD 朝向无 关, 即, 该 PAD在被水平面旋转屏幕时, 对于各个共享设备定位时, 始终是以空间坐标为参照进行定位的, 即不随该 PAD屏幕的旋转而 发生变化, 以便于后续以手指在该 PAD直线触摸轨迹确定被选对象 时, 无论该 PAD屏幕如何放置, 直线触摸轨迹始终是指向作为被选 对象的共享设备时该共享设备被选择。 Wherein, when the coordinate coordinates of the spatial coordinates of each shared device are converted, the spatial coordinates (Χ, Υ, Ζ) of the PAD are taken as the origin, and the spatial coordinates are (the coordinates of the shared device of XYZ with respect to the PAD transformation are (ΧΛΥΛΖ ^ ) , where Xi ^ Xi- X; Yi' =Yi- Y; ZJ ^ ZJ- Z, and then the above angle can be calculated according to the coordinates and the trigonometric function. It can be seen that the above-mentioned spatial coordinates and the angle calculated according to the above are independent of the PAD orientation, that is, when the PAD is rotated by the horizontal plane, when positioning for each shared device, the positioning is always based on the spatial coordinates, that is, does not follow The rotation of the PAD screen changes, so that when the selected object is determined by the finger in the PAD linear touch trajectory, regardless of how the PAD screen is placed, the linear touch trajectory always points to the shared device as the selected object. be chosen.
另外, 对于上述角度的计算, 可将各个共享设备均投影到水平面 上进行上述角度的计算, 以及将后文所述的用户在该 PAD上的触摸 轨迹也投影到水平面上。  In addition, for the calculation of the above angles, each shared device can be projected onto a horizontal plane to perform the above calculation of the angle, and the touch trajectory of the user on the PAD described later is also projected onto the horizontal plane.
步骤 S40: 用户手指在该 PAD触摸屏上以直线滑动, 由于该 PAD 中内置上述方向传感器,因此,其可根据方向传感器标定的参考方向, 确定出用户的直线触摸轨迹在水平面投影所指的方向 (通过该 PAD 平面投影, 此技术为公知技术, 故对该技术不再赘述) 。  Step S40: The user's finger slides in a straight line on the PAD touch screen. Since the above-mentioned direction sensor is built in the PAD, it can determine the direction in which the user's linear touch track is projected in the horizontal plane according to the reference direction of the direction sensor calibration ( Through this PAD planar projection, this technique is a well-known technique, so the technology will not be described again).
步骤 S50: 在所述投影的水平面上, 以所确定的触摸轨迹所指方 向所匹配的共享设备作为用户所选择的共享设备, 即所选对象, 并向 所选的共享对象传输文件。  Step S50: On the horizontal plane of the projection, the shared device that is matched in the direction indicated by the determined touch track is used as the shared device selected by the user, that is, the selected object, and the file is transmitted to the selected shared object.
例如, 用户对该 PAD显示的一文件进行点击 (表示选中该文件) 并保持触摸状态, 而后朝向电脑方向快速滑动手指, 则该 PAD根据 快速滑动手指的触摸轨迹所指方向确定出在该方向的电脑作为所选 对象, 将所述文件向该电脑发送。 为了区分出滑动手指对应的是在该 PAD内移动文件,还是将文件要向外发送,可以设定手指滑动的速度, 当达到一定速度时(即上述快速滑动手指) , 则视为是要将点选的文 件向外发送, 否则仅视为是该 PAD内移动所点选的文件。  For example, if the user clicks on a file displayed by the PAD (indicating that the file is selected) and keeps the touch state, and then quickly slides the finger toward the computer direction, the PAD determines the direction in the direction according to the direction of the touch track of the fast sliding finger. The computer serves as the selected object and sends the file to the computer. In order to distinguish whether the sliding finger corresponds to moving the file within the PAD, or if the file is to be sent out, the speed of the finger sliding can be set. When a certain speed is reached (ie, the above-mentioned quick sliding finger), it is considered to be The selected file is sent out, otherwise it is only regarded as the file selected by the mobile within the PAD.
另外, 还可以在用户点选一文件并保持触摸状态时, 将上述各个 共享设备的图标在该 PAD触摸屏上以上述计算出的各个角度的位置 上进行分别显示, 便于用户可视化操作, 在显示时, 可以以所点选的 文件作为中心, 各个共享设备结合所述角度在该文件周围显示, 较佳 的是在该 PAD屏幕四周进行显示。 当触摸滑动时, 根据滑动轨迹确 定出滑动方向, 将其他方向的共享设备图标隐藏, 仅保留该方向的共 享设备图标, 当触摸滑动结束后, 再隐藏所显示的上述各个共享设备 的图标。 In addition, when the user clicks on a file and keeps the touch state, the icons of the respective shared devices are separately displayed on the PAD touch screen at the positions of the respective angles calculated above, so that the user can visualize the operation. The selected file may be centered on the selected file, and the shared device is displayed around the file in conjunction with the angle, preferably around the PAD screen. When the touch is swiped, it is based on the sliding trajectory The sliding direction is determined, and the shared device icon in the other direction is hidden, and only the shared device icon in the direction is retained. When the touch slide is finished, the displayed icons of the shared devices are hidden.
对于同一个角度具有两台以上的共享设备时, 则进一步根据各个 共享设备的坐标 (或水平面投影的坐标) 计算出与该 PAD之间的距 离, 并以上述触摸轨迹的长度值(即触摸轨迹结束端点距离起始端点 的远近) 确定出对应不同长度值的不同所述距离的共享设备。 此时, 对于同一角度的共享设备若进行上述显示, 则在所述不同长度值对应 的不同位置显示不同的图标, 由此便于用户操作。  When there are two or more shared devices at the same angle, the distance from the PAD is further calculated according to the coordinates of each shared device (or the coordinates projected by the horizontal plane), and the length value of the touch track is used (ie, the touch track) Ending the endpoint's distance from the starting endpoint) Identifying shared devices of different distances corresponding to different length values. At this time, if the shared device of the same angle performs the above display, different icons are displayed at different positions corresponding to the different length values, thereby facilitating user operation.
另外, 为了增加容错性, 所述触摸轨迹可以有一定的角度偏差, 且角度偏差可以根据相邻方向的共享设备构成的角度大小进行调整。 如图 4所示的该 PAD屏幕, M点为点选的文件, IPAD、 电视方向相 邻角度较大, 该角度偏差设定较大, 电脑和手机相邻角度较小, 则角 度偏差设定较小, 或者以所述触摸轨迹的所指方向相邻最接近的方向 上的共享设备作为被选对象。 且为了提高选中的精确性, 还进一步根 据电脑和手机分别到该 PAD 的距离设定不同的触摸轨迹长度, 即以 M为起始点的触摸轨迹的终点 (即终止触点) 为弧线 A或附近任一 点时, 表示被选择对象为电脑, 终点为弧线 B或附近任一点时, 表示 被选择对象为手机。  In addition, in order to increase fault tolerance, the touch trajectory may have a certain angular deviation, and the angular deviation may be adjusted according to an angle formed by a shared device in an adjacent direction. As shown in Figure 4, the PA point is a point-selected file. The IPAD and TV directions are larger. The angle deviation is set larger. The angle between the computer and the mobile phone is smaller. Smaller, or a shared device in the nearest direction in the direction indicated by the touch track as the selected object. In order to improve the accuracy of the selection, the length of the touch track is further set according to the distance from the computer and the mobile phone to the PAD, that is, the end point of the touch track with the M as the starting point (ie, the terminating contact) is the arc A or When any point is nearby, it indicates that the selected object is a computer, and when the end point is arc B or any nearby point, it indicates that the selected object is a mobile phone.
也可以计算触摸轨迹终点距离该 PAD 上所显示的电脑和手机图 标的两个距离, 选取距离最短的作为所选对象, 如图 5为图 4中区间 2的放大示意图, 电脑图标中心点触摸轨迹的终点 N的距离为 d2, 手 机图标中心点到 N的距离为 dl, 如图所示 d2< dl, 因此, 电脑图标 为所选。  It is also possible to calculate the distance between the end point of the touch track and the icon of the computer and the mobile phone displayed on the PAD, and select the shortest distance as the selected object, as shown in Fig. 5 is an enlarged view of the interval 2 in Fig. 4, the touch point of the computer icon center point The distance from the end point N is d2, and the distance from the center point of the mobile phone icon to N is dl, as shown in the figure d2 < dl, therefore, the computer icon is selected.
另外, 需要补充说明的是, 当存在多个图标与触摸轨迹终点 N之 间的距离相同或近似的情况, 需用户进行手动选择以增加选择的准确 性。 具体来说, 预先设置距离阈值, 若存在 2个或 2个以上图标与 N 之间的距离相等或小于所述阈值时, 则该 PAD弹出对话菜单, 将距 离小于所述阈值的图标进行显示, 通过用户触摸图标进行选择。 下面对应用于多屏共享的被选对象识别识别系统进行描述, 如图In addition, it should be additionally noted that when there is a case where the distance between the plurality of icons and the touch track end point N is the same or similar, the user needs to perform manual selection to increase the accuracy of the selection. Specifically, if the distance threshold is set in advance, if there is a distance between two or more icons and N is equal to or smaller than the threshold, the PAD pops up a dialog menu, and displays an icon with a distance less than the threshold. Select by the user touching the icon. The following describes the selected object recognition and recognition system for multi-screen sharing, as shown in the figure.
6所示, 识别系统包括: As shown in 6, the identification system includes:
空间坐标接收单元 1 1,用于接收定点设备测算的当前共享设备以 及其他共享设备的空间坐标。  The spatial coordinate receiving unit 1 1 is configured to receive the spatial coordinates of the current shared device and other shared devices measured by the pointing device.
坐标系转换单元 12, 与空间坐标接收单元 11连接, 用于以当前 共享设备的空间坐标为原点, 将其他共享设备的空间坐标进行坐标系 转换, 以确定其他共享设备相对于当前共享设备在水平面的方向和距 离。  The coordinate system conversion unit 12 is connected to the spatial coordinate receiving unit 11 for performing coordinate system conversion on the spatial coordinates of the other shared device by using the spatial coordinates of the current shared device as an origin to determine that other shared devices are in a horizontal plane with respect to the current shared device. Direction and distance.
存储单元 18, 与坐标系转换单元 12连接, 用于存储转换后所有 共享设备的空间坐标。  The storage unit 18 is connected to the coordinate system conversion unit 12 for storing the spatial coordinates of all the shared devices after the conversion.
另外, 所述存储单元 18 还用于存储所有共享设备的型号、 设备 图标和 IP地址。  In addition, the storage unit 18 is further configured to store the model, device icon and IP address of all shared devices.
投影单元 13, 与坐标系转换单元 12连接, 用于依据空间坐标将 表示所有共享设备投影到水平面, 以确定出各个共享设备相对于当前 共享设备在水平面投影的各个方向以及各个共享设备到当前共享设 备的距离。  The projection unit 13 is connected to the coordinate system conversion unit 12 for projecting all the shared devices to the horizontal plane according to the spatial coordinates, to determine the directions in which the respective shared devices are projected on the horizontal plane with respect to the current shared device, and the respective shared devices to the current sharing. The distance of the device.
触摸轨迹采集单元 14, 用于采集用户触摸指令, 包括触摸方向和 触摸长度。  The touch track acquisition unit 14 is configured to collect user touch commands, including a touch direction and a touch length.
所述投影单元 13还与触摸轨迹采集单元 14连接, 用于将触摸轨 迹投影到水平面上。  The projection unit 13 is also coupled to the touch track acquisition unit 14 for projecting the touch track onto a horizontal plane.
方向传感器 15, 与投影单元 13连接, 用于确定当前共享设备的 参考方向。 具体来说, 无论该当前共享设备在水平面如何旋转屏幕, 所确定出的其他各个共享设备的空间方向和用户触摸轨迹均是相对 地磁不变。  A direction sensor 15, connected to the projection unit 13, is used to determine the reference direction of the currently shared device. Specifically, regardless of how the current shared device rotates the screen in the horizontal plane, the spatial directions of the other shared devices and the user touch trajectory determined are relatively unchanged.
共享设备识别单元 16, 与投影单元 13和触摸轨迹采集单元 14连 接, 用于确定在触摸轨迹所指方向上与触摸轨迹的长度所匹配的共享 设备。  The shared device identification unit 16, coupled to the projection unit 13 and the touch track acquisition unit 14, is for determining a shared device that matches the length of the touch track in the direction indicated by the touch track.
其中, 共享设备识别单元 16 包括触摸速度判断模块、 触摸轨迹 容错模块和触摸轨迹计算模块 (未图示) 。 所述触摸速度判断模块用于判断用户触摸滑动速度。 具体来说, 只有当触摸滑动速度达到预设速度时才认为是用于选择其他共享设 备, 所述触摸轨迹起点对应所选择的文件。 The shared device identification unit 16 includes a touch speed determination module, a touch track fault tolerance module, and a touch track calculation module (not shown). The touch speed determination module is configured to determine a user touch sliding speed. Specifically, it is considered to be used to select other sharing devices only when the touch sliding speed reaches the preset speed, and the touch track starting point corresponds to the selected file.
所述触摸轨迹容错模块用于纠正触摸轨迹的角度。 具体来说, 触 摸轨迹与共享设备存在角度偏差时, 在以触摸轨迹结束点为弧线上任 一点时便认为是所匹配的共享设备。  The touch track fault tolerance module is used to correct the angle of the touch track. Specifically, when there is an angular deviation between the touch track and the shared device, it is considered to be the matched shared device when the touch track end point is at any point on the arc.
对于同一个角度具有两台以上的共享设备时, 触摸轨迹计算模块 用于计算触摸轨迹长度,依据不同长度值对应的不同位置的共享设备 为匹配。 另外, 还用于计算触摸轨迹结束点分别与两台以上的共享设 备的距离, 与触摸轨迹结束点距离最近的为所匹配的共享设备。  When there are two or more shared devices in the same angle, the touch track calculation module is used to calculate the touch track length, and the shared devices according to different length values are matched. In addition, it is also used to calculate the distance between the end points of the touch track and the two or more shared devices, and the closest to the end point of the touch track is the matched shared device.
显示单元 (未图示) , 分别与触摸轨迹采集单元 14 和共享设备 识别单元 16连接, 用于依据触摸点触发显示其他各个共享设备的图 标; 以及当触摸轨迹结束点分别与两台以上的共享设备的距离相同 时, 仅触发显示所述距离相同的两台以上的共享设备的图标。  a display unit (not shown) is respectively connected to the touch track collection unit 14 and the shared device identification unit 16 for triggering display of icons of other shared devices according to the touch point; and sharing the two ends of the touch track end points respectively When the distances of the devices are the same, only the icons of the two or more shared devices with the same distance are triggered.
共享文件传输单元 17, 与共享设备识别单元 16连接, 用于向确 定的匹配共享设备进行文件传输。  The shared file transfer unit 17 is connected to the shared device identification unit 16 for file transfer to the determined matching shared device.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 总之, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the present invention. In general, any modifications, equivalent substitutions, improvements, etc., which are included in the spirit and principles of the present invention, should be included in the present invention. Within the scope of protection of the invention.

Claims

权 利 要 求 书 Claim
1. 一种共享设备的确定方法, 其特征在于, 包括步骤: A method for determining a shared device, comprising the steps of:
A: 确定出各个共享设备相对于当前共享设备在水平面投影的各 个方向、 各个共享设备到当前共享设备的距离;  A: determining the distances of the respective shared devices in the horizontal plane from the current shared device, and the distance from each shared device to the current shared device;
B: 确定在当前共享设备上的触摸轨迹在水平面投影所指的方向 和触摸轨迹的长度;  B: determining the direction of the touch trajectory on the current shared device in the horizontal plane and the length of the touch trajectory;
C: 确定在所述触摸轨迹所指方向上、 与触摸轨迹长度相对应的 距离处的共享设备, 作为所要通讯的共享设备。  C: A shared device at a distance corresponding to the length of the touch track in the direction indicated by the touch track is determined as a shared device to be communicated.
2. 根据权利要求 1所述的方法, 其特征在于, 步骤 A包括: 根据至少三个具有空间坐标的共享设备与当前共享设备通讯信 号的强度确定出当前共享设备的空间坐标;  The method according to claim 1, wherein the step A comprises: determining a spatial coordinate of the current shared device according to the strength of the at least three shared devices having the spatial coordinates and the current shared device communication signal;
根据当前共享设备的空间坐标、 其他各个共享设备的空间坐标确 定出各个共享设备相对于当前共享设备在水平面投影的各个方向和 到当前共享设备的距离。  According to the spatial coordinates of the current shared device and the spatial coordinates of the other shared devices, the directions in which the respective shared devices are projected on the horizontal plane with respect to the current shared device and the distance to the current shared device are determined.
3. 根据权利要求 1所述的方法, 其特征在于, 步骤 A包括: 获取包括至少三个具有空间坐标的共享设备与当前共享设备的 图像信息;  The method according to claim 1, wherein the step A comprises: acquiring image information including at least three shared devices having spatial coordinates and the current shared device;
根据三个所述共享设备的空间坐标进行图像分析确定出当前共 享设备的空间坐标;  Performing image analysis according to the spatial coordinates of the three shared devices to determine the spatial coordinates of the current shared device;
根据当前共享设备的空间坐标、 其他各个共享设备的空间坐标确 定出各个共享设备相对于当前共享设备在水平面投影的各个方向和 到当前共享设备的距离。  According to the spatial coordinates of the current shared device and the spatial coordinates of the other shared devices, the directions in which the respective shared devices are projected on the horizontal plane with respect to the current shared device and the distance to the current shared device are determined.
4. 根据权利要求 1所述的方法, 其特征在于, 步骤 C所述确定 所述触摸轨迹所指方向上所匹配的共享设备包括:  The method according to claim 1, wherein the determining, by the step C, that the shared device matched in the direction indicated by the touch track comprises:
判断与所述触摸轨迹所指方向误差最小的方向的共享设备作为 所匹配的共享设备。  A shared device that determines a direction with the smallest direction error indicated by the touch track is used as the matched shared device.
5. 根据权利要求 4 所述的方法, 其特征在于, 所述各个共享设 备到当前共享设备的距离包括: 各个共享设备相对于当前共享设备的空间距离或在水平面投影 到当前共享设备水平投影的距离。 The method according to claim 4, wherein the distances of the respective shared devices to the current shared device include: The spatial distance of each shared device relative to the current shared device or the distance projected on the horizontal plane to the current shared device.
6. 根据权利要求 4或 5所述的方法, 其特征在于, 步骤 A后还 包括: 在当前共享设备的触摸屏上, 将上述各个其他共享设备的图标 根据确定出的各个共享设备的方向在所述触摸轨迹起点四周对应的 方向上进行显示。  The method according to claim 4 or 5, wherein, after the step A, the method further comprises: displaying, on the touch screen of the current shared device, the icons of the other shared devices according to the determined directions of the shared devices Displayed in the direction corresponding to the beginning of the touch track.
7. 根据权利要求 6 所述的方法, 其特征在于, 还根据各个共享 设备到当前共享设备的不同距离, 在到触摸轨迹起点对应距离显示所 述其他各个共享设备的图标;  The method according to claim 6, wherein the icons of the other shared devices are displayed at a distance corresponding to the start point of the touch track according to different distances of the shared devices to the current shared device;
步骤 C所述确定所述触摸轨迹所指方向上所匹配的共享设备还包 括: 以到触摸轨迹结束端点最近的共享设备的图标所对应的共享设备 作为所匹配的共享设备。  The step of determining that the shared device in the direction indicated by the touch track further comprises: using the shared device corresponding to the icon of the shared device that ends the endpoint to the touch track as the matched shared device.
8. 一种共享设备的文件传输方法, 其特征在于, 包括步骤: A: 各个共享设备到当前共享设备的距离;  A file transfer method for a shared device, comprising the steps of: A: a distance from each shared device to a current shared device;
B: 确定在当前共享设备上的触摸轨迹在水平面投影所指的方向 和触摸轨迹的长度;  B: determining the direction of the touch trajectory on the current shared device in the horizontal plane and the length of the touch trajectory;
C: 确定在所述触摸轨迹所指方向上、 与触摸轨迹长度相对应的 距离处的共享设备, 将触摸轨迹起点对应的所选文件传输到该匹配的 共享设备。  C: determining a sharing device at a distance corresponding to the length of the touch track in the direction indicated by the touch track, and transmitting the selected file corresponding to the start point of the touch track to the matching shared device.
9. 根据权利要求 8所述的方法, 其特征在于, 步骤 C所述确定 所述触摸轨迹所指方向上所匹配的共享设备包括:  The method according to claim 8, wherein the determining, by the step C, that the shared device matched in the direction indicated by the touch track comprises:
判断与所述触摸轨迹所指方向误差最小的方向上的共享设备作 为所匹配的共享设备。  The shared device in the direction with the smallest direction error indicated by the touch track is judged as the matched shared device.
10. 根据权利要求 9所述的方法, 其特征在于, 所述各个共享设 备到当前共享设备的距离包括:  The method according to claim 9, wherein the distances of the respective shared devices to the current shared device include:
各个共享设备相对于当前共享设备的空间距离或在水平面投影 到当前共享设备水平投影的距离。  The spatial distance of each shared device relative to the current shared device or the distance projected on the horizontal plane to the current shared device.
11. 一种实现共享设备的文件传输方法的系统, 其特征在于, 包 括: 空间坐标接收单元, 用于接收各个共享设备的空间坐标; 坐标系转换单元, 用于根据所述各个共享设备的空间坐标确定其 他共享设备相对于当前共享设备在水平面的各个方向和距离; A system for implementing a file transfer method of a shared device, comprising: a spatial coordinate receiving unit, configured to receive spatial coordinates of each shared device; a coordinate system converting unit, configured to determine, according to spatial coordinates of each shared device, various directions and distances of other shared devices in a horizontal plane with respect to the current shared device;
触摸轨迹采集单元, 用于采集触摸轨迹, 该触摸轨迹起点对应为 所选文件;  a touch track acquisition unit, configured to collect a touch track, where the start point of the touch track corresponds to the selected file;
投影单元, 用于确定所述触摸轨迹在水平面的投影方向和距离; 共享设备识别单元, 用于依据触摸轨迹在当前共享设备屏幕上的 水平面投影所指的方向以及触摸轨迹的长度, 确定所匹配的共享设 备;  a projection unit, configured to determine a projection direction and a distance of the touch track in a horizontal plane; a shared device identification unit, configured to determine a match according to a direction indicated by a horizontal plane projection of the touch track on the current shared device screen and a length of the touch track Shared device
共享文件传输单元, 用于向所匹配的共享设备传输所选文件。  A shared file transfer unit that transfers the selected file to the matched shared device.
PCT/CN2012/073732 2012-02-21 2012-04-10 Method for determining sharing device, method and system for file transmission WO2013123695A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012100396067A CN103257817A (en) 2012-02-21 2012-02-21 Determination method and file transferring method of shared device and system
CN201210039606.7 2012-02-21

Publications (1)

Publication Number Publication Date
WO2013123695A1 true WO2013123695A1 (en) 2013-08-29

Family

ID=48961765

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073732 WO2013123695A1 (en) 2012-02-21 2012-04-10 Method for determining sharing device, method and system for file transmission

Country Status (2)

Country Link
CN (1) CN103257817A (en)
WO (1) WO2013123695A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3901736A1 (en) * 2020-04-26 2021-10-27 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for performing directional operation, and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500068B (en) * 2013-10-08 2017-03-22 惠州Tcl移动通信有限公司 Image display method and main mobile equipment
CN104581987A (en) * 2013-10-23 2015-04-29 腾讯科技(深圳)有限公司 Data transmission method, device and system
CN105337641A (en) * 2014-06-06 2016-02-17 北京壹人壹本信息科技有限公司 File transmission method and system, and mobile terminal
CN106293404A (en) * 2015-05-22 2017-01-04 联发科技(新加坡)私人有限公司 Multi-screen shares method and the communication terminal of display picture
CN106131973A (en) * 2016-07-07 2016-11-16 广东小天才科技有限公司 A kind of data transmission method and system
CN110879683A (en) * 2018-09-05 2020-03-13 上海博泰悦臻网络技术服务有限公司 Screen information sharing method, terminal and vehicle
CN110351808B (en) * 2019-06-12 2021-05-07 东北石油大学 File transmission processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011041427A2 (en) * 2009-10-02 2011-04-07 Qualcomm Incorporated User interface gestures and methods for providing file sharing functionality
CN102150123A (en) * 2008-09-09 2011-08-10 微软公司 Portable electronic device with relative gesture recognition mode

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088299B (en) * 2009-12-08 2015-03-25 赛恩倍吉科技顾问(深圳)有限公司 Mobile electronic device with file transferring function and transferring method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102150123A (en) * 2008-09-09 2011-08-10 微软公司 Portable electronic device with relative gesture recognition mode
WO2011041427A2 (en) * 2009-10-02 2011-04-07 Qualcomm Incorporated User interface gestures and methods for providing file sharing functionality
WO2011041434A1 (en) * 2009-10-02 2011-04-07 Qualcomm Incorporated Device movement user interface gestures for file sharing functionality

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3901736A1 (en) * 2020-04-26 2021-10-27 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for performing directional operation, and storage medium
US11314345B2 (en) 2020-04-26 2022-04-26 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for performing directional operation, and storage medium

Also Published As

Publication number Publication date
CN103257817A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
WO2013123697A1 (en) Method for determining sharing device, method and system for file transmission
WO2013123695A1 (en) Method for determining sharing device, method and system for file transmission
JP5916261B2 (en) File transmission method, system, and control apparatus
US20150035762A1 (en) Electronic device and pairing method thereof
US9681268B2 (en) Mobile device position detection
JP7204792B2 (en) WI-FI hotspot connection method and terminal
WO2021022981A1 (en) Terminal interaction method and terminal
US9091548B2 (en) Information processing apparatus, information processing method, and program
WO2018153028A1 (en) Method and apparatus for establishing wireless local area network connection and terminal
WO2016101803A1 (en) Method and apparatus for transmitting information in cell
WO2013123694A1 (en) Method and system applicable in multi-screen sharing for close range azimuth positioning and for file transmission
CN108377286B (en) Data transmission method and device
CN110622528B (en) Information recommendation method and device
WO2019015562A1 (en) Full-vision navigation and positioning method, intelligent terminal and storage device
AU2018427289B2 (en) Transmission control method and device
KR101644608B1 (en) Terminal for recognizing communication target and method thereof
WO2013117037A1 (en) File reception and display method and system
WO2022143089A1 (en) Indoor positioning method, and terminal and system
KR20140090859A (en) Localization control method of sound for portable device and portable device thereof
WO2022206786A1 (en) Method for displaying control window of second electronic device, and first electronic device
US8548451B2 (en) Information processing system, apparatus, and method
TWI650973B (en) Wireless communication based method for collecting data
TWI400972B (en) Mobile communication device and a network switching method thereof
KR20130033671A (en) System and terminal device sharing the input devices and method for controlling the same

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

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22-04-2015)

122 Ep: pct application non-entry in european phase

Ref document number: 12869248

Country of ref document: EP

Kind code of ref document: A1