CN106534268A - Data sharing method and apparatus - Google Patents

Data sharing method and apparatus Download PDF

Info

Publication number
CN106534268A
CN106534268A CN201610913562.4A CN201610913562A CN106534268A CN 106534268 A CN106534268 A CN 106534268A CN 201610913562 A CN201610913562 A CN 201610913562A CN 106534268 A CN106534268 A CN 106534268A
Authority
CN
China
Prior art keywords
terminal
shared
data
link path
mark
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
Application number
CN201610913562.4A
Other languages
Chinese (zh)
Other versions
CN106534268B (en
Inventor
周德海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610913562.4A priority Critical patent/CN106534268B/en
Publication of CN106534268A publication Critical patent/CN106534268A/en
Application granted granted Critical
Publication of CN106534268B publication Critical patent/CN106534268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support

Abstract

The embodiments of the invention relate to the communication technology field and disclose a data sharing method and apparatus. The method comprises: receiving the data sharing information sent from a first terminal wherein the data sharing information includes the physical storage address of the shared data; according to the data sharing information, generating a sharing link path wherein the sharing link path is used to indicate the network storage address of the shared data; receiving a data sharing request sent by a second terminal wherein the data sharing request is used to request for accessing the shared data; and sending the sharing link path to the second terminal so as to trigger the second terminal to obtain the shared data according to the sharing link path. According to the embodiments of the invention, it is possible to increase the efficiency to share data among terminals.

Description

A kind of data sharing method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of data sharing method and device.
Background technology
The continuous development of information age accelerates the exchange of data message.In the information age, the realization of data sharing can be with Allow people fully to use data with existing resource, reduce the duplication of labour and the corresponding expenses such as collection of data, data acquisition.Such as, User searches valuable data from network in company and is stored in company computer, when user is in domestic family computer office When, the data sharing of company computer can be somebody's turn to do without the need for searching for from network again to family computer by user by cloud server Data, it is to avoid the repeat search of data.
But, in practice find, user by data from a terminal share to another terminal when, it is necessary to shared data Transmitted twice, shared data is less efficient.
The content of the invention
The embodiment of the invention discloses a kind of data sharing method and device, it is possible to increase the effect of the data sharing of terminal Rate.
Embodiment of the present invention first aspect discloses a kind of data sharing method, including:
The data sharing information that first terminal sends is received, the data sharing information includes the physical store of shared data Address;
Shared link path is generated according to the data sharing information, the shared link path is used for indicating described sharing The network storage address of data;
The data sharing request that second terminal sends is received, the data sharing is asked for sharing number described in acquisition request According to;
The shared link path is sent to into the second terminal, the second terminal is triggered according to the shared chain Connect path and obtain the shared data.
Embodiment of the present invention second aspect discloses a kind of server, including:
Receiving unit, for receiving the data sharing information of first terminal transmission, the data sharing information includes sharing The physical storage address of data;
Processing unit, the data sharing information for being received according to the receiving unit generate shared link path, The shared link path is used for indicating the network storage address of the shared data;
The receiving unit, is additionally operable to receive the data sharing request that second terminal sends, and the data sharing request is used In shared data described in acquisition request;
Transmitting element, for the described shared link path that the processing unit is generated is sent to the second terminal, The shared data is obtained according to the shared link path to trigger the second terminal.
In the embodiment of the present invention, in shared data, first terminal is without the need for first by institute for the first terminal and the second terminal Shared shared data is sent to server, and the physical storage address of the shared data can be sent to service by first terminal The physical storage address is generated shared link path by device, server;When second terminal needs to download the shared data, the clothes The shared link path can be sent to the second terminal by business device, trigger the second terminal and obtained according to the shared link path The shared data.Therefore, implement the embodiment of the present invention, between the terminals during shared data, without the need for two being carried out to the shared data Secondary transmission, improves the efficiency of the data sharing of terminal.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic flow sheet of data sharing method disclosed in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of data-sharing systems disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of server disclosed in the embodiment of the present invention;
Fig. 4 is the above-mentioned application interface changing method of a kind of operation disclosed in the embodiment of the present invention based on von Neumann system Computer system.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art Example, belongs to the scope of protection of the invention.
It should be noted that the term for using in embodiments of the present invention is the mesh only merely for description specific embodiment , and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims Kind ", " described " and " being somebody's turn to do " are also intended to include most forms, unless context clearly shows that other implications.It is also understood that this Term "and/or" used herein is referred to and mutually shared any or all possible group that lists project comprising one or more Close.
The present embodiment can apply to the scene of multiple terminal shared datas:Such as first terminal and second terminal, first Terminal needs for shared data A to share to the second terminal, the physical store ground that shared data A can be stored by first terminal Location is sent to server, and the physical storage address is generated shared link path by server;When second terminal needs shared data A When, the second terminal can send data sharing request to the server, and the shared link path can be sent by the server Give the second terminal;The second terminal can download shared data A according to the shared link path.
The embodiment of the invention discloses a kind of data sharing method and device, it is possible to increase the effect of the data sharing of terminal Rate.It is described in detail individually below.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of data sharing method disclosed in the embodiment of the present invention.Such as Fig. 1 institutes Show, the data sharing method may comprise steps of.
S101, server receive the data sharing information that first terminal sends, and the data sharing information includes shared data Physical storage address.
The server can refer to the computer equipment with performances such as computing capability, storage capacity and stability.Such as, greatly Computer PC (the English that non-86 server such as type machine, minicomputer and unix server and x86 servers are such as commonly called as: Personal computer) server etc..Or, the computer of personal general performance can also be used as server etc..
The first terminal can refer to PC, smart mobile phone, panel computer, palm PC, PDA and mobile Internet The user equipmenies such as equipment (Mobile Internet Device, MID).User in the present embodiment involved by the second terminal Equipment can be identical with the user equipment involved by the first terminal, will not be described here.
The shared data can refer to and be stored in inside the first terminal and the first terminal needs to share to other-end Data, the wherein shared data can include documentation, video, audio frequency, webpage or application program etc..Such as, if this first Terminal is PC PC, and PC PC can will be stored in file 1 and file in the C disks of PC PC 2 share to other-end.Or, the shared data can also refer to be stored in the external equipment being connected with the first terminal, and The first terminal needs to share to the data of other-end, and the wherein external equipment can refer to the U assigned in the first terminal Disk or hard disk etc..Such as, USB flash disk is connected with PC PC by USB interface, and PC PC can will be stored in the U File 3 in disk shares to other-end.
The physical storage address of the shared data can refer to shared data in the first terminal or with the first terminal phase The storage address of external equipment even, the such as first terminal are PC PC, and shared data file Drivers exists The storage location of PC PC is C:Drivers, then the physical storage address of shared data file Drivers be C:\ Drivers;For another example, shared data file music is stored in the USB flash disk the being connected i.e. F disks with PC PC, and is stored Position is F:Music, then the physical storage address of shared data file music be F:\music.
S102, the server generate shared link path according to the data sharing information, and the shared link path is used for referring to Show the network storage address of the shared data.
The shared link path can include generating with reference to the physical storage address of each agreement in network and the shared data The shared data network storage address, i.e. terminal can access by the shared link path in a network and be stored in network Data in other end terminal.
Wherein, the shared link path can include relative link path, and the terminal of even sharing data is shared with reception The terminal of data can then omit two terminals identical path sections in a network in same network, then by shared number According to different path sections as the shared link path.Such as, share the terminal of shared data and receive the shared data Terminal sets up a LAN, and the physical storage address that server can be sent according to the terminal for sharing shared data generates shared Link path 192.164.0.111 movie, receive the shared data terminal can according to 192.164.0.111 Movie is accessed and is stored in shared data i.e. file movie in the terminal for sharing shared data, thus this 192.164.0.111 movie can be used as the shared link path.
Or, the shared link path can also include absolute link path, the terminal of even sharing data is shared with reception The terminal of data, then can be by the complete uniform resource locator (Uniform of shared data not in same network Resource Locator, URL) used as the shared link path etc., such as, the shared link path is http:// Localhost/ajax/chap02/page2-11.html etc..
S103, the server receive the data sharing request that second terminal sends, and the data sharing asks to obtain for request Take the shared data.
The shared link path is sent to the second terminal by S104, the server, to trigger the second terminal according to this Shared link path obtains the shared data.
When the shared link path is sent to the second terminal by this, the second terminal can be to according to the shared link Path redirects the storage location indicated by shared link path automatically;Or user can put the shared link path manually, so Jump to the storage location indicated by shared link path afterwards again.Such as, if the shared link path is http:// Localhost/ajax/chap02/page2-11.html, user click on http manually://localhost/ajax/chap02/ Page2-11.html can open webpage.
Optionally, mark of the data sharing information also including at least one passive shared terminal, the server is according to every The mark of one passive shared terminal and the physical storage address, the mark for generating each passive shared terminal are corresponding Shared link path.
The passive shared terminal can refer to the terminal for passively receiving the shared data, i.e., the first terminal needs to share this The terminal that data sharing is given.Such as the first terminal be terminal A, terminal A need by shared data share to terminal B, terminal C and Terminal D, then terminal B, terminal C and terminal D can be the passive shared terminal.Wherein, the mark of the passive shared terminal can be with Represented with one or more of the combination such as letter, numeral or Chinese character.
The server can receive the mark of at least one passive shared terminal and at least one physical storage address, and root According to receive at least one passive shared terminal mark and at least one physical storage address generate each this it is passive altogether Enjoy the corresponding shared link path of mark of terminal.
Such as, as shown in table 1, the mark of at least one passive shared terminal can include terminal B, terminal C and terminal D, at least one shared link path can include 192.164.0.111 movie, 192.164.0.111 apply journey Sequence and http://localhost/ajax/chap02/page2-11.html;Server can to terminal B it is shared 192.164.0.111 the corresponding file movie of movie, to terminal C it is shared 192.164.0.111 application program correspondence File application program and to the shared http of terminal D://localhost/ajax/chap02/page2-11.html is corresponding Webpage.
Table 1
The mark of passive shared terminal Shared link path
Terminal B \\192.164.0.111\movie
Terminal C 192.164.0.111 application program
Terminal D http://localhost/ajax/chap02/page2-11.html
The data sharing request includes the mark of the second terminal, and the data sharing that the reception second terminal sends asks it Afterwards, the server judges the mark in the mark of at least one passive shared terminal with the presence or absence of the second terminal;If existing, Then the server is according to the shared link path of the corresponding target of identifier lookup of the second terminal;The target is shared by the server Link path is sent to the second terminal, obtains the shared number to trigger the second terminal according to the shared link path of the target According to.
The mark of the second terminal can be represented with the combination of one or more of numeral, letter or Chinese character.Lift with reference to table 1 Example explanation, if the second terminal is designated terminal B, the corresponding target of whois lookup terminal B shares link path For 192.164.0.111 movie;If the second terminal is designated terminal C, the corresponding mesh of whois lookup terminal C The shared link path of mark for 192.164.0.111 application program etc..
The enforcement of the present embodiment, server can be directed to the passive shared terminal selectively shared data, the such as clothes Important shared data can be shared to terminal B and not share to terminal C and terminal D by business device, so as to avoid in shared data When significant data leakage, protect shared data safety.
Optionally, the shared number of mark and at least one of the data sharing information also including at least one passive shared terminal According to type, the mark at least one shared data type of correspondence of each passive shared terminal, the server is according to the physics Storage address and each shared data type, generate each corresponding shared link path of the shared data type.
The shared data type can include video, game, application program etc..
As shown in table 2, the mark of the passive shared terminal be able to can be regarded for terminal B and terminal C, the shared data type Frequently, game and application program.Wherein the corresponding shared data type of terminal B is video and game, wherein video and game difference Corresponding shared link path be respectively 192.164.0.111 movie and 192.164.0.111 game, terminal C correspondence Shared data type be application program, wherein the corresponding shared link path of the application program for 192.164.0.111 should Use program.
Table 2
Optionally, the data sharing request includes the mark and data type of the second terminal, and the server receives second After the data sharing request that terminal sends, the server whether there is in judging the mark of at least one passive shared terminal The mark of the second terminal;If existing, identifier lookup corresponding target data type of the server according to the second terminal; The server whether there is the data type in judging the target data type;If existing, the server is according to the data class Type searches the shared link path of corresponding target;The target shared link path is sent to the second terminal by the server.
Illustrate with reference to table 2, if the second terminal is designated terminal B, the data type is video, then the server It is video and game to search the corresponding target data type of terminal B, and search the shared link path of the corresponding target of video 192.164.0.111 movie, or, if the data type is game, the server can search the corresponding mesh of the game The shared link path of mark 192.164.0.111 game etc..
By the classification to shared data in the present embodiment, second terminal can be with concrete a certain type in download of sharing data Data, rather than download whole shared datas, reduce the download of packet in system, saved the communication resource.
In the method described by Fig. 1, in shared data, first terminal is without the need for first for the first terminal and the second terminal Shared shared data is sent to into server, the physical storage address of the shared data can be sent to clothes by first terminal The physical storage address is generated shared link path by business device, server;When second terminal needs to download the shared data, should The shared link path can be sent to the second terminal by server, trigger the second terminal and obtained according to the shared link path Take the shared data.It can be seen that, the method for implementing Fig. 1 descriptions, between the terminals during shared data, without the need for carrying out to the shared data Transmit twice, improve the efficiency of the data sharing of terminal.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow sheet of data-sharing systems disclosed in the embodiment of the present invention.Such as Fig. 2 institutes Show, the data-sharing systems may comprise steps of.
The data sharing information that S201, first terminal send, the data sharing information include the physical store of shared data Address.
The shared data can refer to and be stored in inside the first terminal and the first terminal needs to share to other-end Data, the wherein shared data can include documentation, video, audio frequency, webpage or application program etc..Such as, if this first Terminal is PC PC, and PC PC can will be stored in file 1 and file in the C disks of PC PC 2 share to other-end.Or, the shared data can also refer to be stored in the external equipment being connected with the first terminal, and The first terminal needs to share to the data of other-end, and the wherein external equipment can refer to the U assigned in the first terminal Disk or hard disk etc..Such as, USB flash disk is connected with PC PC by USB interface, and PC PC can will be stored in the U File 3 in disk shares to other-end.
The physical storage address of the shared data can refer to shared data in the first terminal or with the first terminal phase The storage address of external equipment even, the such as first terminal are PC PC, and shared data file Drivers exists The storage location of PC PC is C:Drivers, then the physical storage address of shared data file Drivers be C:\ Drivers;For another example, shared data file music is stored in the USB flash disk the being connected i.e. F disks with PC PC, and is stored Position is F:Music, then the physical storage address of shared data file music be F:\music.
S202, server receive the data sharing information, generate shared link path according to the data sharing information, and this is altogether Link path is enjoyed for indicating the network storage address of the shared data.
The shared link path can include generating with reference to the physical storage address of each agreement in network and the shared data The shared data network storage address, i.e. terminal can access by the shared link path in a network and be stored in network Data in other end terminal.
Wherein, the shared link path can include relative link path, and the terminal of even sharing data is shared with reception The terminal of data can then omit two terminals identical path sections in a network in same network, then by shared number According to different path sections as the shared link path.Such as, share the terminal of shared data and receive the shared data Terminal sets up a LAN, and the physical storage address that server can be sent according to the terminal for sharing shared data generates shared Link path 192.164.0.111 movie, receive the shared data terminal can according to 192.164.0.111 Movie is accessed and is stored in shared data i.e. file movie in the terminal for sharing shared data, thus this 192.164.0.111 movie can be used as the shared link path.
Or, the shared link path can also include absolute link path, the terminal of even sharing data is shared with reception The terminal of data, then can be by the complete uniform resource locator (Uniform of shared data not in same network Resource Locator, URL) used as the shared link path etc., such as, the shared link path is http:// Localhost/ajax/chap02/page2-11.html etc..
The data sharing request that S203, second terminal are sent to the server, the data sharing are asked for acquisition request The shared data.
S204, the server receive the data sharing request that second terminal sends, and the shared link path is sent to this Second terminal.
S205, the second terminal obtain the shared data according to the shared link path.
When the shared link path is sent to the second terminal by this, the second terminal can be to according to the shared link Path redirects the storage location indicated by shared link path automatically;Or user can put the shared link path manually, so Jump to the storage location indicated by shared link path afterwards again.Such as, if the shared link path is http:// Localhost/ajax/chap02/page2-11.html, user click on http manually://localhost/ajax/chap02/ Page2-11.html can open webpage.
It can be seen that, the method for implementing Fig. 2 descriptions, between the terminals during shared data, without the need for carrying out twice to the shared data Transmission, improves the efficiency of the data sharing of terminal.
Fig. 3 is referred to, Fig. 3 is a kind of structural representation of server disclosed in the embodiment of the present invention.Wherein, shown in Fig. 3 Server can include:
Receiving unit 301, for receiving the data sharing information of first terminal transmission, the data sharing information includes sharing The physical storage address of data.
The shared data can refer to and be stored in inside the first terminal and the first terminal needs to share to other-end Data, the wherein shared data can include documentation, video, audio frequency, webpage or application program etc..Such as, if this first Terminal is PC PC, and PC PC can will be stored in file 1 and file in the C disks of PC PC 2 share to other-end.Or, the shared data can also refer to be stored in the external equipment being connected with the first terminal, and The first terminal needs to share to the data of other-end, and the wherein external equipment can refer to the U assigned in the first terminal Disk or hard disk etc..Such as, USB flash disk is connected with PC PC by USB interface, and PC PC can will be stored in the U File 3 in disk shares to other-end.
The physical storage address of the shared data can refer to shared data in the first terminal or with the first terminal phase The storage address of external equipment even, the such as first terminal are PC PC, and shared data file Drivers exists The storage location of PC PC is C:Drivers, then the physical storage address of shared data file Drivers be C:\ Drivers;For another example, shared data file music is stored in the USB flash disk the being connected i.e. F disks with PC PC, and is stored Position is F:Music, then the physical storage address of shared data file music be F:\music.
Processing unit 302, the data sharing information for being received according to the receiving unit 301 generate shared link road Footpath, the shared link path are used for indicating the network storage address of the shared data.
The shared link path can include generating with reference to the physical storage address of each agreement in network and the shared data The shared data network storage address, i.e. terminal can access by the shared link path in a network and be stored in network Data in other end terminal.
Wherein, the shared link path can include relative link path, and the terminal of even sharing data is shared with reception The terminal of data can then omit two terminals identical path sections in a network in same network, then by shared number According to different path sections as the shared link path.Such as, share the terminal of shared data and receive the shared data Terminal sets up a LAN, and the physical storage address that server can be sent according to the terminal for sharing shared data generates shared Link path 192.164.0.111 movie, receive the shared data terminal can according to 192.164.0.111 Movie is accessed and is stored in shared data i.e. file movie in the terminal for sharing shared data, thus this 192.164.0.111 movie can be used as the shared link path.
Or, the shared link path can also include absolute link path, the terminal of even sharing data is shared with reception The terminal of data, then can be by the complete uniform resource locator (Uniform of shared data not in same network Resource Locator, URL) used as the shared link path etc., such as, the shared link path is http:// Localhost/ajax/chap02/page2-11.html etc..
The receiving unit 301, is additionally operable to receive the data sharing request that second terminal sends, and the data sharing asks to be used for The acquisition request shared data.
Transmitting element 303, the shared link path for the processing unit 302 is generated are sent to the second terminal, The shared data is obtained according to the shared link path to trigger the second terminal.
Optionally, mark of the data sharing information also including at least one passive shared terminal, the processing unit 302, Specifically for mark of the passive shared terminal according to each and the physical storage address, this is passive shared whole to generate each The corresponding shared link path of mark at end.
Optionally, the data sharing request includes the mark of the second terminal, and the processing unit 302 is additionally operable to connect at this After receiving the data sharing request that unit 301 receives second terminal transmission, the mark of at least one passive shared terminal is judged In with the presence or absence of the second terminal mark;If existing, according to the shared chain of the corresponding target of identifier lookup of the second terminal Connect path.
The transmitting element 303, the shared link path of the target specifically for the processing unit 302 is searched are sent to this Second terminal, obtains the shared data to trigger the second terminal according to the shared link path of the target.
The mark of the second terminal can be represented with the combination of one or more of numeral, letter or Chinese character.Lift with reference to table 1 Example explanation, if the second terminal is designated terminal B, the corresponding target of whois lookup terminal B shares link path For 192.164.0.111 movie;If the second terminal is designated terminal C, the corresponding mesh of whois lookup terminal C The shared link path of mark for 192.164.0.111 application program etc..
Optionally, the shared number of mark and at least one of the data sharing information also including at least one passive shared terminal According to type, the mark at least one shared data type of correspondence of each passive shared terminal, the processing unit 302 are being held Row this when generating shared link path step according to the data sharing information, specifically for according to the physical storage address and each The individual shared data type, generates each corresponding shared link path of the shared data type.
Optionally, the data sharing request includes the mark and data type of the second terminal, and the processing unit 302 is gone back After asking in the data sharing that the reception second terminal sends, in judging the mark of at least one passive shared terminal With the presence or absence of the mark of the second terminal;If existing, according to the corresponding target data type of identifier lookup of the second terminal; Whether there is the data type in judging the target data type;If existing, corresponding target is searched according to the data type Shared link path.
The transmitting element 303, the shared link path of the target specifically for the processing unit 302 is searched are sent to this Second terminal, obtains the shared data to trigger the second terminal according to the shared link path of the target.
Illustrate with reference to table 2, if the second terminal is designated terminal B, the data type is video, then the server It is video and game to search the corresponding target data type of terminal B, and search the shared link path of the corresponding target of video 192.164.0.111 movie, or, if the data type is game, the server can search the corresponding mesh of the game The shared link path of mark 192.164.0.111 game etc..
It can be seen that, the server of implementing Fig. 3 description, it is possible to increase the efficiency of the data sharing of terminal.
Fig. 4 illustrates a kind of computer system based on von Neumann system of the above-mentioned application interface changing method of operation 10.The computer system 10 can be the users such as smart mobile phone, panel computer, palm PC, notebook computer or PC Terminal unit.Specifically, it may include by the outer input interface 1001 of system bus connection, processor 1002, memorizer 1003 and output interface 1004.Wherein, outer input interface 1001 may include touch screen 10016, can also optionally include net Network interface 10018.Memorizer 1003 may include external memory 10032 (such as hard disk, CD or floppy disk etc.) and built-in storage 10034.Output interface 1004 may include the equipment such as display screen 10042 and sound equipment/loudspeaker 10044.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in In the aforementioned external memory 10032 based on the computer system 10 of von Neumann system, built-in storage is operationally loaded into In 10034, perform in being transferred to processor 1002 after being then compiled as machine code, so that being based on von Neumann system Computer system 10 in formed operation in logic monitor module 310, finger print detecting module 320, changing interface module 330, Pressure value judge module 340, the first step-length determining module 350 and the second step-length determining module 360, and cut in above-mentioned application interface Change in method implementation procedure, the parameter of input is received by outer input interface 1001, and delay in being transferred to memorizer 1003 Deposit, processed in being then input to processor 1002, the result data of process or carry out in being cached in memorizer 1003 follow-up Ground is processed, or is passed to output interface 1004 and is exported.
Step in present invention method can carry out order adjustment according to actual needs, merge and delete.
Unit in embodiment of the present invention server can be merged according to actual needs, divides and be deleted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Instruct related hardware to complete with by program, the program can be stored in a computer-readable recording medium, storage Medium include read only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, disk memory, magnetic tape storage or can For carrying or computer-readable any other medium of data storage.
Above a kind of data sharing method and device disclosed in the embodiment of the present invention are described in detail, herein should Principle of the invention and embodiment are set forth with specific case, the explanation of above example is only intended to help and manages The solution method of the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, Will change in specific embodiment and range of application, in sum, this specification content is should not be construed as to this Bright restriction.

Claims (10)

1. a kind of data sharing method, it is characterised in that methods described includes:
The data sharing information that first terminal sends is received, the data sharing information includes the physical store ground of shared data Location;
Shared link path is generated according to the data sharing information, the shared link path is used for indicating the shared data Network storage address;
The data sharing request that second terminal sends is received, the data sharing is asked for shared data described in acquisition request;
The shared link path is sent to into the second terminal, the second terminal is triggered according to the shared link road Footpath obtains the shared data.
2. method according to claim 1, it is characterised in that the data sharing information also including at least one it is passive altogether The mark of terminal is enjoyed, it is described that shared link path is generated according to the data sharing information, including:
According to mark and the physical storage address of each passive shared terminal, each is generated described passive shared The corresponding shared link path of mark of terminal.
3. method according to claim 2, it is characterised in that the data sharing request includes the mark of the second terminal Know, after the data sharing request for receiving second terminal transmission, methods described also includes:
Whether there is the mark of the second terminal in judging the mark of described at least one passive shared terminal;
If existing, according to the shared link path of the corresponding target of identifier lookup of the second terminal;
It is described that the shared link path is sent to into the second terminal, to trigger the second terminal according to the shared chain Connect path and obtain the shared data, including:The target shared link path is sent to into the second terminal, to trigger State second terminal and the shared data is obtained according to the shared link path of the target.
4. method according to claim 1, it is characterised in that the data sharing information also including at least one it is passive altogether The mark and at least one shared data type of terminal is enjoyed, the mark correspondence at least one of each passive shared terminal is altogether Data type is enjoyed, it is described that shared link path is generated according to the data sharing information, including:
According to the physical storage address and each described shared data type, each described shared data type pair is generated The shared link path answered.
5. method according to claim 4, it is characterised in that the data sharing request includes the mark of the second terminal Know and data type, after the data sharing request that the reception second terminal sends, methods described also includes:
Whether there is the mark of the second terminal in judging the mark of described at least one passive shared terminal;
If existing, according to the corresponding target data type of identifier lookup of the second terminal;
Whether there is the data type in judging the target data type;
If existing, the shared link path of corresponding target is searched according to the data type;
It is described that the shared link path is sent to into the second terminal, including:The target shared link path is sent To the second terminal.
6. a kind of server, it is characterised in that the server includes:
Receiving unit, for receiving the data sharing information of first terminal transmission, the data sharing information includes shared data Physical storage address;
Processing unit, the data sharing information for being received according to the receiving unit generate shared link path, described Shared link path is used for indicating the network storage address of the shared data;
The receiving unit, is additionally operable to receive the data sharing request that second terminal sends, and the data sharing is asked for asking Seek the acquisition shared data;
Transmitting element, for the described shared link path that the processing unit is generated is sent to the second terminal, to touch Send out second terminal described and the shared data is obtained according to the shared link path.
7. server according to claim 6, it is characterised in that the data sharing information is also passive including at least one The mark of shared terminal, the processing unit, specifically for the mark according to each passive shared terminal and the thing Reason storage address, generates the corresponding shared link path of mark of each passive shared terminal.
8. server according to claim 7, it is characterised in that the data sharing request includes the second terminal Mark, the processing unit are additionally operable to after the data sharing request that the receiving unit receives that second terminal sends, judge Whether there is the mark of the second terminal in the mark of at least one passive shared terminal;If existing, according to described The shared link path of the corresponding target of identifier lookup of second terminal;
The transmitting element, is sent to described the specifically for the shared link path of the target of searching the processing unit Two terminals, obtain the shared data to trigger the second terminal according to the shared link path of the target.
9. server according to claim 6, it is characterised in that the data sharing information is also passive including at least one The mark of shared terminal and at least one shared data type, the mark correspondence at least one of each passive shared terminal Shared data type, the processing unit share link path step described generation according to the data sharing information is performed When, specifically for according to the physical storage address and each described shared data type, generating each described shared number According to the corresponding shared link path of type.
10. server according to claim 9, it is characterised in that the data sharing request includes the second terminal Mark and data type, the processing unit, be additionally operable to it is described receive second terminal send data sharing request after, Whether there is the mark of the second terminal in judging the mark of described at least one passive shared terminal;If existing, basis The corresponding target data type of identifier lookup of the second terminal;Whether there is the number in judging the target data type According to type;If existing, the shared link path of corresponding target is searched according to the data type;
The transmitting element, is sent to described the specifically for the shared link path of the target of searching the processing unit Two terminals, obtain the shared data to trigger the second terminal according to the shared link path of the target.
CN201610913562.4A 2016-10-19 2016-10-19 Data sharing method and device Active CN106534268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610913562.4A CN106534268B (en) 2016-10-19 2016-10-19 Data sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610913562.4A CN106534268B (en) 2016-10-19 2016-10-19 Data sharing method and device

Publications (2)

Publication Number Publication Date
CN106534268A true CN106534268A (en) 2017-03-22
CN106534268B CN106534268B (en) 2020-01-10

Family

ID=58332686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610913562.4A Active CN106534268B (en) 2016-10-19 2016-10-19 Data sharing method and device

Country Status (1)

Country Link
CN (1) CN106534268B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451260A (en) * 2017-07-31 2017-12-08 珠海市魅族科技有限公司 A kind of network access information sharing method and system
CN108289057A (en) * 2017-12-22 2018-07-17 北京达佳互联信息技术有限公司 Data sharing method, system and mobile terminal
CN108491148A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of application sharing method and terminal
CN108667896A (en) * 2018-03-22 2018-10-16 北京京东方艺云科技有限公司 Data sharing method, device and the system and computer equipment of shared equipment
CN110648196A (en) * 2019-08-29 2020-01-03 深圳市新系区块链技术有限公司 Equipment data sharing method and system and storage medium
WO2022007601A1 (en) * 2020-07-09 2022-01-13 北京字节跳动网络技术有限公司 Information indication method and apparatus, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891889A (en) * 2012-09-26 2013-01-23 腾讯科技(深圳)有限公司 Information sharing method and device
CN104580343A (en) * 2013-10-21 2015-04-29 中兴通讯股份有限公司 Data transmission method, device and system as well as terminal
CN104580364A (en) * 2014-12-01 2015-04-29 百度在线网络技术(北京)有限公司 Resource sharing method and device
CN105227594A (en) * 2014-06-09 2016-01-06 中兴通讯股份有限公司 Document transmission method, Apparatus and system
CN105306518A (en) * 2014-06-25 2016-02-03 友讯科技股份有限公司 file management and sharing method of home network system
US20160065561A1 (en) * 2014-08-26 2016-03-03 Exhibeo, LLC Local, Paperless Document Sharing, Editing, and Marking System

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891889A (en) * 2012-09-26 2013-01-23 腾讯科技(深圳)有限公司 Information sharing method and device
CN104580343A (en) * 2013-10-21 2015-04-29 中兴通讯股份有限公司 Data transmission method, device and system as well as terminal
CN105227594A (en) * 2014-06-09 2016-01-06 中兴通讯股份有限公司 Document transmission method, Apparatus and system
CN105306518A (en) * 2014-06-25 2016-02-03 友讯科技股份有限公司 file management and sharing method of home network system
US20160065561A1 (en) * 2014-08-26 2016-03-03 Exhibeo, LLC Local, Paperless Document Sharing, Editing, and Marking System
CN104580364A (en) * 2014-12-01 2015-04-29 百度在线网络技术(北京)有限公司 Resource sharing method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451260A (en) * 2017-07-31 2017-12-08 珠海市魅族科技有限公司 A kind of network access information sharing method and system
CN108289057A (en) * 2017-12-22 2018-07-17 北京达佳互联信息技术有限公司 Data sharing method, system and mobile terminal
CN108491148A (en) * 2018-03-12 2018-09-04 维沃移动通信有限公司 A kind of application sharing method and terminal
CN108667896A (en) * 2018-03-22 2018-10-16 北京京东方艺云科技有限公司 Data sharing method, device and the system and computer equipment of shared equipment
CN108667896B (en) * 2018-03-22 2022-04-26 京东方艺云科技有限公司 Data sharing method, device and system of sharing equipment and computer equipment
CN110648196A (en) * 2019-08-29 2020-01-03 深圳市新系区块链技术有限公司 Equipment data sharing method and system and storage medium
CN110648196B (en) * 2019-08-29 2022-06-07 深圳市新系区块链技术有限公司 Equipment data sharing method and system and storage medium
WO2022007601A1 (en) * 2020-07-09 2022-01-13 北京字节跳动网络技术有限公司 Information indication method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN106534268B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN106534268A (en) Data sharing method and apparatus
US9237190B2 (en) Node and method for generating shortened name robust against change in hierarchical name in content-centric network (CCN)
US7680067B2 (en) Peer-to-peer data synchronization architecture
CN103986776B (en) A kind of router and the method for down loading based on router
KR101153138B1 (en) Systems and methods for client-based web crawling
CN102592103B (en) Secure file processing method, equipment and system
CN109408696B (en) Method and equipment for searching hosted program
US10187255B2 (en) Centralized configuration data in a distributed file system
US10623470B2 (en) Optimizing internet data transfers using an intelligent router agent
CN108038114A (en) A kind of path query method, terminal, computer-readable recording medium
CN104967647A (en) Message push method and apparatus
CN109471838B (en) Directory document operation method and device, electronic equipment and readable storage medium
CN101388056A (en) Method, system and apparatus for preventing worm
CN112513830A (en) Back-source method and related device in content distribution network
CN107239701B (en) Method and device for identifying malicious website
US20150172899A1 (en) Sponsoring data usage and usage of content provider web sites and applications
CN103248674B (en) The shared file management method of cross-domain cloud platform
CN112235433A (en) Domain name access method and device
CN104008096B (en) A kind of application operating method and apparatus based on browser
CN110929185B (en) Website directory detection method and device, computer equipment and computer storage medium
US9584388B2 (en) Domain name server traffic volume estimation
Zhuang et al. Optimizing information leakage in multicloud storage services
CN105450513A (en) Method for filing mail attachments, and cloud storage server
KR102194631B1 (en) System and method for detecting malicious links using block chain and computer program for the same
CN107977381B (en) Data configuration method, index management method, related device and computing equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant