1. A computer-implemented method for managing processors as system devices, the method comprising:
executing an operating system by one or more first processors included in a group of heterogeneous processors;
loading a device module corresponding to one or more secondary processors included in the group of heterogeneous processors into the operating system, wherein the first processors are of a first processor type and the second processors are of a second processor type;
loading an application using the operating system, the application including device-oriented instructions adapted to control the one or more of the secondary processors;
setting up a device-like access path for a selected secondary processor, the device-like access path being used by the application to access the selected secondary processor;
executing the application on one of the first processors;
detecting a device call from the application, wherein the device call is a request from the application to load device-oriented instructions to the selected secondary processor;
in response to the detecting, loading the device-oriented instructions to a system memory accessible by the selected secondary processor;
performing the device-oriented instructions at the selected secondary processor;
in response to the performing, storing processed data in an output buffer in the system memory;
notifying the operating system that the device-oriented instructions have been performed; and
reading, by the application, the processed data from the output buffer.
2. The method of claim 1, further comprising creating a configuration file, the configuration file containing a list of one or more of the secondary processors and a corresponding device-like access set up for each of the one or more secondary processors.
3. The method of claim 2, further comprising determining for which of the one or more of the secondary processor the application’s device-oriented instructions are intended.
4. The method of claim 3, wherein the determining is performed using information from the configuration file.
5. The method of claim 1, wherein the loading the device module facilitates a communication between the application and one or more of the secondary processors by extending the operating system.
6. The method of claim 1, wherein the performing the device-oriented instructions comprises the selected secondary processor processing application-provided data according to the application’s device-oriented instructions.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. An electrical connector for coupling to a complementary connector, comprising:
a terminal seat;
a plurality of terminals formed in a mold on the terminal seat;
a first insulative housing covering around the terminal seat, a front surface of the first insulative housing backwardly defining a receptacle hole;
a second insulative housing sealed in a back-end of the first insulative housing; and
an metal shell formed in a mold on the first insulative housing, the metal shell comprising an upper shell having two receiving shells respectively punch-pressed on two sides of the upper shell and comprising a lower shell defining two slots respectively corresponding the two receiving shells, wherein the upper shell and the lower shell are board-like and are welded together, and the slots are interconnected to the receptacle hole.
2. The electrical connector of claim 1, wherein a lower surface of the lower shell is flushed with an upper hole-surface of the receptacle hole.
3. The electrical connector of claim 1, wherein the terminal seat has a block-shaped main body having a tongue portion protruding from a front of the main body and having two retaining blocks convexly disposed on two sides of the main body, and a rear surface of the first insulative housing defines an opening which is interconnecting with the receptacle hole, and an engaging portion is convexly disposed around the opening on the rear surface of the first insulative housing and is configured to hold the main body of the terminal seat, and the tongue portion of the terminal seat protrudes out of the receptacle hole via the opening, and two sides of the engaging portion defines an engaging groove mating with the retaining blocks of terminal seat.
4. The electrical connector of claim 1, wherein a top surface of the first insulative housing defines an engaging recess penetrating backwards, and the second insulative housing comprises a back cover and a latching portion extending from a top of the back cover and mating with the engaging recess of the first insulative housing, the back cover is sealed in a back-end of the first insulative housing.
5. The electrical connector of claim 1, further comprising at least two flux sheets, wherein two assembling slots are defined on two sides of a top surface of the first insulative housing, and the two flux sheets penetrate the two assembling slots and two low ends of the two flux sheets are exposed out of the first insulative housing.