CN102999457A - Data concentrator and transmission method for third-party data - Google Patents

Data concentrator and transmission method for third-party data Download PDF

Info

Publication number
CN102999457A
CN102999457A CN2011102658233A CN201110265823A CN102999457A CN 102999457 A CN102999457 A CN 102999457A CN 2011102658233 A CN2011102658233 A CN 2011102658233A CN 201110265823 A CN201110265823 A CN 201110265823A CN 102999457 A CN102999457 A CN 102999457A
Authority
CN
China
Prior art keywords
arithmetic unit
data
port
party
datagram
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
CN2011102658233A
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.)
Kunda Computer Technology Kunshan Co Ltd
Mitac International Corp
Original Assignee
Kunda Computer Technology Kunshan Co Ltd
Mitac International Corp
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 Kunda Computer Technology Kunshan Co Ltd, Mitac International Corp filed Critical Kunda Computer Technology Kunshan Co Ltd
Priority to CN2011102658233A priority Critical patent/CN102999457A/en
Publication of CN102999457A publication Critical patent/CN102999457A/en
Pending legal-status Critical Current

Links

Images

Abstract

A data concentrator and a transmission method for third-party data are used for data transmission between a special arithmetic device and a third-party device. Firstly the special arithmetic device is connected with a first connection dock of the data concentrator, and the third-party device is connected with a second connection dock of the data concentrator. A communication channel between the special arithmetic device and the data concentrator is opened through a signal handshaking protocol. Serial numbers of the corresponding third-party device are set through the communication channel, and data transmission rate is set corresponding to the serial numbers. An accessory protocol is used for transmitting a data sealing bag between the special arithmetic device and the third-party device after the serial number are confirmed and the data transmission rate is set.

Description

The transmission method of data hub and third party's data
[technical field]
The present invention is about the data transmission technology between a kind of special-purpose arithmetic unit and the third party device, particularly about the transmission method of a kind of data hub and third party's data.
[background technology]
Hand held consumer electronic product market is with unusual paces sustainable growth, and the majority in these products provides the ever-increasing interconnectivity with other electronic equipment.
By (the Apple inc. of Apple, Cupertino, CA) a series of Apple (apple brand) device of producing, such as: iPod (Portable media player), iphone (intelligent mobile phone) and iPad (panel computer) etc. generally include one or more connector or port.Connector or port can make the Apple device be coupled to host computer, be inserted in the docking system and/or the auxiliary equipment (Accessory) that allows.
At present, the auxiliary equipment that has many dissimilar interconnected to Apple devices.The communication interface of the application program of Apple device and auxiliary equipment is that digital audio communication player hard disk fittings agreement (iPod accessory protocol, iAP) defined several accessory lingo (accessory program code) that provided by Apple company are provided.Accessory ling provides Apple device and the man-to-man line of communication of auxiliary equipment.
The Apple device is carried out the identification of auxiliary equipment with one or more iPod accessory agreement and/or is authenticated, with existing of identification auxiliary equipment.If but when having the third party device wish to see through auxiliary equipment to link up with the Apple device, the application program of Apple device then can't be originated in identification, and can't link up.
[summary of the invention]
The present invention proposes a kind of data hub, and it comprises: the first Port, at least one the second Port, storage element and processing unit.
The first Port provides the electrically connect with a special-purpose arithmetic unit, and each second Port provides the electrically connect with a third party device.
Storage unit stores has the sequence number of corresponding each third party device and the accessory agreement of corresponding special-purpose arithmetic unit.
Processing unit is electrically connected to the first Port, the second Port and storage element, and in order to confirm each sequence number of storing with special-purpose arithmetic unit.When each sequence number be special-purpose arithmetic unit admit sequence number the time, processing unit is according to the accessory protocol conversion and transmit special-purpose arithmetic unit and be connected to data between the third party device on the second Port.
The present invention also proposes a kind of transmission method of third party's data, and it comprises: connect special-purpose arithmetic unit to the first Port of data hub; Connect third party device to the second Port of data hub; See through signal and hand over the ditch circulation passage of holding between agreement (handshaking protocol) the special-purpose arithmetic unit of unlatching and the data hub; See through the sequence number of linking up the corresponding third party device of path setting; Corresponding to sequence number set data transfer rate; And in sequence number confirm to finish and transmission rate information set finish after, utilize an accessory agreement between special-purpose arithmetic unit and third party device, to transmit a Datagram.
In sum, according to the transmission method of data hub of the present invention and third party's data, can provide special-purpose arithmetic unit and third party device to see through the data hub and link up.
[description of drawings]
Fig. 1 is the synoptic diagram of the data hub of one embodiment of the invention.
Fig. 2 is the process flow diagram of transmission method of third party's data of one embodiment of the invention.
Fig. 3 is the process flow diagram of the step S43 of an embodiment.
Fig. 4 is the process flow diagram of the step S49 of an embodiment.
Fig. 5 is the process flow diagram of the step S49 of another embodiment.
Among the figure, 10. data hub, 110. first Ports, 130. second Ports, 150. storage elements, 170. processing units, 20. special-purpose arithmetic units, 30. third party devices.
[embodiment]
With reference to Fig. 1, data hub (iHub) 10 can in order to connect special-purpose arithmetic unit 20 and third party device 30, be linked up to cause special-purpose arithmetic unit 20 and third party device 30 can see through data hub 10.
Data hub 10 comprises the first Port 110, one or more the second Port 130, storage element 150 and processing unit 170.
Processing unit 170 is electrically connected to the first Port 110, the second Port 130 and storage element 150.
Store the accessory agreement of one or more groups sequence number and corresponding special-purpose arithmetic unit 20 in the storage element 150.
One group of sequence number can be corresponding to a kind of third party device 30.That is to say that the quantity of stored different sequence numbers can provide the quantity of the different third party devices 30 of linking up from special-purpose arithmetic unit 20 in the storage element 150 corresponding to 10 of data hubs.
The first Port 110 provides the electrically connect with special-purpose arithmetic unit 10.Each second Port 130 provides the electrically connect with a third party device 30.
In certain embodiments, special-purpose arithmetic unit 20 can be the electronic installation that uses iOS operating system.Use the electronic installation of iOS operating system for example to be installed by the Apple (apple brand) that Apple (Apple inc., Cupertino, CA) produces.Apple device such as iPod (Portable media player), iphone (intelligent mobile phone) and iPad (panel computer) etc.The accessory agreement can be digital audio communication player hard disk (iPod) accessory agreement.The second Port 130 can be asynchronous system serial interface (Universal Asynchronous Receiver Transmitter, UART).
Collocation is with reference to Fig. 2, and special-purpose arithmetic unit 20 is connected to the first Port 110 of data hub 10, and with second Port 130 (S41) of third party device 30 to data hub 10.
See through signal and hand over the ditch circulation passage (S43) of holding between agreement (handshaking protocol) the special-purpose arithmetic unit 20 of unlatching and the data hub 10.
After setting up the ditch circulation passage, special-purpose arithmetic unit 20 can carry out first the setting of basic parameter.
In this, see through first the setting (S45) of sequence number that the ditch circulation passage is carried out the third party device of corresponding connection.See through the ditch circulation passage, special-purpose arithmetic unit 20 sends a sequence number and confirms that package is to data hub 10.See through the ditch circulation passage, after data hub 10 receives sequence number affirmation package via the first Port 110, processing unit 170 confirms that according to storage element 150 stored sequence number and sequence numbers package produces a response packet, and see through the ditch circulation passage and reply to special-purpose arithmetic unit 20, set whether success to notify special-purpose arithmetic unit 20 sequence numbers.In certain embodiments, the sequence number that can the comparison storage element comprises in 150 stored sequence numbers and the sequence number affirmation package of processing unit 170.When the two was identical, expression storage element 150 stored sequence numbers were the sequence number that special-purpose arithmetic unit 20 is admitted, and this moment, the sequence number setting then was successfully.Otherwise, then be unsuccessfully.In certain embodiments, sequence number confirms that package can comprise one first bit group, a second tuple and a plurality of the 3rd bit group at least.The first bit group can be the setting subject instructions; The second tuple can be the execution action instruction; The 3rd bit group then for this reason sequence number each the code.For example: the first bit group is 0x00, its expression set data hub 10; The second tuple is 0x00, and its expression is carried out and set sequence number; And each the 3rd bit group can be numeral or a letter, and it represents a yard of this sequence number.
After sequence number is set successfully, corresponding to setting successful sequence number set data transfer rate (S47).In this, the rate setting package of the transmission rate information of the sequence number that the corresponding setting of special-purpose arithmetic unit 20 meeting transmissions is successful is to data hub 10.Whether processing unit 170 produces a response package according to the rate setting package, and replies to special-purpose arithmetic unit 20 through the ditch circulation passage, successful to notify special-purpose arithmetic unit 20 transmission rate informations to set.In certain embodiments, the rate setting package can comprise the first bit group, second tuple and the 3rd bit group at least.The first bit group can be the setting subject instructions; The second tuple can be the execution action instruction; The 3rd bit group then is the setting value of transmission rate information.For example: the first bit group is 0x00, its expression set data hub 10; The second tuple is 0x00, and its expression is carried out and set baud rate (Baud rate); And the 3rd bit group can be NN (*), and it represents the setting value of this baud rate.
In sequence number confirm to finish and transmission rate information set finish after, processing unit 170 utilizes storage element 150 stored accessory agreements to transmit Datagram (S49) between special-purpose arithmetic unit 20 and third party device 30.That is to say that special-purpose arithmetic unit 20 can carry out data exchange via data hub 10 with third party device 30.
In certain embodiments, in step S43, with reference to Fig. 3, when special-purpose arithmetic unit 20 will receive the information of data hub 10, set up first a communication meeting (session) of special-purpose arithmetic unit 20 and 10 communications of data hub (S431).Take the Apple device as example, special-purpose arithmetic unit 20 sees through External Accessory framework (outside appurtenances framework) and uses one or more agreements to set up the communication meeting of linking up with data hub 10.
Then, special-purpose arithmetic unit 20 is handed over the program (S433) of holding through the signal of communication Conference Calling and data hub 10.
The recycling signal friendship program of holding is opened the ditch circulation passage (S435) between special-purpose arithmetic unit 20 (its application program) and the data hub 10.
In certain embodiments, in step S49, with reference to Fig. 4, the Datagram (S491) that data hub 10 receives from special-purpose arithmetic unit 20 via the first Port 110.
The identification bit group of the Datagram that processing unit 170 affirmations receive is to learn the destination device (S493) of Datagram.In certain embodiments, identification bit group is first bit group of Datagram.For example: identification bit group is 0x01, and its expression Datagram is that the application program from special-purpose arithmetic unit 20 sends to third party device 30.
When the destination device was third party device 30, processing unit 170 utilized the accessory agreement to send Datagram to third party device 30 (S495) via the second Port.In certain embodiments, processing unit 170 can convert Datagram to be connected on the second Port 130 third party device 30 cognizable forms according to the accessory agreement, sends special-purpose arithmetic unit 20 to via the second Port 130 again.
In certain embodiments, in step S49, with reference to Fig. 5, the Datagram (S492) that data hub 10 receives from third party device 30 via the second Port 130.
Processing unit 170 adds an identification bit group to the Datagram that receives, with the original device (S494) of expression Datagram.In certain embodiments, identification bit group can be incorporated as first bit group of Datagram.For example: identification bit group is 0x01, and the Datagram that its expression receives is from third party device 30.
Then, processing unit 170 recycling accessory agreements send amended Datagram to special-purpose arithmetic unit 20 (S496) via the first Port 110.In certain embodiments, processing unit 170 can convert Datagram the cognizable form of application program of special-purpose arithmetic unit 20 to according to the accessory agreement, sends special-purpose arithmetic unit 20 to via the first Port 110 again.
In certain embodiments, third party device 30 can be a medical treatment device.At this moment, the Datagram that transmits between third party device 30 and the special-purpose arithmetic unit 20 then can be the physiologic information that medical treatment device can measure and/or show.
In sum, according to the transmission method of data hub of the present invention and third party's data, can provide special-purpose arithmetic unit and third party device to see through the data hub and link up.

Claims (9)

1. data hub is characterized in that it comprises:
One first Port provides the electrically connect with a special-purpose arithmetic unit;
At least one the second Port, each this second Port provides the electrically connect with a third party device;
One storage element stores the sequence number of corresponding respectively this third party device and to an accessory agreement that should special-purpose arithmetic unit; And
One processing unit, be electrically connected to this first Port, this at least one the second Port and this storage element, in order to confirm respectively this sequence number of storing with this special use arithmetic unit, and when sequence number that this sequence number is respectively admitted for this special use arithmetic unit, in order to according to this accessory protocol conversion and transmit this special use arithmetic unit and be connected to data between at least one this third party device on this at least one second Port.
2. data hub as claimed in claim 1, it is characterized in that: this accessory agreement is digital audio communication player hard disk (iPod) accessory agreement.
3. data hub as claimed in claim 1 is characterized in that: this special use arithmetic unit is one to use the electronic installation of iOS operating system.
4. the transmission method of third party's data is characterized in that it comprises:
One first Port that connects special-purpose arithmetic unit to a data hub;
Connect a third party device to one second Port of this data hub;
Seeing through a signal hands over and holds agreement and open ditch circulation passage between this special use arithmetic unit and this data hub;
See through this and link up path setting to a sequence number that should third party device;
Set a transmission rate information corresponding to this sequence number; And
In this sequence number confirm to finish and this transmission rate information set finish after, utilize an accessory agreement between this special use arithmetic unit and this third party device, to transmit a Datagram.
5. the transmission method of third party's data as claimed in claim 4 is characterized in that: should see through a signal and hand over and hold agreement and open the step of the ditch circulation passage between this special use arithmetic unit and this data hub and comprise:
Set up the communication meeting that this special use arithmetic unit and this data hub are linked up;
See through this communication Conference Calling one signal and hand over the program of holding; And
Utilize this signal to hand over the program of holding to open ditch circulation passage between this special use arithmetic unit and this data hub.
6. the transmission method of third party's data as claimed in claim 4, it is characterized in that: this step of utilizing an accessory agreement to transmit a Datagram between this special use arithmetic unit and this third party device comprises:
Via the Datagram of this first Port reception from this special use arithmetic unit;
Confirm an identification bit group of this Datagram, to learn the destination device of this Datagram; And
When this destination device is this third party device, utilize this accessory agreement to send this Datagram to this third party device via this second Port.
7. the transmission method of third party's data as claimed in claim 4, it is characterized in that: this step of utilizing an accessory agreement to transmit a Datagram between this special use arithmetic unit and this third party device comprises:
Via the Datagram of this second Port reception from this third party device;
Add an identification bit group to this Datagram, to represent the original device of this Datagram; And
Utilize this accessory agreement to send amended this Datagram to this special use arithmetic unit via this first Port.
8. the transmission method of third party's data as claimed in claim 4 is characterized in that: this special use arithmetic unit is one to use the electronic installation of iOS operating system.
9. the transmission method of third party's data as claimed in claim 4, it is characterized in that: this accessory agreement is digital audio communication player hard disk (iPod) accessory agreement.
CN2011102658233A 2011-09-09 2011-09-09 Data concentrator and transmission method for third-party data Pending CN102999457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102658233A CN102999457A (en) 2011-09-09 2011-09-09 Data concentrator and transmission method for third-party data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102658233A CN102999457A (en) 2011-09-09 2011-09-09 Data concentrator and transmission method for third-party data

Publications (1)

Publication Number Publication Date
CN102999457A true CN102999457A (en) 2013-03-27

Family

ID=47928040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102658233A Pending CN102999457A (en) 2011-09-09 2011-09-09 Data concentrator and transmission method for third-party data

Country Status (1)

Country Link
CN (1) CN102999457A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639821A (en) * 2018-12-28 2019-04-16 承影互联(北京)科技有限公司 File transfer means and document receiving method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101591A (en) * 2006-07-04 2008-01-09 联想(北京)有限公司 Flash-connected hub and file format automatic conversion method
EP2019351A2 (en) * 2003-04-25 2009-01-28 Apple Inc. Docking station for a media player
CN102117631A (en) * 2010-12-30 2011-07-06 Tcl集团股份有限公司 System and method for playing multimedia

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2019351A2 (en) * 2003-04-25 2009-01-28 Apple Inc. Docking station for a media player
CN101101591A (en) * 2006-07-04 2008-01-09 联想(北京)有限公司 Flash-connected hub and file format automatic conversion method
CN102117631A (en) * 2010-12-30 2011-07-06 Tcl集团股份有限公司 System and method for playing multimedia

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639821A (en) * 2018-12-28 2019-04-16 承影互联(北京)科技有限公司 File transfer means and document receiving method, device and storage medium

Similar Documents

Publication Publication Date Title
JP6166467B2 (en) Bluetooth communication method and Bluetooth communication equipment
CN104735607B (en) A kind of data transmission method, mobile terminal and system
CN108551670A (en) A kind of Bluetooth connecting method, device and intelligent terminal
CN104216761B (en) It is a kind of that the method for sharing equipment is used in the device that can run two kinds of operating system
CN104063353B (en) The method of synchronizing information between master-slave equipment
CN105338554A (en) Networking method and system for intelligent household equipment, and ZigBee gateway
CN104935641B (en) A kind of method and apparatus for accelerating file transmission
CN104040984A (en) Bidirectional forwarding detection (BFD) session negotiation method, device and system
CN104253840A (en) Device for implementing communication among varieties of security carriers and communication method thereof
CN105187420A (en) Communication protocol matching method based on RS422 bus
CN102707696A (en) Multi-serial-port data transmission method and transmission center system
CN108833578A (en) The method and relevant device of duplex communication are carried out based on FIFO name pipeline
CN102833137B (en) A kind of digital family system based on intelligent gateway
CN108495291A (en) A kind of Bluetooth connecting method and device
CN103430497B (en) Media access contro (MAC) address learning method, controller, and exchange equipment
CN105978606B (en) Bluetooth equipment remote communication method, bluetooth equipment and client
CN102999457A (en) Data concentrator and transmission method for third-party data
CN108965786A (en) A kind of electronic whiteboard content sharing method and device
CN110445785A (en) A kind of isolation network bidirectional data transmission system and method based on image recognition
CN104703291A (en) MiFi-based communication method and relevant MiFi
CN103118083A (en) Method and device of transmitting service messages
CN104243347B (en) The method and apparatus for being sent based on symmetrical high-speed digital subscriber line SHDSL and receiving data
CN108200558A (en) A kind of Bluetooth pairing methods and device
CN107888698A (en) A kind of convenient intelligent student picks system
CN104902350B (en) A kind of digital walkie-talkie and its data processing equipment, data transmission method for uplink

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130327