CN108810177A - Data transmission method and its device - Google Patents

Data transmission method and its device Download PDF

Info

Publication number
CN108810177A
CN108810177A CN201810979316.8A CN201810979316A CN108810177A CN 108810177 A CN108810177 A CN 108810177A CN 201810979316 A CN201810979316 A CN 201810979316A CN 108810177 A CN108810177 A CN 108810177A
Authority
CN
China
Prior art keywords
data
transmission channel
transmission
internet
channel
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.)
Pending
Application number
CN201810979316.8A
Other languages
Chinese (zh)
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.)
Ucweb Singapore Pte Ltd
Original Assignee
Ucweb Singapore Pte 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 Ucweb Singapore Pte Ltd filed Critical Ucweb Singapore Pte Ltd
Priority to CN201810979316.8A priority Critical patent/CN108810177A/en
Priority to PCT/IB2018/057153 priority patent/WO2020044092A1/en
Publication of CN108810177A publication Critical patent/CN108810177A/en
Pending legal-status Critical Current

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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/1085Resource delivery mechanisms involving dynamic management of active down- or uploading connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of data transmission method, device, equipment/terminal/server, computer-readable mediums.One specific implementation mode of this method includes:Determine the transmission channel switching request of the first transmission channel and initiation that carry out data transmission;It determines according to the transmission channel switching request, the first transmission channel carried out data transmission is switched to the second transmission channel;Determine the data breakpoint of data transmission when stopping carrying out data transmission by first transmission channel;The subsequent transmissions of data are carried out according to second transmission channel and the data breakpoint.The specific implementation mode effectively realizes the switching of near field transmission channel and internet transmission channel, and the transmission of data is neatly realized, has advanced optimized user experience.

Description

Data transmission method and its device
Technical field
This application involves Internet technical field more particularly to a kind of data transmission method, device, equipment/terminal/service Device, computer-readable medium.
Background technology
In some application environments, for example, function machine use ratio still far be more than intelligent machine use ratio, or The development degree of person, mobile mutually net connection is still relatively slow or basic poor, the cross-platform transmission technology of the hardware facilities such as internet Scheme becomes a kind of effective means of data sharing between realization different terminals, solves the field of no flow and operator WiFi Under scape, the transmission of data is either carried out without the state of net or low network speed.
But near field transmission is only a kind of optional mode that user obtains data, actually remains and passes through internet Realize the mode of transmission, it would therefore be highly desirable to a kind of technical solution is provided, it is flexible to realize file transmission, finally improve user experience.
Invention content
The purpose of the application is to propose a kind of data transmission method, device, equipment/terminal/server, computer-readable Medium, for solving or alleviating the above problem in the prior art.
In a first aspect, this application provides a kind of data transmission methods comprising:
Determine the transmission channel switching request of the first transmission channel and initiation that carry out data transmission;
It determines according to the transmission channel switching request, the first transmission channel carried out data transmission is switched to the second biography Defeated channel;
Determine the data breakpoint of data transmission when stopping carrying out data transmission by first transmission channel;
The subsequent transmissions of data are carried out according to second transmission channel and the data breakpoint.
Second aspect, the embodiment of the present application provide a kind of data transmission device comprising:
First program unit is configured to determine the first transmission channel carried out data transmission and determines that the transmission initiated is logical Road switching request;
Second program unit is configured to according to the transmission channel switching request, by the carry out data transmission first transmission Channel is switched to the second transmission channel;
Third program unit is configured to determine data transmission when stopping is carried out data transmission by first transmission channel Data breakpoint;
4th program unit is configured to carry out the connecting of data according to second transmission channel and the data breakpoint Transmission.
The third aspect, the embodiment of the present application provide a kind of equipment/terminal/server, including:
One or more processors;
Computer-readable medium is configured to store one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processing Device realizes the method as described in above-mentioned any embodiment.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should The method as described in above-mentioned any embodiment is realized when program is executed by processor.
In data transmission method provided by the present application, device, equipment/terminal/server, computer-readable medium, pass through Determine the first transmission channel carried out data transmission;Determine the transmission channel switching request initiated, and according to the transmission channel The first transmission channel carried out data transmission is switched to the second transmission channel by switching request;It determines and stops passing through described first The data breakpoint of data transmission when transmission channel carries out data transmission, according to second transmission channel and the data breakpoint The subsequent transmissions for carrying out data, effectively realize the switching of near field transmission channel and internet transmission channel, number are neatly realized According to transmission, advanced optimized user experience.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is data transmission method flow diagram in the embodiment of the present application one;
Fig. 2 is data transmission method flow diagram in the embodiment of the present application two;
Fig. 3 is data transmission method flow diagram in the embodiment of the present application three;
Fig. 4 is the structural schematic diagram of data transmission device in the embodiment of the present application four;
Fig. 5 is the structural schematic diagram of data transmission device in the embodiment of the present application five;
Fig. 6 is the structural schematic diagram of data transmission device in the embodiment of the present application six;
Fig. 7 is the structural schematic diagram of data transmission device in the embodiment of the present application seven;
Fig. 8 is the structural schematic diagram of equipment/terminal/server in the embodiment of the present application eight;
Fig. 9 is the hardware configuration of equipment/terminal/server in the embodiment of the present application nine.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated only is only configured to explain related invention, rather than the restriction to the invention.It also should be noted that being Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is the flow diagram of data transmission method in the embodiment of the present application one;As shown in Figure 1, it may include:
S101, the transmission channel switching request for determining the first transmission channel and initiation that carry out data transmission;
In the present embodiment, illustrated for being switched to the Internet transmission channel near field transmission channel.Therefore, described First passage is near field transmission channel, and when being carried out data transmission by near field transmission channel, data receiver is the LAN In user terminal, and data sender is similarly the user terminal in the LAN, i.e., data are carried out in the LAN Transmission.
In the present embodiment, by capturing channel handover operation event, to determine the transmission channel initiated in step S101 Switching request.In a concrete application scene, channel switching push button, channel switching are configured in the terminal of data receiver Button by software realization or can pass through hardware realization.When passing through software realization, for example, it is aobvious in the terminal of data receiver Show and configures an ICON on interface, after the ICON is user-operably, that is, channel handover operation event is generated, once capture To channel handover operation event, that is, determine that data receiver has initiated transmission channel switching request.
In the present embodiment, by calling network connection management interface, to determine the first transmission channel carried out data transmission. It should be noted that being directed to different types of data receiver, network connection management interface can also have differences.Such as peace The data receiver of tall and erect system, network connection management interface are specially Connectivity Manager, such as IOS systems Data receiver, network connection management interface is specially AFNetworkReachabilityManager.
In the present embodiment, LAN is built by self-built WIFI to realize the near field transmission.It can be in the LAN Including multiple user terminals, which can be smart mobile phone, Intelligent flat, smartwatch, PC etc..This scene is preferred The basis that is suitable for the hardware facilities such as internet is poor, without under the scene of flow and cloud operator WiFi, either without net or The state of low network speed realizes in the same LAN to be the transmission for realizing data sharing between different user terminals.I.e. different ends Hold direct-connected between (such as two mobile phones) and independent of other networks (such as internet) and equipment (such as router), and transmission rate Soon, it therefore can easily realize that the data interaction between different terminals i.e. Near-field Data transmits, be applied widely.The data include But be not limited to audio, video data, application program installation kit etc..
Specifically, in a kind of specific application scenarios, the mode of building of LAN can be that a station terminal opens hot spot And random connection password is generated, another station terminal or more station terminals are searched for and find the hot spot, and it is close to input connection by user later Code, is equivalent to the near field transmission channel between establishing terminal.
Alternatively, in another specific application scenarios, data sender opens hot spot, and generates connection letter Breath, wherein the content of the link information is used to establish with data sender by hot spot for data receiver direct-connected;With described Link information generates Quick Response Code, and shows the Quick Response Code;According to the data receiver scan the Quick Response Code with it is described Data sender is direct-connected, is equivalent to the near field transmission channel between establishing terminal, so as to avoid connection password is manually entered, behaviour Work is simple, takes section, is not error-prone.
The content of link information may include the mark of hot spot, i.e., the SSID (Service for the hot spot that data sender opens SetIdentifier), it is used for direct-connected hot spot so that data receiver determines.For another example, the content of link information may also comprise number Such as it is the MAC Address of its hot spot module, i.e. BSSID according to the mark of sender, i.e. unique device identification of data sender (Basic Service SetIdentifier) can be such that data receiver determines straight with it by the mark of data sender Data sender even.
It should be appreciated that according to the difference of connection type, the particular content of the above link information can be different.If for example, number The hot spot opened according to sender has been searched by data receiver, then the content of link information can only have connection password, and not have There is the mark (if certainly have can also) of hot spot.For another example, if data sender hides hot spot without allowing to count after opening hot spot It is searched according to recipient, then the content of link information can only have the mark of hot spot, (also may be used if having certainly without connection password With).For another example, the mark of data above sender can be individualism, can also be existed simultaneously with other contents, as to it The further verification of its content.
It should be appreciated that may also include other known content in link information, such as showing that it is link information Mark, the separator for dividing its different piece, the verification position etc. for showing its length, format etc..
In the present embodiment, on data sender can transmission data can specifically have by list or more it is good in a manner of be in It is existing, there is the data receiver of demand data intuitively to check to facilitate.Data receiver can be carried by the LAN access built For the data sender of data, the upper sharable data of the data sender or also known as sharable resource are checked.It is arranging The resource distribution shown on table have download either transmission button when the thing that this captures the download or transmission button is operated Part, i.e. data receiver have initiated data transfer request.
S102, according to the transmission channel switching request, the first transmission channel carried out data transmission is switched to second Transmission channel;
As previously mentioned, illustrated for being switched to internet transmission channel near field transmission channel in the present embodiment, Therefore, accordingly, second transmission channel is internet transmission channel.
In the present embodiment, the switching of transmission channel can start another biography by closing one of transmission channel Defeated channel is realized.Alternatively, wherein hanging up a transmission channel and making another transmission channel into ready state to realize.
In a concrete application scene, when needing to be switched to internet transmission channel near field transmission channel, it can break The direct-connected of data sender in data receiver and step S101 is opened, at the same time, passes through data receiver and internet Connection, such as by the relevant service interfaces of webservice, further by using AsyncTask process initiations The relevant service interfaces of webservice.
S103, the data breakpoint for determining data transmission when stopping carrying out data transmission by first transmission channel;
In the present embodiment, can specifically it determine that pause passes through the first transmission channel there are when transmission channel switching request That is near field transmission channel carries out data transmission, and at the same time, the node of the data passed at this time is data breakpoint.
Can be data receiver when carrying out the transmission of data by first passage in a concrete application scene It is local to record unique identification and its size of population (or also known as length) for needing transmission data, and record is just current in real time The size of the partial data of transmission is completed.It specifically, can be above-mentioned with data to record by creating a transformation task entity Transmit related attribute information.When being switched to internet transmission channel, by above-mentioned attribute information related with data transmission Be uploaded to the shared data center of internet, by the shared data center according to these attribute informations judgement continue to transmit it is remaining Partial document effectively realizes the switching of near field transmission channel and internet transmission channel, is neatly realized to data receiver The transmission of data.
S104, the subsequent transmissions that data are carried out according to second transmission channel and the data breakpoint.
The size of downloading data is locally recorded in data receiver, with subsequently from the shared data in internet When the heart connects download, moves the pointer at corresponding data breakpoint position, continue to read, data are transferred to data receiver Side.
In a concrete application scene, of course for the speed for connecting and downloading is improved, it can start at multithreading more Reason, the data that fixed byte is distributed to per thread go to read from the shared data center of internet respectively.
Fig. 2 is the flow diagram of data transmission method in the embodiment of the present application two;As shown in Figure 2 comprising:
S201, the first transmission channel carried out data transmission is determined;
In the present embodiment, step S201 records related to the step S101 in above-described embodiment one are similar.
In the present embodiment, the first transmission channel is internet transmission channel, to be switched near field from internet transmission channel It is illustrated for transmission channel.I.e. before channel switches, data receiver obtains data from the shared data center of internet, And after handover, shared data center in the LAN where from it obtains data, and shared data center can be in LAN For the terminal with the data resource in LAN.
In the present embodiment, when being carried out data transmission by the internet transmission channel, the data be stored in it is described because In shared data center in spy's net.
S202, network connection management interface is called;
S203, the transmission channel switching request initiated is determined by network connection management interface.
In the present embodiment, specifically sub-interface can be detected by available network or enabling network detects sub-interface, To determine the transmission channel switching request initiated.
In the present embodiment, if enabling near field transmission channel has been selected to carry out data transmission on data receiver, lead to Crossing available network detecting sub-interface, either enabling with network has been detected sub-interface and has been detected and is being currently used or will use Transmission channel.
S204, the data breakpoint for determining data transmission when stopping carrying out data transmission by first transmission channel;
In the present embodiment, by integrally making a summary judge whether it is the part number for needing breaking point uploading to size of data and data According to, by downloading data size and downloading data abstract judge data breakpoint.
S205, the subsequent transmissions that data are carried out according to second transmission channel and the data breakpoint.
In the present embodiment, when being carried out data transmission by the near field channel, the data are stored in the LAN In shared data center in.
Carried out data transmission from being switched to by the near field channel, is then locally recorded first by Data Data recipient Data unique identification, matched with the unique identifications of the data of the shared data central record in LAN code. If matching, the data breakpoint recorded in data receiver is uploaded to the shared data center in LAN, from breakpoint bit Set place's subsequent transmissions.
It,, will according to specified data block size when carrying out the storage of data in order to realize subsequent transmissions in the present embodiment Data are split as multiple data blocks, and in addition to the last one data block, remainder data block numbers in order, data block size is specified Data block size, the last one data block size are actual data block size;And it is that each data block generates corresponding data Block metamessage, metamessage include data block addition time, data block number, data block size, digital signature, a KEY (character String, ID containing data, version number, the complete identifier of data) and data block other identifier parameter (such as file type).
In the present embodiment, number is represented so that the data block number of the last one data block of transmission to be completed before channel switches According to breakpoint, data receiver continues block-by-block since the data breakpoint and downloads the data to its local, to the last a data block Until, that is, complete the transmission of file.
Fig. 3 is the flow diagram of data transmission method in the embodiment of the present application three;As shown in Figure 3 comprising:
S301, the transmission channel switching request for determining the first transmission channel and initiation that carry out data transmission;
S302, it determines according to the transmission channel switching request, the first transmission channel carried out data transmission is switched to Second transmission channel;
S303, the private data in the LAN is dumped to the shared data center in the internet and for private There is data configuration unique identification, the connecting to carry out data according to the internet transmission channel and the data breakpoint passes It is defeated.
In the present embodiment, if the data are the private data of the corresponding LAN, the private data is stored in In the shared data center in shared data center and internet in the LAN, to be selected just after transmission channel switches True shared data center carries out data transmission.
Further, if the data are the private data of the corresponding LAN, the present embodiment is by private data When turning from the shared data center to internet, unique identification is configured for private data;Accordingly, according to described because of spy Network transmission channel and the data breakpoint carry out the subsequent transmissions of data, including:It is matched to according to unique identification and waits connecting The private data of transmission, to carry out the connecting of the private data according to the internet transmission channel and the data breakpoint Transmission.
Fig. 4 is the structural schematic diagram of data transmission device in the embodiment of the present application four;As shown in Figure 4 comprising:
First program unit 401 is configured to determine that the transmission of the first transmission channel and initiation that carry out data transmission is logical Road switching request;
Second program unit 402 is configured to, according to the transmission channel switching request, carry out data transmission first be passed Defeated channel is switched to the second transmission channel;
Third program unit 403 is configured to determine data when stopping is carried out data transmission by first transmission channel The data breakpoint of transmission,
4th program unit 404 is configured to carry out data according to second transmission channel and the data breakpoint Subsequent transmissions.
In the present embodiment, the first program unit 401 can be referred to as channel switching request unit or module, the second journey again Sequence unit 402 can be referred to as channel switch unit or module again, and third program unit 403 can be referred to as breakpoint determination again Either the 4th program unit 404 of module can be referred to as subsequent transmissions unit or module to unit again.
Fig. 5 is the structural schematic diagram of data transmission device in the embodiment of the present application five;As shown in figure 5, it may include:The One program unit 401, the second program unit 402, third program unit 403, the 4th program unit 404 can also include:5th Program unit 405 is configured to capture channel handover operation event, to determine the transmission channel switching request initiated.
Fig. 6 is the structural schematic diagram of data transmission device in the embodiment of the present application six;As shown in fig. 6, it may include:The One program unit 401, the second program unit 402, third program unit 403, the 4th program unit 404 can also include:6th Program unit 406 is configured to call network connection management interface, to determine the first transmission channel carried out data transmission.
Further, the 6th program unit 406 is further configured to call available in network connection management interface Network detects sub-interface or enabling detects sub-interface with network, to determine the transmission channel switching request initiated.
Further, when being carried out data transmission by the near field channel, the data are stored in the LAN Shared data center in;When being carried out data transmission by the internet transmission channel, the data be stored in it is described because In shared data center in spy's net.
Further, if the data are the common data of the corresponding internet, the common data is stored in institute It states in the shared data center in shared data center and the internet in LAN.
Fig. 7 is the structural schematic diagram of data transmission device in the embodiment of the present application seven;As shown in Figure 7 comprising:It can be with Including:First program unit 401, the second program unit 402, third program unit 403, the 4th program unit 404, can also wrap The 7th program unit 407 is included, is configured to dumping to the private data in the LAN into the shared data in the internet Center, to carry out the subsequent transmissions of data according to the internet transmission channel and the data breakpoint.
Further, can also include:8th program unit 408 is configured to configure unique identification for private data; Accordingly, the 4th program unit 404 is further configured to be matched to the privately owned number for waiting for subsequent transmissions according to unique identification According to carry out the subsequent transmissions of the private data according to the internet transmission channel and the data breakpoint.
Fig. 8 is the structural schematic diagram of equipment/terminal/server in the embodiment of the present application eight;Equipment/the terminal/server May include:
One or more processors 801;
Computer-readable medium 802 is configurable to store one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processing Device realizes the transmission method as described in above-mentioned any embodiment.
Fig. 9 is the hardware configuration of equipment/terminal/server in the embodiment of the present application nine;As shown in figure 9, equipment/the end The hardware configuration of end/server may include:Processor 901, communication interface 902, computer-readable medium 903 and communication bus 904;
Wherein processor 901, communication interface 902, computer-readable medium 903 are completed each other by communication bus 904 Communication;
Optionally, communication interface 902 can be the interface of communication module, such as the interface of gsm module;
Wherein, processor 901 is specifically configurable to:Determine that the data transmission that data receiver initiates in LAN is asked It asks;According to the data transfer request, parallel starting network inputs export thread and disk input and output thread;According to described Network inputs export thread and disk input and output thread, and reception is transferred to by the data sender 701 in the LAN The data of the data receiver.
Processor 901 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), special Integrated circuit (ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor Logical device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logic in the embodiment of the present application Block diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..
Computer-readable medium 903 may be, but not limited to, random-access storage medium (Random Access Memory, RAM), read-only storage medium (Read Only Memory, ROM) may be programmed read-only storage medium (Programmable Read-Only Memory, PROM), erasable read-only storage medium (Erasable Programmable Read-Only Memory, EPROM), the read-only storage medium of electric erasable (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
It should be noted that above-described embodiment data receiver, data sender are relative concept, work as data receiver When can provide data to the other-end in LAN, role can become data sender again.
Particularly, according to an embodiment of the present application, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiments herein includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes to be configured to the program code of method shown in execution flow chart.Such In embodiment, which can be downloaded and installed by communications portion from network, and/or from detachable media quilt Installation.When the computer program is executed by central processing unit (CPU), the above-mentioned work(limited in the present processes is executed Energy.It should be noted that computer-readable medium described herein can be computer-readable signal media or computer Readable storage medium storing program for executing either the two arbitrarily combines.Computer-readable medium for example can be, but not limited to be electricity, magnetic, Optical, electromagnetic, the system of infrared ray or semiconductor, device or device, or the arbitrary above combination.Computer-readable storage medium The more specific example of matter can include but is not limited to:Electrical connection, portable computer diskette with one or more conducting wires, Hard disk, random access storage medium (RAM), read-only storage medium (ROM), erasable type may be programmed read-only storage medium (EPROM or Flash memory), optical fiber, the read-only storage medium of portable compact disc (CD-ROM), optical storage media part, magnetic storage medium part or Above-mentioned any appropriate combination.In this application, can be any include computer readable storage medium or storage program Tangible medium, the program can be commanded the either device use or in connection of execution system, device.And in the application In, computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, wherein Carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but not limited to electric Magnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, which can send, propagate or transmission configuration is served as reasons Instruction execution system, device either device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned Any appropriate combination.
It can be write in terms of the operation for being configured to execute the application by one or more programming languages or combinations thereof Calculation machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C ++, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute on the user computer, partly execute, executed as an independent software package on the user computer, Part executes or executes on a remote computer or server completely on the remote computer on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind:Including LAN (LAN) or extensively Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service Quotient is connected by internet).
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part for one module, program segment, or code of table, a part for the module, program segment, or code are matched comprising one or more It is set to the executable instruction of logic function as defined in realizing.There is specific precedence relationship in above-mentioned specific embodiment, but these are successively Relationship is only exemplary, when specific implementation, these steps may less, more or execution sequence have adjustment.I.e. In some implementations as replacements, the function of being marked in box can also be sent out in a different order than that indicated in the drawings It is raw.For example, two boxes succeedingly indicated can essentially be basically executed in parallel, they sometimes can also be by opposite suitable Sequence executes, this is depended on the functions involved.It is also noted that each box in block diagram and or flow chart and block diagram And/or the combination of the box in flow chart, can with execute as defined in functions or operations dedicated hardware based system come It realizes, or can realize using a combination of dedicated hardware and computer instructions.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packet Include request determination unit, switch unit, breakpoint determination unit, transmission unit.
Determination unit is asked, is configured to determine that the transmission channel of the first transmission channel and initiation that carry out data transmission is cut Change request;
Switch unit is configured to the first transmission channel that according to the transmission channel switching request, will carry out data transmission It is switched to the second transmission channel;
Switch unit is configured to determine the number of data transmission when stopping is carried out data transmission by first transmission channel According to breakpoint;
Transmission unit, the connecting for being configured to carry out data according to second transmission channel and the data breakpoint pass It is defeated.
Wherein, the title of these units does not constitute the restriction to the unit itself under certain conditions, for example, request is true Order member is also described as " determining the transmission channel switching request of the first transmission channel and initiation that carry out data transmission Unit ".
As on the other hand, present invention also provides a kind of computer-readable mediums, are stored thereon with computer program, should The method as described in above-mentioned any embodiment is realized when program is executed by processor.
As on the other hand, present invention also provides a kind of computer-readable medium, which can be above-mentioned Included in device described in embodiment;Can also be individualism, and without be incorporated the device in.Above computer can It reads medium and carries one or more program, when said one or multiple programs are executed by the device so that the device: Determine the transmission channel switching request of the first transmission channel and initiation that carry out data transmission;Switched according to the transmission channel Request, the second transmission channel is switched to by the first transmission channel carried out data transmission;It determines and stops transmitting by described first The data breakpoint of data transmission when channel carries out data transmission;It is carried out according to second transmission channel and the data breakpoint The subsequent transmissions of data.
Statement " first ", " second ", " first " or " described used in the various embodiments of the application Two " can modify various parts and unrelated with sequence and/or importance, but these statements do not limit corresponding component.It is presented above It is only configured to the purpose for distinguishing element and other elements.For example, the first user equipment and second user equipment indicate different User equipment, although being both user equipment.For example, under the premise of without departing substantially from scope of the present application, first element can Referred to as second element, similarly, second element can be referred to as first element.
When an element (for example, first element) referred to as " (operationally or can with another element (for example, second element) Communicatedly) connection " or " (operationally or communicably) being attached to " another element (for example, second element) or " being connected to " are another When one element (for example, second element), it is thus understood that an element is connected directly to another element or an element It is indirectly connected to another element via another element (for example, third element).On the contrary, it is appreciated that when element (for example, First element) it referred to as " is directly connected to " or when " directly connection " to another element (second element), then without element (for example, the Three elements) it is inserted between the two.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art answer Work as understanding, involved invention scope in the application, however it is not limited to technical solution made of the specific combination of above-mentioned technical characteristic, It should also cover simultaneously in the case where not departing from foregoing invention design, arbitrary group is carried out by above-mentioned technical characteristic or its equivalent feature The other technical solutions closed and formed.Such as features described above has the skill of similar functions with (but not limited to) disclosed herein Art feature is replaced mutually and the technical solution that is formed.

Claims (22)

1. a kind of data transmission method, which is characterized in that including:
Determine the transmission channel switching request of the first transmission channel and initiation that carry out data transmission;
According to the transmission channel switching request, the first transmission channel carried out data transmission is switched to the second transmission channel;
Determine the data breakpoint of data transmission when stopping carrying out data transmission by first transmission channel;
The subsequent transmissions of data are carried out according to second transmission channel and the data breakpoint.
2. according to the method described in claim 1, it is characterized in that, further including:Channel handover operation event is captured, is sent out with determining The transmission channel switching request risen.
3. according to the method described in claim 1, its feature is, further include:Network connection management interface is called, with determination The first transmission channel carried out data transmission.
4. according to the method described in claim 3, it is characterized in that, call network connection management interface, including:Network is called to connect The available network detecting sub-interface or the sub-interface of enabling network detecting in management interface are connect, to determine that the transmission initiated is logical Road switching request.
5. according to the method described in claim 1, it is characterized in that, the first passage is internet transmission channel, described the Two transmission channels are near field transmission channel.
6. according to the method described in claim 1, it is characterized in that, the first passage be near field transmission channel, described second Transmission channel is internet transmission channel.
7. according to the method described in claim 5 or 6, which is characterized in that carry out data transmission when by the near field channel When, the data are stored in the shared data center in the LAN;When by the internet transmission channel into line number When according to transmission, the data are stored in the shared data center in the internet.
8. if the method according to the description of claim 7 is characterized in that the data are the public number of the corresponding internet According to then the common data is stored in the shared data center in shared data center and the internet in the LAN.
9. if the method according to the description of claim 7 is characterized in that the data are the privately owned number of the corresponding LAN According to the method further includes:Private data in the LAN is dumped into the shared data center in the internet, with The subsequent transmissions of data are carried out according to the internet transmission channel and the data breakpoint.
10. according to the method described in claim 9, it is characterized in that, further including:Unique identification is configured for private data; Accordingly, the subsequent transmissions of data are carried out according to the internet transmission channel and the data breakpoint, including:According to unique Property mark be matched to the private data for waiting for subsequent transmissions, with according to the internet transmission channel and the data breakpoint progress The subsequent transmissions of the private data.
11. a kind of data transmission device, which is characterized in that including:
First program unit is configured to determine that the transmission channel switching of the first transmission channel and initiation that carry out data transmission is asked It asks;
Second program unit is configured to the first transmission channel that according to the transmission channel switching request, will carry out data transmission It is switched to the second transmission channel;
Third program unit is configured to determine the number of data transmission when stopping is carried out data transmission by first transmission channel According to breakpoint,
4th program unit, the connecting for being configured to carry out data according to second transmission channel and the data breakpoint pass It is defeated.
12. according to the devices described in claim 11, which is characterized in that further include:5th program unit is configured to capture channel Handover operation event, to determine the transmission channel switching request initiated.
13. according to the devices described in claim 11, feature is, further include:5th program unit is configured to call net Network connection management interface, to determine the first transmission channel carried out data transmission.
14. device according to claim 3, which is characterized in that the 6th program unit is further configured to call net Available network in network connection management interface detects sub-interface or enabling detects sub-interface with network, to determine the biography initiated Defeated channel switching request.
15. according to the devices described in claim 11, which is characterized in that the first passage is internet transmission channel, described Second transmission channel is near field transmission channel.
16. according to the devices described in claim 11, which is characterized in that the first passage is near field transmission channel, described the Two transmission channels are internet transmission channel.
17. according to the device described in claim 15 or 16, which is characterized in that when pass through the near field channel carry out data biography When defeated, the data are stored in the shared data center in the LAN;It is carried out when by the internet transmission channel When data transmission, the data are stored in the shared data center in the internet.
18. device according to claim 17, which is characterized in that if the data are the public number of the corresponding internet According to then the common data is stored in the shared data center in shared data center and the internet in the LAN.
19. device according to claim 17, which is characterized in that if the data are the privately owned number of the corresponding LAN According to the method further includes:7th program unit is configured to the private data in the LAN dumping to the internet In shared data center, to carry out the subsequent transmissions of data according to the internet transmission channel and the data breakpoint.
20. device according to claim 19, which is characterized in that further include:8th program unit is configured to for privately owned Data configuration unique identification;Accordingly, the 4th program unit, which is further configured to be matched to according to unique identification, waits for The private data of subsequent transmissions, to carry out the private data according to the internet transmission channel and the data breakpoint Subsequent transmissions.
21. a kind of equipment/terminal/server, including:
One or more processors;
Computer-readable medium is configured to store one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1-10.
22. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that the program is executed by processor Methods of the Shi Shixian as described in any in claim 1-10.
CN201810979316.8A 2018-08-27 2018-08-27 Data transmission method and its device Pending CN108810177A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810979316.8A CN108810177A (en) 2018-08-27 2018-08-27 Data transmission method and its device
PCT/IB2018/057153 WO2020044092A1 (en) 2018-08-27 2018-09-18 Data transmission method and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810979316.8A CN108810177A (en) 2018-08-27 2018-08-27 Data transmission method and its device

Publications (1)

Publication Number Publication Date
CN108810177A true CN108810177A (en) 2018-11-13

Family

ID=64081275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810979316.8A Pending CN108810177A (en) 2018-08-27 2018-08-27 Data transmission method and its device

Country Status (2)

Country Link
CN (1) CN108810177A (en)
WO (1) WO2020044092A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835723A (en) * 2019-11-22 2021-05-25 北京小米移动软件有限公司 Information processing method, device, terminal and storage medium
CN113572836A (en) * 2021-07-21 2021-10-29 腾讯科技(深圳)有限公司 Data transmission method, device, server and storage medium
CN115277723A (en) * 2022-07-19 2022-11-01 国能信控互联技术有限公司 Buffer event-based breakpoint continuous transmission method and system for edge acquisition history module

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404093A (en) * 2010-09-10 2012-04-04 中国移动通信集团公司 Management method of data transmission modes and data transmission equipment
CN103491572A (en) * 2012-06-14 2014-01-01 华为技术有限公司 Data transmission method, device and system
CN103533593A (en) * 2012-07-06 2014-01-22 上海中铁通信信号国际工程有限公司 Seamless switching embedded module and method
WO2015176401A1 (en) * 2014-05-23 2015-11-26 中兴通讯股份有限公司 Method and device for controlling network connection
CN107155204A (en) * 2017-07-20 2017-09-12 广东工业大学 The method and system that a kind of bluetooth switches with Wifi

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4941496B2 (en) * 2009-04-03 2012-05-30 カシオ計算機株式会社 Wireless communication apparatus and program
CN103249095B (en) * 2012-02-08 2017-02-08 华为技术有限公司 Data sending and receiving method, user equipment, base station and gateway
CN104937995B (en) * 2013-02-22 2019-08-06 英特尔Ip公司 System and method for accessing network selection and flow routing
CN105101327B (en) * 2014-05-09 2018-10-26 宇龙计算机通信科技(深圳)有限公司 Switching method and switching device
CN107801222B (en) * 2016-09-06 2022-05-13 中兴通讯股份有限公司 Bluetooth and WiFi switching method and system, client and wireless access point equipment
CN107087292B (en) * 2017-03-10 2021-01-01 北方工业大学 Method for adaptively transmitting data by mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404093A (en) * 2010-09-10 2012-04-04 中国移动通信集团公司 Management method of data transmission modes and data transmission equipment
CN103491572A (en) * 2012-06-14 2014-01-01 华为技术有限公司 Data transmission method, device and system
CN103533593A (en) * 2012-07-06 2014-01-22 上海中铁通信信号国际工程有限公司 Seamless switching embedded module and method
WO2015176401A1 (en) * 2014-05-23 2015-11-26 中兴通讯股份有限公司 Method and device for controlling network connection
CN107155204A (en) * 2017-07-20 2017-09-12 广东工业大学 The method and system that a kind of bluetooth switches with Wifi

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835723A (en) * 2019-11-22 2021-05-25 北京小米移动软件有限公司 Information processing method, device, terminal and storage medium
CN113572836A (en) * 2021-07-21 2021-10-29 腾讯科技(深圳)有限公司 Data transmission method, device, server and storage medium
CN113572836B (en) * 2021-07-21 2022-07-15 腾讯科技(深圳)有限公司 Data transmission method, device, server and storage medium
CN115277723A (en) * 2022-07-19 2022-11-01 国能信控互联技术有限公司 Buffer event-based breakpoint continuous transmission method and system for edge acquisition history module

Also Published As

Publication number Publication date
WO2020044092A9 (en) 2020-04-09
WO2020044092A1 (en) 2020-03-05

Similar Documents

Publication Publication Date Title
CN105376738B (en) Wireless network access method, device and system
EP3179758A1 (en) Building intercom method, nfc unlocking device and building intercom system
CN108810177A (en) Data transmission method and its device
CN101977382B (en) Audio and video integrated control circuit and method for accessing access point
CN104540089B (en) A kind of main equipment and method, equipment and system from equipment progress Bluetooth pairing
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN105100129B (en) A kind of methods, devices and systems of data transmission
CN203773533U (en) Mobile data processing device
WO2018107593A1 (en) Method and device for sharing file between different terminals
CN113079207B (en) Method, system, terminal and medium for realizing high availability of port or network
CN104507141A (en) File receiving method for client side and receiver client side
CN109640373A (en) A kind of network-building method, device and storage medium applied to Internet of Things
CN113141671A (en) Communication method and device of wifi device and computer readable storage medium
CN104519482A (en) Equipment parameter configuration method and device
CN115801299A (en) Meta-universe identity authentication method, device, equipment and storage medium
CN110474945A (en) A kind of method and terminal that data are downloaded, managed
CN104507176A (en) File sending method for client side and sender client side
CN111050380A (en) Hotspot opening method and device, terminal equipment and storage medium
CN108809363A (en) Near-field Data transmission method and its device
CN109246207A (en) Near field document transmission method and its device
CN109451497A (en) Wireless network connecting method and device, electronic equipment, storage medium
CN109511118A (en) WLAN access exception processing method, mobile terminal and usim card
CN106488470B (en) Method, device and terminal for realizing Miracast and wireless hotspot coexistence
CN104053132A (en) Method and apparatus for information number identification
CN108064031A (en) A kind of multi-card terminal and its method for processing business

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication