CN109450785A - A kind of safe method for sharing of the USB device of Convergence gateway and device - Google Patents

A kind of safe method for sharing of the USB device of Convergence gateway and device Download PDF

Info

Publication number
CN109450785A
CN109450785A CN201811496581.7A CN201811496581A CN109450785A CN 109450785 A CN109450785 A CN 109450785A CN 201811496581 A CN201811496581 A CN 201811496581A CN 109450785 A CN109450785 A CN 109450785A
Authority
CN
China
Prior art keywords
usb device
shared
address
privately owned
usb
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
CN201811496581.7A
Other languages
Chinese (zh)
Other versions
CN109450785B (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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia Technology Co 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201811496581.7A priority Critical patent/CN109450785B/en
Publication of CN109450785A publication Critical patent/CN109450785A/en
Priority to PCT/CN2019/115229 priority patent/WO2020114167A1/en
Application granted granted Critical
Publication of CN109450785B publication Critical patent/CN109450785B/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
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/2898Subscriber equipments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44231Monitoring of peripheral device or external card, e.g. to detect processing problems in a handheld device or the failure of an external recording device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of safe method for sharing of the USB device of Convergence gateway and device, which has at least two relatively independent the first systems and second system, this method comprises: configuring privately owned communication link connection between the first system and second system;The first system sends USB operation requests to second system;When second system has detected USB device access, USB device catalogue is obtained, USB device catalogue is mapped as network address;Second system creates shared message according to network address and is sent to the first system;The first system accesses USB device by shared message.A USB interface is shared by multiple systems that the safe method for sharing of USB device provided by the present application realizes Convergence gateway, reduce USB interface quantity in Convergence gateway, reduce product cost, and it ensure that its safety, Convergence gateway system function is subjected to depth integration, improves user experience.

Description

A kind of safe method for sharing of the USB device of Convergence gateway and device
Technical field
It is total safely that this application involves the USB devices of network multimedia terminal technical field more particularly to a kind of Convergence gateway Use method and device.
Background technique
Convergence gateway has begun rapid step as a amalgamation product for having gateway and the big function of network Broadcast Control amount Enter market, since which reduce family's box quantity, also facilitates operator and promote and safeguard, traditional function certainly will be gradually replaced The single set-top box of energy.How each manufacturer terminal guarantees this amalgamation product better performance and preferably experience, It is the key that dominate the market rapidly.
Although Convergence gateway realizes the integration of product function, but since current chip market wouldn't have scheme maturation Chip with gateway and the big function of IPTV media play two, therefore in the realization of technical solution or using independent two When chip, i.e. hardware selection, the mode for playing this 1+1 of chip can be added by router chip to realize the routing of all-in-one machine Add and plays two functions.Two master chip is used on Convergence gateway hardware, also uses dual system in the realization of software, including Gateway system and IPTV system two systems, gateway use linux system, and IPTV system uses android system, two systems There is oneself independent device drives, carries out equipment management respectively for the external equipment of oneself.
But the dual system of Convergence gateway can not cross-system be read, for USB commonly used in Convergence gateway Equipment, will meet the needs of two systems are for USB device, then is necessary for two systems and increases separately USB interface, this necessarily leads Cause the status of the multiple USB interfaces of product, and user increases product cost, reduces in use, must also distinguish User experience.
Summary of the invention
This application provides a kind of safe method for sharing of the USB device of Convergence gateway and devices, to solve fusion net at present Pass needs to meet the needs of dual system is to USB device using multiple USB interfaces, cannot achieve the shared technology of USB device and asks Topic.
In order to solve the above-mentioned technical problem, the embodiment of the present application discloses following technical solution:
In a first aspect, the embodiment of the present application discloses a kind of safe method for sharing of USB device of Convergence gateway, the fusion Gateway has at least two relatively independent the first systems and second system, which comprises
Privately owned communication link connection is configured between the first system and the second system;
The first system sends USB operation requests to the second system;
When the second system has detected USB device access, the USB device catalogue is obtained, by the USB device Catalogue is mapped as network address;
The second system creates shared message according to the network address and is sent to the first system;
The first system accesses the USB device by the shared message.
Second aspect, the embodiment of the present application also discloses a kind of safe composite device of USB device of Convergence gateway, described to melt Closing gateway has at least two relatively independent the first systems and second system, and described device includes:
Configuration unit, for configuring privately owned communication link connection between the first system and the second system;
Transmission unit sends USB operation requests to the second system for the first system;
Acquiring unit, for obtaining the USB device catalogue when the second system has detected USB device access, The USB device catalogue is mapped as network address;
Creating unit creates shared message according to the network address for the second system, and by the shared report Text is sent to the first system;
Access unit accesses the USB device by the shared message for the first system.
Compared with prior art, the application has the beneficial effect that
The embodiment of the present application provides a kind of safe method for sharing of USB device of Convergence gateway, and the Convergence gateway has At least two relatively independent the first systems and second system, which comprises configured between the first system and second system Privately owned communication link connection;The first system sends USB operation requests to second system;When the second system has detected USB When equipment accesses, USB device catalogue is obtained, USB device catalogue is mapped as network address;The second system is according to network Location creates shared message and is sent to the first system;The first system accesses USB device by shared message.It is provided by the present application to melt Closing gateway has at least two relatively independent the first systems and second system, and a USB interface only is arranged in a system, The first system and second system are connected by configuring privately owned communication link, when the first system will use USB device, the first system USB operation requests, the shared report that second system creation has USB device to access are sent to second system by privately owned communication link Text, and shared message is fed back into the first system, the first system can share message access USB device according to this, so as to reality An existing USB interface two systems share, and can reduce USB interface in Convergence gateway, reduce finished product, and guarantee its safety Property, Convergence gateway system function is subjected to depth integration, improves user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The application can be limited.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below Singly introduce, it should be apparent that, for those of ordinary skills, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is the USB device management framework schematic diagram of current Convergence gateway;
Fig. 2 is the USB device management framework schematic diagram of Convergence gateway provided by the present application;
Fig. 3 is a kind of flow chart of the safe method for sharing of the USB device of Convergence gateway provided by the embodiments of the present application;
Fig. 4 is the detailed process of S100 in the safe method for sharing of USB device of Convergence gateway provided by the embodiments of the present application Figure;
Fig. 5 is the detailed process of S400 in the safe method for sharing of USB device of Convergence gateway provided by the embodiments of the present application Figure;
Fig. 6 is the detailed process of S500 in the safe method for sharing of USB device of Convergence gateway provided by the embodiments of the present application Figure;
Fig. 7 is the schematic diagram of the safe method for sharing of USB device of Convergence gateway provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of the safe composite device of the USB device of Convergence gateway provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, the common skill in this field The application protection all should belong in art personnel every other embodiment obtained without making creative work Range.
As shown in Figure 1, the dual system scheme that Convergence gateway uses, including gateway system and IPTV system two systems, net Relationship system uses linux system, and IPTV system uses android system, and two systems have oneself independent device drives, respectively Equipment management is carried out for the external equipment of oneself.Android system based on linux kernel realize, so, the two is for USB The step of operating method of equipment is almost the same, operates USB device is as follows:
1) when USB device access system, USB device driving identification USB device, and generate a logical device node;
2) the logical device node that file system is generated according to device drives can be at upper layer application by the USB device carry One destination disk of identification;
3) after the success of USB device carry, USB device can be written and read.
But the dual system of Convergence gateway can not cross-system be read, so, for being commonly used in Convergence gateway USB device, to meet the needs of two systems are for USB device, then be necessary for two systems and increase separately USB interface, this Necessarily lead to the status of the multiple USB interfaces of product, and user not only increases product in use, must also distinguish Finished product then reduces user experience.
To solve the above-mentioned problems, the embodiment of the present application provides a kind of safe method for sharing of USB device of Convergence gateway, Convergence gateway has at least two relatively independent the first systems and second system, and Convergence gateway need to only design a USB interface, When USB device accesses USB interface, it may have access to USB device by multiple systems of this method Convergence gateway, realize one USB interface two systems share, and not only reduce product cost, also improve user experience.
The first system in the embodiment of the present application can be the gateway system of Convergence gateway, can also be the IPTV system of Convergence gateway System, correspondingly, second system are the IPTV system of Convergence gateway, or the gateway system for Convergence gateway.The embodiment of the present application It is provided with USB device interface by the IPTV system side of second system, the gateway system of the first system is shared to by IPTV system It is illustrated for use.
Referring to fig. 2, Fig. 3, Fig. 2 are a kind of USB device management framework signal of Convergence gateway provided by the embodiments of the present application Figure;Fig. 3 is a kind of flow chart of the safe method for sharing of the USB device of Convergence gateway provided by the embodiments of the present application.
As shown in Fig. 2, Convergence gateway provided by the present application is only equipped with USB interface in IPTV system side, USB device be can be inserted into USB interface, IPTV system and gateway system can realize USB by the safe method for sharing of USB device provided by the embodiments of the present application Equipment is shared.
As shown in figure 3, the safe method for sharing of the USB device of Convergence gateway provided by the embodiments of the present application, Convergence gateway tool There are at least two relatively independent the first systems and second system, which comprises
S100: privately owned communication link connection is configured between the first system and second system.
To guarantee to communicate and interact between gateway system and IPTV system, the application is reached an agreement on by privately owned communication protocol Communication between the two mainly includes the foundation of communication link and the formulation of interaction protocol.Communication link guarantees between the two It can arrange concrete operations instruction between the two with intercommunication, interaction protocol.The method for building up of communication link is as shown in Figure 4.
S101: privately owned mailing address and privately owned communication port is respectively configured in the first system and second system.
The gateway system of Convergence gateway and IPTV system are configured in same local area network, to guarantee that the address does not influence gateway Other of system and IPTV system network function, are realized by way of more IP, i.e., increase by one under existing network configuration A network sub-interface, the sub-interface are only used for interaction between the two.Specifically, the configuration privately owned mailing address of gateway system is 192.168.68.8, the configuration privately owned mailing address of IPTV system is 192.168.68.9, and the subnet mask of the two is each configured to 255.255.255.254 which ensure that the network segment only includes two host addresses.Privately owned communication port is configured to 8888.
S102: the privately owned mailing address of the first system and the privately owned mailing address of second system are established by privately owned communication port Communication link.
After privately owned mailing address and the privately owned communication port of gateway system and IPTV system is respectively configured, pass through privately owned communication The connection of the privately owned communication link between the privately owned mailing address of IPTV system and the privately owned mailing address of gateway system, IPTV are established in port The communication of system and gateway system can be transmitted by privately owned communication link, realize communication between the two.
S200: the first system sends USB operation requests to second system.
After the IPTV system of Convergence gateway is by privately owned communication link and gateway system successful connection, gateway system can pass through Privately owned communication link sends USB operation requests to IPTV system, such as requests shared USB device, or closes USB device and be total to It enjoys.
Specifically, the gateway system of Convergence gateway and IPTV system communication interaction between the two use data message lattice Formula, data message use XML data format, primary fields include: action type, encryption string, operating result, share address, Shared port, access account number, access password, respectively indicate are as follows: optype, encrystr, opresult, shareadd, shareport、account、password。
When gateway end sends USB operation requests, optype field is needed to configure, wherein optype is defined as: open (is beaten Open shared), close (close shared).When gateway system will operate USB device, it is 1 that gateway system, which configures optype field, (opening shared).
In the application example, in order to guarantee safety that both gateway system and IPTV system interact, gateway system is being sent out When sending USB operation requests, encryption string can be configured simultaneously;IPTV system can carry out safe school to encryption string when receiving request It tests.
Encryption string is the Encryption Algorithm arranged therebetween by gateway system and IPTV system to generate, specific algorithm As follows: it is Convergence gateway SN code that both sides, which arrange encryption key, and encryption method uses 3DES, is carried out by this method to gateway MAC Encryption generates encryption string;After generating encryption string, according to the encrystr field in encryption string configuration USB operation requests message.
Generate request message after, by privately owned port 8888 create the privately owned mailing address 192.168.68.8 of gateway system with IPTV system privately owned mailing address 192.168.68.9 connection after successful connection, is sent out by privately owned communication link to IPTV system Send configured request message.When sending communication request message, setting time-out time is 10 seconds, and waits the data of IPTV system It returns.
S300: when second system has detected USB device access, USB device catalogue is obtained, USB device catalogue is reflected It penetrates as network address.
Before accessing USB device by method for sharing, need whether detection fusion gateway has USB device access, only Under the premise of Convergence gateway accesses USB device, IPTV system or gateway system could use USB device.If there is USB device Access obtains the USB device mesh of access USB device after the IPTV system side for detecting Convergence gateway is successfully accessed USB device Record.
USB device is accessed for convenience of the IPTV system or gateway system of Convergence gateway, needs for USB device catalogue to be mapped as Network address, method particularly includes: IPTV system inquires the path of USB device, is network address by the map paths, wherein Network address includes the IPTV system of Convergence gateway or the IP address of gateway system and port information.
In order to guarantee the IPTV system of Convergence gateway and the interaction safety of gateway system, USB device can be also generated at random Access account and access password, by the access account and access password could access USB device.
S400: second system creates shared message according to network address and is sent to the first system.
USB device is accessed for convenience of gateway system, IPTV system needs the information such as the address of USB device being sent to gateway System, and for the ease of sending information to gateway system, it is shared message (data by Information encapsulations such as the addresses of USB device Message), then by data-message transmission to gateway system.The specific creation method of data message is as shown in Figure 5.
S401: the shared address and shared end of shared message are respectively configured according to IP address and port information for second system Mouthful.
After obtaining the corresponding IP address of USB device and port information, IPTV system is distinguished according to IP address and port information Configure shareadd (shared address), shareport (shared port) field of shared message.
After shareadd, shareport field for configuring shared message, whether USB can be accessed according to IPTV system side Device configuration opresult field, for example, configuring opresult is 1 if IPTV system is flanked into USB device;If IPTV system side does not access USB device, then configuring opresult is 0.
It, can also be total according to the access account of involved generation and access password configuration in order to guarantee the safety of shared message Account (access account), password (access password) field for enjoying message, can only pass through the access account and access password USB device could be accessed.
S402: shared message is sent to the first system by privately owned communication link.
Configured opresult, shareadd, shareport, account, password field is encapsulated as sharing Message, and shared message is sent to by IPTV system by gateway system by privately owned communication link.
Before encapsulating shared message, safety check can be carried out to the USB operation requests that gateway system is sent, to guarantee gateway The communications security of system and IPTV system.Method particularly includes: IPTV system parses the USB operation requests report that gateway system is sent Text, the encrystr (encryption string) in acquisition request message, IPTV system is according to the enciphering and deciphering algorithm of agreement to communication request report Encrystr field in text is decrypted, and obtains the MAC Address of encryption string.
(the gateway MAC and Convergence gateway SN of privately owned subregion are by dispatching from the factory for the gateway MAC address of the reading privately owned subregion of IPTV system When be written, that is, produce when, gateway MAC and SN synchronizing information are written to the privately owned subregion of IPTV system, with this ensure that with The consistency of gateway system), the MAC Address obtained after decryption is compared with the MAC Address of reading, both judge whether one It causes, if the MAC Address that decryption obtains is consistent with the MAC Address of reading, illustrates that IPTV system can be interacted with gateway system, IPTV system can return to shared message corresponding with communication request message;If with decrypting the MAC of the MAC Address and reading that obtain Location is inconsistent, then illustrates that IPTV system cannot be interacted with gateway system, gateway system cannot access USB device.
IPTV system obtains the optype (action type) after parsing in request message, inspection after carrying out safety check The numerical value of optype is surveyed, if optype is 1, it is shared to illustrate that gateway system request is opened;If optype is 0, illustrate Gateway system request is closed shared.Shared message accordingly is returned according to optype numerical value.
S500: the first system accesses USB device by shared message.
After gateway system receives the shared message of IPTV system return, gateway system can be visited according to the shared message of return It asks USB device, realizes the shared of USB device.Specific method is as shown in Figure 6:
S501: the first system parses the shared message that second system is sent.
Gateway system and IPTV system have arranged data message format between the two by interaction protocol, and IPTV system is returned Return shared message include but not entirely include following field: opresult, shareadd, shareport, account, password.Shared message is parsed by the interaction protocol.
S502: the first system reads shared address and the shared port of shared message.
After carrying out dissection process to shared message, shareadd, shareport field in shared message are read, is obtained The shared address of USB device and shared port.
For the communications security of gateway system and IPTV system, in addition to read the shareadd in shared message, Outside shareport field, also need to read opresult, account, password field in shared message.Wherein, work as IPTV System side access USB device when, IPTV system return shared message in operating result opresult be 1 show request at Function;When USB device is not accessed in IPTV system side, the operating result opresult in shared message that IPTV system returns is 0, Show request failure.Therefore, it after parsing shared message according to interaction protocol, needs to detect the numerical value of operating result, is understood with this Whether IPTV system accesses USB device.
S503: the first system accesses USB device by shared address and shared port, is written and read to USB device.
Read shareadd (shared address), the shareport (shared port), account (access in shared message Account), after password (access password), created by shareadd, shareport, account, password and set with USB Standby connection after successful connection, is written and read USB device.
As shown in fig. 7, the safe method for sharing of the USB device of Convergence gateway provided by the embodiments of the present application passes through gateway system Request is shared, the cross-system operation for realizing USB device is shared in IPTV system configuration, realizes net by configuring privately owned communication link The interaction of relationship system and IPTV system realizes the shared of USB device interface by interaction protocol, is guaranteed by enciphering and deciphering algorithm The safety of system interaction.
Above-described embodiment is the implementation method that gateway system requests the shared USB device of IPTV system, when shared demand terminates Afterwards, gateway system can notify IPTV to close the shared of USB device, specific method and the shared class of request by requesting to share Seemingly, it is 0, after IPTV system receives request that gateway system, which only needs to configure the Opresult in communication message, is identified as closing altogether When enjoying request, shared shutoff operation is carried out, operates and successfully returns to operating result.
In above-described embodiment, a USB interface is arranged in IPTV system side in Convergence gateway, and gateway system passes through USB device Safe method for sharing, which is realized, uses the cross-system of USB device.Similarly, one can also be arranged in the gateway system side of Convergence gateway USB interface, IPTV system can share USB device by the safe method for sharing of the USB device.
The safe method for sharing of the USB device of Convergence gateway provided by the embodiments of the present application is created by configuring privately owned communication link The connection for building gateway system and IPTV system, the interaction both realized, gateway system is by privately owned communication link to IPTV system USB operation requests are sent, IPTV system system returns to corresponding shared message, gateway system root according to USB operation requests According to the connection of shared message creation and USB device that IPTV system returns, gateway system cross-system operation USB device is realized. Hereby it is achieved that in Convergence gateway USB device share, i.e., dual system shares the same USB interface, reduces in Convergence gateway USB interface, save hardware cost, secure communication mechanism has also evaded private device and carried out existing peace when network share Full hidden danger ensure that its safety, and Convergence gateway system function is carried out depth integration, improves user experience.The program Suitable for the amalgamation end product of all dual systems, facilitate transplanting.
The safe method for sharing of USB device of the Convergence gateway, the embodiment of the present application also provide based on the above embodiment A kind of safe composite device of the USB device of Convergence gateway, the Convergence gateway have at least two relatively independent the first systems And second system.
As shown in figure 8, the safe composite device of the USB device of Convergence gateway provided by the embodiments of the present application includes:
Configuration unit 100, for configuring privately owned communication link connection between the first system and second system.Pass through and configures Privately owned communication link realize gateway system and IPTV system communication.Configuration unit 100 include the first configuration module 101 with build Formwork erection block 102, wherein
First configuration module 101: the privately owned mailing address for the first system and second system to be respectively configured leads to privately owned Believe port.The configuration privately owned mailing address of gateway system is 192.168.68.8, and the configuration privately owned mailing address of IPTV system is 192.168.68.9, configuring privately owned communication port is 8888.Gateway system and the subnet mask of both IPTV systems are each configured to 255.255.255.254 which ensure that the network segment only includes two host addresses.
Establish module 102: for private by the privately owned privately owned mailing address of communication port management the first system and second system There is the communication link of mailing address, the privately owned communication link for establishing gateway system and IPTV system connects.
Transmission unit 200: USB operation requests are sent to second system for the first system.Gateway system can be by privately owned Communication link sends USB operation requests to IPTV system, and USB operation requests can be the request of shared USB device, also can be off The shared request of USB device.
Acquiring unit 300: for obtaining USB device catalogue, USB being set when second system detects USB device access Standby catalogue is mapped as network address.When IPTV system has detected USB device access, acquiring unit just obtains USB device Path, and be network address by map paths, obtain the address information of USB device.
Creating unit 400: creating shared message according to network address for second system, and shared message is sent to the One system.The creating unit of IPTV system side creates shared message according to the network address of USB device, and is sent to gateway system System.Creating unit 400 includes the second configuration module 401 and sending module 402, wherein
Second configuration module 401: being total to for shared message is respectively configured according to IP address and port information for second system Enjoy address and shared port.After the network address (IP address and port information) for obtaining USB device, shared message is configured according to it Shareadd (shared address), shareport (shared port) field.
Sending module 402: for shared message to be sent to the first system by privately owned communication link.IPTV system according to After the network address information of USB device configures shared message, gateway system is sent it to by privately owned communication link, to net The USB operation requests that relationship system is sent make a response.
Access unit 500: USB device is accessed by shared message for the first system.Gateway system receives IPTV system The shared message for feedback of uniting, and message access USB device is shared according to this.Access unit 500 includes parsing module 501, reads Module 502 and operation module 503, wherein
Parsing module 501: the shared message sent for the first system parsing second system.Gateway system receives IPTV After the shared message that system is sent, dissection process is carried out to it by parsing module.
Read module 502: for reading shared address and the shared port of shared message.Shared message after being parsed Afterwards, shareadd therein (shared address), shareport (shared port) field are read.
Operation module 503: accessing USB device by shared address and shared port for the first system, to USB device into Row read-write operation.After obtaining shareadd (shared address), shareport (shared port) field, USB is accessed by it and is set It is standby, USB device is written and read.
The safe composite device of the USB device of Convergence gateway provided by the embodiments of the present application is privately owned logical by configuration of described dispensing unit Link is believed to realize the communication connection of gateway system and IPTV system;Realize that gateway system is sent out to IPTV system by transmission unit Send USB operation requests;The address information of the USB device of IPTV system access is obtained by acquiring unit;Pass through creating unit root Shared message is created according to the address information of USB device, and sends it to gateway system;IPTV system is received by access unit The shared message returned, and according to the USB device of shared message access IPTV system side.Hereby it is achieved that USB in Convergence gateway Equipment share, i.e., dual system shares the same USB interface, reduces the USB interface in Convergence gateway, save hardware at This.
Since embodiment of above is that reference combination is illustrated on other modes, have between different embodiments There is identical part, identical, similar part may refer to each other between each embodiment in this specification.Herein no longer in detail It illustrates.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the circuit structure, article or the equipment that include a series of elements not only include those elements, It but also including other elements that are not explicitly listed, or further include solid by this circuit structure, article or equipment Some elements.In the absence of more restrictions, the element for thering is sentence "including a ..." to limit, it is not excluded that including There is also other identical elements in the circuit structure of the element, article or equipment.
Those skilled in the art will readily occur to its of the application after considering specification and practicing the disclosure invented here His embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are wanted by right The content asked is pointed out.
Above-described the application embodiment does not constitute the restriction to the application protection scope.

Claims (10)

1. a kind of safe method for sharing of the USB device of Convergence gateway, the Convergence gateway has at least two relatively independent the One system and second system, which is characterized in that the described method includes:
Privately owned communication link connection is configured between the first system and the second system;
The first system sends USB operation requests to the second system;
When the second system has detected USB device access, the USB device catalogue is obtained, by the USB device catalogue It is mapped as network address;
The second system creates shared message according to the network address and is sent to the first system;
The first system accesses the USB device by the shared message.
2. the method according to claim 1, wherein being configured between the first system and the second system private There is communication link connection, comprising:
Privately owned mailing address and privately owned communication port is respectively configured in the first system and the second system;
The privately owned mailing address of the first system is established by the privately owned communication port and the second system is privately owned communicatedly The communication link of location.
3. the method according to claim 1, wherein the first system sends USB behaviour to the second system It requests, comprising:
The first system sends action type to the second system, wherein the action type includes opening shared and closing It closes shared.
4. the method according to claim 1, wherein when the second system has detected USB device access, The USB device catalogue is obtained, the USB device catalogue is mapped as network address, comprising:
The second system inquires the path of the USB device, and is network address by the map paths, wherein the net Network address includes the IP address and port information of the first system or the second system.
5. according to the method described in claim 4, it is characterized in that, the second system is shared according to network address creation Message is simultaneously sent to the first system, comprising:
The second system according to the IP address and the port information be respectively configured the shared address of the shared message with Shared port;
The shared message is sent to the first system by the privately owned communication link.
6. the method according to claim 1, wherein the first system passes through described in the shared message access USB device, comprising:
The first system parses the shared message that the second system is sent;
The first system reads shared address and the shared port of the shared message;
The first system accesses the USB device by the shared address and shared port, reads the USB device Write operation.
7. a kind of safe composite device of the USB device of Convergence gateway, the Convergence gateway has at least two relatively independent the One system and second system, which is characterized in that described device includes:
Configuration unit, for configuring privately owned communication link connection between the first system and the second system;
Transmission unit sends USB operation requests to the second system for the first system;
Acquiring unit, for obtaining the USB device catalogue when the second system has detected USB device access, by institute It states USB device catalogue and is mapped as network address;
Creating unit creates shared message according to the network address for the second system, and the shared message is sent out Give the first system;
Access unit accesses the USB device by the shared message for the first system.
8. device according to claim 7, which is characterized in that the configuration unit includes:
First configuration module, the privately owned mailing address for the first system and the second system to be respectively configured lead to privately owned Believe port;
Module is established, for establishing the privately owned mailing address of the first system and second system by the privately owned communication port It unites the communication link of privately owned mailing address.
9. device according to claim 7, which is characterized in that the creating unit includes:
Being total to for the shared message is respectively configured according to IP address and port information for the second system in second configuration module Enjoy address and shared port;
Sending module, for the shared message to be sent to the first system by the privately owned communication link.
10. device according to claim 7, which is characterized in that the access unit includes:
Parsing module parses the shared message that the second system is sent for the first system;
Read module, for reading shared address and the shared port of the shared message;
Operation module accesses the USB device by the shared address and shared port for the first system, to described USB device is written and read.
CN201811496581.7A 2018-12-07 2018-12-07 Method and device for safely sharing USB (universal serial bus) equipment of convergence gateway Active CN109450785B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811496581.7A CN109450785B (en) 2018-12-07 2018-12-07 Method and device for safely sharing USB (universal serial bus) equipment of convergence gateway
PCT/CN2019/115229 WO2020114167A1 (en) 2018-12-07 2019-11-04 Method and apparatus for safe sharing of a usb device of a converged gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811496581.7A CN109450785B (en) 2018-12-07 2018-12-07 Method and device for safely sharing USB (universal serial bus) equipment of convergence gateway

Publications (2)

Publication Number Publication Date
CN109450785A true CN109450785A (en) 2019-03-08
CN109450785B CN109450785B (en) 2022-01-07

Family

ID=65557091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811496581.7A Active CN109450785B (en) 2018-12-07 2018-12-07 Method and device for safely sharing USB (universal serial bus) equipment of convergence gateway

Country Status (2)

Country Link
CN (1) CN109450785B (en)
WO (1) WO2020114167A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020114167A1 (en) * 2018-12-07 2020-06-11 青岛海信宽带多媒体技术有限公司 Method and apparatus for safe sharing of a usb device of a converged gateway

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023184559A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Device sharing method and apparatus, and device, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599970A (en) * 2009-07-14 2009-12-09 中国联合网络通信集团有限公司 Home gateway is shared storage implementation method and device
CN103546200A (en) * 2013-08-26 2014-01-29 深圳Tcl新技术有限公司 Data transmission method and system based on near-field communication
US20140281314A1 (en) * 2013-03-14 2014-09-18 Nec Corporation Dual system
CN105704190A (en) * 2014-11-28 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Method for sharing data, device and terminal
CN106878976A (en) * 2016-01-27 2017-06-20 努比亚技术有限公司 The data sharing method of mobile terminal and dual system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101705596B1 (en) * 2010-09-14 2017-02-22 삼성전자 주식회사 Server device connecting usb device and device sharing method
US20150365237A1 (en) * 2014-06-17 2015-12-17 High Sec Labs Ltd. Usb security gateway
CN105391652B (en) * 2015-12-03 2018-08-31 武汉噢易云计算股份有限公司 The system and method for realizing USB device network share is redirected based on USB
CN205693692U (en) * 2016-06-23 2016-11-16 北京云易时代技术有限公司 Share the intelligent gateway of USB
CN109450785B (en) * 2018-12-07 2022-01-07 青岛海信宽带多媒体技术有限公司 Method and device for safely sharing USB (universal serial bus) equipment of convergence gateway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599970A (en) * 2009-07-14 2009-12-09 中国联合网络通信集团有限公司 Home gateway is shared storage implementation method and device
US20140281314A1 (en) * 2013-03-14 2014-09-18 Nec Corporation Dual system
CN103546200A (en) * 2013-08-26 2014-01-29 深圳Tcl新技术有限公司 Data transmission method and system based on near-field communication
CN105704190A (en) * 2014-11-28 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Method for sharing data, device and terminal
CN106878976A (en) * 2016-01-27 2017-06-20 努比亚技术有限公司 The data sharing method of mobile terminal and dual system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
毛强: "智能机顶盒的升级研究与实现", 《中国优秀硕士论文电子期刊网》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020114167A1 (en) * 2018-12-07 2020-06-11 青岛海信宽带多媒体技术有限公司 Method and apparatus for safe sharing of a usb device of a converged gateway

Also Published As

Publication number Publication date
WO2020114167A1 (en) 2020-06-11
CN109450785B (en) 2022-01-07

Similar Documents

Publication Publication Date Title
US8561147B2 (en) Method and apparatus for controlling of remote access to a local network
EP2569902B1 (en) Interconnecting members of a virtual network
CN110011866B (en) Providing device as a service
JP5385404B2 (en) How to provide local secure network access to remote services
US8051461B2 (en) System and method for establishing secured connection between home network devices
US7925693B2 (en) NAT access control with IPSec
CN109863720A (en) Extension of the network control system into public cloud
US20020162005A1 (en) Access right setting device and manager terminal
CN105991642B (en) Utilize the method for publicly-owned cloud network, privately owned cloud routing server and intelligent apparatus client
CN101212374A (en) Method and system for remote access to campus network resources
CN104243210A (en) Method and system for remotely having access to administrative web pages of routers
CN108989265A (en) access control method, device and system
CN109005179A (en) Network security tunnel establishing method based on port controlling
CN106257888A (en) Privately owned high in the clouds routing server connection mechanism for privately owned communication construction
CN109450785A (en) A kind of safe method for sharing of the USB device of Convergence gateway and device
CN106161394B (en) Utilize the method for privately owned routing server, global network and smart client
CN105323138B (en) Privately owned cloud routing server and smart client framework
CN103888288A (en) Registration method, administrator, register and system
JP4713420B2 (en) Communication system and network device sharing method
KR20070018196A (en) Method and apparatus for guaranteeing security on remote access to a local network
CN107634907A (en) A kind of two-layer virtual private network L2VPN data forwarding method and device
WO2016206587A1 (en) Shell processing method and device
Lackorzynski et al. A Case for Practical Configuration Management Using Hardware-based Security Tokens
CN103369061B (en) A kind of method passing through two-stage NAT and NAT device
JP5095529B2 (en) Heterogeneous smart environment control method

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
GR01 Patent grant
GR01 Patent grant