1. A method for generating an executable file of a multi-instance service, comprising:
performing compilation for a source file corresponding to a multi-instance service at a time, to obtain a first-class object file, wherein the multi-instance service comprises N instances, and N is a natural number greater than or equal to 2;
performing an object copy of the first-class object file N\u22121 times, to obtain N\u22121 new first-class object files; and
performing linking to the first-class object file and the N\u22121 new first-class object files, to generate an executable file.
2. The method for generating an executable file of a multi-instance service according to claim 1, wherein the performing the object copy of the first-class object file N\u22121 times comprises: performing renaming processing for a global symbol in the first-class object file N\u22121 times, so as to obtain the N\u22121 new first-class object files; or
performing localization processing for the global symbol in the first-class object file N\u22121 times, so as to obtain the N\u22121 new first-class object files.
3. The method for generating an executable file of a multi-instance service according to claim 1 wherein the method further comprises:
performing compilation for a source file corresponding to a single-instance service, to obtain a second-class object file; and
the performing linking to the first-class object file and the N\u22121 new first-class object files, to generate the executable file comprises: performing linking to the first-class object file, the N\u22121 new first-class object files, and the second-class object file, to generate the executable file.
4. The method for generating an executable file of a multi-instance service according to claim 1, wherein before performing compilation for the source file corresponding to the multi-instance service, to obtain the first-class object file, the method further comprises:
receiving service information input by a user; and
analyzing the service information, to obtain the multi-instance service.
5. The method for generating an executable file of a multi-instance service according to claim 4, wherein the source file is a source file corresponding to communications software of a multi-SIM multi-standby terminal;
wherein receiving the service information input by the user comprises: receiving supported service information of a primary user identity card of the multi-SIM multi-standby terminal and supported service information of a secondary user identity card of the multi-SIM multi-standby terminal; and
wherein analyzing the service information, to obtain the multi-instance service comprises: analyzing the supported service information of the primary user identity card and the supported service information of the secondary user identity card, to obtain the multi-instance service.
6. The method for generating an executable file of a multi-instance service according to claim 4, wherein the source file is a source file corresponding to user identity card management software of a multi-SIM terminal;
wherein receiving the service information input by the user comprises: receiving service information of a primary user identity card of the multi-SIM terminal and service information of a secondary user identity card of the multi-SIM terminal; and
wherein analyzing the service information, to obtain the multi-instance service comprises: analyzing the service information of the primary user identity card and the service information of the secondary user identity card, to obtain the multi-instance service.
7. The method for generating an executable file of a multi-instance service according to claim 4, wherein the source file is a source file corresponding to a camera driver of a multi-camera terminal;
wherein receiving the service information input by the user comprises: receiving camera driver information of the multi-camera terminal; and
wherein analyzing the service information, to obtain the multi-instance service comprises: analyzing the driver information of the multi-camera terminal, to obtain the multi-instance service.
8. An apparatus for generating an executable file of a multi-instance service, wherein the apparatus comprises:
a compiling unit, configured to perform compilation for a source file corresponding to a multi-instance service at a time, to obtain a first-class object file, wherein the multi-instance service comprises N instances, and N is a natural number greater than or equal to 2, and transmit the first-class object file to a mirroring unit;
a mirroring unit, configured to receive the first-class object file transmitted by the compiling unit, perform an object copy of the first-class object file N\u22121 times to obtain N\u22121 new first-class object files, and transmit the first-class object file and the N\u22121 new first-class object files to a linking unit; and
the linking unit, configured to receive the first-class object file and the N\u22121 new first-class object files transmitted by the mirroring unit, and perform linking to the first-class object file and the N\u22121 new first-class object files, to generate an executable file.
9. The apparatus for generating an executable file of a multi-instance service according to claim 8, wherein the mirroring unit is specifically configured to: perform renaming processing for a global symbol in the first-class object file N\u22121 times, so as to obtain the N\u22121 new first-class object files; or
perform localization processing for the global symbol in the first-class object file N\u22121 times, so as to obtain the N\u22121 new first-class object files.
10. The apparatus for generating an executable file of a multi-instance service according to claim 8, wherein the compiling unit is further configured to: perform compilation for a source file corresponding to a single-instance service, to obtain a second-class object file, and transmit the second-class object file to the linking unit; and
the linking unit is specifically configured to: receive the second-class object file transmitted by the compiling unit, and perform linking to the first-class object file, the N\u22121 new first-class object files, and the second-class object file, to generate the executable file.
11. The apparatus for generating an executable file of a multi-instance service according to claim 8, wherein the apparatus further comprises a receiving unit and an analyzing unit, wherein:
the receiving unit is configured to receive service information input by a user, and transmit the service information to the analyzing unit; and
the analyzing unit is configured to receive the service information transmitted by the receiving unit, and analyze the service information, to obtain the multi-instance service.
12. The apparatus for generating an executable file of a multi-instance service according to claim 11, wherein the source file is a source file corresponding to communications software of a multi-SIM multi-standby terminal;
the receiving unit is specifically configured to: receive supported service information of a primary user identity card of the multi-SIM multi-standby terminal and supported service information of a secondary user identity card of the multi-SIM multi-standby terminal; and
the analyzing unit is specifically configured to: analyze the supported service information of the primary user identity card and the supported service information of the secondary user identity card, to obtain the multi-instance service.
13. The apparatus for generating an executable file of a multi-instance service according to claim 11, wherein the source file is a source file corresponding to user identity card management software of a multi-SIM terminal;
the receiving unit is specifically configured to: receive service information of a primary user identity card of the multi-SIM terminal and service information of a secondary user identity card of the multi-SIM terminal; and
the analyzing unit is specifically configured to: analyze the service information of the primary user identity card and the service information of the secondary user identity card, to obtain the multi-instance service.
14. The apparatus for generating an executable file of a multi-instance service according to claim 11, wherein the source file is a source file corresponding to a camera driver of a multi-camera terminal;
the receiving unit is specifically configured to: receive camera driver information of the multi-camera terminal; and
the analyzing unit is specifically configured to: analyze the driver information of the multi-camera terminal, to obtain the multi-instance service.
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. A method for the reduction of transmit processing in response to a received packet in a communications system comprising:
generating a plurality of transmit control frames for responding to received packets;
generating transmit waveform samples from the generated plurality of transmit control frames;
storing the transmit waveform samples in buffer memory;
receiving a packet;
determining a transmit waveform sample associated with the received packet; and
transmitting the determined transmit waveform samples.
2. A method as in claim 1, wherein the generated transmit control frame contains data which is learned over time from the communications system.
3. A method as in claim 1, wherein the generated transmit control frame contains a duration field.
4. A method as in claim 3, wherein the duration field is set to a maximum length packet exchange for a specific data rate.
5. A method as in claim 1, wherein the generated transmit control frames contain power management mode information.
6. A method as in claim 1, wherein the generation of the transmit waveform samples varies by data rate.
7. A method as in claim 2, wherein the learned data are transmit addresses of received packets.
8. A method as in claim 1, in which the communications system is wireless.
9. A method as in claim 1, in which the communications system is IEEE 802.11.
10. A method as in claim 1, in which the communications system is Bluetooth.
11. A method as in claim 1, in which the communications system is IEEE 802.15.
12. A method for the reduction of transmit processing in response to a received packet in a communications system comprising the steps of:
maintaining in memory a plurality of transmit waveform samples;
generating new transmit waveform samples in response to detection of new transmit addresses in the system;
saving the new transmit samples to the memory;
indexing the memory based on receiving a specific transmit address in a received packet;
determining an appropriate transmit waveform sample from the indexed memory; and
transmitting the appropriate transmit waveform sample.
13. A method as in claim 12, wherein the transmit waveform samples vary by data rate.
14. A method as in claim 12, wherein the indexing of memory varies by data rate.
15. A method as in claim 12, in which the communications system is wireless.
16. A method as in claim 12, in which the communications system is IEEE 802.11.
17. A method as in claim 12, in which the communications system is IEEE 802.15.