CN106375479A - Data sharing method and device - Google Patents
Data sharing method and device Download PDFInfo
- Publication number
- CN106375479A CN106375479A CN201610950775.4A CN201610950775A CN106375479A CN 106375479 A CN106375479 A CN 106375479A CN 201610950775 A CN201610950775 A CN 201610950775A CN 106375479 A CN106375479 A CN 106375479A
- Authority
- CN
- China
- Prior art keywords
- data
- shared
- screen
- sharing
- wifi
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
The disclosure relates to a data sharing method and device. The method comprises: when a data sharing instruction of shared data is received, a data type of to-be-shared data is determined; when the data type of the to-be-shared data is screen display data, a screen sharing request is sent to a target device establishing WIFI direction connection; and when a sharing response message that is returned by the target device based on the screen sharing request is received, a screen sharing operation is executed. According to the technical scheme, the screen sharing operation executed between intelligent equipment can be realized simply; the screen sharing operation is simplified; and the user experience of using intelligent equipment is optimized.
Description
Technical field
It relates to wireless local area network technology field, more particularly, to a kind of data sharing method and device.
Background technology
With the extensive application of smart machine (as smart mobile phone, panel computer, intelligent television), between multiple smart machines
Screen interactive and file transfer applications are increasingly paid attention to.In correlation technique, carry out screen between different smart machines
Interactive and file transmission operation is more complicated, and how the screen interaction between smart machine is realized by screenshot capture, no
Enable real-time interactive, and when transmitting file between smart machine, the operation of setting file store path is also more complicated, phase
Close technology law to lead to that the data sharing operations between smart machine are loaded down with trivial details, be difficult, directly affect the body that user uses smart machine
Test.
Content of the invention
For overcoming problem present in correlation technique, the embodiment of the present disclosure provides a kind of data sharing method and device, uses
To solve the problems, such as that between management smart machine, data sharing operations are loaded down with trivial details, to be difficult.
According to the embodiment of the present disclosure in a first aspect, provide a kind of data sharing method, apply on source device, can wrap
Include:
Receive shared data data sharing instruction when, determine the data type of data to be shared;
When the data type of described data to be shared is display data on the screen, set to the target setting up the direct-connected connection of wifi
Preparation send Screen sharing to ask;
When receiving the shared response message that described target device returns according to the request of described Screen sharing, execute screen
Sharing operation.
In one embodiment, method may also include that
When described data type to be shared is file data, connect to described target device by described wifi is direct-connected
File data described in shown portfolios on display interface.
In one embodiment, method also includes:
Receive and current network connection type is set to the direct-connected operational order of wifi;
Control described smart machine to switch to wifi direct-connected network connection, and build with the target device in preset range
The direct-connected connection of vertical wifi.
In one embodiment, method also includes:
When receiving the first predetermined registration operation triggering by physical keyboard or the second predetermined registration operation triggering by touch screen
When, determine the data sharing instruction receiving shared data.
In one embodiment, determine the data type of data to be shared, comprising:
When the data sharing receiving described shared data instructs, it is determined whether have selected file data;
If there are selected file data it is determined that the data type of data to be shared is file data;
Without selected file data it is determined that the data type of data to be shared is display data on the screen.
In one embodiment, execution Screen sharing operation, comprising:
By wireless screen transmission, by the display content simultaneous display on described source device screen to described target device.
According to the second aspect of the embodiment of the present disclosure, provide a kind of data sharing method, apply on the target device, method
Including:
Receive and set up the Screen sharing request that the source device of the direct-connected connection of wifi sends;
Asked according to described Screen sharing, send shared response message to described source device;
When receiving the screen display content that described source device sends according to described shared response message, in current interface
The upper screen display content showing described source device.
In one embodiment, method also includes:
Receive the file data that described source device passes through the direct-connected linkup transmit of wifi;
Described file data is stored to shown file on display interface.
In one embodiment, method also includes:
Receive and current network connection type is set to the direct-connected operational order of wifi;
Set up the direct-connected connection of wifi and described source device between.
According to the third aspect of the embodiment of the present disclosure, provide a kind of data sharing device, apply on source device, device bag
Include:
Determination type module, when being configured to the data sharing instruction receiving shared data, determines data to be shared
Data type;
Sending module, the data type being configured to determine described data to be shared in described determination type module is screen
During video data, send Screen sharing request to the target device setting up the direct-connected connection of wifi;
Sharing module, is configured to receiving the described screen that described target device sends according to described sending module altogether
When enjoying the shared response message that request returns, execution Screen sharing operation.
In one embodiment, device also includes:
Data transmission module, is configured to determine that described data type to be shared is file in described determination type module
During data, connect to shown file described in portfolios on described target device display interface by described wifi is direct-connected
Data.
In one embodiment, device also includes:
First receiver module, is configured to receive and current network connection type is set to the direct-connected operation of wifi refers to
Order;
Connect handover module, be configured to, when described first receiver module receives described operational order, control described
Network connection is switched to wifi direct-connected by smart machine, and sets up the direct-connected connection of wifi with the target device in preset range.
In one embodiment, device also includes:
Determining module, is configured to receiving the first predetermined registration operation triggering by physical keyboard or tactile by touch screen
During the second predetermined registration operation sent out, determine the data sharing instruction receiving shared data.
In one embodiment, determination type module includes:
First determination sub-module, is configured to when the data sharing receiving described shared data instructs, it is determined whether
There is selected file data;
Second determination sub-module, is configured to when described first determination sub-module determines and has selected file data,
Determine data to be shared data type be file data;
3rd determination sub-module, is configured to determine do not have selected file data in described first determination sub-module
When, determine that the data type of data to be shared is display data on the screen.
In one embodiment, sharing module includes:
Simultaneous display submodule, is configured to wireless screen transmission, and the display content on described source device screen is synchronous
It is shown on described target device.
According to the fourth aspect of the embodiment of the present disclosure, provide a kind of data sharing device, apply on the target device, device
Including:
Second receiver module, is configured to receive and sets up the Screen sharing request that the source device of the direct-connected connection of wifi sends;
Responder module, is configured to be asked according to described Screen sharing, sends shared response message to described source device;
Display module, is configured to receiving the described shared response that described source device sends according to described responder module
During the screen display content that message sends, the screen display content of described source device is shown on current interface.
In one embodiment, device also includes:
3rd receiver module, is configured to receive the file data that described source device passes through the direct-connected linkup transmit of wifi;
Memory module, the described file data being configured to receive described 3rd receiver module stores to display interface
Under shown file.
In one embodiment, device also includes:
4th receiver module, is configured to receive and current network connection type is set to the direct-connected operation of wifi refers to
Order;
Connection establishment module, is configured to set up the direct-connected connection of wifi and described source device between.
According to the 5th aspect of the embodiment of the present disclosure, provide a kind of data sharing device, apply on source device, device bag
Include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive shared data data sharing instruction when, determine the data type of data to be shared;
When the data type of described data to be shared is display data on the screen, set to the target setting up the direct-connected connection of wifi
Preparation send Screen sharing to ask;
When receiving the shared response message that described target device returns according to the request of described Screen sharing, execute screen
Sharing operation.
According to the 6th aspect of the embodiment of the present disclosure, provide a kind of data sharing device, apply on the target device, device
Including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive and set up the Screen sharing request that the source device of the direct-connected connection of wifi sends;
Asked according to described Screen sharing, send shared response message to described source device;
When receiving the screen display content that described source device sends according to described shared response message, in current interface
The upper screen display content showing described source device.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect: receives shared number in source device
According to data sharing instruction when, for example execute the data that default slide generated on the touchscreen altogether receiving user
Enjoy during instruction it may be determined that the data type of data to be shared, and execution screen is altogether when data type is for display data on the screen
Enjoy operation, therefore user executes slide on the touchscreen and can execute Screen sharing operation between smart machine, simplifies
Screen sharing operation, optimizes the experience that user uses smart machine.
And, by when determining that data type is file data, directly file data being sent to target device interface
It is achieved that under directly file is dragged to the destination folder of target device, solving correlation technique under the file of upper display
The operation of setting file store path more complicated problem when transmitting file between middle smart machine, simplifies file transmission
Operation.
By controlling source device, network connection is switched to wifi direct-connected, and set up with the target device in preset range
Wifi is direct-connected to be connected so that can realize screen altogether by the direct-connected connection of point-to-point wifi between source device and target device
Enjoy and file transmission.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the present invention
Example, and be used for explaining the principle of the present invention together with description.
Fig. 1 a is the flow chart of the data sharing method according to an exemplary embodiment.
Fig. 1 b is the scene graph of the data sharing method according to an exemplary embodiment.
Fig. 2 a is the flow chart of the data sharing method according to an exemplary embodiment one.
Fig. 2 b is the flow chart of the step 202 according to an exemplary embodiment one.
Fig. 3 is to set up the direct-connected connection of wifi between source device and target device according to an exemplary embodiment two
The flow chart of method.
Fig. 4 is the flow chart of the data sharing method according to an exemplary embodiment three.
Fig. 5 is the flow chart of the data sharing method according to an exemplary embodiment four.
Fig. 6 is a kind of block diagram of the data sharing device according to an exemplary embodiment.
Fig. 7 is the block diagram of another kind of data sharing device according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of the data sharing device according to an exemplary embodiment.
Fig. 9 is the block diagram of another kind of data sharing device according to an exemplary embodiment.
Figure 10 is a kind of block diagram being applied to data sharing device according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, the present invention.
Fig. 1 a is the flow chart of the data sharing method according to an exemplary embodiment, and Fig. 1 b is exemplary according to one
The scene graph of the data sharing method that enforcement exemplifies;This data sharing method can be applied in smart machine (for example: intelligent handss
Machine, panel computer, intelligent television) on, as shown in Figure 1a, this data sharing method comprises the following steps:
In a step 101, receive shared data data sharing instruction when, determine the data type of data to be shared.
In one embodiment, determine that the method for the data type of data to be shared can be found in Fig. 2 b illustrated embodiment, here
First do not describe in detail.
In one embodiment, data to be shared can be display data on the screen, picture that such as screen is showing, screen
On the video play etc.;In another embodiment, data to be shared can be file data, for example, a first song, a figure
Piece, a document etc..
In one embodiment, when receiving the first predetermined registration operation that user is triggered by physical keyboard it may be determined that receiving
To the data sharing instruction of shared data, for example, when user is continuously by the video switching key on intelligent television twice, intelligence
TV can receive the data sharing instruction of shared data;In another embodiment, triggered by touch screen when receiving user
The second predetermined registration operation when it may be determined that receive shared data data sharing instruction, for example, when user smart mobile phone touch
Touch on screen when touch screen left side edge slides into touch screen right side edge, smart mobile phone can receive the data of shared data altogether
Enjoy instruction.
In one embodiment, the first predetermined registration operation and the second predetermined registration operation can be provided by smart machine provider and store
In smart machine.
In a step 102, when the data type of data to be shared is display data on the screen, to setting up the direct-connected connection of wifi
Target device send Screen sharing request.
In one embodiment, source device and target device can be realized in point-to-point one by respective wifi is direct-connected
Portion's LAN environment, when source device receives data sharing and instructs and determine that data to be shared is display data on the screen, can
Send Screen sharing request to target device.
In step 103, when receiving the shared response message that target device returns according to Screen sharing request, execution
Screen sharing operates.
In one embodiment, Screen sharing operation can be realized by wireless screen transmission technology.
In an exemplary scenario, as shown in Figure 1 b, source device 11 (source device can be any one smart machine,
As smart mobile phone, panel computer, intelligent television etc., illustrated with smart mobile phone here) network connection is switched to wifi direct-connected
After connection, can with preset range in the setting direct-connected target device of wifi 12 (target device can be any one intelligence
Equipment, such as smart mobile phone, panel computer, intelligent television etc., are still illustrated with smart mobile phone here) set up connection, by this source device
11, when the data sharing receiving shared data instructs, can be realized with target device 12 according to the data type of data to be shared
Screen sharing data is transmitted.In the disclosure, user passes through the physical button of source device 11 or touch screen can trigger number
According to shared instruction, realize the Screen sharing between source device 11 and target device 12 and file transmission, simple to operate.
In the present embodiment, when source device receives the data sharing instruction of shared data, for example, exist receiving user
Execute during the data sharing instruction that default slide generated it may be determined that the data type of data to be shared on screen, and
And the execution Screen sharing operation when data type is for display data on the screen, user executes slide on screen can be in intelligence
Screen sharing operation can be executed between equipment, simplify Screen sharing operation, optimize the experience that user uses smart machine.
In one embodiment, method may also include that
When data type to be shared is file data, connect to institute on target device display interface by wifi is direct-connected
The portfolios file data of display.
In one embodiment, method also includes:
Receive and current network connection type is set to the direct-connected operational order of wifi;
Control smart machine to switch to wifi direct-connected network connection, and set up with the target device in preset range
The direct-connected connection of wifi.
In one embodiment, method also includes:
When receiving the first predetermined registration operation triggering by physical keyboard or the second predetermined registration operation triggering by touch screen
When, determine the data sharing instruction receiving shared data.
In one embodiment, determine the data type of data to be shared, comprising:
When the data sharing receiving shared data instructs, it is determined whether have selected file data;
If there are selected file data it is determined that the data type of data to be shared is file data;
Without selected file data it is determined that the data type of data to be shared is display data on the screen.
In one embodiment, execution Screen sharing operation, comprising:
By wireless screen transmission, by the display content simultaneous display on source device screen on target device.
Specifically how to realize data sharing, refer to subsequent embodiment.
So far, the embodiment of the present disclosure provide said method, can by shirtsleeve operation realize two smart machines it
Between Screen sharing and file transmission, optimize user use smart machine experience.
Below the technical scheme that the embodiment of the present disclosure provides is illustrated with specific embodiment.
Fig. 2 a is the flow chart of the data sharing method according to an exemplary embodiment one, and Fig. 2 b is according to an example
The flow chart of the step 202 shown in property embodiment one;The present embodiment utilizes the said method that the embodiment of the present disclosure provides, and is set with source
Standby realize and target device between illustrative, as shown in Figure 2 a, including as follows as a example Screen sharing and file transmission
Step:
In step 201, receive the data sharing instruction of shared data.
In one embodiment, when receiving the first predetermined registration operation that user is triggered by physical keyboard it may be determined that receiving
To the data sharing instruction of shared data, for example, when user is continuously by the video switching key on intelligent television twice, intelligence
TV can receive the data sharing instruction of shared data;In another embodiment, triggered by touch screen when receiving user
The second predetermined registration operation when it may be determined that receive shared data data sharing instruction, for example, when user smart mobile phone touch
Touch on screen when touch screen left side edge slides into touch screen right side edge, smart mobile phone can receive the data of shared data altogether
Enjoy instruction.
In step 202., the data type of data to be shared, execution step 203 and step 204 are determined.
In one embodiment, the detailed description of step 202 may refer to Fig. 2 b, as shown in Figure 2 b, comprises the steps:
In step 211, when the data sharing receiving shared data instructs, it is determined whether have selected number of files
According to if there are selected file data, then execution step 212, without selected file data, then execution step
213.
In the step 212, determine data to be shared data type be file data.
In step 213, determine data to be shared data type be display data on the screen.
In step 203, when data type to be shared is file data, connect to target device by wifi is direct-connected
Shown portfolios file data on display interface, flow process terminates.
In one embodiment, can directly file data be sent to target device, file data is directly deposited by target device
Store up to display interface display file in, for example, if on display interface display file be " file management figure
Piece ", then target device can directly the file data receiving be stored to " file management picture " file.
In step 204, when the data type of data to be shared is display data on the screen, to setting up the direct-connected connection of wifi
Target device send Screen sharing request.
In step 205, when receiving the shared response message that target device returns according to Screen sharing request, execution
Screen sharing operates.
In one embodiment, Screen sharing operation can be realized by wireless screen transmission technology.
In the present embodiment, by when determining that data type is file data, directly file data being sent and setting to target
It is achieved that under directly file is dragged to the destination folder of target device, solving phase under the file of display on standby interface
When transmitting file in the technology of pass between smart machine, the more complicated problem of the operation of setting file store path, simplifies file
The operation of transmission.
Fig. 3 is to set up the direct-connected connection of wifi between source device and target device according to an exemplary embodiment two
The flow chart of method, the present embodiment utilizes the said method that the embodiment of the present disclosure provides, to build between source device and target device
Vertical wifi is direct-connected connect as a example illustrative, as shown in figure 3, comprising the steps:
In step 301, receive and current network connection type is set to the direct-connected operational order of wifi.
In one embodiment, it is typically provided with the direct-connected type of wifi in the network connection of smart machine, for dissimilar
Smart machine, current network connection type is set to the direct-connected operation of wifi and can differ by user's triggering, for example, right
In smart mobile phone, when user triggers " setting-WLAN (the wireless local area clicking in smart machine
Networks, referred to as wlan)-wifi is direct-connected " operation of button when, smart machine can receive current network connection class
Type is set to the direct-connected operational order of wifi.
In step 302, control smart machine network connection is switched to wifi direct-connected, and with preset range in mesh
Marking device sets up the direct-connected connection of wifi.
In one embodiment, preset range can be the direct-connected coverage of wifi, such as in the range of 100 meters.
In one embodiment, smart machine, can automatically scanning preset range after switching to wifi direct-connected network connection
Interior wifi direct connection intelligent equipment, receive user triggering set up the operation of the direct-connected connection of wifi with target device after, source
Equipment can set up the direct-connected connection of wifi and target device between automatically.
In the present embodiment, by control source device network connection is switched to wifi direct-connected, and with preset range in
Target device sets up the direct-connected connection of wifi so that can pass through the direct-connected company of point-to-point wifi between source device and target device
Connect, realize Screen sharing and file transmission.
Fig. 4 is the flow chart of the data sharing method according to an exemplary embodiment three, and this data sharing method can
To apply on target device (for example: smart mobile phone, panel computer, intelligent television), as shown in figure 4, this data sharing method
Comprise the following steps:
In step 401, receive and set up the Screen sharing request that the source device of the direct-connected connection of wifi sends.
In one embodiment, carry the equipment identification information of active equipment in Screen sharing request.
In step 402, asked according to Screen sharing, send shared response message to source device.
In step 403, when receiving the screen display content that source device sends according to shared response message, current
The screen display content of source device is shown on interface.
In an exemplary scenario, as shown in Figure 1 b, (source device can be any one smart machine to source device 11, such as
Smart mobile phone, panel computer, intelligent television etc., are illustrated with smart mobile phone here) network connection is switched to the direct-connected company of wifi
After connecing, can set up with the setting direct-connected target device of wifi 12 in preset range and be connected, received by this source device 11
During the data sharing instruction of shared data, can according to the data type of data to be shared and target device 12 realize Screen sharing and
Data transfer.In the disclosure, user passes through the physical button of source device 11 or touch screen gets final product trigger data shared instruction,
Realize the Screen sharing between source device 11 and target device 12 and file transmission, simple to operate.
In the present embodiment, when target device receives the Screen sharing request of source device transmission, can be synchronous aobvious on screen
Show the content of display on source device screen, optimize the experience that user uses smart machine.
In one embodiment, method also includes:
Receive the file data that source device passes through the direct-connected linkup transmit of wifi;
File data is stored to shown file on display interface.
In one embodiment, method also includes:
Receive and current network connection type is set to the direct-connected operational order of wifi;
Set up the direct-connected connection of wifi and source device between.
Fig. 5 is the flow chart of the data sharing method according to an exemplary embodiment four, and the present embodiment utilizes this public affairs
The said method of embodiment offer is provided, illustrative taking transmission file data between source device and target device as a example,
This data sharing method comprises the following steps:
In step 501, receive the file data that source device passes through the direct-connected linkup transmit of wifi.
In step 502, file data is stored to shown file on display interface.
In one embodiment, the file for storing received file data can be opened in advance;In an embodiment
In, without opening any file, can directly file data be stored to desktop folder.
In the present embodiment, when receiving the file data of source device transmission, directly file data is stored and set to target
It is achieved that under directly file is dragged to the destination folder of target device, solving phase under the file of display on standby interface
When transmitting file in the technology of pass between smart machine, the more complicated problem of the operation of setting file store path, simplifies file
The operation of transmission.
Corresponding with the embodiment of aforementioned data sharing method, the disclosure additionally provides the corresponding enforcement of data sharing device
Example.
Fig. 6 is a kind of block diagram of the data sharing device according to an exemplary embodiment, and this device is applied and set in source
Standby upper, as shown in fig. 6, this device includes:
Determination type module 610, when being configured to the data sharing instruction receiving shared data, determines data to be shared
Data type;
Sending module 620, the data type being configured to determine data to be shared in determination type module 610 shows for screen
Registration according to when, to set up the direct-connected connection of wifi target device send Screen sharing request;
Sharing module 630, is configured to receiving the Screen sharing request that target device sends according to sending module 620
During the shared response message returning, execution Screen sharing operation.
Fig. 7 is the block diagram of another kind of data sharing device according to an exemplary embodiment, as shown in fig. 7, in Fig. 6
On the basis of embodiment, in one embodiment, device also includes:
Data transmission module 640, is configured to determine that data type to be shared is number of files in determination type module 610
According to when, connect to shown portfolios file data on target device display interface by wifi is direct-connected.
In one embodiment, device also includes:
First receiver module 650, is configured to reception and current network connection type is set to the direct-connected operation of wifi
Instruction;
Connect handover module 660, be configured to, when the first receiver module 650 receives operational order, control intelligence to set
Standby network connection is switched to wifi direct-connected, and set up the direct-connected connection of wifi with the target device in preset range.
In one embodiment, device also includes:
Determining module 670, is configured to receiving the first predetermined registration operation triggering by physical keyboard or passing through to touch
During the second predetermined registration operation of screen triggering, determine the data sharing instruction receiving shared data.
In one embodiment, determination type module 610 includes:
First determination sub-module 611, is configured to when the data sharing receiving shared data instructs, it is determined whether have
Selected file data;
Second determination sub-module 612, is configured to determine there is selected file data in the first determination sub-module 611
When, determine that the data type of data to be shared is file data;
3rd determination sub-module 613, is configured to determine do not have selected file data in the first determination sub-module 611
When, determine that the data type of data to be shared is display data on the screen.
In one embodiment, sharing module 630 includes:
Simultaneous display submodule 631, is configured to wireless screen transmission, and the display content on source device screen is synchronously aobvious
Show on target device.
Fig. 8 is a kind of block diagram of the data sharing device according to an exemplary embodiment, and this device can be applicable to mesh
On marking device, as shown in figure 8, this device mays include:
Second receiver module 810, the Screen sharing being configured to receive the source device transmission setting up the direct-connected connection of wifi please
Ask;
Responder module 820, is configured to be asked according to Screen sharing, sends shared response message to source device;
Display module 830, is configured to be sent out according to the shared response message that responder module 820 sends receiving source device
The screen display content of source device, during the screen display content sending, is shown on current interface.
Fig. 9 is the block diagram of another kind of data sharing device according to an exemplary embodiment, as shown in figure 9, in Fig. 8
On the basis of embodiment, in one embodiment, device also includes:
3rd receiver module 840, is configured to receive the file data that source device passes through the direct-connected linkup transmit of wifi;
Memory module 850, the file data being configured to receive the 3rd receiver module 840 stores to display interface institute
Under the file of display.
In one embodiment, device also includes:
4th receiver module 860, is configured to reception and current network connection type is set to the direct-connected operation of wifi
Instruction;
Connection establishment module 870, is configured to set up the direct-connected connection of wifi and source device between.
In said apparatus, the process of realizing of the function of unit and effect specifically refers to corresponding step in said method
Realize process, will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, thus real referring to method in place of correlation
The part applying example illustrates.Device embodiment described above is only schematically, wherein illustrates as separating component
Unit can be or may not be physically separate, as the part that unit shows can be or may not be
Physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to the actual needs
Select the purpose to realize disclosure scheme for some or all of module therein.Those of ordinary skill in the art are not paying wound
In the case of the property made work, you can to understand and to implement.
Figure 10 is a kind of block diagram being applied to data sharing device according to an exemplary embodiment.For example, device
1000 can be smart mobile phone, panel computer, personal digital assistant etc..
With reference to Figure 10, device 1000 can include following one or more assemblies: process assembly 1002, memorizer 1004,
Power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of input/output (i/o), sensor cluster
1014, and communication component 1010.
The integrated operation of the usual control device 1000 of process assembly 1002, such as with display, call, data communication,
Camera operation and record operate associated operation.Treatment element 1002 can include one or more processors 1020 to execute
Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1002 can include one or more moulds
Block, is easy to the interaction between process assembly 1002 and other assemblies.For example, processing component 1002 can include multi-media module,
To facilitate the interaction between multimedia groupware 1008 and process assembly 1002.
Memorizer 1004 is configured to store various types of data to support the operation in equipment 1000.These data
Example include on device 1000 operation any application program or method instruction, contact data, telephone book data,
Message, picture, video etc..Memorizer 1004 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable can
Program read-only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash memory
Reservoir, disk or CD.
Electric power assembly 1006 provides electric power for the various assemblies of device 1000.Electric power assembly 1006 can include power management
System, one or more power supplys, and other generate, manage and distribute, with for device 1000, the assembly that electric power is associated.
Multimedia groupware 1008 includes the screen of one output interface of offer between device 1000 and user.At some
In embodiment, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen
May be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensors
With the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action border,
But also the detection persistent period related to touch or slide and pressure.In certain embodiments, multimedia groupware 1008
Including a front-facing camera and/or post-positioned pick-up head.When equipment 1000 is in operator scheme, such as screening-mode or video mode
When, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and rearmounted shooting
Head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 1010 is configured to output and/or input audio signal.For example, audio-frequency assembly 1010 includes a wheat
Gram wind (mic), when device 1000 is in operator scheme, such as call model, logging mode and speech recognition mode when, mike quilt
It is configured to receive external audio signal.The audio signal being received can be further stored in memorizer 1004 or via communication
Assembly 1010 sends.In certain embodiments, audio-frequency assembly 1010 also includes a speaker, for exports audio signal.
I/o interface 1012 is for providing interface, above-mentioned peripheral interface module between process assembly 1002 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and
Locking press button.
Sensor cluster 1014 includes one or more sensors, for providing the state of various aspects to comment for device 1000
Estimate.For example, sensor cluster 1014 can detect/the closed mode of opening of equipment 1000, the relative localization of assembly, such as group
Part is display and the keypad of device 1000, and sensor cluster 1014 can be with detection means 1000 or 1,000 1 groups of device
The position change of part, user is presence or absence of with what device 1000 contacted, device 1000 orientation or acceleration/deceleration and device
1000 temperature change.Sensor cluster 1014 can include proximity transducer, is configured to do not having any physics to connect
The presence of object nearby is detected when tactile.Sensor cluster 1014 can also include optical sensor, such as cmos or ccd image sensing
Device, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1010 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress
Put 1000 and can access wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.Exemplary at one
In embodiment, communication component 1010 receives related from the broadcast singal of external broadcasting management system or broadcast via broadcast channel
Information.In one exemplary embodiment, communication component 1010 also includes near-field communication (nfc) module, to promote junction service.
For example, RF identification (rfid) technology, Infrared Data Association (irda) technology, ultra broadband (uwb) skill can be based in nfc module
Art, bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuits (asic), numeral
Signal processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array
(fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
As included the memorizer 1004 instructing, above-mentioned instruction can be executed by the processor 1020 of device 1000 to complete said method.Example
As, non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, floppy disk and
Optical data storage devices etc..
The concrete structure being applied to target device can be found in the block diagram shown in Figure 10 and corresponding description, no longer detailed here
State.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following
Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.
Claims (20)
1. a kind of data sharing method, applies on source device it is characterised in that methods described includes:
Receive shared data data sharing instruction when, determine the data type of data to be shared;
When the data type of described data to be shared is display data on the screen, send out to the target device setting up the direct-connected connection of wifi
Screen sharing is sent to ask;
When receiving the shared response message that described target device returns according to the request of described Screen sharing, execute Screen sharing
Operation.
2. method according to claim 1 is it is characterised in that methods described also includes:
Described data type to be shared be file data when, by described wifi direct-connected connect show to described target device
File data described in shown portfolios on interface.
3. method according to claim 1 is it is characterised in that methods described also includes:
Receive and current network connection type is set to the direct-connected operational order of wifi;
Control described smart machine to switch to wifi direct-connected network connection, and set up with the target device in preset range
The direct-connected connection of wifi.
4. method according to claim 1 is it is characterised in that methods described also includes:
When receive the first predetermined registration operation being triggered by physical keyboard or triggered by touch screen the second predetermined registration operation when, really
Surely receive the data sharing instruction of shared data.
5. method according to claim 1 is it is characterised in that the data type of described determination data to be shared, comprising:
When the data sharing receiving described shared data instructs, it is determined whether have selected file data;
If there are selected file data it is determined that the data type of data to be shared is file data;
Without selected file data it is determined that the data type of data to be shared is display data on the screen.
6. method according to claim 1 is it is characterised in that described execution Screen sharing operates, comprising:
By wireless screen transmission, by the display content simultaneous display on described source device screen to described target device.
7. a kind of data sharing method, application is on the target device it is characterised in that methods described includes:
Receive and set up the Screen sharing request that the source device of the direct-connected connection of wifi sends;
Asked according to described Screen sharing, send shared response message to described source device;
When receiving the screen display content that described source device sends according to described shared response message, aobvious in current interface
Show the screen display content of described source device.
8. method according to claim 7 is it is characterised in that methods described also includes:
Receive the file data that described source device passes through the direct-connected linkup transmit of wifi;
Described file data is stored to shown file on display interface.
9. method according to claim 7 is it is characterised in that methods described also includes:
Receive and current network connection type is set to the direct-connected operational order of wifi;
Set up the direct-connected connection of wifi and described source device between.
10. a kind of data sharing device, applies on source device it is characterised in that described device includes:
Determination type module, when being configured to the data sharing instruction receiving shared data, determines the data of data to be shared
Type;
Sending module, the data type being configured to determine described data to be shared in described determination type module is screen display
During data, send Screen sharing request to the target device setting up the direct-connected connection of wifi;
Sharing module, be configured to receive the described Screen sharing that described target device sends according to described sending module please
Ask return shared response message when, execution Screen sharing operation.
11. devices according to claim 10 are it is characterised in that described device also includes:
Data transmission module, is configured to determine that described data type to be shared is file data in described determination type module
When, connect to shown number of files described in portfolios on described target device display interface by described wifi is direct-connected
According to.
12. devices according to claim 10 are it is characterised in that described device also includes:
First receiver module, is configured to reception and current network connection type is set to the direct-connected operational order of wifi;
Connect handover module, be configured to, when described first receiver module receives described operational order, control described intelligence
Network connection is switched to wifi direct-connected by equipment, and sets up the direct-connected connection of wifi with the target device in preset range.
13. devices according to claim 10 are it is characterised in that described device also includes:
Determining module, is configured to receiving the first predetermined registration operation triggering by physical keyboard or triggering by touch screen
During the second predetermined registration operation, determine the data sharing instruction receiving shared data.
14. devices according to claim 10 are it is characterised in that described determination type module includes:
First determination sub-module, be configured to receive described shared data data sharing instruct when, it is determined whether have by
The file data chosen;
Second determination sub-module, is configured to, when described first determination sub-module determines and has selected file data, determine
The data type of data to be shared is file data;
3rd determination sub-module, is configured to when described first determination sub-module determination does not have selected file data, really
The data type of fixed data to be shared is display data on the screen.
15. devices according to claim 10 are it is characterised in that described sharing module includes:
Simultaneous display submodule, is configured to wireless screen transmission, by the display content simultaneous display on described source device screen
To on described target device.
A kind of 16. data sharing devices, application is on the target device it is characterised in that described device includes:
Second receiver module, is configured to receive and sets up the Screen sharing request that the source device of the direct-connected connection of wifi sends;
Responder module, is configured to be asked according to described Screen sharing, sends shared response message to described source device;
Display module, is configured to receiving the described shared response message that described source device sends according to described responder module
During the screen display content sending, the screen display content of described source device is shown on current interface.
17. devices according to claim 16 are it is characterised in that described device also includes:
3rd receiver module, is configured to receive the file data that described source device passes through the direct-connected linkup transmit of wifi;
Memory module, the described file data being configured to receive described 3rd receiver module stores and is shown to display interface
Under the file showing.
18. devices according to claim 16 are it is characterised in that described device also includes:
4th receiver module, is configured to reception and current network connection type is set to the direct-connected operational order of wifi;
Connection establishment module, is configured to set up the direct-connected connection of wifi and described source device between.
A kind of 19. data sharing devices, apply on source device it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive shared data data sharing instruction when, determine the data type of data to be shared;
When the data type of described data to be shared is display data on the screen, send out to the target device setting up the direct-connected connection of wifi
Screen sharing is sent to ask;
When receiving the shared response message that described target device returns according to the request of described Screen sharing, execute Screen sharing
Operation.
A kind of 20. data sharing devices, application is on the target device it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive and set up the Screen sharing request that the source device of the direct-connected connection of wifi sends;
Asked according to described Screen sharing, send shared response message to described source device;
When receiving the screen display content that described source device sends according to described shared response message, aobvious in current interface
Show the screen display content of described source device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610950775.4A CN106375479B (en) | 2016-10-26 | 2016-10-26 | Data sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610950775.4A CN106375479B (en) | 2016-10-26 | 2016-10-26 | Data sharing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375479A true CN106375479A (en) | 2017-02-01 |
CN106375479B CN106375479B (en) | 2019-11-15 |
Family
ID=57893577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610950775.4A Active CN106375479B (en) | 2016-10-26 | 2016-10-26 | Data sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375479B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107145319A (en) * | 2017-04-26 | 2017-09-08 | 海南云江科技有限公司 | A kind of data sharing method, equipment and system |
CN108966182A (en) * | 2017-05-26 | 2018-12-07 | 佳能株式会社 | Communication device, communication means and storage medium |
CN110324413A (en) * | 2019-06-25 | 2019-10-11 | 北京字节跳动网络技术有限公司 | The synchronous method, apparatus of special efficacy and storage medium |
CN111158622A (en) * | 2019-12-30 | 2020-05-15 | 联想(北京)有限公司 | Display method, electronic device and display device |
CN111901648A (en) * | 2020-07-30 | 2020-11-06 | 深圳市康冠科技股份有限公司 | Data sharing method and related device |
CN112954596A (en) * | 2021-03-09 | 2021-06-11 | 北京小米移动软件有限公司 | Data sharing method, device, equipment and storage medium |
WO2021135734A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Method for transmitting file in application, and electronic device and system |
WO2021227976A1 (en) * | 2020-05-15 | 2021-11-18 | 华为技术有限公司 | Data transmission method for electronic device, and medium and electronic device thereof |
CN113965787A (en) * | 2021-10-19 | 2022-01-21 | 深圳创维-Rgb电子有限公司 | Picture sharing method and device, display terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1688981A (en) * | 2002-08-09 | 2005-10-26 | 网络装置公司 | Storage virtualization by layering virtual disk objects on a file system |
CN103116469A (en) * | 2013-03-15 | 2013-05-22 | 天津三星光电子有限公司 | File transmission method and system thereof |
CN103561117A (en) * | 2013-11-20 | 2014-02-05 | 深圳市中兴移动通信有限公司 | Screen sharing method and system, transmitting terminal and receiving terminal |
CN103905516A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Data sharing method and corresponding server and terminal |
US20150145949A1 (en) * | 2013-11-25 | 2015-05-28 | Microsoft Corporation | Communication System Architecture |
CN105160017A (en) * | 2015-09-25 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | System and method for image sorting and viewing |
-
2016
- 2016-10-26 CN CN201610950775.4A patent/CN106375479B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1688981A (en) * | 2002-08-09 | 2005-10-26 | 网络装置公司 | Storage virtualization by layering virtual disk objects on a file system |
CN103905516A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Data sharing method and corresponding server and terminal |
CN103116469A (en) * | 2013-03-15 | 2013-05-22 | 天津三星光电子有限公司 | File transmission method and system thereof |
CN103561117A (en) * | 2013-11-20 | 2014-02-05 | 深圳市中兴移动通信有限公司 | Screen sharing method and system, transmitting terminal and receiving terminal |
US20150145949A1 (en) * | 2013-11-25 | 2015-05-28 | Microsoft Corporation | Communication System Architecture |
CN105160017A (en) * | 2015-09-25 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | System and method for image sorting and viewing |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107145319B (en) * | 2017-04-26 | 2020-07-14 | 海南云江科技有限公司 | Data sharing method, device and system |
CN107145319A (en) * | 2017-04-26 | 2017-09-08 | 海南云江科技有限公司 | A kind of data sharing method, equipment and system |
CN108966182A (en) * | 2017-05-26 | 2018-12-07 | 佳能株式会社 | Communication device, communication means and storage medium |
US11435973B2 (en) | 2017-05-26 | 2022-09-06 | Canon Kabushiki Kaisha | Communication apparatus, communication method, and storage medium |
US11483681B2 (en) | 2019-06-25 | 2022-10-25 | Beijing Bytedance Network Technology Co., Ltd. | Special effect synchronization method, device, and storage medium |
CN110324413B (en) * | 2019-06-25 | 2022-04-15 | 北京字节跳动网络技术有限公司 | Method, device and storage medium for special effect synchronization |
CN110324413A (en) * | 2019-06-25 | 2019-10-11 | 北京字节跳动网络技术有限公司 | The synchronous method, apparatus of special efficacy and storage medium |
US11647364B2 (en) | 2019-06-25 | 2023-05-09 | Beijing Bytedance Network Technology Co., Ltd. | Special effect synchronization method, device, and storage medium |
CN111158622A (en) * | 2019-12-30 | 2020-05-15 | 联想(北京)有限公司 | Display method, electronic device and display device |
WO2021135734A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Method for transmitting file in application, and electronic device and system |
WO2021227976A1 (en) * | 2020-05-15 | 2021-11-18 | 华为技术有限公司 | Data transmission method for electronic device, and medium and electronic device thereof |
CN111901648A (en) * | 2020-07-30 | 2020-11-06 | 深圳市康冠科技股份有限公司 | Data sharing method and related device |
CN112954596A (en) * | 2021-03-09 | 2021-06-11 | 北京小米移动软件有限公司 | Data sharing method, device, equipment and storage medium |
CN112954596B (en) * | 2021-03-09 | 2023-02-28 | 北京小米移动软件有限公司 | Data sharing method, device, equipment and storage medium |
CN113965787A (en) * | 2021-10-19 | 2022-01-21 | 深圳创维-Rgb电子有限公司 | Picture sharing method and device, display terminal and storage medium |
CN113965787B (en) * | 2021-10-19 | 2023-11-17 | 深圳创维-Rgb电子有限公司 | Picture sharing method and device, display terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106375479B (en) | 2019-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106375479A (en) | Data sharing method and device | |
CN104184944B (en) | Obtain method and the device of multimedia data stream | |
CN104714414A (en) | Smart home equipment control method and device and electronic equipment | |
CN105372998A (en) | A method and a device for binding of intelligent apparatuses | |
JP2017524316A (en) | Video communication method, apparatus, program, and recording medium | |
CN106488251A (en) | Realize the live middle even method and device of wheat, main broadcaster's client and subscription client | |
CN104967889A (en) | Method used for controlling intelligent television to carry out video information processing and device | |
CN105120099A (en) | Shooting control method and device | |
CN105159672A (en) | Remote assistance method and client | |
CN105392213A (en) | Method and apparatus for connection of controlled intelligent device | |
CN104717554A (en) | Smart television control method and device and electronic equipment | |
CN107204883A (en) | Network failure processing method and device | |
CN104640166A (en) | Communication method and device | |
CN106454898A (en) | Intelligent scene configuration method and device | |
CN105068467A (en) | Method and device for controlling intelligent equipment | |
CN105049813A (en) | Method, device and terminal controlling video image | |
CN107071862A (en) | Account binding method and device and smart machine | |
CN106357721A (en) | Timing method and device | |
CN103986631B (en) | Lan device discover method and device | |
CN105635846A (en) | Equipment control method and device | |
CN106304101A (en) | Share the method and device of network | |
CN106453846A (en) | Display method and device for two-dimensional code business card | |
CN105700846A (en) | File sharing method and device | |
CN105763552A (en) | Transmission method, device and system in remote control | |
CN104881342A (en) | Terminal testing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |